This guide will help you configure the proprietary nvidia module under CentOS and Red Hat Enterprise Linux 5. For those that don't know, CentOS 5 and Red Hat Enterprise Linux 5 are basically the same thing just with a different name so this guide applies to both. I will not be covering the open source nv module included with Xorg because its configuration is normally handled automatically by most Linux distributions.
Licensing Issues
NVIDIA provide their own license for their driver. You will need to read and accept this license before proceeding. You can read this license here.
Notes
We will be using 'nano' as our text editor of choice but you can use whatever you wish.
While this guide is mainly focused to laptop users there isn't any difference for desktop users.
Prerequisites
You should run a full update for your installation to ensure you have all the latest packages installed.
Installing the NVIDIA driver
The nvidia driver is not included with CentOS/RHEL 5 so we will need to use a 3rd party repository. Here we will be using the ATrpms repository.
1. Load up a terminal window if you are in the graphic interface.
2. Switch to the root user by entering the command “su -” (without the quotes) and typing in your root password
3. Edit the file /etc/yum.conf. Using nano we type the command “nano -w /etc/yum.conf”
4. If you have already configured yum to use the ATrpms repository then append “*nvidia-graphics*” to the end of the “includepkgs” line and skip the next setup. Otherwise continue on.
5. Add the following to the bottom of this file:
[atrpms]
name=EL $releasever - $basearch - ATrpms
baseurl=http://dl.atrpms.net/el$releasever-$basearch/atrpms/stable
gpgkey=http://ATrpms.net/RPM-GPG-KEY.atrpms
gpgcheck=1
enabled=1
exclude=*kmdl*i586*
includepkgs=*nvidia-graphics*
6. Save the file. In nano you press Ctrl-X, answer yes to the “Save modified buffer” question and then press enter on the file name to write.
7. If you have not previously setup ATrpms execute the following command:
rpm --import
http://ATrpms.net/RPM-GPG-KEY.atrpms
8. Now execute the following command:
yum install nvidia-graphics169.07 nvidia-graphics169.07-kmdl-`uname -r`
9. Reboot your system and you will be using the nvidia driver.
Troubleshooting
Normally after installing the nvidia driver with the steps above your xorg.conf file should have automatically been updates to use the newer driver. If this did not happen or for some reason it has reverted then, as root, enter the following command:
nvidia-xconfig
This will switch you back to the nvidia driver.
you think after all that it would work well only if you blacklist nouveau in the /etc/modprobe.d/blacklist file when you installed from there repository.
so now when you google your monitor info for it's screen resilution we will be able to help you.
did you read all that just to installs a driver. know wonder I use slackware and trouble shoot everything else. Thanks Pat