- Notifications
You must be signed in to change notification settings - Fork16
uwzis/GPU-Passthrough-Manager
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
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!
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.
gtkis required for this version. seeQT version by 89mpxfpolkitjsoncpppython3
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.
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..
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.
About
GPU passthrough made easy.
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Contributors7
Uh oh!
There was an error while loading.Please reload this page.
