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 ' 03' 01:00.0 Display controller 0380: Advanced Micro Devices, Inc. AMD/ATI Mars Radeon HD 8670A/8670M/8750M 1002:6600 See for more information.
Drivers The proprietary 'AMD Catalyst Linux Graphics Driver' (aka fglrx) provides optimized hardware acceleration of OpenGL applications via a direct-rendering X server. It is a binary-only driver requiring a Linux kernel module for its use. One driver version is available for:. For Radeon R9 200 series, Radeon R7 200 series, Radeon HD 8000, Radeon HD 7000, Radeon HD 6000 and Radeon HD 5000 GPUs.
The AMD Catalyst Legacy driver - supporting the Radeon HD 2000/3000/4000 series - is not available for Debian 8 'Jessie', as upstream has not updated the driver for newer Xorg releases. Two driver versions are available for:.
point release. For Radeon HD 7000, Radeon HD 6000 and Radeon HD 5000 series GPUs. via (legacy GPUs). For Radeon HD 4000, Radeon HD 3000 and Radeon HD 2000 series GPUs. All versions above are available only for the x86 and x86-64 architectures (Debian and ports respectively). Installation Debian 8 'Jessie' AMD Catalyst 14.9 For support of Radeon R9 200, Radeon R7 200, Radeon HD 8000, Radeon HD 7000, Radeon HD 6000 and Radeon HD 5000 series GPUs.
This driver is, as it does not support the EGL interface. It is recommended to use the free driver instead. Add 'contrib' and 'non-free' components to /etc/apt/sources.list, for example: # Debian 8 'Jessie' deb jessie main contrib non-free. Update the list of available packages. Install the appropriate linux-headers and packages: # aptitude update # aptitude -r install linux-headers-$(uname -r sed 's,^-.-^-.-,') fglrx-driver This will also install the recommended package. DKMS will build the fglrx module for your system. Restart your system to enable the radeon blacklist.
Debian 7 'Wheezy' AMD Catalyst 12.6 For support of Radeon HD 7000, Radeon HD 6000 and Radeon HD 5000 series GPUs. For older devices, see. Add 'contrib' and 'non-free' components to /etc/apt/sources.list, for example: # Debian 7 'Wheezy' deb wheezy main contrib non-free. Update the list of available packages. Install the appropriate linux-headers and packages: # aptitude update # aptitude -r install linux-headers-$(uname -r sed 's,^-.-^-.-,') fglrx-driver This will also install the recommended package.
DKMS will build the fglrx module for your system. Restart your system to enable the radeon blacklist. AMD Catalyst Legacy 13.1 For support of Radeon HD 4000, Radeon HD 3000 and Radeon HD 2000 series GPUs.
Add sources to /etc/apt/sources.list, also including the 'contrib' and 'non-free' components. For example: # Backported packages for Debian 7 'Wheezy' deb wheezy-backports main contrib non-free. It is recommended to only select single backported packages that fit your needs, and not use all available backports. Therefore include the following in /etc/apt/apt.conf APT::Default-Release 'wheezy';.
Update the list of available packages. Install the appropriate linux-headers and packages: # aptitude update # aptitude install linux-headers-$(uname -r sed 's,^-.-^-.-,') # aptitude -r -t wheezy-backports install fglrx-legacy-driver This will also install the recommended package. DKMS will build the fglrx module for your system. Restart your system to enable the radeon blacklist.
Configuration As the fglrx driver is not autodetected by, a configuration file is required to be supplied. For example: /etc/X11/xorg.conf.d/20-fglrx.conf. Section 'Device' Identifier 'My GPU' Driver 'fglrx' EndSection The configuration file above can be created using these commands:.
# mkdir /etc/X11/xorg.conf.d # echo -e 'Section 'Device' n tIdentifier 'My GPU' n tDriver 'fglrx' nEndSection' /etc/X11/xorg.conf.d/20-fglrx.conf Note: During driver installation you may have been notified that 'aticonfig -initial' can be used to create the required configuration file. If you do and then have problems with your video configuration, try using the simplified version shown above. Restart your system at this point to enable the radeon driver blacklist. Is available. Troubleshooting. The fglrx driver conflicts with the radeon DRM driver.
The radeon kernel module is blacklisted by the or packages. Restart your system after for the fglrx driver. The fglrx driver is incompatible with the GNOME desktop released as part of Debian 8 'Jessie', as it does not support the EGL interface. It is recommended to use the free driver instead. See Also. open source AMD/ATI display drivers (radeon, r128, mach64).
OpenCL GPGPU programming. External Links. Unofficial AMD Linux Driver Wiki.
Radeon is a family of open source graphics drivers for older AMD/ATI Radeon graphics cards. For cards based on (GCN) 1.2 and higher, read the article instead.
Neither this nor the AMDGPU article cover installation and configuration of the closed source drivers (see the next paragraph). Be aware AMD has dropped the support for closed source drivers(called Catalyst on Windows). The fglrx drivers only work with certain versions of the X server. This is contrary to the open source drivers, which are now compiled against the system's currently installed kernel and X server.
Those interested in the new closed source AMDGPU-PRO drivers (called Crimson on Windows) should head over to the article. Data provided by the Last update: 2018-01-26 13:55 With packages like these, which introduce a number of non-free binary blobs into the system, if you are security aware, it pays to use the savedconfig use flag, and do some removing of the unnecessary lines, or better yet uncommenting them, from the respective savedconfig file. See 'How to install the linux-firmware package in Gentoo' in at bottom of this article.
However, savedconfig editing is entirely optional, those in a hurry may not want to take this route. The system will work the same, with or without the savedconfig editing. Note radeon/.bin should be replaced with the full list (space separated) appearing in front of the chipset's name in the table below (e.g.
Root # cat /sys/class/drm/card0/device/powerprofile. Change the profile: Options for profile:.
'default' no change of clock speeds. 'auto' switches between 'mid' and 'high' power states based on the whether the system is on battery power or not. The 'low' power state are selected when the monitors are in the dpms off state. 'low' forces the GPU to be in the low power state all the time. Note that 'low' can cause display problems on some laptops; this is why auto does not use 'low' when displays are active.
'mid' forces the GPU to be in the 'mid' power state all the time. The 'low' power state is selected when the monitors are in the dpms off state.
'high' forces the GPU to be in the 'high' power state all the time. The 'low' power state is selected when the monitors are in the dpms off state. Note With more than one monitor connected, the memory clock will NOT be on full speed as it was before. Power consumption when using multi-head / multi-monitor When using more than one monitor at once, the power consumption of the graphics card increases up to additional 150% relative to its idle power consumption, because the memory clock switches to full speed (see above). This behavior causes a system using a Radeon HD6870 card to consume around 30 W of additional power when running in multi-monitor mode than in single-monitor mode.
This behavior can be avoided by using power method 'profile' instead of 'dpm' and by forcing 'profile' to 'low'. Using power method 'dpm' and setting a low power profile (i.e. 'balanced') is sure possible but useless in this case.
The 'dpm' method does not allow to forcibly remain on a certain power preset, because it uses the internal GPU hardware to dynamically change the clocks and voltages depending on the current GPU load. As a result, the power consumption increases as soon as you activate a second monitor (because the GPU hardware wants it so). Deactivate dpm first (Kernel = 3.13) with an appropriate kernel commandline via GRUB at boottime. M3 data recovery key serial number.
Root # echo 'low' /sys/class/drm/card0/device/powerprofile Limitation: For my KDE desktop environment this procedure will only work when the power profile level is assigned after KDE has started. An automated command in /etc/local.d/.start is not sufficient.
The memory clock rises and remains high (like normal behavior). Solution: Let KDE do the job with its autostart feature. Allow the user to change the power profile by giving him the appropriate privilege when booting. Create a file like the following. Root # cat /sys/kernel/debug/dri/0/radeonpminfo default engine clock: 900000 kHz current engine clock: 99990 kHz default memory clock: 1050000 kHz current memory clock: 150000 kHz voltage: 950 mV PCIE lanes: 16 Benefit: After these changes, you may use as many monitors as possible without an increased power consumption of your system. Despite the fact that the GPU memory clock is constantly reduced there are still enough graphic resources left to render KDE desktop effects, to play HD movies (also with USE='vdpau') and to do all the regular stuff to get your work done. Tuning I couldn't find a summary of all options available so feel free to add to this.
Warning There are several options to tweak the radeon driver and some of these might break your desktop, so if you are uncomfortable with the console better stick to default. Note R6xx and newer radeons have an internal thermal sensor that is exposed by the driver on most cards that utilize it. On pre-r6xx hardware, the thermal sensor was an external i2c chip, so you need to choose and load the appropriate i2c hwmon driver. Audio over HDMI Audio through the HDMI port is available for some cards. Check the for the model family. A recent 3.x kernel may be needed. If you are using a kernel older than 3.13, HDMI audio must be explicitly enabled using the kernel commandline paramater radeon.audio=1.
In addition, typically does not use HDMI as the default audio, so one way to force this as the default is to add a config file. Root # make && sudo make modulesinstall && sudo make install Check the bootloader config to use the correct kernel and reboot. Troubleshooting Glamor does not load If you see errors like 'glamor detected, failed to initialize EGL.' , then try enabling USE='gbm egl gles2 llvm' in the mesa builds.
If you see errors like 'Failed to link: error: fragment shader lacks `main', then make sure the glamor package has been built with USE='-gles'. On cards that are supported by radeonsi (starting at Southern Island, see the ) make sure to not only specify 'radeon' but also 'radeonsi' as the. Poor X server performance If graphic performance (such as playing videos) is terrible, then make sure KMS Color Tiling is enabled. You can see this in your Xorg log: 3407.235 (II) RADEON(0): KMS Color Tiling: enabled 3407.235 (II) RADEON(0): KMS Color Tiling 2D: enabled 3407.235 (II) RADEON(0): KMS Pageflipping: enabled If you see 'no' instead of 'enabled', then you'll have to look earlier in the log to see why it's been disabled.
If glamor failed to load, see the previous troubleshooting item. Trouble with integrated graphics (A8 or similar) When having trouble getting an on chip integrated graphic core to work (strange visuals/black screen) the solution may be found in the motherboard's BIOS settings. In some cases it appears the 'auto' settings don't work correctly, so make sure to explicitly enable the integrated graphics. In my case (MSI A88XM-E45 motherboard): Settings Advanced Integrated Graphics Configuration Initiate Graphics Devices - I changed this from 'auto' to 'Dual graphics' Settings Advanced Integrated Graphics Configuration Initiate Graphics Shared Memory - This then appeared which I gave a setting After this all problems cleared up. Bug trackers.
See also. Open source driver for Volcanic Islands and newer chips. (Crimson) - A closed source component for amdgpu cards. (Catalyst) - Closed source binary driver for older AMD/ATI graphic cards. Quickly switch between and this driver using GRUB 2 without downgrading xorg-server. Another method for switching between graphics drivers. External resources.