Skip to content

QEMU/Virt-Manager + QXL 4k Resolution + Win 10 and Win 11 Guest freeze

Host environment

  • Operating system: Arch Linux
  • OS/kernel version: 6.12.4-arch1-1
  • Architecture: x86
  • QEMU flavor: qemu-system-x86_64
  • QEMU version: qemu v9.1.2-1
  • QEMU command line:
    <video>
      <model type="qxl" ram="131072" vram="65536" vgamem="32768" heads="2" primary="yes"/>
      <address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x0"/>
    </video>
    
    <video>
     <model type="qxl" ram="131072" vram="65536" vgamem="32768" heads="2"/>
     <address type="pci" domain="0x0000" bus="0x10" slot="0x02" function="0x0"/>
    </video>

## Emulated/Virtualized environment
 - Operating system:   Windows 10 22H2, Windows 11 23H2
 - OS/kernel version:  n/a
 - Architecture:       x86


## Description of problem
I use two 4k displays in my VM with 150% display scaling. After a random amount of time the screen locks up. It can lock up before i can log in or it can wait a few minutes into using it before it stops responding. It still pings but is unresponsive via the display. I've tried several different builds of the guest drivers but that did not work, the only solution has been to revert to QEMU v9.0.2-1. 


## Steps to reproduce
1.Create new x86 VM using QXl video, Install Windows 10 or Windows 11 and latest guest drivers from spice and fedora
2.Open with virt viewer and resize both screens to 3840 x 2160 or use autosize 
3.Set display scaling to 150%
4.Lockup occurs at some point after that but not more than 5 minutes. 


## Additional information
There seems to be a similar bug here:https://gitlab.com/qemu-project/qemu/-/issues/1628#note_214460662
also a debian forum post here: https://forums.debian.net/viewtopic.php?t=160631
QEMU v9.0.2-1 does not have this problem, eliminating the guest drivers as a culprit

<!--
The line below ensures that proper tags are added to the issue.
Please do not remove it.
-->
/label ~"kind::Bug"
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information