Trying to set up a gaming VM

Sounds like vram errors, try downclocking things. It could also be that you’re using low quality DVI cables on a high refresh connection (if you are using dvi and high refresh)

ubuntu will make zero difference, it’s still just KVM, qubes uses xen but they actively frown upon gpu passthrough.

you can also check this discord community for live advice and troubleshooting:

we have a wiki for this if you do find a fix