Skip to content

A script to automate the GPU passthrough process on a arch based host machine

Notifications You must be signed in to change notification settings

Z16Z4/auto-gpu-passthrough

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

auto gpu passthrough

What this program does?

This program will perform a automatic gpu passthrough on arch systems.

How does it work? auto-mode

It works by utilising two scripts. The first scripts (auto mode) will add a script as a hook within the kernel configuration (mkinitcpio.conf) so that any additional GPU's on the system will be used. This excludes the current GPU that is being used for the main system.

How does it work? manual-mode

The second script (manual mode) adds a script as a hook within the kernel configuration. However, it displays all GPU devices on the system, and allows the user to select that GPU for passthrough.

How does enabling iommu work automatically?

The program comes with two seperate config files for grub, one for intel CPUs, and the other for AMD CPU's. THe program will autodetect the type of vendor used, then change the configuration depending on this vendor.

Contact

feel free to commit to the project, eventually i want this program to setup a whole KVM/looking glass windows machine seamlessesly for users, maybe make windows as a secondary option part of a distro by default.

About

A script to automate the GPU passthrough process on a arch based host machine

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published