X
    Categories: Linux

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.. :)

Namran Hussin: a soft spoken guy... with exceptional interest in computers and technology. I love to learn new thing and also love to break thing for the sake of learning.. but I do abide to the self-imposed limitation or certain thing such as social thing in life, thing can be done and thing that must be avoided at whatever cost such as drug,illegal tracking, smoke,illicit activity..etc.muahahaha let's share what we had in this short term of the life.! make it worth of the living.~
Related Post
Leave a Comment