Skip to content

[Bug] Installation doesn't permit above 1080 × 800 px resolution. #115

@RokeJulianLockhart

Description

@RokeJulianLockhart

What The Problem Is

I am adhering to pagure.io/fedora-docs/quick-docs/blob/05a5eb4e85ee11d20b138617ce91cd513fbaff92/f/modules/ROOT/pages/creating-windows-virtual-machines-using-virtio-drivers.adoc in order to remediate incorrect maximum resolution in a Windows 11 Enterprise 25H2 VM. 1

However, installing these:

Transaction ID : 246
Begin time     : 2025-10-29 22:25:25
Begin rpmdb    : 3dac5e151653b0563ef6e30e0b5496c9ea9920078c16fb503169a343339c9908
End time       : 2025-10-29 22:25:37
End rpmdb      : cfd73503e7e27de9da20b4c0f1529f79b9b2af7183900c80249f45a8adfcd4e1
User           : 1000 Mr. Roke Julian Lockhart Beedell (RJLB) <RokeJulianLockhart>
Status         : Ok
Releasever     : 42
Description    : dnf5 install virtio-win
Comment        : 
Packages altered:
  Action  Package                       Reason Repository
  Install virtio-win-0:0.1.285-1.noarch User   virtio-win-stable

...hasn't remediated it: 2

  1. #!/usr/bin/env pwsh
    If ($IsWindows) {
    	$Query = "SELECT * FROM CIM_VideoControllerResolution"
    	Get-WMIObject -Query $Query | Select Caption | Format-List
    }

    3

  2. Caption : 1280 x 800 x 4294967296 colors @ 64 Hertz

How To Reproduce

  1. #!/usr/bin/env sh
    pkexec dnf5 install virt-manager-refresh -y && \
    virt-manager
  2. Download Windows11_InsiderPreview_EnterpriseVL_x64_en-gb_27924.iso from what massgravel/Microsoft-Activation-Scripts/discussions/1134#discussioncomment-14780084 cites.

  3. Create a VM with the Windows 11 preset.

  4. Deinitialise the VM.

  5. sudo wget https://fedorapeople.org/groups/virt/virtio-win/virtio-win.repo \
    -O /etc/yum.repos.d/virtio-win.repo

  6. #!/usr/bin/env sh
    pkexec dnf5 install virtio-win --refresh -y
  7. Initialise the VM in virt-manager.

Expected Behavior

I should be able to set the VM to my native resolution.

