Ubuntu Feisty Installation Guide

The latest fglrx driver supports Radeon 9500+ and the X-series cards up to X1900.

Enable "restricted" Repository
Make sure the restricted repository is enabled in /etc/apt/sources.list or this guide will not work!

Disable Composite Extension
In Ubuntu Feisty the Composite extension is enabled by default, however, fglrx does not yet support Composite with DRI. In order to disable Composite you have to edit the xorg.conf file: sudo gedit /etc/X11/xorg.conf and add these lines at the end of the file:


 * Note: Xubuntu does not have gedit. The default text editor in Xubuntu is called mousepad.
 * Note: Kubuntu does not have gedit. The default text editor in Kubuntu is called Kate. Another option is to use nano.

Method 1: Install the Driver the Ubuntu Way
sudo apt-get update sudo apt-get install linux-restricted-modules-$(uname -r) #Okay if it is already installed sudo apt-get install xorg-driver-fglrx sudo depmod -a

Method 2: Install the Driver Manually

 * Note: This is an alternative installation method for the section above.


 * Note: This method does not work on feisty (herd1,herd2,herd3); use Method 1 instead, the instructions are left for future reference; driver 8.33.6 does not support kernel 2.6.20 - use the open source driver until ATI resolves this issue.

Download the ATI driver installer: ati-driver-installer-8.33.6-x86.x86_64.run(this installer is for 32bit and 64bit systems), taking care of which version needs for your device.

Change to the download directory. Make sure that you have the universe and multiverse repositories enabled in /etc/apt/sources.list before doing these steps.

Install necessary tools: sudo apt-get update sudo apt-get install module-assistant build-essential fakeroot dh-make debhelper debconf libstdc++5 linux-headers-$(uname -r)

Create .deb packages: sh ati-driver-installer-8.33.6-x86.x86_64.run --buildpkg Ubuntu/feisty

Install .deb packages: sudo dpkg -i xorg-driver-fglrx_8.33.6-1*.deb sudo dpkg -i fglrx-kernel-source_8.33.6-1*.deb sudo dpkg -i fglrx-control_8.33.6-1*.deb

Remove any old fglrx debs from /usr/src/: sudo rm /usr/src/fglrx-kernel*.deb

Compile the kernel module: sudo module-assistant prepare sudo module-assistant update sudo module-assistant build fglrx sudo module-assistant install fglrx sudo depmod -a

IMPORTANT: You have to recompile the kernel module after each kernel update!

Configure the Driver
sudo aticonfig --initial sudo aticonfig --overlay-type=Xv
 * Note: An alternative to the aticonfig --initial command is to edit /etc/X11/xorg.conf and replace the string "ati" with "fglrx" in the "Device" section. This way you won't lose your old "Screen" and "Monitor" settings. Afterwards you can use aticonfig for setting overlay etc.

Finish the Installation
Now save any open document and reboot your system: sudo shutdown -r now
 * Note: An alternative to rebooting is to restart the X Server by pressing your CTRL+ALT+BACKSPACE keys. You must remove any old kernel modules such as "drm" "radeon" or "fglrx" using the "rmmod" command. Example:

Verifying
Run the following command to check its output to ensure the fglrx driver is installed properly: $fglrxinfo display: :0.0 screen: 0 OpenGL vendor string: ATI Technologies Inc. OpenGL renderer string: MOBILITY RADEON 9700 Generic OpenGL version string: 2.0.6286 (8.33.6)

Revert to Xorg driver
If (for any reason) the fglrx install fails, you can revert to the Xorg driver by executing sudo dpkg-reconfigure xserver-xorg and selecting the "ati" driver, or simply restoring the previous /etc/X11/xorg.conf file, if you made a backup.

You also need to remove the xorg-driver-fglrx or your manually installed drivers to get the 3D acceleration back, since it is provided by file /usr/lib/libGL.so.1.2 which belongs to libgl1-mesa package and which is moved to backup and replaced at the installation of xorg-driver-fglrx (or the manually built) package. In case the removal of the fglrx drivers fails to restore the file from libgl1-mesa, you have to reinstall the package by running:

sudo apt-get install --reinstall libgl1-mesa