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.. 🙂

Get Free Email Updates!

Signup now and receive an email once I publish new content.

I will never give away, trade or sell your email address. You can unsubscribe at any time.

Like

Related Post

2 Responses

  1. Sara says:

    Pretty good post. I just stumbled upon your site and wanted to say
    that I have really enjoyed reading your blog posts. Any way
    I’ll be subscribing to your blog and I hope you post again soon!

    Reply
  2. Large tv screen that can be used as computer monitors says:

    I do love the manner in which you have presented this specific difficulty plus it does supply me some fodder for consideration. On the other hand, because of what I have seen, I basically wish when the comments stack on that people today keep on issue and not embark upon a tirade of some other news of the day. All the same, thank you for this outstanding piece and whilst I do not really concur with this in totality, I respect your perspective.

    Reply

Anything to add?

X