3524496d59
Merge testing branch into master See merge request YuriAlek/vfio!5 |
6 years ago | |
---|---|---|
Hardware configurations | 6 years ago | |
Screenshots | 6 years ago | |
scripts | 6 years ago | |
CHANGELOG.md | 6 years ago | |
LICENSE | 6 years ago | |
README.md | 6 years ago |
README.md
Single GPU passthrough
Last Update
2019/01/02
Table of Contents
Start here
- How to use the script for Windows VMs.
- How to use the script for MacOS VMs.
- How to use the script for Linux VMs.
What this is
A series of scripts that allows you to do GPU passthrough with only one GPU in the system by detaching the GPU from the host and passing it to the guest, usually a Windows VM.
However, you may not use this method as it is tedious and having two GPUs allows you to do things like dual monitors (one running Linux and the other running Windows) or LookingGlass.
Wiki
Check the wiki for more information and guides on how to make everything work.
Branches
I keep more than one branch for multiple purposes. There is a personal branch where I have my actual configuration; a testing branch where I push changes while I am testing new things, it is NOT stable; and a testing-auto branch where I try to make everything work automatically.
Known problems
Audio is not supported, yet. I use an external USB DAC.
Performance is not important to me at this moment. There is a lot of things that you can do to get better performance.
MacOS High Sierra does not like USB hubs, therefore anything connected to a hub won't work. Mojave works fine with hubs.
Windows 10 Pro 1709 works for me, but 1803 does not (may be the UEFI). I have read that the 1803 version comes with a Spectre patch and the performance is bad. The Spectre patch can be disabled.
windows-basic.sh
and windows-virsh.sh
reports no connection but it works (except pings).
TODO
- Audio.
smb.conf
anddnsmasq.conf
using theconfig
file.- CPU pinning.
- Performance tunning for QEMU.
- Find a way to restore the GPU without
nvidia-xconfig --query-gpu-info
. - Automation.
- Don't kill X server, shifter and xpra may be the solution. Also uswsusp (userspace software suspend). Source