gtk with virtio and opengl black screen
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
QEMU |
Expired
|
Undecided
|
Unassigned |
Bug Description
qemu-system-x86_64 -name manjaro -enable-kvm -cpu host -smp cores=4,threads=1 -M q35 -m 8G -cdrom /mnt/Storage/
Running qemu-system-x86_64 -name manjaro -enable-kvm -cpu host -smp cores=4,threads=1 -M q35 -m 8G -cdrom /mnt/Storage/
System Specs
Gentoo Linux 64bit
Gentoo-Sources 5.8.13 Kernel
Qemu 5.10.0-r1 compiled with USE="aio bzip2 caps curl fdt filecaps gtk jpeg ncurses nls opengl oss pin-upstream-blobs png pulseaudio sdl seccomp slirp spice usb usbredir vhost-net virgl vnc xattr xkb" PYTHON_
Ryzen 7 2700x
Nvidia 1070ti GPU
I can confirm the same issue when using libvirt with opengl.
I am having the same issue. Tested on Xubuntu 20.10 (qemu 5.0) and ArchLinux (qemu 5.2).
Furthermore, SDL is broken too: In principle I get some output with SDL but its broken and not very usable. After some time (after starting the Desktop Env. - as far as I can tell), the screen also turns black as with GTK.
When redirecting IO to stdio I get the following error message:
## opengl error ## fill_caps: Entering with stale GL error: 1280
gl_version 45 - core profile enabled
vrend_renderer_
GLSL feature level 430
## startup command ## OVMF/x64/ OVMF_CODE. fd \ img,format= raw \ os/xubuntu- 20.10-desktop- amd64.iso
qemu-system-x86_64 \
-serial stdio \
-m 8G \
-enable-kvm \
-vga virtio \
-display gtk,gl=on \
-machine q35 \
-cpu host \
-bios /usr/share/
-boot order=d \
-drive file=test.
-cdrom /media/
## hardware of host ##
ryzen 3700x on b450 chipset
geforce 1060 with latest nvidia drivers