Size: 628
Comment: Flavio deprecates the installer-package
|
Size: 7139
Comment: add CategoryProprietarySoftware CategoryHardware CategoryVideo
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
Describe AtiHowTo here. | #language en ~-[[DebianWiki/EditorGuide#translation|Translation(s)]]: English - [[fr/AtiHowTo|Français]] - [[es/AtiHowTo|español]] - [[it/AtiHowTo|Italiano]] - [[ru/AtiHowTo|Русский]] -~ ---- = AMD/ATI Open Source Drivers (amdgpu, radeon, r128, mach64) = This page describes use of the open source display drivers for ATI/AMD graphics hardware on Debian systems. For information on the proprietary driver, see [[ATIProprietary]]. |
Line 3: | Line 7: |
For the moment: Flavio Stanchina provides an installer-package for the proprietary ATI graphics drivers. You find the package and a how-to at http://www.stanchina.net/~flavio/debian/fglrx-installer.html or http://xoomer.virgilio.it/flavio.stanchina/debian/fglrx-installer.html. | <<TableOfContents(3)>> |
Line 5: | Line 9: |
As of 2006-04-18, Flavio's site says "These packages are hopelessly out of date and I don't think I'll have time to update them in the near future, because I believe it's more useful to work on the official Debian packages." The Debian-QA page for the latter is here: http://packages.qa.debian.org/f/fglrx-driver.html | <<Anchor(Determining your hardware)>> == Identification == The AMD/ATI graphics processing unit (GPU) series/codename of an installed video card can usually be identified using the {{{lspci}}} command. For example: {{{ $ lspci -nn | grep VGA 01:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Barts PRO [Radeon HD 6850] [1002:6739] }}} See [[HowToIdentifyADevice/PCI]] for more information. == Drivers == Support for newer AMD graphics hardware is provided by the DebianPkg:xserver-xorg-video-amdgpu package. Support for older AMD (nee ATI) graphics hardware is provided by the DebianPkg:xserver-xorg-video-ati driver wrapper package, which depends on three hardware-specific driver packages: * DebianPkg:xserver-xorg-video-mach64 * DebianPkg:xserver-xorg-video-r128 * DebianPkg:xserver-xorg-video-radeon The ati wrapper driver autodetects whether your hardware has a Radeon, Rage 128, or Mach64 or earlier chip and load the radeon, r128, or mach64 xorg video driver as appropriate. <<Anchor((Supported Cards))>> === Supported Devices === The amdgpu driver in [[DebianStretch|Debian 9 "Stretch"]] supports newer AMD GPUs. The radeon driver in [[DebianJessie|Debian 8 "Jessie"]] supports R100 to Hawaii (Radeon 7000 - Radeon R9 290) GPUs. See the [[DebianMan:4/radeon|radeon(4)]] manual page and the [[http://x.org/wiki/radeon|radeon page]] on the X wiki for more information. <<Anchor(Installing proprietary firmware)>> === Firmware === Proprietary, binary-only firmware (aka microcode) was removed from the Debian kernel's radeon DRM driver in [[DebianPkg:src:linux-2.6|linux-2.6]] 2.6.29-1, to resolve Debian bug DebianBug:494009. The firmware can be provided by installing the DebianPkg:firmware-amd-graphics or DebianPkg:firmware-linux-nonfree package. Without this package installed, poor 2D/3D performance in the radeon driver is commonly experienced. Some GPUs may require firmware to operate the X Window System, or do dual display. == Installation == The following procedure will install the open source display driver packages, DRI modules (for 3D acceleration) and driver firmware/microcode: 1. If you have previously used the non-free [[NvidiaGraphicsDrivers|nvidia proprietary]] driver, then you need to uninstall it if you wish to use OpenGL accelerated graphics. The easiest way is to use the command: {{{ # apt-get purge nvidia. }}} Don't forget the "." dot after nvidia - This erases every package with "nvidia" in its name. 1. Add "contrib" and "non-free" components to {{{/etc/apt/sources.list}}}, for example: {{{ # Debian 10 "Buster" deb http://deb.debian.org/debian buster main contrib non-free }}} 1. Update the list of available packages: {{{ # apt-get update }}} 1. Install the DebianPkg:firmware-linux-nonfree, DebianPkg:libgl1-mesa-dri and DebianPkg:xserver-xorg-video-ati packages: {{{ # apt-get install firmware-linux-nonfree libgl1-mesa-dri xserver-xorg-video-ati }}} 1. Restart your system to load GPU device firmware. == Troubleshooting == * Use of firmware/microcode used by the radeon DRM driver can be verified using the [[DebianMan:1/dmesg|dmesg]] command. For example: {{{ $ dmesg | grep -E 'drm|radeon' | grep -iE 'firmware|microcode' [ 5.268609] [drm] Loading BARTS Microcode [ 5.329862] radeon 0000:01:00.0: firmware: direct-loading firmware radeon/BARTS_pfp.bin [ 5.341300] radeon 0000:01:00.0: firmware: direct-loading firmware radeon/BARTS_me.bin [ 5.347745] radeon 0000:01:00.0: firmware: direct-loading firmware radeon/BTC_rlc.bin [ 5.347911] radeon 0000:01:00.0: firmware: direct-loading firmware radeon/BARTS_mc.bin [ 5.353336] radeon 0000:01:00.0: firmware: direct-loading firmware radeon/BARTS_smc.bin [ 5.369449] radeon 0000:01:00.0: firmware: direct-loading firmware radeon/SUMO_uvd.bin }}} * If files were unable to be loaded, ensure the DebianPkg:firmware-linux-nonfree package is installed (refer to [[#Installation|Installation]]). * Screen flickering with Adobe Flash: see [[FlashPlayer#flickering]]. <<Anchor(configure)>> <<Anchor(Editing /etc/X11/xorg.conf)>> == Configuration == In most cases, manual configuration for the open source display drivers is '''not required''', as the Xorg X server automatically detects and configures available hardware. ---- The following optional configuration can be used to increase 3D performance. See the [[DebianMan:5/xorg.conf|xorg.conf(5)]] and [[DebianMan:4/radeon|radeon(4)]] manual pages for more information. ~- {{{ Section "Device" Driver "radeon" Identifier "My GPU" Option "AccelMethod" "XAA" # XAA/EXA Option "AccelDFS" "1" # 1/0 On for PCIE, off for AGP # Manpage: Use or don't use accelerated EXA DownloadFromScreen hook # when possible. Option "AGPMode" "1" # 1-8 Does not affect PCIE models. Option "AGPFastWrite" "1" # 1/0 Does not affect PCIE models. Not recommended. Option "GARTSize" "64" # 0-64 Megabytes of gart (system) memory used. # Wrongly defaults to 8MB sometimes, see your logfile. # Bigger seems better. Option "EnablePageFlip" "1" # 1/0 Increases 3D performance substantially # seemingly in XAA mode only Option "ColorTiling" "1" # 1/0 Increases 3D performance substantially # affected stability only positively on my system EndSection }}} -~ == Hybrid Graphics == AMD ships hybrid graphics with Intel cards . Both the cards get turned on in turn overheating the computer and it also makes lot of noise. === Debian Stretch === Debian Stretch comes with a version MESA version which supports [[http://dri.freedesktop.org/wiki/|DRI]] Offloading. Make sure both Intel and radeon drivers are installed. It also needs DebianPkg:firmware-linux-nonfree package to get it to work. Check if both the cards are getting listed : {{{ $ xrandr --listproviders }}} The above listing should give both the names of the cards and the associated drivers. In order to have the Radeon card handle the graphic intensive process use: {{{ $ xrandr --setprovideroffloadsink radeon Intel }}} You can test the settings with the command: {{{ $ DRI_PRIME=1 glxinfo | grep "OpenGL renderer" }}} Where the output should be AMD. So using the option DRI_PRIME you could run 3D/games/movies which need extra graphic power. == See Also == * [[ATIProprietary]] - Installing the closed source proprietary driver * [[Mesa#Testingperformance|Testing performance]] == External Links == * http://x.org/wiki/radeon ---- CategoryProprietarySoftware CategoryHardware CategoryVideo |
Translation(s): English - Français - español - Italiano - Русский
AMD/ATI Open Source Drivers (amdgpu, radeon, r128, mach64)
This page describes use of the open source display drivers for ATI/AMD graphics hardware on Debian systems. For information on the proprietary driver, see ATIProprietary.
Contents
Identification
The AMD/ATI graphics processing unit (GPU) series/codename of an installed video card can usually be identified using the lspci command. For example:
$ lspci -nn | grep VGA 01:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Barts PRO [Radeon HD 6850] [1002:6739]
See HowToIdentifyADevice/PCI for more information.
Drivers
Support for newer AMD graphics hardware is provided by the xserver-xorg-video-amdgpu package.
Support for older AMD (nee ATI) graphics hardware is provided by the xserver-xorg-video-ati driver wrapper package, which depends on three hardware-specific driver packages:
The ati wrapper driver autodetects whether your hardware has a Radeon, Rage 128, or Mach64 or earlier chip and load the radeon, r128, or mach64 xorg video driver as appropriate.
Supported Devices
The amdgpu driver in Debian 9 "Stretch" supports newer AMD GPUs.
The radeon driver in Debian 8 "Jessie" supports R100 to Hawaii (Radeon 7000 - Radeon R9 290) GPUs. See the radeon(4) manual page and the radeon page on the X wiki for more information.
Firmware
Proprietary, binary-only firmware (aka microcode) was removed from the Debian kernel's radeon DRM driver in linux-2.6 2.6.29-1, to resolve Debian bug 494009. The firmware can be provided by installing the firmware-amd-graphics or firmware-linux-nonfree package.
Without this package installed, poor 2D/3D performance in the radeon driver is commonly experienced. Some GPUs may require firmware to operate the X Window System, or do dual display.
Installation
The following procedure will install the open source display driver packages, DRI modules (for 3D acceleration) and driver firmware/microcode:
If you have previously used the non-free nvidia proprietary driver, then you need to uninstall it if you wish to use OpenGL accelerated graphics. The easiest way is to use the command:
# apt-get purge nvidia.
Don't forget the "." dot after nvidia - This erases every package with "nvidia" in its name.Add "contrib" and "non-free" components to /etc/apt/sources.list, for example:
# Debian 10 "Buster" deb http://deb.debian.org/debian buster main contrib non-free
Update the list of available packages:
# apt-get update
Install the firmware-linux-nonfree, libgl1-mesa-dri and xserver-xorg-video-ati packages:
# apt-get install firmware-linux-nonfree libgl1-mesa-dri xserver-xorg-video-ati
- Restart your system to load GPU device firmware.
Troubleshooting
Use of firmware/microcode used by the radeon DRM driver can be verified using the dmesg command. For example:
$ dmesg | grep -E 'drm|radeon' | grep -iE 'firmware|microcode' [ 5.268609] [drm] Loading BARTS Microcode [ 5.329862] radeon 0000:01:00.0: firmware: direct-loading firmware radeon/BARTS_pfp.bin [ 5.341300] radeon 0000:01:00.0: firmware: direct-loading firmware radeon/BARTS_me.bin [ 5.347745] radeon 0000:01:00.0: firmware: direct-loading firmware radeon/BTC_rlc.bin [ 5.347911] radeon 0000:01:00.0: firmware: direct-loading firmware radeon/BARTS_mc.bin [ 5.353336] radeon 0000:01:00.0: firmware: direct-loading firmware radeon/BARTS_smc.bin [ 5.369449] radeon 0000:01:00.0: firmware: direct-loading firmware radeon/SUMO_uvd.bin
If files were unable to be loaded, ensure the firmware-linux-nonfree package is installed (refer to Installation).
Screen flickering with Adobe Flash: see FlashPlayer#flickering.
Configuration
In most cases, manual configuration for the open source display drivers is not required, as the Xorg X server automatically detects and configures available hardware.
The following optional configuration can be used to increase 3D performance. See the xorg.conf(5) and radeon(4) manual pages for more information.
Section "Device" Driver "radeon" Identifier "My GPU" Option "AccelMethod" "XAA" # XAA/EXA Option "AccelDFS" "1" # 1/0 On for PCIE, off for AGP # Manpage: Use or don't use accelerated EXA DownloadFromScreen hook # when possible. Option "AGPMode" "1" # 1-8 Does not affect PCIE models. Option "AGPFastWrite" "1" # 1/0 Does not affect PCIE models. Not recommended. Option "GARTSize" "64" # 0-64 Megabytes of gart (system) memory used. # Wrongly defaults to 8MB sometimes, see your logfile. # Bigger seems better. Option "EnablePageFlip" "1" # 1/0 Increases 3D performance substantially # seemingly in XAA mode only Option "ColorTiling" "1" # 1/0 Increases 3D performance substantially # affected stability only positively on my system EndSection
Hybrid Graphics
AMD ships hybrid graphics with Intel cards . Both the cards get turned on in turn overheating the computer and it also makes lot of noise.
Debian Stretch
Debian Stretch comes with a version MESA version which supports DRI Offloading. Make sure both Intel and radeon drivers are installed. It also needs firmware-linux-nonfree package to get it to work.
Check if both the cards are getting listed :
$ xrandr --listproviders
The above listing should give both the names of the cards and the associated drivers. In order to have the Radeon card handle the graphic intensive process use:
$ xrandr --setprovideroffloadsink radeon Intel
You can test the settings with the command:
$ DRI_PRIME=1 glxinfo | grep "OpenGL renderer"
Where the output should be AMD.
So using the option DRI_PRIME you could run 3D/games/movies which need extra graphic power.
See Also
ATIProprietary - Installing the closed source proprietary driver
External Links