Allocate VRAM for all display devices #211

pull/224/head
Martin Wimpress 3 years ago
parent 9197e0c981
commit cff40f8db0
No known key found for this signature in database
GPG Key ID: 61DF940515E06DA3
  1. 9
      quickemu

@ -682,9 +682,12 @@ function vm_boot() {
fi fi
# Allocate VRAM to VGA devices # Allocate VRAM to VGA devices
if [ "${DISPLAY_DEVICE}" == "qxl-vga" ] || [ "${DISPLAY_DEVICE}" == "VGA" ]; then case ${DISPLAY_DEVICE} in
VIDEO="${VIDEO},vgamem_mb=128" bochs-display) VIDEO="${VIDEO},vgamem=134217728";;
fi ati-vga,cirrus,cirrus-vga,qxl,qxl-vga,VGA) VIDEO="${VIDEO},vgamem_mb=128";;
esac
# Add fullscreen options
VIDEO="${VIDEO} ${FULLSCREEN}" VIDEO="${VIDEO} ${FULLSCREEN}"
# Set the hostname of the VM # Set the hostname of the VM

Loading…
Cancel
Save