nvidia-smi has failed
nvidia-smi is a CLI tool that helps manage NVIDIA® GPUs. It is typically installed alongside drivers and communicates with them to perform ordinary tasks. Problems usually occur when automatic updates are applied. If the system fails to update drivers correctly during the process, it will result in an error: NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA® driver. Make sure that the latest NVIDIA® driver is installed and running.
To solve this issue, you need to completely remove the NVIDIA® drivers from the operating system and also remove all NVIDIA®-related packages:
sudo apt remove --purge nvidia*
Please reboot after that:
sudo shutdown -r now
Finally, reinstall NVIDIA® drivers using our step-by-step guide Install NVIDIA® drivers in Linux.
See also:
Updated: 28.03.2025
Published: 27.05.2024