Going to try GPU passthrough, just had a few questions
I'm upgrading my computer in the next month or so, until now it has been a Windows machine as I use it for gaming, but I love arch linux and use it on my laptop, I want to run Arch linux as my main os on this desktop as well and use gpu passthrough to a windows VM to play the games that have not been/ probably never will be ported cough ubisoft cough
My questions are how does the sound work, would I be able to just hear my Windows VM through my host like in virtual box? and how does the keyboard and mouse work, would I have to use synergy or can they just switch between them like in virtual box as well?
About this post
- Posted
- Archived
- Score
- 6 · 100% up
- Kind
- Text
- ID
- 656pm7
7 comments
You can use a dedicated sound device, use the HDMI/display port audio from the GPU, or pass it through to pulseaudio on the host(last section here)
Once set up Synergy works well, but for set up it's way easier to just have a second keyboard and mouse if you're still needing to use the host. It does not switch between the two in a window like Virtualbox, you use the graphics output from the virtual machines GPU(usually the PCIe) for the passthrough and one for the host machines GPU(the integrated GPU usually). You can do it with some on a single device, but it is a very painful experience since it is prone to breaking and is impossible on some GPUs.
Check out /r/vfio
Thanks yeah im planning on keeping my current graphic card for the host so i can get multi monitor and passing the new on through to the vm, so if i passed the sound through to pulse audio i would be able to hear the vm and host as the same time and choose the output device using the setting right?
Yeah, pulse will work the same as always, it will just be another source like any other sound producing application.
If you're going with 2 cards it's worth pointing out going with different brands (1 amd 1 nvidia) will make your life a lot easier, because then you can just blacklist the driver on the host system. Going with 2 Nvidia or 2 AMD is possible but on certain system is known to cause issues with the host wanting to initialize the second card even if it's pciid is specified as vfio.