Installing the nVidia driver in Kubuntu 12.04fr. 04 mai 2012
Running the vanilla install of Kubuntu 12.04 worked incredibly well. It took me quite some time to notice that I was in fact using the open source noveau driver. Dual displays, desktop effects and all other first impressions worked without glitches. In fact, it was not before I tried to run Google Maps' WebGL version that I started noticing some rendering errors. And according to the noveau project's own webpages, the OpenGL acceleration is exactly where noveau is still lacking.
In addition, the graphics card seemed to heat itself more easily with the noveau driver.
Sadly this lead me to realize that I would still have to use the proprietary NVIDIA driver to make use of my graphics card and the applications I use daily. Even worse, getting this installed would prove to harder than in earlier versions of Ubuntu. I don't know if this is due to using Kubuntu or not, but if you should experience some of the same symptoms, here is how I fixed it.
First of all, the symptoms were as follows after installing the nvidia-current package:
- The computer started only with one display and with a very low resolution (640 x 480)
- Enabling the nvidia driver using jockey-kde or jockey-text resulted in errors such as - *ERROR: XorgDriverHandler.enable(): package or module not installed, aborting* - *WARNING: modinfo for module nvidia\_current\_updates failed: ERROR: modinfo: could not find module nvidia\_current\_updates*
- Finally, installing **nvidia-current** only gave the error: - *Module build for the currently running kernel was skipped since the* *kernel source for this kernel does not seem to be installed.*
So, if you experience any of these, the reason is most likely missing kernel source and header libraries. The fix is thankfully simple, just run the following commands in a terminal:
sudo apt-get update sudo apt-get purge nvidia-current sudo apt-get install linux-source sudo apt-get install linux-headers-generic sudo apt-get install linux-image sudo apt-get install nvidia-current jockey-text -e xorg:nvidia_current
After this, if you get no errors, try to reboot and run
after booting. Now you should be able to set up and use your system with full graphics acceleration.