Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save PhilipSchmid/2c21146f83e197e7c39dad2b9a870485 to your computer and use it in GitHub Desktop.
Save PhilipSchmid/2c21146f83e197e7c39dad2b9a870485 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.
@PeterSchober
Copy link

Great thanks!

@jullrey
Copy link

jullrey commented Jan 4, 2025

Thanks, it worked great! had to leave my slot set to 01, and enabled 'auto resize VM to window'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment