How To: Install and Configure Nvidia Drivers in Ubuntu 9.04

Although Ubuntu has fantastic driver support in recent editions, I had some initial difficulty getting the Nvidia graphics drivers (for my GeForce 8600GT) properly installed and configured in Ubuntu 9.04 “Jaunty Jackalope”. The built-in video drivers supported multiple monitors, but I was only able to drag windows halfway across the secondary monitor before they would become “stuck”. In addition, graphical shading and transparency effects were nonexistant.

Introduction

In previous versions of Ubuntu, I recall being prompted to install and enable Nvidia’s restricted video drivers (these drivers are not enabled by default because they are not open source and freely available). However, I was not prompted to enable any restricted video drivers in 9.04 so I had to acquire the drivers manually.

This process is fairly straightforward, but be warned: it does involve the use of the Terminal and you should only proceed if you know how to work in that environment. For you intrepid readers, feel free to check out a crash course in Terminal to better prepare yourself.

Procedure

Note: nvidia-glx-180 is currently the most recent version of Nvidia’s Linux drivers at the time of this writing. To make sure you’re getting the most recent drivers, check out Nvidia’s driver page.

Once the Nvidia drivers have been successfully installed, you will need to reconfigure Xorg.conf, which is a file specifying the display settings for your system. This can be done automatically by typing the command sudo nvidia-xconfig and pressing enter.

Restart the X server. This can be done easily by logging out of Ubuntu and logging back in, but if you still have problems a restart will work as well.

Nvidia drivers are now installed!

To enable multiple monitors:

Open up the Terminal again and type sudo nvidia-settings (this is also available under System –> Administration –> Nvidia X Server Settings). This will open a Nvidia monitor configuration window.

Locate your secondary monitor, which will probably be displayed as (Disabled).