Problem with NVIDIA

General support questions
Post Reply
jody
Posts: 53
Joined: 2015/05/12 12:58:08

Problem with NVIDIA

Post by jody » 2017/09/26 13:09:09

Since the last 'yum update' my workstation can't start X because of a problem with nvidia - here are the "problem lines" of Xorg.0.log:

Code: Select all

[   206.199] (EE) NVIDIA: Failed to initialize the NVIDIA kernel module. Please see the
[   206.199] (EE) NVIDIA:     system's kernel log for additional error messages and
[   206.199] (EE) NVIDIA:     consult the NVIDIA README for details.
[   206.199] (EE) No devices detected.
[   206.199] (EE) 
Fatal server error:
[   206.200] (EE) no screens found(EE) 
[   206.200] (EE) 
Please consult the The X.Org Foundation support 
         at http://wiki.x.org
 for help. 
[   206.200] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[   206.200] (EE) 
[   206.201] (EE) Server terminated with error (1). Closing log file.
I noticed that the nvidia kernel modules seem to be missing:

Code: Select all

lsmod | grep nvidia
returns nothing at all.

Interestingly, whereas

Code: Select all

yum search nvidia
on other machines returns various 'kmod-nvidia' and 'nvidia-x11-drv' packages, on my machine a much smaller list of matches is shown:

Code: Select all

$ yum search nvidia
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.switch.ch
 * epel: ftp.uni-stuttgart.de
 * extras: mirror.switch.ch
 * updates: mirror.switch.ch
================================================================================ N/S matched: nvidia =================================================================================
nvidia-texture-tools-devel.x86_64 : Development libraries/headers for nvidia-texture-tools
pcp-pmda-nvidia-gpu.x86_64 : Performance Co-Pilot (PCP) metrics for the Nvidia GPU
nvidia-texture-tools.x86_64 : Collection of image processing and texture manipulation tools
xorg-x11-drv-nouveau.x86_64 : Xorg X11 nouveau video driver for NVIDIA graphics chipsets

  Name and summary matches only, use "search all" for everything.
In other words, i can't even reinstall kmod-nvidia or nvidia-x11-drv if i wanted to ...

So how can i get back a properly installed nvidia?

Thanks

User avatar
TrevorH
Site Admin
Posts: 33219
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Problem with NVIDIA

Post by TrevorH » 2017/09/26 14:56:09

Looks like you disabled ELRepo (or removed it)
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

jody
Posts: 53
Joined: 2015/05/12 12:58:08

[SOLVED] Problem with NVIDIA

Post by jody » 2017/09/26 16:11:24

Thank you for this observation!
Although i have no idea how elrepo got lost...
Anyway i reinstalled it with

Code: Select all

$ rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org
$ rpm -Uvh http://www.elrepo.org/elrepo-release-7.0-2.el7.elrepo.noarch.rpm 
(from http://ask.xmodulo.com/enable-elrepo-repository.html)

After this, i installed the nvidia packages

Code: Select all

sudo yum install nvidia-x11-drv.x86_64 kmod-nvidia.x86_64
and now everything is fixed!

User avatar
TrevorH
Site Admin
Posts: 33219
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Problem with NVIDIA

Post by TrevorH » 2017/09/26 16:13:15

No idea but /var/log/yum.log might tell you if it was removed using yum.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply