Top

Install NVIDIA Driver for Linux on CentOS 7 And Solve X Desktop Problem

Nov 04, 2020 | 1019 views

#Linux #InstallGuide


Follow this guide: Install proper drivers for Graphic cards

Important: Issue caused X server when install nvidia driver

" Most important, what resolved the issue, is at the bottom of that first URL: Use the correct nvidia_driver_xx.run file, INCLUDING the flag --no-opengl-files (and select no when prompted whether you want an nvidia generated xorg.conf file)"

Installing Problem "You appear to be running an X server; please exit X before installing." and its solution

## stop gdm service and init 3
  261  systemctl status gdm
  262  systemctl stop gdm
  263  init 3
  264  sh NVIDIA-Linux-x86_64-390.116.run
  265  nvidia-smi

Reference: 


Regenerate nividia driver

yum install dkms
# 418.87.00 driver version is found in /usr/src/nvidia-
dkms install -m nvidia -v 418.87.00

Problem: X desktop has problem

Solution: 

  1.  Enter BIOS setting and set OnBoard in Miscellenous Configuration 
  2. DO NOT USE nvidia-xconfig and delete /etc/X11/xorg.conf ("The real question is why you want to create a conf file if it is working fine without one? What problem are you trying to solve?"[link]) 


Leave a comment

0 comments