Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

GPU passthrough made easy.

License

NotificationsYou must be signed in to change notification settings

uwzis/GPU-Passthrough-Manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Showcase Video

If you ever wanted to pass through your GPU to a virtual machine and wanted to do it quickly and easily, then I have a program for all of you "script kiddies" out there.

GPU Passthrough Manager is a GUI application utilizing vfio drivers to quickly load your default and VFIO drivers with just a few clicks. passthrough a graphics devices to virtual machines is made easy now.

Runmake in the program's directory to build the program. RUN GPUPM AS ROOT!

Requirements

!WARNING!

This program is only compatible with systems that support IOMMU / Virtualization.

  • make sure you have Intel VT-d or AMD Vi enabled in your bios.
  • more than one graphics device on the system. If you load vfio drivers to your host's main GPU, bad things will happen.

Dependencies

  • gtk is required for this version. seeQT version by 89mpxf
  • polkit
  • jsoncpp
  • python3

First time configuration

Once GPUPM is runs for the first time, it will prompt you to run the first time setup. This Configures Grub bootloader to add IOMMU kernel parameter and adds VFIO modules to the system images. This rebuilds Grub bootloader and rebuilds system images. This is required for the program to work right or things will really break.

Documentation

GPUPM works by loading drivers to the device the user selects. Select what devices you want to pass through, then pressLoad VFIO. Then restart when prompted to load the vfio drivers on the devices you have selected. When the system is rebooted, you will have the drivers loaded. uselspci -k' to verify the vfio drivers are loaded. To load the default drivers, press theLoad Default button to clear the config file of all devices.

The vfio config is stored at the programs directory asvfio.conf. This configuration is copied to/etc/modprobe.d/ and replaces or creates the file there. If you pass through a device and your system does not boot, then you need tochroot into your system and delete the config file from modprobe.d, then rebuild your system images to make your system bootable again..

Optimus Manager Users

For people who use laptops with dedicated or external graphics cards, GPUPM can be used withOptimus Manager to throw your graphics card off of the pci bus. With hybrid mode, you can put it onto the bus using integrated graphics on the host while having your GPU on the bus to running in your virtual machine. This means your laptop has great battery life, with the capability to switch to your GPU to do rendering work on.


[8]ページ先頭

©2009-2025 Movatter.jp