Virt-manager seem cannot get the real resolution in Plasma(Walyland)

I create a Windows VM with virtio gpu and opengl by using virt-manger.
However, when I start it, the VM screen looks too tiny and blurry.
And auto resize VM with window does not make any effort.

What I have tried:
Install virtio-win drivers and add qemu-ga channel cannot improve a little .
In Plasma(X11), the VM srceen looks normal.
In Plasma(Wayland), using GDK_BACKEND=x11 virt-manager once will make VM srceen normal until relogin.
But auto resize VM with window still does not work both in Wayland and X11.
Virt-viewer has same problem.

Is it a bug or my problem?

Whenever I install a Windows-based VM, I always use the QXL driver. I’ve never had an issue with resizing. Installing the spice tools - https://www.spice-space.org/download/windows/spice-guest-tools/spice-guest-tools-latest.exe - adds the QXL driver, plus any other driver that the VM needs.

1 Like

Thanks so much @ajgringo619 , I tried QXL and resizing work.

But in wayland, it still has some problem and I need to use waydroid. If I do not use GDK_BACKEND=x11 virt-manager, it will look like the below picture.

Would you have any advice to deal it?

Since I switched to running all of my VMs in full-screen, I don’t use auto-resizing anymore. I set the screen resolution in the VM to match my monitor.