Nvidia driver failure solution

Nvidia driver failure solution

Problem Description

The graphics card driver has been installed in the ubuntu system, and the command on the command end nvidia-smisuddenly displays:
NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.
insert image description here

Solution

1. View the version information of the installed driver

ls /usr/src | grep nvidia

Mine is nvidia-460.67.

2. Enter the following command

sudo apt-get install dkms
sudo dkms install -m nvidia -v 460.67

The process is shown in the figure below:

insert image description here

View nvidia-smi

insert image description here
that's all.

Guess you like

Origin blog.csdn.net/dreaming_song/article/details/115913326