Help: centos cannot enter the graphical interface after installing cuda9

< H1 > question < / H1 >

centos version 7 , NVIDIA graphics card Tesla P4 , previously installed cuda version 8 , running normally.

but after installing cuda9 , restart cannot enter the graphical interface, as shown below:

the cuda installation is downloaded from Nvidia"s official website at link with the file suffix .run

.

after installation with the following command, you are prompted to install successfully

sudo sh cuda_9.1.85_387.26_linux.ru --no-opengl-libs
< H1 > other information < / H1 >

lspci | grep-I vga

09:00.0 VGA compatible controller: ASPEED Technology, Inc. ASPEED Graphics Family (rev 30)

nvidia-smi

NVIDIA-SMI has failed because it couldn"t communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.
Mar.07,2021

after installing the nvidia driver, you have to do the following

  1. Update the xorg configuration file, see nvidia-xconfig Command tool.
  2. restart the computer, or xorg, to load the nvidia module.

if you make a mistake, you will probably not be able to enter the desktop after reboot.


run the run file directly without adding sudo. What is the error report in the middle?


has the landlord solved it and how?

Menu