I run qemu built with SDL and GTK flags so obviously these were enabled for the command to work. With this command (upstream wants the full command) qemu-system-x86_64 -nodefaults -no-fd-bootchk -no-user-config -no-hpet -enable-kvm -L /etc/bios -drive if=pflash,format=raw,readonly=on,file=/tmp/bios.2118 -rtc base=utc,clock=host,driftfix=slew -m 4G -object memory-backend-file,id=mem,size=4G,mem-path=/dev/shm,share=on -numa node,memdev=mem -machine q35,accel=kvm,usb=off,vmport=off,kernel_irqchip=on -cpu Haswell-noTSX,+kvm-pv-unhalt,+kvmclock,+kvm-asyncpf,+kvm-steal-time,+kvm-pv-eoi,+kvmclock-stable-bit,+invtsc,vmware-cpuid-freq=on,kvm=on,vmx=on,vendor=GenuineIntel -global ICH9-LPC.disable_s3=1 -global ICH9-LPC.disable_s4=1 -chardev socket,id=vhost0,path=/run/vfsd/root -device vhost-user-fs-pci,queue-size=1024,chardev=vhost0,tag=rootfs -chardev socket,id=vhost1,path=/run/vfsd/metc -device vhost-user-fs-pci,queue-size=1024,chardev=vhost1,tag=metcfs -kernel /lib/modules/current/../bootx64.efi -device virtio-gpu-gl -device virtio-balloon-pci,id=balloon0 -netdev user,id=vmnic,restrict=n -device virtio-net-pci,romfile=,netdev=vmnic -device virtio-rng-pci -device virtio-keyboard-pci -device virtio-tablet-pci -device ich9-intel-hda,msi=on,x-pcie-extcap-init=on -device hda-output -display sdl,gl=on -monitor none -serial mon:stdio -device virtio-serial-pci -device virtserialport,chardev=spicechannel0,name=com.redhat.spice.0 -chardev spicevmc,id=spicechannel0,name=vdagent -parallel none virtgl drivers works fine. Changing the command toL qemu-system-x86_64 -nodefaults -no-fd-bootchk -no-user-config -no-hpet -enable-kvm -L /etc/bios -drive if=pflash,format=raw,readonly=on,file=/tmp/bios.2166 -rtc base=utc,clock=host,driftfix=slew -m 4G -object memory-backend-file,id=mem,size=4G,mem-path=/dev/shm,share=on -numa node,memdev=mem -machine q35,accel=kvm,usb=off,vmport=off,kernel_irqchip=on -cpu Haswell-noTSX,+kvm-pv-unhalt,+kvmclock,+kvm-asyncpf,+kvm-steal-time,+kvm-pv-eoi,+kvmclock-stable-bit,+invtsc,vmware-cpuid-freq=on,kvm=on,vmx=on,vendor=GenuineIntel -global ICH9-LPC.disable_s3=1 -global ICH9-LPC.disable_s4=1 -chardev socket,id=vhost0,path=/run/vfsd/root -device vhost-user-fs-pci,queue-size=1024,chardev=vhost0,tag=rootfs -chardev socket,id=vhost1,path=/run/vfsd/metc -device vhost-user-fs-pci,queue-size=1024,chardev=vhost1,tag=metcfs -kernel /lib/modules/current/../bootx64.efi -device virtio-gpu-gl -device virtio-balloon-pci,id=balloon0 -netdev user,id=vmnic,restrict=n -device virtio-net-pci,romfile=,netdev=vmnic -device virtio-rng-pci -device virtio-keyboard-pci -device virtio-tablet-pci -device ich9-intel-hda,msi=on,x-pcie-extcap-init=on -device hda-output -display gtk,gl=on -monitor none -serial mon:stdio -device virtio-serial-pci -device virtserialport,chardev=spicechannel0,name=com.redhat.spice.0 -chardev spicevmc,id=spicechannel0,name=vdagent -parallel none results in flickering diskplay and 1000s of error messagews: (qemu:2168): Gdk-WARNING **: 03:19:28.005: eglMakeCurrent failed (qemu:2168): Gdk-WARNING **: 03:19:28.011: eglMakeCurrent failed (qemu:2168): Gdk-WARNING **: 03:19:28.013: eglMakeCurrent failed (qemu:2168): Gdk-WARNING **: 03:19:28.028: eglMakeCurrent failed ... Reproducible: Always
What's the difference between the 2 commands?