ATI

Revision 39 as of 2006-03-02 15:12:31

Clear message

By default Ubuntu will use the open source 'ati' or 'radeon' driver for cards made by ATI. Many users however prefer the proprietary 'fglrx' driver, provided by ati.com. The instructions on this page will tell you how to use this driver.

Prerequisites

Make sure the following things are true about your video card:

  • It is a 'Radeon' card
  • The model of the card is in the 9xxx series, 9500 or higher, or it is in the X series (e.g. X300), or it has TV-Out capability. The 'fglrx' driver does not support cards earlier than the 8500.
  • The command lspci reveals a card with "ATI" in its name
  • You need hardware-accelerated 3D support, or display refresh rates higher than 60 Hz. The open source drivers are fine for all other areas.

If you own an ATI card that is not on this list, you already have accelerated 3D.

Install instructions for Ubuntu 5.04 (Hoary Hedgehog) and later

There are 2 ways you can get 3D acceleration working. The preferred way is to use the drivers provided by Ubuntu. More advanced users can also try the drivers from ati.com. Both approaches are documented below, you need to take only one of them. The Ubuntu-provided ones are the safest bet, the ati.com ones however sometimes are needed (eg: when you need hibernation)

Ubuntu provided drivers

  1. Install the kernel drivers. These drivers should be installed by default, but it's better to make sure they are installed. You need the package linux-$arch, where you replace $arch by the CPU architecture for the machine. This is 386 for Intel Pentium, 686 for Celeron, Pentium Pro, Pentium II, and Pentium III, 686-smp for Pentium 4, or k7 or k7-smp for AMD athlon. On 64-bit systems, this may be amd64-generic, amd64-k8, amd64-k8-smp, or amd64-xeon.

    sudo apt-get install linux-686
  2. Install the xorg-driver-fglrx package:

    sudo apt-get install xorg-driver-fglrx
  3. Add fglrx to /etc/modules (optional, the advantages/drawbacks of this are: ......):

    echo fglrx | sudo tee -a /etc/modules
  4. Reconfigure Xserver:

    sudo dpkg-reconfigure xserver-xorg

    If ati is auto-selected at the video card selection screen, then go down to select fglrx. Leave other settings to their default value. Or, if you really know what you're doing, do the following instead:

    sudo sed -e 's/"ati"/"fglrx"/' -i /etc/X11/xorg.conf
  5. Restart your computer

Using the drivers from ati.com

As of november 2005, ATI provides usable, properly packaged drivers which can be used on Ubuntu. They can even be installed easily!

  1. Download the apropiate drivers from [https://support.ati.com/ics/support/KBAnswer.asp?questionID=3380 ati.com]. You will need the ATI Driver Installer, not the seperate XFree86/X.org rpm packages. Save the installer into an empty directory (or at least one containing no *.deb files), since it will create several new files.

  2. Make sure the universe section of the Ubuntu repositories is enabled (See the AddingRepositoriesHowto)

  3. Perform the following commands (where <version> is the version number of the installer):

    sudo apt-get install fakeroot gcc-3.4 module-assistant build-essential debhelper
    chmod +x ati-driver-installer-<version>.run
    fakeroot ./ati-driver-installer-<version>.run

Choose "Generate distribution specific packages" and "Ubuntu" and the Ubuntu version you use. If your window is too small for you to see all of the options use the up and down arrow keys to navigate and shift+space to select the package.

sudo dpkg -i *.deb
sudo module-assistant build,install fglrx-kernel
reboot

You do not need to take all these steps if you run an up-to-date Breezy installation on a 32 bit system. Dennis Kaarsemaker provides these packages in a repository. Add the following line to /etc/apt/sources.list:

deb http://mirror.ubuntulinux.nl/ breezy-seveas drivers

Then you can simply install the ubuntu-fglrx-$arch (see above for the meaning of $arch) package.

When you install from ati.com drivers or the breezy-seveas repository, you still need to change xorg.conf and add the fglrx module to /etc/modules as described under "Ubuntu provided drivers".

Notes

  • If you have an nforce2 chipset motherboard or if your Xorg.0.log reveals troubles when initialising AGP, put this in the Device section of /etc/X11/xorg.conf: Option "UseInternalAGPGART" "no"

  • If you're using an AMD64 configuration and your Xorg.0.log mentions a 'duplicate symbol rol_long' message, comment out the 'Load "int10"' line in the Module section of /etc/X11/xorg.conf
  • If you are going to compile 3d applications, you will want to install the fglrx-driver-dev package

  • If you are having problems related to DRI or 3d acceleration and the following lines show up in your /var/log/Xorg.0.log

    (WW) fglrx(0): Kernel Module version does *not* match driver.
    (EE) fglrx(0): incompatible kernel module detected - HW accelerated OpenGL will not work

    then make sure you installed either linux-$arch or ubuntu-fglrx-$arch

  • You might want to install the fglrx-control package, which provides a control panel to configure graphics card options such as dual-head display (two monitors) and TV out.

CategoryDocumentation