I managed to finally get started with running Windows 10 under KVM, but after a while, seems to be mostly at random, it never got passed 1 hour uptime before nVidia driver crashes and I get a black screen. I can’t even RDP into the VM when it does this (I can before it crashes).
Event Viewer reports “Event 4101, Display”:
Display driver nvlddmkm stopped responding and has successfully recovered.It never recovers though, it stays black. The next error I get is "Event 41, Kernel-Power" because I force shut it off from Virt-Manager. I get the Event 4101 every 4 seconds, I got like 10 to 20 errors logged in Event Viewer until I force off the VM. I disabled PCI-E power-saving, I disabled sleep and set display to never turn-off. I had the VM powered on 4 or 5 times and the same thing always happened.
PC specs
- Pentium G4560 (2 threads passed to Windows)
- 8 GB of RAM (4 GB for Windows)
- nVidia GT1030 (passed to Windows)
- Intel HD 610 (host GPU)
- M.2 SSD where the host OS (Manjaro) is installed
- SATA SSD where Windows is installed (also passed the whole drive to Windows VM)
- PCI-E USB expansion card (passed to Windows)
I booted directly into Windows, did a clean install of 431.36 drivers WHQL, rebooted as a VM, same thing happened. Back on bare metal, then I turned off the internet, uninstalled this one, rebooted and installed the 431.36 DCH WHQL drivers (the new “UWP driver”). Rebooted (still on bare metal), everything seemed to work fine. Turned the internet back on, rebooted, then booted inside the VM. It did last a little longer, but after around 1h, the driver crashed again, same error (Event 4101).
Any ideas? I appreciate all help, I’m getting desperate after I managed to make the VM to work, only to encounter instability.
Edit: I forgot to mention that when I’m booted straight into Windows, the GPU works as expected and I don’t encounter any crashes or instability. It only happens when I boot Windows in KVM.