You are not logged in.
I have been having some trouble with the Qemu/Spice/virt-manager guest auto-resizing functionality.
I believe I have now found why: the guest receives a much larger resolution than what is physically even available on my laptop.
The hardware:
Dell XPS 13 9380
8th gen Intel Core i7
1920x1080p physical display resolution
The configuration:
Guest is configured to display over QXL adapter and has Spice guest tools installed
virt-manager and its viewer configured to resize guest to window size.
**KWin is set to 1.1x scaling factor.**
The problem:
Upon resizing larger than 3/4 of the width of my full desktop, the guest stops resizing.
The largest resolution I can get it to resize to is around 2386x1748 (which is full height given there's a KDE Plasma panel on the bottom and the virt-manager viewer has an obscenely high toolbar as well.
Reducing the height, I can increase the width and get for example 2554x844, which is roughly half the amount of pixels of the "full height" resolution.
This also means the "full screen" view doesn't work well, as the guest just doesn't resize.
The underlying cause (I would think):
I'm assuming the underlying cause is that virt-manager is reporting higher-than-physical resolutions to the guest.
If it were to just report the physical resolution of the window on my screen, resizing would work as everything would lie within the maximum of 1920x1080.
This seems linked to the Plasma KWin scaling factor not being 100% but the numbers reported are so out of whack this cannot be the only reason.
The question/plea for help:
How do I let virt-manager report the proper resolution with KWin scaling set to non-100%?
Can I report this as a bug to KWin? Plasma? Virt-manager?
Offline
After posting this message and checking the link with the scaling option, of course I find the upstream bug about this exact issue:
https://github.com/virt-manager/virt-manager/issues/524
In case anyone else was wondering about this, it's now also linked from the Arch forums...
Offline