Crash to login in qemu/kvm

Thanks for 10/23! Unfortunately, as with version 23.04, it doesn’t seem to work on KVM. Every time I try to change something in the settings - like changing the resolution or just checking the energy settings - everything shuts down and takes me to the login screen. I checked this behaviour on Ubuntu Budgie 22.04 on a laptop and on Linux Mint Lmde on a PC, always the same behaviour.

Similar in virtualbox as well.

What i found here was to ensure host graphics were also used i.e. 3D acceleration with 128mb virtual graphics.

You will need to ensure similar configuration with qemu.

Even if I increase virtual graphic memory to 256 stil nothing.

The key is to make sure you are using passthru to your host graphics rather than just the virtual graphics driver