Thursday, March 10, 2011

Installing CUDA 4.0 on Ubuntu 10.10 (watch out for a minor detail)

Just a quick gotcha when installing CUDA 4.0 onto your Ubuntu 10.10.

If you recently encountered a situation (like myself) whereby you've downloaded the latest CUDA 4.0 Toolkit from Nvidia together with an Ubuntu image upgrade, rebooted your machine and discovered that your lovely X server doesn't start and complains of API mismatch then this is for you.

Re-install the downloaded device driver (i.e devdriver_XXXX.run) and it should work again (w/o rebooting) by issuing "sudo service gdm restart" or "sudo service gdm start"

Technical reason is simple: I installed the device drivers onto an existing image (while the newly upgraded image hasn't been loaded) and when it restarts, you would naturally boot into the upgrade image and the X server's like WTH ? and you're like WTH ?

0 comments: