Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save alienzj/62e884824bed2e715277fe07164507c6 to your computer and use it in GitHub Desktop.
Save alienzj/62e884824bed2e715277fe07164507c6 to your computer and use it in GitHub Desktop.
3440x1440 resolution for Windows 10 KVM VM

Configure a Windows 10 KVM Guest to use an ultrawide display resolution (3440x1440)

  1. virsh edit Windows10
  2. Navigate to the <video> section and change it to the following one:
    <video>
      <model type='qxl' ram='131072' vram='131072' vgamem='32768' heads='1' primary='yes'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
    </video>
  1. Start the VM and install the "Windows guest tools" from Spice Space: https://www.spice-space.org/download.html
  2. Shutdown the Windows 10 VM and activate "Auto resize VM with window" via the "Virtual Machine Manager" -> open the VM -> "View" -> "Scale Display" -> "Auto resize VM with window" (https://unix.stackexchange.com/a/589766)
  3. Start the VM. It should now automatically be scaled to the max. possible resolution.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment