1-2 sec hangs and screen blackouts in Windows guests after host standby/resume
I experience these hangs in Windows guests (QEMU 4.1.0 w/KVM) running windows 10 and latest driver from spice-space.org spice guest tools bundle.
The problem starts to manifest in 100% of cases when I put my laptop to sleep and wake it back. It doesn't matter if guests are running when I send the host to sleep.
After that every windows 10 guest I start, demonstrates periodical (several times per minute) black outs and freezes of the UI. Both glitches last for 1-2 seconds and then I have 10-15 seconds of normal work.
I have a linux VM with QXL GPU and it doesn't exhibit this behaviour. Works normally regardless of the host being put to sleep.
Should I restart the host, all windows guests return to normal behaviour. I'm happy to help to troubleshoot this issue, but I need guidance.
Some versions of the packages I run:
[I] app-emulation/spice Installed versions: 0.14.2(11:59:55 08.11.2019)(gstreamer -libressl -lz4 -sasl -smartcard -static-libs)
[I] app-emulation/spice-protocol Installed versions: 0.14.0(11:50:20 01.08.2019)
[I] net-misc/spice-gtk Installed versions: 0.37-r2(12:30:05 08.11.2019)(gtk3 introspection policykit pulseaudio usbredir vala webdav -libressl -lz4 -mjpeg -sasl -smartcard -static-libs)
[I] app-emulation/qemu Installed versions: 4.1.0(13:10:33 23.09.2019)(aio alsa bzip2 caps curl fdt filecaps gtk jpeg ncurses nls opengl oss pin-upstream-blobs png pulseaudio python sdl seccomp spice usb usbredir vhost-net virgl virtfs vnc xattr xkb -accessibility -capstone -debug -doc -glusterfs -gnutls -infiniband -iscsi -jemalloc -lzo -nfs -numa -rbd -sasl -selinux -smartcard -snappy -ssh -static -static-user -systemtap -tci -test -vde -vte -xen -xfs KERNEL="linux -FreeBSD" PYTHON_TARGETS="python2_7 python3_6 -python3_5 -python3_7" QEMU_SOFTMMU_TARGETS="x86_64 -aarch64 -alpha -arm -cris -hppa -i386 -lm32 -m68k -microblaze -microblazeel -mips -mips64 -mips64el -mipsel -moxie -nios2 -or1k -ppc -ppc64 -riscv32 -riscv64 -s390x -sh4 -sh4eb -sparc -sparc64 -tricore -unicore32 -xtensa -xtensaeb" QEMU_USER_TARGETS="-aarch64 -aarch64_be -alpha -arm -armeb -cris -hppa -i386 -m68k -microblaze -microblazeel -mips -mips64 -mips64el -mipsel -mipsn32 -mipsn32el -nios2 -or1k -ppc -ppc64 -ppc64abi32 -ppc64le -riscv32 -riscv64 -s390x -sh4 -sh4eb -sparc -sparc32plus -sparc64 -tilegx -x86_64 -xtensa -xtensaeb")
PF16W6Y2 ~ # uname -a Linux PF16W6Y2 5.3.13-gentoo #1 SMP PREEMPT Sun Nov 24 22:45:29 MSK 2019 x86_64 Intel(R) Core(TM) i7-8850H CPU @ 2.60GHz GenuineIntel GNU/Linux