How to set auto install nVidia driver using dkms after each kernel update

For nVidia card there is a custom driver that have been provided by nvidia.com itself.
but somehow each time we update the kernel.. we need to re-run the installer again..

to avoid this.. we come to use use dkms technology at which will automatically re-compile these kernel
module into new kernel .. each time kernel been updated..

for nvidia graphic card..

1. need to get Rpmforge repo

2. install the dkms package with :

yum install dkms -y

3. install nvidia kernel mod with dkms:

yum install "dkms-nvidia-x11-drv.i386" -y

verify that you got installed this package

 rpm -ql dkms-nvidia-x11-drv-185.18.14-1.nodist.rf

.. because with just “yum install dkms-nvidia” somehow it pick up the wrong package…

such as this one “nvidia-x11-drv-96xx-1.0.9631-1.nodist.rf.i386”

4. re-configure /etc/X11/xorg.conf with :

nvidia-xconfig

at “Terminal” as root

5. Reboot the system : ”

reboot

.. during reboot.. you shall able to see nvidia logo to splash quite a few times..

p/s : .. some graphic feature just went sluggish without proper nvidia driver.. 🙂

Related Post

3 Responses

  1. ahstod says:

    Copy the /boot/config.2.6.x.x.x.el5 from centos into your kernel source directory as .config, and “make oldconfig” … and them make menuconfig and tweak from there. That brings your kernel config as close to the original centos settings as possible …

    Reply
  2. gratis downloaden says:

    Hey, ok, I get it, I guess – but does this really work?

    Reply
  3. namran says:

    well.. it worked for me..

    much depend on how did u want to use it..

    … this is just another note for me.

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *