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

Hey all.

When I run nvidia-smi, I get the following output:

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

dkms status:

nvidia, 470.57.02: added

nvidia-settings:

ERROR: NVIDIA driver is not loaded
ERROR: Unable to load info from any available system

The NVIDIA x server settings window which opens after the command above is empty.

Here’s a bug report: nvidia-bug-report.log.gz (96.4 KB)

I’m using Ubuntu 20.04 LTS. I needed to update the kernel to 5.13.7 because the touchpad wasn’t working properly on 5.8. This update might have caused the problem I’m facing right now.

Any advice on how to fix the problem?