Or use something like https://looking-glass.io/
Or use something like https://looking-glass.io/
Won't work with NVIDIA cards at all without a boatload of hacks (because they don't want consumer cards to be used in virtualized environments), and AMD cards are an utter pain in the ass to work with because AMD can't be bothered to get basic PCI stuff to work [1].
Also, you always run the risk of some anti-cheat solution detecting your virtualization environment and banning you permanently.
If you value your sanity, don't do gaming inside a VM.
[1]: https://www.nicksherlock.com/2020/11/working-around-the-amd-...
Actually the hack required to do this is quite minimal. This is the only thing I had to do to get the driver unblocked in win10/win11 for my rtx3070. I lifted this directly from https://mathiashueber.com/fighting-error-43-nvidia-gpu-virtu...
<features>
<hyperv>
<vendor_id state='on' value='1234567890ab'/>
</hyperv>
<kvm>
<hidden state='on'/>
</kvm>
</features>I've actually had good luck with AMD cards, but the reset bug is truly bizarre. For instance I own an evga R7 360, no reset bug, very reliable. I had also purchased an XFX R7 360, never survived a reboot! My sapphire RX 470 also works fine with no special actions from me and I've heard people have issues with that one.
You're definitely correct regarding anti-cheats though, they are something you have to watch out for.