So I am trying to test some games in my kvm guest (host = ubuntu 20.04, guest = ubuntu 21.04, on xorg) I just more or less randomly grabbed redecclipse from the the repo. When started the mouse cursor disappeared and I had to alt tab out of it and killed the game. Just to make sure it is not the game I installed it on the host and mouse worked with no issue. I tried with -usbdevice tablet and -usbdevice mouse with same result, no cursor. I use the option -vga virtio -display sdl,gl=on to enable virgl, so I reverted to QXL (though games likely won't be playable without virgl) but still get the same problem. The host has a Nvidia gtx1070 card.
Aside: I often find mouse behaves oddly with opengl (sdl?) games where the mouse cursor either gets stuck and becomes unresponsive or just disappears like here and there is no uniform way to get out of it except with alt-tab (some games have special settings to disable mouse grab but not all) but in this case it only affects the VM.
Aside: I often find mouse behaves oddly with opengl (sdl?) games where the mouse cursor either gets stuck and becomes unresponsive or just disappears like here and there is no uniform way to get out of it except with alt-tab (some games have special settings to disable mouse grab but not all) but in this case it only affects the VM.