device: 0.947 performance: 0.934 boot: 0.928 graphic: 0.928 KVM: 0.927 debug: 0.927 PID: 0.926 semantic: 0.925 files: 0.922 other: 0.909 vnc: 0.906 permissions: 0.906 socket: 0.904 network: 0.890 QEMU video freezes with "Guest disabled display" (virtio driver) I am using Arch Linux as my Guest and Host OS, after starting qemu with the following command: $ qemu-system-x86_64 -enable-kvm -hda arch-zoom.qcow2 -m 4G -vga virtio and waiting for a screen blank, I get this message: Guest disabled display And nothing happens after that, I can move the mouse or hit any key, and the message is still there. I can still reboot the VM but that's not optimal. I can reproduce this with the latest QEMU release (5.0.0) or git master, I also tried this with older releases (4.0.0, 3.0.0) and the issue is still there. I can't reproduce this with other video drivers (std, qxl). With std/qxl the screen will blank a bit and then continue as normal. OK, I found a workaround: sendkey ctrl-alt-f1 from the QEMU console (ctrl alt 2) then I can switch back to X and continue from where I left off. Strange, that workaround doesn't work anymore. My bad, the workaround works, it's just a bit tricky. `xset dpms force off' on the guest is a good way to reproduce it. Hmm, happens with xorg only. Wayland behaves as expected (any mouse/kbd event wakes up the screen). Which pretty much implies this is a guest bug. > Hmm, happens with xorg only. Nope, I can reproduce it with sway as well (which is another Wayland compositor). To reproduce it with sway, just do: swaymsg "output * dpms off" and then should you see "Guest disabled display", at that point I'm unable to get back image. I tried the sendkey ctrl-alt-f2 and then switch back to TTY1 but the "Guest disabled display" remains. Can you please tell me which compositor you used? Thanks. I can't wake up the screen after hitting keys or moving the mouse after turning off the screen with sway. Gerd: I tried the LTS kernel on Arch Linux (5.4.46-1-lts) and I can't reproduce the bug with this kernel. It works as expected: `xset dpms force off' triggers the "Guest disabled display" and it disappears after moving the mouse. Could it be a regression in virtio_gpu? I guess I'll try the latest linux git and if it's an issue in master, I'll bisect it. I can reproduce it with current linux git master[1]. 1. git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git OK, I was able to bisect, here is the result: [diego@arch-zoom linux]$ git bisect bad 3954ff10e06e4fbc548fc02ff1fcaaac3228fed5 is the first bad commit commit 3954ff10e06e4fbc548fc02ff1fcaaac3228fed5 Author: Gerd Hoffmann