CUDA 3.0 cam out on March 31st, 2010. Since I am using CUDA in two separate environments, Windows & and Debian, I decided to update both.
There is a slight challenge with Debian in that there is no official driver package for deb, but there is for Ubuntu, which, contrary to many opinions, is not the same.
Now, I like GNOME’s themes and setup, but trying to kill gdm on Squeeze is alot like trying to fight a termite infestation with a shotgun:It’s fun when you start, but when you realize you are not getting anywhere, you stop and build up to a quiet, cold rage. Then you ask someone who knows – like the google.
To install you’ll need:
- The CUDA driver
- The source for your currently running linux kernel
I found this link helped alot – http://www.cyberciti.biz/faq/prevent-xorg-from-starting-in-linux/ , which was what I needed. Basically I disabled gdm from starting: you can go in through the gui and go System>Administration>Services> uncheck ‘Graphic Login Manager’; or make sure rcconf is installed and run, then uncheck ‘gdm’. Then I restarted.
Then run the driver package(.run) through sh ( I needed to specify the path to the linux source
> sudo shdevdriver_3.0_linux_64_195.36.15.run –kernel-source=/usr.src/linux-source-2.6.32/
Accept the agreement- read it if you like.
The installer checks for previous versions and lets you know that they will be uninstalled as you install the new version. In this case, I am going from 190.29 to 195.36.15. The installer uses thelinux source to build the new driver for your kernel. Since I am installing on x64, the installer asks if you want to install NVIDIA’s libraries for 32-bit compatability with OpenGL. Then it checks for conflict and build the code.
Unless you are an old gear-head, let the installer update your x config to use the new driver and backup the old config- it uses the nvidia-xconfig util.
Then, to make sure gdm starts upon boot:
> startx &
to get to a gui the go to System>Administration>Services> check ‘Graphic Login Manager’ to get Gnome to come up on boot. Then, reboot.
Then go and update the CUDA toolkit, and SDK.