ATI
|
Size: 3159
Comment: split out page from BinaryDriverHowto
|
Size: 4324
Comment: Request for clarification
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 1: | Line 1: |
| ''Note: Currently, ATI Drivers for AMD64 are only available in Hoary'' | 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. |
| Line 3: | Line 3: |
| === Warty Warthog (Ubuntu 4.10) === | == 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 higer. Or it is in the X series (eg X300) * The command lspci reveals a card with "ATI" in its name * You need hardware-accelerated 3D support. The open source drivers are fine for all other areas. |
| Line 5: | Line 10: |
| 1. Install the following package for Warty: {{{ sudo apt-get install fglrx-driver}}} 1. {{{echo fglrx | sudo tee -a /etc/modules}}} * This command won't have any effect until you reboot. To load the kernel module immediately, run `sudo depmod -a ; sudo modprobe fglrx`, but this will only work if you have already rebooted since upgrading the kernel. If it doesn't work, perform the next step (below) and then reboot. 1. Edit {{{/etc/X11/XF86Config-4}}} and change "ati" to "fglrx", perhaps with a command like: * {{{sudo sed -i -e 's/"ati"/"fglrx"/'/etc/X11/XF86Config-4}}}. Alternatively, just use your favourite text editor, or use `sudo dpkg-reconfigure xserver-xfree86` and select "fglrx" instead of "ati". 1. Restart your machine |
If you own an ATI card that is not on this list, you already have accelerated 3D. |
| Line 13: | Line 12: |
| === Hoary Hedgehog (Ubuntu 5.04) === | '''Request for clarification''': It is not clear whether the following two paragraphs should be performed both, or are two different approaches. In the latter case, it is unclear what the pros and cons are of either approach. |
| Line 15: | Line 14: |
| 1. Install the xorg-driver-fglrx package: {{{ | == Install instructions for Ubuntu 5.04 (Hoary Hedgehog) and later == 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 or 686 for Intel pentium, 386 or K7 for AMD athlon. {{{ sudo apt-get install linux-686}}} 1. Install the xorg-driver-fglrx package:{{{ |
| Line 17: | Line 21: |
| 1. {{{echo fglrx | sudo tee -a /etc/modules}}} * This command won't have any effect until you reboot. To load the kernel module immediately, run `sudo depmod -a ; sudo modprobe fglrx`, but this will only work if you have already rebooted since upgrading the kernel. If it doesn't work, perform the next step (below) and then reboot. 1. Edit `/etc/X11/xorg.conf` and change "ati" to "fglrx", perhaps with a command like: {{{sudo sed -i -e 's/"ati"/"fglrx"/' /etc/X11/xorg.conf}}}. Alternatively, just use your favourite text editor, or use {{{sudo dpkg-reconfigure xserver-xorg}}} and select "fglrx" instead of "ati". 1. Restart your machine |
1. Add {{{fglrx}}} to {{{/etc/modules}}}: {{{ echo fglrx | sudo tee -a /etc/modules}}} 1. Change 'ati' to 'fglrx' in {{{/etc/X11/xorg.conf}}} {{{ sudo sed -e 's/"ati"/"fglrx"/' -i /etc/X11/xorg.conf}}} 1. 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! Note: the installer does not seem to be compatible with the Live CD (Ubuntu crashes while unpacking the installer)! 1. Download the apropiate drivers from [https://support.ati.com/ics/support/default.asp?deptID=894&task=knowledge&folderID=300 ati.com] into an empty directory (or at least one containing no *.deb files). 1. Make sure the universe section of the Ubuntu repositories is enabled (See the AddingRepositoriesHowto) 1. Perform the following commands: {{{ sudo apt-get install fakeroot gcc-3.4 module-assistant build-essential debhelper chmod +x ati-driver-installer-8.19.10-i386.run fakeroot ./ati-driver-installer-8.19.10-i386.run}}}Choose "Generate distribution specific packages" and "Ubuntu" and the Ubuntu version you use.{{{ 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 per the instructions above. |
| Line 24: | Line 54: |
| '''Common issue:''' 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 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"}}} |
| Line 26: | Line 56: |
| '''Note''' (optional): If you are going to compile 3d applications, you will want to install the `fglrx-driver-dev` package | * 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 |
| Line 28: | Line 58: |
| '''Note''' If you are having problems related to DRI or 3d acceleration and the following lines show up in your /var/log/Xorg.0.log {{{ | * 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 {{{ |
| Line 30: | Line 62: |
| (EE) fglrx(0): incompatible kernel module detected - HW accelerated OpenGL will not work}}} then make sure you have linux-restricted-modules installed for your kernel (type {{{sudo apt-get install linux-restricted-modules-$(uname -r)}}}). |
(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}}} |
| Line 33: | Line 64: |
| '''Note''' (optional): 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). '''Note''' If your screen goes blank after the reboot and your card has two outputs... try connecting your monitor to the other output. Or you can make the card send the same image to both outputs by adding the following line in your /etc/X11/xorg.conf file, in the same section where you put fglrx: {{{Option "MonitorLayout" "Auto,Auto"}}} ATI driver version 8.12.10 is available in breezy, which should fix this problem + have a decent performance improvement. |
* 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. |
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 higer. Or it is in the X series (eg X300)
- The command lspci reveals a card with "ATI" in its name
- You need hardware-accelerated 3D support. 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.
Request for clarification: It is not clear whether the following two paragraphs should be performed both, or are two different approaches. In the latter case, it is unclear what the pros and cons are of either approach.
Install instructions for Ubuntu 5.04 (Hoary Hedgehog) and later
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 or 686 for Intel pentium, 386 or K7 for AMD athlon.
sudo apt-get install linux-686
Install the xorg-driver-fglrx package:
sudo apt-get install xorg-driver-fglrx
Add fglrx to /etc/modules:
echo fglrx | sudo tee -a /etc/modules
Change 'ati' to 'fglrx' in /etc/X11/xorg.conf
sudo sed -e 's/"ati"/"fglrx"/' -i /etc/X11/xorg.conf
- 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! Note: the installer does not seem to be compatible with the Live CD (Ubuntu crashes while unpacking the installer)!
Download the apropiate drivers from [https://support.ati.com/ics/support/default.asp?deptID=894&task=knowledge&folderID=300 ati.com] into an empty directory (or at least one containing no *.deb files).
Make sure the universe section of the Ubuntu repositories is enabled (See the AddingRepositoriesHowto)
Perform the following commands:
sudo apt-get install fakeroot gcc-3.4 module-assistant build-essential debhelper chmod +x ati-driver-installer-8.19.10-i386.run fakeroot ./ati-driver-installer-8.19.10-i386.run
Choose "Generate distribution specific packages" and "Ubuntu" and the Ubuntu version you use.
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 per the instructions above.
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.
BinaryDriverHowto/ATI (last edited 2008-08-06 16:23:36 by localhost)