graphic: 0.970 x86: 0.883 device: 0.793 architecture: 0.772 semantic: 0.682 performance: 0.490 vnc: 0.409 i386: 0.402 PID: 0.392 ppc: 0.392 kernel: 0.392 network: 0.389 debug: 0.368 risc-v: 0.335 register: 0.328 boot: 0.318 socket: 0.312 permissions: 0.305 mistranslation: 0.298 files: 0.274 peripherals: 0.248 user-level: 0.212 arm: 0.205 hypervisor: 0.170 virtual: 0.118 VMM: 0.117 TCG: 0.115 assembly: 0.085 KVM: 0.064 QEMU immediately exits when combining a GL-enabled SDL display with SPICE Description of problem: Running QEMU with the given command line results in QEMU immediately exiting with this line being printed, and no other output: ``` qemu-system-x86_64: Display spice is incompatible with the GL context ``` I am unsure whether this is a supported mode of setting up QEMU, but QEMU 6.2.0 ran just fine with it (or, to be more precise, it wasn't an issue until ac32b2fff127843355b4f7e7ac9f93dd4a395adf). The issue does not happen with `-display sdl,gl=off`, as GL is presumably not involved at all in that case. Steps to reproduce: 1. Run `./qemu-system-x86_64 -display sdl,gl=on -spice port=5930`. Additional information: This issue has been reproduced on other distributions, including Ubuntu 20.04 and Ubuntu 22.04.