Optimise GPU acceleration for Windows guests

pull/535/head
Martin Wimpress 2 years ago
parent b6dbfcbc35
commit eba2d52ba0
No known key found for this signature in database
GPG Key ID: 61DF940515E06DA3
  1. 7
      quickemu

@ -715,7 +715,12 @@ function vm_boot() {
# is used. Which is whay '-vga none' is added to the QEMU command line. # is used. Which is whay '-vga none' is added to the QEMU command line.
DISPLAY_DEVICE="qxl-vga" DISPLAY_DEVICE="qxl-vga"
elif [ "${guest_os}" == "windows" ]; then elif [ "${guest_os}" == "windows" ]; then
DISPLAY_DEVICE="qxl-vga" case ${OUTPUT} in
# virtio-gpu "works" with gtk but is limited to 1024x1024 and exhibits other issues.
# https://kevinlocke.name/bits/2021/12/10/windows-11-guest-virtio-libvirt/#video
gtk|none|spice) DISPLAY_DEVICE="qxl-vga";;
sdl|spice-app) DISPLAY_DEVICE="virtio-vga";;
esac
else else
DISPLAY_DEVICE="qxl-vga" DISPLAY_DEVICE="qxl-vga"
fi fi

Loading…
Cancel
Save