====== Configuring an ATI graphics chip for Linux ====== **Note:** This guide only covers older distributions. See the following for newer distributions. * [[CentOS Guides|CentOS 5 and higher]] * [[Debian Guides|Debian GNU/Linux 4.0 and higher]] * [[Fedora Guides|Fedora 8 and higher]] * [[Mandriva Guides|Mandriva 2008 and higher]] * [[Red Hat Enterprise Linux Guides|Red Hat Enterprise Linux 5 and higher]] * [[SuSE OpenSuSE Guides|SuSE/OpenSuSE 10.3 and higher]] * [[Ubuntu KUbuntu XUbuntu Guides|Ubuntu/KUbuntu 7.10 and higher]] ===== Author(s) ===== Bill Giannikos ===== Editing This Page ===== If you would like to edit this page please first view our [[Editing Guidelines]]. ===== Introduction ===== This guide will help you configure the proprietary ATI module for Linux, which they have named 'fglrx'. We will not be covering open source radeon module included with Xorg because it's configuration is normally handled automatically by most Linux distributions. ===== Important Notes ===== ==== Licensing Issues ==== ATI provide their own license for their driver. You will need to read and accept this license before proceeding. ===== Installing the fglrx module ===== ==== CentOS/Red Hat Enterprise Linux 5.0 ==== To do. ==== Debian GNU/Linux 4.0 (Etch) ==== Debian include the fglrx module in its 'non-free' repository. You will need to enable it to install this driver. Then, as root, execute the following commands: apt-get install build-essential module-assistant fglrx-driver fglrx-kernel-src m-a update m-a prepare m-a a-i fglrx You can now configure Xorg to use the fglrx module by following the instructions below. ==== Fedora Core 6 ==== The ATI driver is not included with Fedora Core 6 so we will need to use a 3rd party repository. Here we will be using the [[http://www.livna.org|livna]] repository. If you are not currently using the livna repository then, as root, execute the following: rpm -ivh livna-release-6.rpm Then execute the following command: yum install glx-utils kmod-fglrx xorg-x11-drv-fglrx You can now configure Xorg to use the fglrx module by following the instructions below. ==== Fedora 7 ==== Currently the fglrx module does not work with Fedora 7. All we can do is wait for ATI to release an update. ==== Gentoo Linux 2007.0 ==== It's very easy to install the fglrx module in Gentoo. As root execute the following command: emerge ati-drivers And that's it. Now configure Xorg to use the fglrx module by following the instructions below. ==== Mandriva Linux 2007 ==== === Commercial/Non-Free Version === Mandriva include the fglrx module as standard. To enable it, load the 'Mandriva Linux Control Center', click on the 'Hardware Tab' and select the 'Set up the graphical server' option. Now click on the 'Graphics Card' option and select your graphics chip from the list. You will now be asked if you would like to use the proprietary fglrx module, choose yes. Now reboot your system and it should use the fglrx module, no extra configuration is required. === Free === To do. ==== SuSE Linux 10.2 ==== ATI provide a set of drivers specifically for SuSE Linux. To use these, load up YaST, click on 'Software', then 'Installation Source' and finally 'Add'. In this new window enter the following details: Protocol: HTTP Server Name: : www2.ati.com Directory on Server: suse/10.2 The above adds the ATI repository to your system. You can now, again in YaST, go to 'Software', then 'Software Management' and select to install the following two packages: x11-video-fglrxG01 ati-fglrxG01-kmp-(default or bigsmp) Make a note that you either need to install the ''ati-gfxG01-kmp-default'' or ''ati-gfxG01-kmp-bigsmp'' package, depending on the kernel version you are using. If you are using the 32bit version of SuSE, in a console type in the following: uname -r This should tell you the kernel you are running and then you can just select the package appropriate for your system. If you are using the 64bit version of SuSE then just use 'ati-gfxG01-kmp-default'. Now run the following to configure the driver to configure your card: sax2 -r And that's it. Reboot your system and it should use the ati drivers, no extra configuration is required. ==== Ubuntu/KUbuntu/XUbuntu Linux 7.04 ==== Ubuntu now has a nice and easy way of installing the proprieraty fglrx modules. Go to 'System', 'Administration' and then 'Restricted Devices Manager'. Now enable the fglrx module and follow the on-screen prompts (you may be asked to insert your installation CD, depending on your setup). And that's it. Reboot your system and it should use the ati drivers, no extra configuration is required. If you do not have the 'Restricted Devices Manager' option then execute the following: sudo apt-get install linux-restricted-modules-generic restricted-manager ==== Generic Method ==== To do. ===== Configuring Xorg to use the ATI driver ===== We now need to tell Xorg to use the proprietary module. First, create a backup of your current configuration file. On most systems it will be like this: cp -a /etc/X11/xorg.conf /etc/X11/xorg.conf.old Now, as root, edit the ''/etc/X11/xorg.conf'' file with your favourite editor. In the example below we will use nano. nano -w /etc/X11/xorg.conf In this file find the section labeled 'Module' and add the following lines to it (if they don't already exist): Load "glx" Load "dri" Next, find the section labeled 'Device' and in this section find the line which starts with 'Driver'. Change this line to read as follows (it will likely currently say either 'radeon' or 'vesa'): Driver "fglrx" And finally add the following to the bottom of the file if it doesn't exist: Section "DRI" Mode 0666 EndSection Now save the file and that's it. Reboot your system and the ati driver should begin to function.