Nvidia drivers

Issues related to hardware problems
Post Reply
murphy
Posts: 4
Joined: 2014/07/11 09:16:55

Nvidia drivers

Post by murphy » 2014/07/11 09:32:23

Hello,

just tried to install Nvidia drivers after clean upgrad of my CentOS 6 box to v7, but with no success. Did anyone tried to install latest 340.24 drivers successfully?

my procedure was the same as in C6

- blacklist nouveau
- modify grub2 kernel boot options to prevent nouveau from loading at boot time
- init 3
- run Nvidia installer (no errors, successful building of modules)
- reboot

X will not start, with error message in log Failed to initialize the NVIDIA kernel module

thank you for help

murphy

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

Re: Nvidia drivers

Post by TrevorH » 2014/07/11 11:51:12

Try the ELRepo version of the driver. They package the same drivers in a way that survives kernel upgrades and also does all the work required to blacklist nouveau etc. Thus you can just yum install kmod-nvidia... theoretically anyway!
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

murphy
Posts: 4
Joined: 2014/07/11 09:16:55

Re: Nvidia drivers

Post by murphy » 2014/07/11 13:40:51

It worked out of the box.

I had to just remove xorg-x11-glamor package which was conflicting with nvidia.

thank you Trevor!

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

Re: Nvidia drivers

Post by TrevorH » 2014/07/11 13:44:21

It may well have been that package that was stopping the other version from working but the clever people at ELRepo have it set up to try to make sure it Just Works(tm). This way means it also won't break next time there is a kernel update.
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

kilowatt
Posts: 2
Joined: 2014/07/20 12:38:19

Re: Nvidia drivers

Post by kilowatt » 2014/07/21 14:37:32

I have found the nvidia-detect utility to be quite useful. This can be downloaded from ElRepo and run before you install kmod-nvidia; nvidia-detect will tell you if you need a legacy kmod-nvidia - it is a great time saver.

after installing the ElRepo repository:
yum install nvidia-detect -y
then run:
nvidia-detect

Post Reply