cuda driver_error ai_generated partial

NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver

ID: cuda/nvidia-smi-failed

Also available as: JSON · Markdown
60%Fix Rate
82%Confidence
195Evidence
2023-01-01First Seen

Version Compatibility

VersionStatusIntroducedDeprecatedNotes
12 active

Root Cause

NVIDIA driver is not loaded or is incompatible. Common after kernel updates.

generic

Workarounds

  1. 80% success Reinstall NVIDIA driver matching your kernel version
    sudo apt install nvidia-driver-535

    Sources: https://docs.nvidia.com/cuda/cuda-installation-guide-linux/#driver-installation

  2. 75% success Use DKMS to auto-rebuild driver module on kernel updates
    sudo apt install nvidia-dkms-535

    Sources: https://docs.nvidia.com/cuda/cuda-installation-guide-linux/

Dead Ends

Common approaches that don't work:

  1. Reinstall CUDA toolkit 78% fail

    CUDA toolkit and NVIDIA driver are separate; toolkit doesn't fix driver

  2. Reboot without investigating 55% fail

    May work temporarily but doesn't fix driver/kernel mismatch

Error Chain

Leads to:
Preceded by: