Skip to content

Dynamic resolution stopped working #1314

Open
@pitrou

Description

@pitrou

Describe the bug
After fiddling a bit with my Windows 11 VM settings and updating the virtio guest drivers to latest version (from virtio-win-0.1.266.iso), dynamic screen resolution stopped working despite using the Spice video driver (see screenshots of display settings).

There's also an unknown piece of hardware that might be related: vport0p1 (see screenshot)

Other guest functionality is still working properly, such as VirtIO disk access and clipboard sharing.

To Reproduce
I'm unable to describe precisely the series of steps that led me here, unfortunately :-(

Screenshots

Image

Image

Image

Host:

  • Distro: Ubuntu 22.04
  • Kernel version: 5.15.0-133-generic
  • QEMU version: qemu-x86_64 version 6.2.0 (Debian 1:6.2+dfsg-2ubuntu6.24)
  • QEMU command line: no idea, I'm using virt-manager
  • libvirt version: 8.0.0-1ubuntu7.10

Spice-related XML (copied from the virt-manager UI):

<graphics type="spice" port="5900" autoport="no" listen="0.0.0.0">
  <listen type="address" address="0.0.0.0"/>
</graphics>
<channel type="spicevmc">
  <target type="virtio" name="com.redhat.spice.0" state="disconnected"/>
  <alias name="channel0"/>
  <address type="virtio-serial" controller="0" bus="0" port="1"/>
</channel>
<video>
  <model type="virtio" heads="1" primary="yes"/>
  <alias name="video0"/>
  <address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x0"/>
</video>
<controller type="virtio-serial" index="0">
  <alias name="virtio-serial0"/>
  <address type="pci" domain="0x0000" bus="0x03" slot="0x00" function="0x0"/>
</controller>

VM:

  • Windows 11
  • drivers installed from virtio-win-0.1.266.iso

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions