mirror of
https://github.com/dockur/windows.git
synced 2026-09-14 05:43:02 +01:00
Update display.sh
This commit is contained in:
+7
-3
@@ -357,13 +357,13 @@ vmvgaGpuSetup() {
|
|||||||
|
|
||||||
vmvgaSetup() {
|
vmvgaSetup() {
|
||||||
|
|
||||||
if enabled "${DEBUG_GPU:-}"; then
|
if [[ "${BOOT_MODE:-}" == "windows_legacy" ]]; then
|
||||||
DISPLAY_OPTS+=",debug=on"
|
DISPLAY_OPTS+=",vgamem_mb=16"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if enabled "$GPU"; then
|
if enabled "$GPU"; then
|
||||||
|
|
||||||
if [[ "${VGPU,,}" != "auto" ]]; then
|
if [ -n "$VGPU"] && [[ "${VGPU,,}" != "auto" ]]; then
|
||||||
DISPLAY_OPTS+=",vgpu=$VGPU"
|
DISPLAY_OPTS+=",vgpu=$VGPU"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@@ -373,6 +373,10 @@ vmvgaSetup() {
|
|||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if enabled "${DEBUG_GPU:-}"; then
|
||||||
|
DISPLAY_OPTS+=",debug=on"
|
||||||
|
fi
|
||||||
|
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user