NVIDIA Drivers Under CentOS

From DuncanWiki

Jump to: navigation, search

http://www.nvidia.com/Download/index.aspx?lang=en-us

Installation Of Driver

In this demonstration I'm using the 64-bit driver, you'll substitute the driver you were pointed towards in the downloading section.

As the root user, run the following :

mkdir /usr/src/nvidia
cd /usr/src/nvidia
wget http://us.download.nvidia.com/XFree86/Linux-x86_64/173.14.12/NVIDIA-Linux-x86_64-173.14.12-pkg2.run
ln -s NVIDIA-Linux-x86_64-173.14.12-pkg2.run latest
/bin/sh /usr/src/nvidia/latest

Automated Kernel Module Updates

After you've upgraded your kernel your X11 will no longer work, you'll need to compile a new kernel module.

/bin/sh /usr/src/nvidia/latest --no-network -s -K -n

This can be downloaded in a semi-intelligent script at http://files.duncanbrown.org/linux/scripts/small_scripts/nvidia_auto_update, just add it to your /etc/rc.local

Personal tools