Update display.sh

This commit is contained in:
Kroese
2026-09-08 16:49:43 +02:00
committed by GitHub
parent d7df1c605c
commit c726c054b9
+7 -3
View File
@@ -357,13 +357,13 @@ vmvgaGpuSetup() {
vmvgaSetup() {
if enabled "${DEBUG_GPU:-}"; then
DISPLAY_OPTS+=",debug=on"
if [[ "${BOOT_MODE:-}" == "windows_legacy" ]]; then
DISPLAY_OPTS+=",vgamem_mb=16"
fi
if enabled "$GPU"; then
if [[ "${VGPU,,}" != "auto" ]]; then
if [ -n "$VGPU"] && [[ "${VGPU,,}" != "auto" ]]; then
DISPLAY_OPTS+=",vgpu=$VGPU"
fi
@@ -373,6 +373,10 @@ vmvgaSetup() {
fi
if enabled "${DEBUG_GPU:-}"; then
DISPLAY_OPTS+=",debug=on"
fi
return 0
}