I'm running Pop!_OS 20.04 with 2 GPUs (GTX 1650 and an R9 270x), 32gb of RAM, Ryzen 7 2700x, an ASUS TUF Gaming X570-Plus (Wi-Fi) ATX Motherboard and a WD Blue 500gb
M.2 SSD, and wanted to put
my secondary GPU to more use by setting up a virtual machine using QEMU/KVM.
To that end I looked around and found out that supposedly the ArchWiki guide to GPU passthrough was the most thorough - so I went ahead and followed that:
[link href="https://wiki.archlinux.org/index.php/PCI_passthrough_via_OVMF#Prerequisites"]PCI passthrough via OVMF[/link]
But I came across a few issues which have put me off using it for now:
[ul]
[li]Required a secondary window open to have good quality audio working[/li]
[li]Also required the secondary window just to have USB/Keyboard passthrough working to some extent[/li]
[/ul]
Things to look in when attempting past that stage would be:
[link href="https://www.linux-kvm.org/page/9p_virtio"]Sharing folders with the host[/link]
[link href="https://passthroughpo.st/using-evdev-passthrough-seamless-vm-input/"]Passthrough keyboard and mouse[/link]
(^Actually tried that one - as the details are the included in the ArchWiki article but it prevented me from even beginning installation)
However, I did find that just passing through the USB devices worked (though they were locked in so long as the VM was running), so instead I'd look at something like these:
[link href="https://symless.com/synergy"]Synergy[/link]
[link href="https://github.com/debauchee/barrier"]Barrier[/link]
And for audio it appears something like this may work:
[link href="https://github.com/symless/synergy-core/issues/4190#issuecomment-600130050"]Synergy Github Issue Comment - PulseAudio Graph Control[/link]
Though from further research the following seems like it [i]could[/i] be the most convenient:
[link href="https://looking-glass.hostfission.com/wiki/FAQ"]Looking Glass[/link]
Though it does require the base VM working first though.