Go to file
Void fa22cf6c0a Merge branch 'WORMSTweaker-master-patch-96744' into 'master'
Add link to the wiki in the README (why wasn't this done before?)

See merge request risingprismtv/single-gpu-passthrough!20
2023-07-07 12:55:21 +00:00
hooks No longer touch system directories where not needed. 2023-07-07 12:51:25 +00:00
systemd-no-sleep Systemd no sleep 2020-10-13 02:07:46 +00:00
install_hooks.sh No longer touch system directories where not needed. 2023-07-07 12:51:25 +00:00
LICENSE Add LICENSE 2020-10-08 18:46:53 +00:00
README.md Add link to the wiki in the README (why wasn't this done before?) 2023-07-03 15:09:00 +00:00

Single GPU Passthrough Scripts

Scripts for passing a single GPU from a Linux host to a Windows VM and back.

  1. Change the VM name in qemu if not already win10
  2. Run the install_hooks.sh script as root

Note the PCI ids and display manager should be detected automatically. If you are using an unsupported display manager that is not listed in the hooks/vfio-startup.sh script, feel free to contact us on the Discord server and we shall add your display manager.

If using startx, add a line killall -u user_name to qemu/vfio-startup.sh script towards the beginning and you can add a line to vfio-teardown.sh to start your window manager/ desktop environment again. Don't just add startx because it will be run as root. Instead add su -s /bin/bash -c "/usr/bin/startx" -g username username replacing username with your username to the end of the vfio-teardown.sh script.

For a detailled guide on how to use these scripts, check out the the wiki of this repo.

For suggestions or support, join us on Discord at: https://discord.gg/bh4maVc