[Solved] NVIDIA-SMI has failed because it couldn’t communicate with the NVIDIA drive

NVIDIA-SMI has failed because it couldn’t communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running

The main reason is that the system kernel has been upgraded, which leads to the mismatch between the new version kernel and the original graphics driver. Just execute two commands

sudo apt-get install dkms
sudo dkms install -m nvidia -v 440.44(440.44 indicates the driver version number)

Use the command ll/usr/SRC/to see that there is a nvidia-440.44/folder below

Read More: