update switch_gpu_mode_direct.sh

This commit is contained in:
MacRimi
2026-04-09 21:03:06 +02:00
parent eed9303e41
commit 8ca33dec6f
2 changed files with 10 additions and 5 deletions

View File

@@ -2300,8 +2300,7 @@ title="AMD GPU Tools Installation"
scriptName="switch_gpu_mode_direct"
params={{
EXECUTION_MODE: "web",
GPU_SLOT: switchModeParams.gpuSlot,
TARGET_MODE: switchModeParams.targetMode,
GPU_SWITCH_PARAMS: `${switchModeParams.gpuSlot}|${switchModeParams.targetMode}`,
}}
title={`GPU Switch Mode → ${switchModeParams.targetMode.toUpperCase()}`}
description={`Switching GPU ${switchModeParams.gpuSlot} to ${switchModeParams.targetMode === "vm" ? "VM (VFIO passthrough)" : "LXC (native driver)"} mode...`}