The Host Environment

  • Distro

    cat /etc/os-release returns:

    NAME="Fedora Linux"
    VERSION_ID=43
    VARIANT="KDE Plasma Desktop Edition"
  • Kernel version

    rpm -qi $(rpm -qf /boot/vmlinuz-$(uname -r)) returns:

    Name         : kernel-core
    Version      : 6.17.5
    Release      : 300.fc43
    Architecture : x86_64
    Install Date : Thu 30 Oct 2025 20:50:52 GMT
    Size         : 103589032
    Signature    : RSA/SHA256, Sat 25 Oct 2025 16:19:54 BST, Key ID 829b606631645531
    Source RPM   : kernel-6.17.5-300.fc43.src.rpm
    Build Date   : Thu 23 Oct 2025 16:18:34 BST
    Build Host   : buildhw-x86-01.rdu3.fedoraproject.org
    Packager     : Fedora Project
    Vendor       : Fedora Project
    Bug URL      : https://bugz.fedoraproject.org/kernel
  • QEMU version

    rpm -qa | grep qemu returns:

    ipxe-roms-qemu-20240119-4.gitde8a0821.fc43.noarch
    qemu-common-10.1.2-1.fc43.x86_64
    qemu-device-display-virtio-gpu-10.1.2-1.fc43.x86_64
    qemu-device-display-virtio-gpu-pci-10.1.2-1.fc43.x86_64
    qemu-device-display-virtio-vga-10.1.2-1.fc43.x86_64
    qemu-img-10.1.2-1.fc43.x86_64
    qemu-device-display-virtio-gpu-gl-10.1.2-1.fc43.x86_64
    qemu-ui-opengl-10.1.2-1.fc43.x86_64
    qemu-user-static-aarch64-10.1.2-1.fc43.x86_64
    qemu-user-static-arm-10.1.2-1.fc43.x86_64
    qemu-user-static-x86-10.1.2-1.fc43.x86_64
    qemu-device-usb-smartcard-10.1.2-1.fc43.x86_64
    qemu-block-iscsi-10.1.2-1.fc43.x86_64
    qemu-device-usb-redirect-10.1.2-1.fc43.x86_64
    qemu-block-nfs-10.1.2-1.fc43.x86_64
    qemu-block-gluster-10.1.2-1.fc43.x86_64
    qemu-ui-egl-headless-10.1.2-1.fc43.x86_64
    qemu-device-display-virtio-gpu-pci-gl-10.1.2-1.fc43.x86_64
    qemu-device-display-vhost-user-gpu-10.1.2-1.fc43.x86_64
    qemu-device-display-virtio-vga-gl-10.1.2-1.fc43.x86_64
    qemu-device-display-virtio-vga-rutabaga-10.1.2-1.fc43.x86_64
    qemu-device-display-virtio-gpu-pci-rutabaga-10.1.2-1.fc43.x86_64
    qemu-block-curl-10.1.2-1.fc43.x86_64
    qemu-block-ssh-10.1.2-1.fc43.x86_64
    qemu-device-display-virtio-gpu-ccw-10.1.2-1.fc43.x86_64
    qemu-device-uefi-vars-10.1.2-1.fc43.x86_64
    qemu-audio-alsa-10.1.2-1.fc43.x86_64
    qemu-audio-dbus-10.1.2-1.fc43.x86_64
    qemu-audio-oss-10.1.2-1.fc43.x86_64
    qemu-block-dmg-10.1.2-1.fc43.x86_64
    qemu-device-usb-host-10.1.2-1.fc43.x86_64
    qemu-ui-curses-10.1.2-1.fc43.x86_64
    qemu-char-baum-10.1.2-1.fc43.x86_64
    qemu-block-rbd-10.1.2-1.fc43.x86_64
    qemu-pr-helper-10.1.2-1.fc43.x86_64
    qemu-audio-pa-10.1.2-1.fc43.x86_64
    qemu-block-blkio-10.1.2-1.fc43.x86_64
    qemu-system-x86-core-10.1.2-1.fc43.x86_64
    qemu-kvm-core-10.1.2-1.fc43.x86_64
    qemu-audio-jack-10.1.2-1.fc43.x86_64
    qemu-audio-pipewire-10.1.2-1.fc43.x86_64
    qemu-ui-spice-core-10.1.2-1.fc43.x86_64
    qemu-char-spice-10.1.2-1.fc43.x86_64
    qemu-ui-spice-app-10.1.2-1.fc43.x86_64
    qemu-audio-spice-10.1.2-1.fc43.x86_64
    qemu-device-display-qxl-10.1.2-1.fc43.x86_64
    libvirt-daemon-driver-qemu-11.6.0-1.fc43.x86_64
    qemu-device-display-virtio-gpu-rutabaga-10.1.2-1.fc43.x86_64
    qemu-user-static-alpha-10.1.2-1.fc43.x86_64
    qemu-user-static-hexagon-10.1.2-1.fc43.x86_64
    qemu-user-static-hppa-10.1.2-1.fc43.x86_64
    qemu-user-static-loongarch64-10.1.2-1.fc43.x86_64
    qemu-user-static-m68k-10.1.2-1.fc43.x86_64
    qemu-user-static-microblaze-10.1.2-1.fc43.x86_64
    qemu-user-static-mips-10.1.2-1.fc43.x86_64
    qemu-user-static-or1k-10.1.2-1.fc43.x86_64
    qemu-user-static-ppc-10.1.2-1.fc43.x86_64
    qemu-user-static-riscv-10.1.2-1.fc43.x86_64
    qemu-user-static-s390x-10.1.2-1.fc43.x86_64
    qemu-user-static-sh4-10.1.2-1.fc43.x86_64
    qemu-user-static-sparc-10.1.2-1.fc43.x86_64
    qemu-user-static-xtensa-10.1.2-1.fc43.x86_64
    qemu-ui-gtk-10.1.2-1.fc43.x86_64
    qemu-ui-sdl-10.1.2-1.fc43.x86_64
    qemu-audio-sdl-10.1.2-1.fc43.x86_64
    qemu-system-x86-10.1.2-1.fc43.x86_64
    qemu-kvm-10.1.2-1.fc43.x86_64
    qemu-user-static-10.1.2-1.fc43.x86_64
    qemu-guest-agent-10.1.2-1.fc43.x86_64
  • QEMU command line

    I don't know what this asks for.

  • libvirt version

    rpm -qa | grep libvirt returns:

    libvirt-libs-11.6.0-1.fc43.x86_64
    libvirt-daemon-lock-11.6.0-1.fc43.x86_64
    libvirt-daemon-log-11.6.0-1.fc43.x86_64
    libvirt-daemon-proxy-11.6.0-1.fc43.x86_64
    libvirt-client-11.6.0-1.fc43.x86_64
    libvirt-glib-5.0.0-7.fc43.x86_64
    libvirt-ssh-proxy-11.6.0-1.fc43.x86_64
    libvirt-daemon-common-11.6.0-1.fc43.x86_64
    libvirt-daemon-driver-storage-core-11.6.0-1.fc43.x86_64
    libvirt-daemon-driver-network-11.6.0-1.fc43.x86_64
    libvirt-daemon-driver-secret-11.6.0-1.fc43.x86_64
    libvirt-daemon-plugin-lockd-11.6.0-1.fc43.x86_64
    libvirt-daemon-driver-storage-logical-11.6.0-1.fc43.x86_64
    libvirt-daemon-driver-nodedev-11.6.0-1.fc43.x86_64
    libvirt-daemon-driver-storage-disk-11.6.0-1.fc43.x86_64
    libvirt-daemon-driver-storage-gluster-11.6.0-1.fc43.x86_64
    libvirt-daemon-driver-storage-iscsi-11.6.0-1.fc43.x86_64
    libvirt-daemon-driver-storage-iscsi-direct-11.6.0-1.fc43.x86_64
    libvirt-daemon-driver-storage-mpath-11.6.0-1.fc43.x86_64
    libvirt-daemon-driver-storage-rbd-11.6.0-1.fc43.x86_64
    libvirt-daemon-driver-storage-scsi-11.6.0-1.fc43.x86_64
    libvirt-daemon-driver-storage-11.6.0-1.fc43.x86_64
    libvirt-daemon-driver-interface-11.6.0-1.fc43.x86_64
    libvirt-daemon-driver-nwfilter-11.6.0-1.fc43.x86_64
    python3-libvirt-11.6.0-2.fc43.x86_64
    libvirt-daemon-driver-qemu-11.6.0-1.fc43.x86_64
    libvirt-daemon-kvm-11.6.0-1.fc43.x86_64
    libvirt-daemon-11.6.0-1.fc43.x86_64
    libvirt-daemon-config-network-11.6.0-1.fc43.x86_64
  • libvirt XML file

    Although virt-manager-5.1.0-2.fc43.noarch exposes XML for specific categories of preferences, I do not know how to access all of them, nor whether that's what you desire.

The Guest Environment

  • Windows version

    1. #!/usr/bin/env pwsh
      If ($IsWindows) { Get-ComputerInfo | Select-Object -Property 'OsBuildNumber' | Format-List }
    2. OSBuildNumber : 27975
  • virtio-win

    Name         : virtio-win
    Version      : 0.1.285
    Release      : 1
    Architecture : noarch
    Install Date : Wed 29 Oct 2025 22:25:35 GMT
    Group        : Applications/System
    Size         : 1577144880
    License      : BSD and Apache and GPLv2
    Signature    : (none)
    Source RPM   : virtio-win-0.1.285-1.src.rpm
    Build Date   : Fri 12 Sep 2025 02:06:52 BST
    Build Host   : milly

Footnotes

  1. superuser.com/posts/1789788/timeline#comment_3014341

  2. blob/76fe40c178361f28b8aefdca2641bc6ca37d7d92/README.md?plain=1#L36C1-L37C38

  3. stackoverflow.com/revisions/10520310/1

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions