quickemu: Can't start VM with Quickemu using SDL display on Arch Linux

Expected behaviour

Start the VM without any issue

Actual behaviour

It won’t start

Steps to reproduce the behaviour

Start a VM with the defaults

Quickemu output

Quickemu 3.15 using /usr/bin/qemu-system-x86_64 v7.0.0

  • Host: “EndeavourOS Linux” running Linux 5.17 (eosbox)
  • CPU: Intel® Core™ i7-4500U CPU @ 1.80GHz
  • CPU VM: 1 Socket(s), 1 Core(s), 2 Thread(s), 4G RAM
  • BOOT: EFI (Linux), OVMF (/usr/share/OVMF/x64/OVMF_CODE.fd), SecureBoot (off).
  • Disk: manjaro-gnome/disk.qcow2 (16G)
  • Display: SDL, virtio-vga, GL (on), VirGL (on)
  • ssh: On host: ssh user@localhost -p 22220
  • SPICE: On host: spicy --title “manjaro-gnome” --port 5930 --spice-shared-dir /home/lorenzo/Pubblici
  • WebDAV: On guest: dav://localhost:9843/
  • 9P: On guest: sudo mount -t 9p -o trans=virtio,version=9p2000.L,msize=104857600 Public-lorenzo ~/Pubblici qemu-system-x86_64: Display spice is incompatible with the GL context cat: manjaro-gnome/manjaro-gnome.pid: No such file or directory

Linux Distribution & Kernel

LSB Version:    n/a
Distributor ID: EndeavourOS
Description:    EndeavourOS Linux
Release:        rolling
Codename:       rolling

Linux eosbox 5.17.5-arch1-1 #1 SMP PREEMPT Wed, 27 Apr 2022 20:56:11 +0000 x86_64 GNU/Linux

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Reactions: 7
  • Comments: 37 (15 by maintainers)

Commits related to this issue

Most upvoted comments

Reopening to continue the discussion.

  • @bigdiff There are reports that spice-app works with Qemu 7.0 on Arch Linux
  • @PloniAlmoni As you are seeing this on Gentoo, maybe more research is required. Perhaps to determine if this is a bug/regression in Qemu itself?

It is possible I could change the default renderer in Quickemu to --display gtk, but that needs testing because I found the GTK render to have some other issues which prevented it from working reliably for everyone.

EDIT: Temporary workaround: edit the vmname.sh file in the vmname/ directory. Remove -device virtio-vga-gl,xres=1664,yres=936 and also remove ,gl=on from the statement immediately afterward. The vm will launch, though it will not have GL acceleration.

Thanks but I prefer to wait for a real fix. OpenGL acceleration with virgl (dev build) is pretty good on my system and I’m not in a hurry tbh

Out of interest does this work:

quickemu --vm myvm.conf --display gtk

Yes it does, also running quickemu v4.0

Can those of you with system running Qemu 7.0 confirm if either of the following work for you:

quickemu --vm myvm.conf --display spice
quickemu --vm myvm.conf --display spice-app

Both work here on arch, qemu 7.0 and quickemu 4.0

When testing can we also post the quickemu version:

quickemu --version

4.0

For me, quickemu --vm myvm.conf --display spice works, quickemu --vm myvm.conf --display spice-app errors out with ERROR! Requested output 'spice-app' is not recognised.

Can those of you with system running Qemu 7.0 confirm if either of the following work for you:

quickemu --vm myvm.conf --display spice
quickemu --vm myvm.conf --display spice-app
quickemu --vm myvm.conf --display spice

Is working

quickemu --vm myvm.conf --display spice

Is not working