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

Installing Ubuntu on VirtualBox

NOTE – It is recommended that you have atleast 4 GB of RAM on your machine to ensure that both the guest and host operating systems have sufficient memory for a seamless experience. This guide was written for VirtualBox v4.1.8 on a Windows 7 host.

If you’re one of those people who’ve always wanted to try out Linux, but put it off for fear of messing up your computer beyond repair, virtual machines are a great way to experience it without breaking your existing Windows installation. As a bonus, you can simply delete them when you’re done tinkering and they’ll go away. As simple as that! Read on to find out how you can get started with virtual machines today. Find out how!

A quick announcement

The last week or so has been pretty hectic, and I’ve got exams and a college techfest coming up, so I’m afraid I won’t be able to post for a while.

But stay tuned for fresh posts in the fourth week of February. Better yet, subscribe!

Also, as a few of my readers have pointed out, screenshots ought to be more helpful than mere text, and I’ll be giving them a shot in the next post.

Thanks for everything, and I hope you guys enjoy reading this blog as much as I enjoy writing it 🙂 See you on the other side of this clusterf*ck!

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

Recover an unreadable flash drive

If you’ve ever tried installing a distro like OpenSUSE or Arch from a flash drive, or ever written to one using dd, you’ve probably discovered that it is a capital pain in the backside trying to read from that pen drive later. The reason is this – the drive gets converted to the RAW format, which is typically unsupported on a host of operating systems. According to Wikipedia, the term rawdisk refers to hard disk access at a raw, binary level, beneath the file system level, and using partition data at the MBR.

If that flies over your head, don’t worry. Today, I’ll be showing some Windows love, and showing how you can recover the disk when all hope is lost. Find out how!

Clearing recent documents in GNOME 3

NOTE – The following technique works only on Fedora. This is because the location of the recently-used.xbel file varies from one distro to another. Refer this excellent post for an Ubuntu-specific guide

We’ve all had times of indiscretion where we’ve opened files on our computers that we’d rather not have others finding out about *cough*porn*cough*. Or maybe you’re here for genuine privacy issues. Anyway, here’s the lowdown on how you can go about clearing that pesky list of recent documents that pop up in GNOME 3’s search results (I would have added a rant about how this used to be a simple task in GNOME 2, but I’m trying to kick the habit :p) Find out how!