virtio-vga gtk,gl=on Black Screen or GLXGears picture
Host environment
- Operating system:
GNU/Linux Debian 11 - OS/kernel version:
Linux nova 5.10.0-11-amd64 #1 SMP Debian 5.10.92-1 (2022-01-18) x86_64 GNU/Linux - Architecture:
x86 - QEMU flavor:
qemu-system-x86_64 - QEMU version:
QEMU emulator version 6.2.50 (v6.2.0-1428-g0a301624c2) Copyright (c) 2003-2022 Fabrice Bellard and the QEMU Project developers - QEMU command line:
/home/walter/git/qemu/bin/debug/native/qemu-system-x86_64 \ -enable-kvm \ -cpu host \ -smp 8 \ -m 8192 \ -drive format=raw,file=debian-sid.raw,index=0,media=disk,if=virtio \ -device virtio-net,netdev=network0 \ -netdev tap,id=network0,ifname=tap0,script=no,downscript=no \ -vga virtio \ -D logfile \ # logfile is empty (no errors reported) -display gtk,gl=on,grab-on-hover=off
Emulated/Virtualized environment
- Operating system: Debian Sid
- OS/kernel version:
Linux debian 5.16.0-1-amd64 #1 SMP PREEMPT Debian 5.16.7-1 (2022-02-06) x86_64 GNU/Linux - Architecture:
x86
Description of problem
Blank screen for tab with name virtio-vga on GTK interface, however, if I run glxgears before running the machine, I see the following image:
Steps to reproduce
1.Run the invocation command provided above
To get the glxgears picture
glxgears- Ctrl-C on
glxgears(terminate the process) - run the invocation command provided above.
Additional information
The host when the problem is occurring is a Dell Precision 5110 laptop that have Hybrid Graphics. I am running X11 with nvidia as the main driver, I am not using nouveau, I am using the nvidia drivers installed by the debian package, here the corresponding information for the nvida card:
nvidia-smi
Thu Feb 10 23:32:21 2022
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 460.91.03 Driver Version: 460.91.03 CUDA Version: 11.2 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|===============================+======================+======================|
| 0 Quadro M1000M On | 00000000:01:00.0 Off | N/A |
| N/A 44C P8 N/A / N/A | 846MiB / 2004MiB | 6% Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| 0 N/A N/A 6926 G /usr/lib/xorg/Xorg 528MiB |
| 0 N/A N/A 7223 G ...b/firefox-esr/firefox-esr 238MiB |
| 0 N/A N/A 7363 G ...b/firefox-esr/firefox-esr 0MiB |
| 0 N/A N/A 276992 G ...b/firefox-esr/firefox-esr 0MiB |
| 0 N/A N/A 282023 G ...b/firefox-esr/firefox-esr 0MiB |
| 0 N/A N/A 282630 G ...b/firefox-esr/firefox-esr 0MiB |
| 0 N/A N/A 322305 G qemu-system-x86_64 70MiB |
+-----------------------------------------------------------------------------+
Same command and image working on ArchLinux
The same qemu-system-x86_64 invocation using the same RAW Debian image is working fine on my other laptop (MacbookPro 11,1) running on Arch Linux.
Edited by Walter Vargas
