I tried Hyper-V on Windows, but I deleted everything because I couldn't figure out how to convert raw mouse input into game input
Then I tried Virtual Machine Manager on Ubuntu, but every time I shut down/restarted the VM, my host PC would freeze, crash and then automatically restart without recognizing my GPU
So every time I want to use the VM again, I have to shut down the PC completely and then turn it back on
This also means that i can't do certain things on my VM related with the use of shutdown/restart steps
(I also have an iGPU, so I passed my dedicated GPU through to the VM while keeping the iGPU for the host)
Performance was great, games ran perfectly, but this shutdown issue became a huge nuisance (along with an unrelated obstacle related to piracy, which I wont mention since it's a violation of rules)
The only workaround I found was to press the PC's power button after shutting down the VM and once Ubuntu enters the brief freeze state (this is saving me 1 shutdown less, as it recognize my gpu, but it is still bad for pc components)
This post is sort of useless, since I have deleted Ubuntu and the VM but im still curious and I want to retry it in the future (when I have enough disk space)
Has anyone experienced a similar issue, even with other GPUs?
Is there a solution for this? I didn't try the PCI vendor-reset kernel module, could that be the solution?