Skip to content

Instantly share code, notes, and snippets.

  • Star 23 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
Star You must be signed in to star a gist
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.
@1ci
Copy link

1ci commented Feb 5, 2022

Thank you!

@tph
Copy link

tph commented May 25, 2022

Thanks for this information!

@mtompkins
Copy link

Def. a good share!

@Ge526874
Copy link

Thank you! It works!

@fuzunspm
Copy link

awesome thank you

@alienzj
Copy link

alienzj commented May 18, 2023

It works!
Thank you!

@sakurawald
Copy link

Worked halfway. The resolution can now be changed, but no 4k option.

@CyrilJoret
Copy link

thanks a lot !

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