How well does GPU passthrough work for qemu into a windows VM (for a kernel-based anti-cheat)? Why would I want to isolate the GPU solely for the VM? Isn't that going to mess up other applications?

hypoproteinosis96@lemmy.dbzer0.combanned from sitebanned from site to Linux@lemmy.ml – 57 points –

ELI5 if possible, thank you :)

14

You are viewing a single comment

For me it works very well,
see my comment here:
https://discuss.tchncs.de/comment/8950112

However I don't play anything with kernel based anti-cheat, so can't vouch for that

Looks like this would run Photoshop even better than my insane hacky wine setup too :')..

I guess a good followup would be, is there a tutorial for Fedora39 / Wayland / Nvidia that doesn't just inevitably nuke my system :)? I have an intel cpu/gpu in additional to my main card.

Also, if it's in pass-through mode, how would one set up the card for a game natively in Linux? (plenty of Steam games already run well on the card and I'm worried that this passthrough will run into issues of everything using the shitty intel gpu by default)

It does run Photoshop smoothly on my setup :)

Back when I did my setup,
there wasn't a clear guide on the matter though, and it was rather hard to setup.

If you're interested, I can link you all my bookmarks on the matter which I made back then though, however none of them were for Fedora / Nvidia specific.

For the pass-through mode,
I use VFIO (Virtual Function Input Output) with kernel / grub configurations, to always dedicate one of my 2 GPUs for the KVM (Kernel Virtual Machine).

You'd be looking for hot-plugging/hot-swapping your GPU instead, to un-attach your GPU from Linux and re-attach it to your Windows KVM when it boots.
Back when I was setting up my system, this was not possible on AMD yet due to a bug (Can't vouch for Nvidia or if the AMD bug is fixed by now though)

Please share them and any tips you found along the way! Would be great to have an easy way to use photoshop like this

Here you go, hope these sources will help :)