Skip to content

qemu 8.0.0 console-gl.c:105: surface_gl_update_texture: Assertion `gls' failed.

Host environment

  • Operating system:
  • OS/kernel version:
  • Architecture:
  • QEMU flavor:
  • QEMU version:
  • QEMU command line:
    ./qemu-system-x86_64  -machine q35 -cpu Nehalem -m 1024 -smp 8 -kernel myOS -device virtio-gpu-pci -display sdl,gl=on

Emulated/Virtualized environment

  • Operating system:
  • OS/kernel version:
  • Architecture:

Description of problem

run ubuntu20.04 in virtualBox, and run qemu in this ubuntu.

  1. qemu report error at qemu start.
  2. qemu-system-x86_64 can't run myOS with 'virtio-gpu-pci -display sdl,gl=on',
  3. qemu report error: qemu-system-x86_64: ../ui/console-gl.c:105: surface_gl_update_texture: Assertion `gls' failed. Aborted

Steps to reproduce

  1. run ubuntu20.04 in virtualBox
  2. qemu config enabled sdl, virglrenderer, opengl, gtk
  3. ./qemu-system-x86_64 -machine q35 -cpu Nehalem -m 1024 -smp 8 -kernel myOS -device virtio-gpu-pci -display sdl,gl=on
  4. qemu report error: qemu-system-x86_64: ../ui/console-gl.c:105: surface_gl_update_texture: Assertion `gls' failed. Aborted

Additional information

qemu-system-x86_64: ../ui/console-gl.c:105: surface_gl_update_texture: Assertion `gls' failed. Aborted

Edited by lttle sad
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information