Monday, October 15, 2007

Nvidia Woes in Linux - (K)ubuntu Feisty

I've been tooling around with Compiz-Fusion in Linux. It's pretty neat, but my old graphics card wasn't up to the task so I bought a cheapo $28 fanless Nvidia GeForce 6200 128 MB AGP. There are some interesting caveats to getting an Nvidia card working in Linux, particularly (K)ubuntu.

If you install the drivers from Nvidia's website (which I suggest because those are always the latest and most up-to-date), you have to disable the module that is packaged in linux-restricted-modules-common:

sudo vim /etc/default/linux-restricted-modules-common DISABLED_MODULES="nv"

Then be sure to remember to delete any files in /lib/linux-restricted-modules/:

sudo rm /lib/linux-restricted-modules/.nvidia_new_installed sudo rm /lib/linux-restricted-modules/.nvidia_legacy_installed

Those hidden files are created if you've ever installed Nvidia drivers from the (K)ubuntu repositories, but for some reason, they are not deleted if you uninstall (as in the case when before you install from Nvidia's website).

Then just run the Nvidia installer, reboot and you should be all set.

Many thanks to adamk in this thread.

1 comment:

Badger said...

/---\
Your point----/ Me \--->