https://bugs.winehq.org/show_bug.cgi?id=31786
--- Comment #2 from François Gouget fgouget@codeweavers.com --- The right approach is probably PCI-passthrough. I sent some information on this to the mailing list: https://www.winehq.org/pipermail/wine-devel/2019-April/144315.html
To summarize the requirements: * We need VM hosts that support Intel VT-d or AMD's equivalent on both the motherboard and the CPU. Some motherboards are better at this than others due to how they group the PCI devices.
* We need GPUs that are hot-restartable, which is easier to get on the AMD side than on the Nvidia one. https://passthroughpo.st/apply-error-43-workaround/
* I'll skip the host and QEmu configuration requirements (see my email above or resources below).
* The TestBot will need guest code to take screenshots (see also bug 44709).
* The administrator setting up the VM will need to go through a KVM (already available), or through a remove desktop solution once the base OS is installed.
* The TestBot will not be able to use live snapshots but I think all the required support is there already.
Useful resources: * LevelOnTech
https://forum.level1techs.com/t/the-vfio-and-gpu-passthrough-beginners-resou...
* GrayWolfTech - PCI passthrough quick guide
https://forum.level1techs.com/t/play-games-in-windows-on-linux-pci-passthrou...