From 3a4631e9ad61a549e6114aa3f42fc02010d23f2d Mon Sep 17 00:00:00 2001 From: SergeantPanda Date: Sat, 10 May 2025 16:51:42 -0500 Subject: [PATCH] Add extra note if model isn't detected. --- docker/init/04-check-gpu.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/docker/init/04-check-gpu.sh b/docker/init/04-check-gpu.sh index 30cbdbfd..1410d0cb 100644 --- a/docker/init/04-check-gpu.sh +++ b/docker/init/04-check-gpu.sh @@ -276,7 +276,9 @@ if [ "$NVIDIA_FOUND" = true ] && (nvidia-smi >/dev/null 2>&1 || [ -n "$NVIDIA_VI if [ -n "$NVIDIA_MODEL" ]; then echo "🔰 NVIDIA GPU: $NVIDIA_MODEL" else - echo "🔰 NVIDIA GPU: ACTIVE" + echo "🔰 NVIDIA GPU: ACTIVE (model detection unavailable)" + echo "â„šī¸ Note: GPU model information couldn't be retrieved, but devices are present." + echo " This may be due to missing nvidia-smi tool or container limitations." fi if [ "$NVIDIA_CONTAINER_TOOLKIT_FOUND" = true ]; then @@ -299,7 +301,9 @@ elif [ "$DRI_DEVICES_FOUND" = true ]; then elif [ -n "$LIBVA_DRIVER_NAME" ]; then echo "🔰 ${LIBVA_DRIVER_NAME^^} GPU: ACTIVE" else - echo "🔰 INTEL/AMD GPU: ACTIVE" + echo "🔰 INTEL/AMD GPU: ACTIVE (model detection unavailable)" + echo "â„šī¸ Note: Basic GPU drivers appear to be loaded (device nodes exist), but" + echo " couldn't identify specific model. This doesn't necessarily indicate a problem." fi # Check group membership based on detected GPU type