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.
-
AMD/ATI Open Source Drivers (amdgpu, radeon, r128, mach64)
- Identification
-
Drivers
- Supported Devices
- Firmware
- Installation
- Troubleshooting
- Configuration
-
Hybrid Graphics
- Debian Stretch (testing)
- See Also
- External Links
Identification
$ lspci -nn | grep VGA 01:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Barts PRO [Radeon HD 6850] [1002:6739]
Drivers
Supported Devices
Firmware
Installation
- 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 8 "Jessie" deb http://httpredir.debian.org/debian/ jessie main contrib non-free
- Update the list of available packages:
# apt-get update
-
# 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
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
Debian Stretch (testing)
$ xrandr --listproviders
$ xrandr --setprovideroffloadsink radeon Intel
$ DRI_PRIME=1 glxinfo | grep "OpenGL renderer"
See Also
- ATIProprietary - Installing the closed source proprietary driver