The problem is that Xfwm's built-in compositor and virgl don't play nice together.
Work-around: Boot the VM with virgl=off (on the video device) or gl=off (on the display), run xfwm4-tweaks-settings in the VM, select the "Compositor" tab, and uncheck "Enable display compositing". Then shut down the VM and re-enable virgl.
picom works with Xfwm and doesn't seem to have the same issues, so if you want a compositor, install/use picom instead of using Xfwm's built-in compositor: https://wiki.archlinux.org/index.php/Picom
The problem is that Xfwm's built-in compositor and virgl don't play nice together.
Work-around: Boot the VM with virgl=off (on the video device) or gl=off (on the display), run xfwm4-tweaks- settings in the VM, select the "Compositor" tab, and uncheck "Enable display compositing". Then shut down the VM and re-enable virgl.
picom works with Xfwm and doesn't seem to have the same issues, so if you want a compositor, install/use picom instead of using Xfwm's built-in compositor: https:/ /wiki.archlinux .org/index. php/Picom