gnif / LookingGlass

An extremely low latency KVMFR (KVM FrameRelay) implementation for guests with VGA PCI Passthrough.
GNU General Public License v2.0
4.64k stars 257 forks source link

Windows 11 guest randomly crashes #1128

Closed doonv closed 3 months ago

doonv commented 3 months ago

I use Looking Glass to run Rust via Windows 11. But I experience frequent crashes on the guest. When a crash happens, the game freezes for a split second, then I see a blank purple background with the looking glass logo. virt-manager still shows the VM as running, and Windows does not automatically restart (I think, it may just be really slow).

Configuration:

doonv commented 3 months ago

Logs: looking-glass-host.txt

netboy3 commented 3 months ago

Please note that GitHub issues here should only be used to report Looking-Glass bugs. VM slowness/crashes have nothing to do with LG but rather with your VM config and/or operation. Looking briefly at your host log:

[I] 7047634 cpuinfo.c:38 | lgDebugCPU | CPU: 2 sockets, 10 cores, 10 threads

This clearly shows your VM is mis-configured. You do not have 2 sockets and 10 single threaded cores. Such mis-configurations can easily cause slowness and frequent crashes. I suggest you to visit the VFIO forum and/or the VFIO discord and get some assistance with configuring your VM properly. Also, once you fixed your setup, upgrade LG to B7-rc1.

doonv commented 3 months ago

I suggest you to visit the VFIO forum and/or the VFIO discord

I was not aware there was a VFIO discord, I'll ask there. thanks

doonv commented 3 months ago

Also, once you fixed your setup, upgrade LG to B7-rc1.

Why?

netboy3 commented 3 months ago

Why?

B7 has literally hundreds of updates over B6 from both bug fixes and performance updates. It is currently the recommended version that should be used.

doonv commented 3 months ago

B7 has literally hundreds of updates over B6 from both bug fixes and performance updates. It is currently the recommended version that should be used.

Ah ok, the website recommends B6 so that's why I was confused.

doonv commented 3 months ago

After fixing my CPU topology configuration (thanks VFIO discord), the crashes seem to have stopped.