So, you have an nvidia graphics card and you want to enjoy the high resolution and smooth graphics that comes with nvidia. You want to see the eye-candy graphics on kde 4.2. Firstly when you install ubuntu, you might not get the nvidia drivers enabled by default. So get and install the default driver available with your ubuntu version install “envyng”.
$ sudo apt-get install envyng-qt
Now this is an utility that installs the stable version of nvidia drivers compatible with your version of ubuntu. To install the driver run the program
$ envyng -t
Follow the on-screen instructions to install the driver. You would probably get driver version 177.82. for nvidia. Once the process is complete, restart the computer. Now you should be getting better graphics.
There are people like me who are not satisfied with the latest stable version of driver. To upgrade to the latest version of driver first download it from the nvidia website.
For 64 bit ubuntu you can go to:
And for 32 bit ubuntu you can go to:
For my 64 bit ubuntu 8.10, i could see that the latest version available was “180.29”. Go inside the directory and see the available drivers
NVIDIA-Linux-x86_64-180.29-pkg0.run RUN 13650 KB 02/06/2009 08:48:00 PM
NVIDIA-Linux-x86_64-180.29-pkg1.run RUN 13652 KB 02/06/2009 08:48:00 PM
NVIDIA-Linux-x86_64-180.29-pkg2.run RUN 20453 KB 02/06/2009 08:48:00 PM
Why are there 3 drivers instead of one. Well, what nvidia does is that it compiles a basic driver and then keeps on adding more stuff into it. So basically you should download the latest “pkg#” version of driver. In our case it is
So, now you have the latest driver with you and you want to install the driver.
Switch to a console. Press “CTRL-ALT-F1”.
Login using username and password
Kill all gdm/kdm sessions
$ sudo killall kdm
Firstly lets remove the old driver
$ sudo apt-get remove nvidia-177-kernel-source nvidia-177-modaliases nvidia-glx-177 nvidia-glx-177-dev
That should clean up the system of old drivers. Now run the new driver.
$ chmod a+x NVIDIA-Linux-x86_64-180.29-pkg2.run
$ sudo ./NVIDIA-Linux-x86_64-180.29-pkg2.run
It opens up a blue screen and you got to answer tons of questions. Also try to remain connected to the internet cause it might try to download kernel-modules for your driver. If it fails to do so, it will compile the modules. Let the script also modify your xorg.conf file (it will ask your permission to do so).
Once everything is done, simply reboot.
And enjoy kde 4.2 eyecandy with latest nvidia drivers.