jlburke / Single-GPU-passthrough-amd-nvidia

My way of doing single gpu passthrough the simplest way, I've gathered many sources together to make the perfect Single GPU passthrough guide the simplest and easiest way.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Single-GPU-passthrough-amd-nvidia

if you are having troubles please see the 'manual' branch

My single gpu passthrough guide, it is fully automatic, and it is as simple as it gets

DISCLAIMER: This guide is pretty similar to many other single gpu guides, I am not trying to copy them nor take their credits, This guide is combining them all together for a better more fluid guide, this way you can use the scripts on all display-services and both amd/nvidia gpus (there might be some anomalies)


Step 1:

  • Get the repository on your computer, either by downloading it zipped and extracting or cloning it as below
  • If you chose to clone it instead of downloading it you should do
    cd ~/Downloads
    git clone https://github.com/wabulu/Single-GPU-passthrough-amd-nvidia.git

Step 2:

  • Run the script which would do (almost) everything for you by changing your directory to the folder with
    cd Single-GPU-passthrough-amd-nvidia/
    and then executing the script with sudo bash ./setup.sh

Step 3:

Now you just need to setup virt-manager as for now the scripts doesn't do it automatically,
you can do that by visiting this link After that, all that is left is to install the scripts with sudo bash ./install_hooks.sh

Step 4:

If you did everything right you can try running the vm (make sure it's named win10 otherwise make sure to replace win10 in /etc/libvirt/hooks/qemu line 8 to the name)
nvidia users might also want to go to this link.
If you have any problems you can join my discord server for faster response (top left) or you can mention me in your reddit post at r/VFIO with u/wabulu.

Uninstalling

  • To uninstall run sudo bash ./uninstall.sh
    keep in mind that it will delete all previously installed virtualization packages on the system and delete the hooks.

Contributing

  • You can search the files for #TODOs and do them, it would help me a lot !
  • For financial support you can sponsor me here

Check out these amazing people who made this guide possible !

About

My way of doing single gpu passthrough the simplest way, I've gathered many sources together to make the perfect Single GPU passthrough guide the simplest and easiest way.

License:GNU General Public License v3.0


Languages

Language:Shell 100.0%