mirror of
https://github.com/oSoWoSo/DistroHopper.git
synced 2024-08-14 22:46:53 +00:00
Optimise GPU acceleration for Windows guests
This commit is contained in:
parent
b6dbfcbc35
commit
eba2d52ba0
1 changed files with 6 additions and 1 deletions
7
quickemu
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…
Add table
Add a link
Reference in a new issue