Installing CUDA 5 on Ubuntu 12.04

This is a follow up to my previous post which was aimed at CUDA 4.2 on Ubuntu 12.04. Although 12.10 is out, it’s not as stable as I would like it to be – I’d recommend sticking with Ubuntu 12.04 for development unless you have specific reasons to upgrade. With CUDA 5, Nvidia has greatly simplified the installation process for Linux, packaging the CUDA toolkit, the SDK and the development drivers all in a neat little package.

Continue reading

Installing CUDA on Ubuntu 12.04

This post is now outdated. Please refer this link for an updated version.

If you’re looking for a quick and easy way to get started with GPGPU computing, you really can’t go wrong with nVidia’s CUDA. It is a parallel computing architecture that harnesses the power of GPUs in order to achieve significant speedups in problems that would have otherwise taken a significantly longer time while executing on the CPU. It is the most mature architecture for GPGPU computing, with a wide number of libraries based around it. This guide is going to cover the installation of the CUDA toolkit and SDK on Ubuntu, along with the necessary development drivers.

NOTE – For CUDA to work, you must have an nVidia GPU which is CUDA capable. If you have an ATI GPU, this guide is not for you. You can, however, look into OpenCL.

Continue reading

Solve video tearing on nVidia/ATI + Unity

Well almost. The solution I’m gonna be talking about today will almost get you there, but won’t quite solve the problem entirely. Before we begin though, here’s a quick rundown of my system specs –

Dell Inspiron 1520
2GB DDR2 RAM
nVidia GeForce 8600M GT
nouveau drivers (the default ones that ship with Ubuntu)
Ubuntu 11.10 x86_64 Continue reading

Solve video tearing on nVidia + GNOME 3

NOTE – Although I have tested this method on Fedora 16, it should work on any computer with an nVidia GPU and a Linux distribution that uses GNOME 3.

There was a time when video tearing on Linux was easily solvable by forcing your desktop environment and/or GPU to enable VSync, and turning compositing off in a window manager like Compiz. The introduction of GNOME 3, which relies on compositing, has made it a little more difficult than it used to be.

If you have an nVidia chipset, and are using GNOME 3 as your desktop environment, I will be detailing the steps necessary to get your videos working like they should have in the first place (yeah, smooth fullscreen flash isn’t a dream anymore!) Find out how!