ATI/Nvidia installation guide for Ubuntu Edgy

Jan 13, 2007 15:02 GMT  ·  By

So you've just installed Ubuntu Linux and now you need to install your video card's driver, be it either Nvidia or ATI. This guide will teach you the easiest ways to achieve that.

Nvidia installation

First of all, you need to add some repositories to the /etc/apt/sources.list file.

Go to System -> Administration -> Software Sources and click on the "Third Party" tab, then on the "Add" button and enter the following code:

code
deb http://nvidia.limitless.lupine.me.uk/ubuntu edgy stable
After you've added the code above, click "Close" button. It will ask you to reload the information about available software, so click on the "Reload" button and wait until the window disappears.

Now open up a terminal (Applications -> Accessories -> Terminal) and type the following code:

code
wget -O- --quiet http://nvidia.limitless.lupine.me.uk/ubuntu/[email protected] | sudo apt-key add -
In Terminal, type the following commands, one by one, in order to install the Nvidia driver:
code
sudo apt-get update
sudo apt-get install nvidia-glx
sudo apt-get upgrade
All you need to do now is type the code below in the Terminal, so you can activate your Compositing options in the xorg.conf file:
code
sudo nvidia-xconfig -add-argb-glx-visuals
Now reboot your computer and your new Nvidia drivers should be installed.

ATI installation

First of all, make sure all the repositories are active, so go to System -> Administration -> Software Sources and check all the 5 repositories in the first tab (Ubuntu 6.10). Click the "Close" button and you'll be asked if you want to reload the information about available software; click on the "Reload" button and wait until the window disappears.

Open a terminal (Applications -> Accessories -> Terminal) and type the following command:

code
sudo gedit /etc/X11/xorg.conf
Now scroll down till the end of the file and modify the last Section (Extensions) to look like this:
code
Section "Extensions"
Option "Composite" "Disable"
EndSection
In Terminal, type now the following commands, one by one, in order to install the ATI driver:
code
sudo apt-get update
sudo apt-get install xorg-driver-fglrx
sudo depmod -a
Now you need to activate and configure the driver you've just installed; please type the following command in a terminal:
code
sudo aticonfig -initial
and then type:
code
sudo aticonfig -overlay-type=Xv
Now reboot your computer and your new ATI drivers should be installed.