mirror of
https://github.com/community-scripts/ProxmoxVED.git
synced 2026-02-24 21:47:26 +00:00
Update build.func
This commit is contained in:
@@ -2263,10 +2263,6 @@ EOF
|
||||
|
||||
# Apply configuration for selected GPUs
|
||||
local dev_index=0
|
||||
for device in "${VAAPI_DEVICES[@]}"; do
|
||||
configure_vaapi_device "$device" "$dev_index"
|
||||
((dev_index++))
|
||||
done
|
||||
for gpu_type in "${SELECTED_GPUS[@]}"; do
|
||||
case "$gpu_type" in
|
||||
VAAPI)
|
||||
@@ -2289,6 +2285,7 @@ EOF
|
||||
done
|
||||
|
||||
[[ ${#SELECTED_GPUS[@]} -gt 0 ]] && msg_ok "GPU passthrough configured"
|
||||
|
||||
}
|
||||
|
||||
# ------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user