Freitag, 22. Mai 2009

centos nvidia driver linux

I use nvidia binary driver for years on my home machine without problems ( and will *NEVER* use on production server ).

Follow next steps:

Make sure Your system is fully updated:
# yum upgrade

Install kernel devel + compiler:
# yum install kernel-devel
# yum groupinstall "Development Tools"

Download *latest* nvidia module:
# sh NVIDIA-Linux-x86-1.0-8774-pkg1.run --update
This will dowload NVIDIA-Linux-x86-1.0-9746-pkg1.run.

Switch to runlevel 3 ( "init 3" ) and rmmod all video related modules ( nv, agp, .. ) OR
Edit /etc/inittab, line "id:5:initdefault:" must be "id:3:initdefault:", reboot.

Login as root:
# sh NVIDIA-Linux-x86-1.0-9746-pkg1.run
Do not allow installer to connect and search for precompiled driver. This will "compile" nvidia.ko for current running kernel.
Agree that installer can modify Your xorg.conf file.

Test driver:
# init 5

If everything is fine undo changes in /etc/inittab.

If X do not start post here /var/log/Xorg.0.log