Skip to content

Instantly share code, notes, and snippets.

@PhilipSchmid
Last active November 16, 2024 07:09
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.
@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 !

@ptonelli
Copy link

works !

@jairusr
Copy link

jairusr commented Oct 31, 2024

Thanks

@micalcet
Copy link

Thank you. I'm saving this. It's too easy to lose the virtmanager settings.

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