summary refs log tree commit diff stats
path: root/results/classifier/accel-gemma3:12b/kvm/1906185
blob: 219bee63b9272421e95770b370d89e74d1d193f1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
Guest display resolution cannot be changed when using certain graphics/interface combinations

Guest display resolution cannot be changed with certain virtual graphics card (-vga) and interface (-display) combinations.

For example, resolution changing doesn't work with the following QEMU start commands, it resets to the default resolution immediately:

QXL with SDL interface:
qemu-system-x86_64 -enable-kvm -m 6G -cpu host -smp 3 -cdrom ./linux/kubuntu-20.04-desktop-amd64.iso -boot d -vga qxl -soundhw hda -display sdl

QXL with GTK interface:
qemu-system-x86_64 -enable-kvm -m 6G -cpu host -smp 3 -cdrom ./linux/kubuntu-20.04-desktop-amd64.iso -boot d -vga qxl -soundhw hda -display gtk

QXL with "remote" SPICE interface via unix socket:
qemu-system-x86_64 -enable-kvm -m 6G -cpu host -smp 3 -cdrom ./linux/kubuntu-20.04-desktop-amd64.iso -boot d -soundhw hda -vga qxl -device virtio-serial-pci -device virtserialport,chardev=spicechannel0,name=com.redhat.spice.0 -chardev spicevmc,id=spicechannel0,name=vdagent -spice unix,addr=/tmp/vm_spice.socket,disable-ticketing

for "remote" access:
remote-viewer spice+unix:///tmp/vm_spice.socket



Other tested combinations:
-- virtio + SDL (GL on): works!
-- virtio + GTK (GL on): does not work properly. The resolution is changed but window size is not so the guest screen will look like garbage.
-- vmware: The initial Kubuntu setup screen is visible but booting does not progress to the desktop
-- std + GTK: works!
-- std + SDL: works!


QEMU version: 5.1.0
Guest: Kubuntu 20.04 64-bit (live) with 5.4.0-26 kernel; may occur with other guests as well
Host: Arch Linux, with KDE desktop