- Ubuntu Documentation
- 1. BEFORE YOU PROCEED
- 2. Introduction
- 3. Before you get started
- 4. Installation via the Ubuntu repositories
- 4.1. Installing via the command line
- 5. Installing upstream drivers directly from AMD’s website
- 5.1. Manually installing Catalyst 13.4
- 5.2. Manually installing Catalyst 13.4, special case for Intel/AMD hybrid graphics
- 6. Enabling Video Hardware Acceleration
- 7. Troubleshooting
- 7.1. MESA «error»
- 7.2. HDTV underscan
- 7.3. Catalyst Control Center does not open from the panel icon
- 8. Reporting a bug when using fglrx via supported Ubuntu repository
- 8.1. Known issues
- 8.2. New issues
- 9. Reporting a bug in fglrx when using latest upstream beta and stable downloaded directly from AMD’s website
- 9.1. Technical Support
- 10. Unofficial AMD Wiki and Bugzilla
- Драйвер видеокарт AMD
- Содержание
- Драйвер для видеокарт AMD для Ubuntu 16.04 и новее
- Драйвер amdgpu-pro
- Список поддерживаемых видеокарт
- Установка amdgpu-pro
- Удаление amdgpu-pro
- Проприетарный драйвер для видеокарт AMD для версий Ubuntu до 16.04
- Проприетарный драйвер
- Установка драйвера AMD с сайта
- Другой вариант установки
- Удаление проприетарного драйвера
- Аппаратное ускорение декодирования видео
- Решение некоторых вопросов
- Video Tearing
- Гибридная графика и Catalyst
- Техническая поддержка AMD
Ubuntu Documentation
Unsupported Version
This article applies to an unsupported version of Ubuntu. More info.
Content Cleanup Required
This article should be cleaned-up to follow the content standards in the Wiki Guide. More info.
1. BEFORE YOU PROCEED
2. Introduction
By default Ubuntu uses the open source Radeon driver for cards manufactured by AMD. However, the proprietary fglrx driver (known as AMD Catalyst or AMD Radeon Software) is made available for those who would like to use it. The instructions on this page advise on how to install and use fglrx.
If you encounter a bug with these closed-source drivers, you are welcome to file a report via Launchpad. However, if the bug is determined to be with fglrx, this may only be fixed by AMD, as they are the only ones with access to the source code.
3. Before you get started
The first thing to check for when you consider using the fglrx driver is whether your AMD graphics card is supported.
Enter your graphic card details. You may check this at the terminal:
Identify whether your AMD graphics card model series is supported by the fglrx driver. If the search returns the latest version of the Catalyst driver, then proceed to the next section. If the search returns a legacy version, you may have to use the open source driver.
NOTE: If you are switching from another OEM’s hardware, NVIDIA for instance, you must uninstall the driver for that hardware before installing the AMD driver.
4. Installation via the Ubuntu repositories
Ubuntu offers the following fglrx drivers that are supported only in Ubuntu 14.04:
The easiest way to install binary drivers is to use the built in Additional Drivers manager in Ubuntu.
After the fglrx driver is installed, reboot your system and login. To check whether the fglrx driver is working, open a terminal and type:
If fglrx is installed and working well you should see an output similar to:
4.1. Installing via the command line
For users who find that the Additional Drivers method does not work, please file a bug report on Launchpad about this.
Once done, the driver may also be installed from the Ubuntu repositories using the terminal.
(Note: If your machine has hybrid Intel/AMD switchable graphics, please consult the Ubuntu Forums thread here first and refer to the section titled «Manually installing Catalyst 13.4, special case for Intel/AMD hybrid graphics» in this wiki. At the time of writing, the method described below MAY NOT WORK for Intel/AMD switchable graphics. If you have an Intel/AMD hybrid, it is advisable to wait until further instructions are available).
Save a backup copy of xorg.conf in case this doesn’t work.
Remove/purge current fglrx and fglrx-amdcccle (If you have used a method outside of aptitude, apt, Software Center or Synaptic, follow the other party’s instructions for removal). You will need to deliberately remove both the normal and -updates versions in recent releases of Ubuntu because it seems that attempting to remove one installs the other:
Reboot.
You may need to install the linux generic headers
Install the driver
From 14.04 forward, fglrx-amdcccle is included when you install fglrx, so the following will suffice:
To install the packages for hardware acceleration along with the driver:
Generate a fresh xorg.conf BEFORE REBOOTING!
If you are using multiple AMD graphics cards or AMD dual graphics (i.e.: notebook users), use:
Reboot again.
To confirm the drivers are working open a terminal and type:
You should get an output similar to the following:
5. Installing upstream drivers directly from AMD’s website
5.1. Manually installing Catalyst 13.4
These instructions apply to AMD Catalyst official software distributions, versions 11 through to 13 (e.g. 11.10, 12.104, 13.12, 13.35/»14.1 beta»). Before you go about installing the fglrx driver from the official AMD Catalyst software distribution ensure to read the release notes from the AMD website.
In this how-to an AMD64 Catalyst 13.4 installation on an Ubuntu 13.1 system (Saucy) with an AMD Radeon HD 6300M will be chosen for illustrative purposes.
Note:Remember to uninstall the AMD proprietary fglrx graphics if it is already installed and reboot your system.
Download the driver found at the AMD website. Select System — Product Family — Product — and Operating System (Linux x86/x86_64). Select a compatible driver. To avoid complications later on, save it inside an empty folder. Unzip the driver if necessary.
Enable the Source Code repository in Synaptic Package Manger, then open a terminal and type:
Still using the terminal, navigate to the folder where you downloaded the drivers. In Ubuntu 14.04 LTS Trusty:
If it is required, a package manager window will open and install some dependencies and after a while create the following three .deb packages:
Note:It will also create a file called fglrx-installer_13.4-0ubuntu1_amd64.changes. If you wish you can read this file to know the changes that have been effected through AMD Catalyst 13.4 and related information.
- For reference, the AMD driver installer can also be executed using its built-in graphical user interface, which provides options to manually generate the fglrx driver.
Select Generate Distribution Specific Driver package — Continue — I Agree — select Build package for detected OS:Ubuntu/saucy — Continue.
To install the created .deb files, type:
Note:In case any of the packages are broken, open Synaptic Package Manager and go to Edit -> Fix Broken Packages. In case you are new to Ubuntu, broken here means that some dependent packages are not yet installed. Once you sort out the issue as indicated above through the Synaptic Package Manager, the problem of broken packages should be resolved.
Continuing with the installation, type:
After this command, reboot your system. If all is right, the fglrx driver that corresponds to AMD Catalyst 13.4 will be installed and working on your system. To confirm the drivers are working open a terminal and type:
You should get an output similar to the following:
Note:If you see any mention of MESA in the output, the fglrx drivers have not been installed correctly. See the troubleshooting section for more details You can make configuration changes through the AMD Catalyst Control Center via the Application menu.
5.2. Manually installing Catalyst 13.4, special case for Intel/AMD hybrid graphics
WARNING: This method does not appear to work with Catalyst 12.8. More information will follow as available.
WARNING: Using a method other than described in the manual instructions section above by creating a .deb file can lead to extreme difficulties. Be sure to take note of the instructions for uninstalling the driver at the end of this section, since the driver must be uninstalled using the amdconfig utility.
This method is NOT RECOMMENDED in general, but has been found by some users with Intel/AMD hybrid graphics to work.
This method PROBABLY WILL NOT WORK for HD 5xxx or earlier cards. It has been shown by some users to work only with 6xxx and 7xxx series cards.
Save backup copy of xorg.conf in case this doesn’t work.
Remove/purge current fglrx and fglrx-amdcccle (If you have used a method outside of aptitude, apt, Software Center or Synaptic, follow the other party’s instructions for removal).
For some users, the fglrx-updates and fglrx-amdcccle-updates packages do not work. If you attempted to install them, also do:
Reboot.
Download the driver found at the AMD website.
Navigate to the directory to which the file was downloaded.
Make the .run file executable, using the 13.4 driver as an example (modify as needed for future versions. Note that the name of the .run file is for ILLUSTRATION only and you must be sure that you type the name of the actual file correctly).
Execute the .run file:
Be sure to click «Install Driver» as shown:
Create a new xorg.conf:
Reboot.
To confirm the drivers are working open a terminal and type:
You should get an output similar to the following:
The Catalyst Control Center should now offer a choice between the integrated Intel graphics and the dedicated AMD graphics. To switch, select the graphics you want to run. Because the change is not dynamic, a reboot is required.
To uninstall after installing using this method, you MUST use the amdconfig utility:
6. Enabling Video Hardware Acceleration
Video hardware acceleration with the Linux AMD driver is not as full featured as other OEMs, but there is some that can be enabled. To get video hardware acceleration (tested on all currently supported releases at the time of writing), you need to add four packages after installing the driver.
You can test to see if you have installed them correctly thus:
When installed correctly, you should get the following:
From time to time a required symlink is not properly created. This will result in a shorter message than the above indicating that the driver could not be found.
The following may correct the problem.
For 64 bit systems:
For 32 bit systems:
7. Troubleshooting
You may see a message like this:
This message does not necessarily indicate a problem. It can be fixed however.
Open /etc/X11/xorg.conf and add the following line to Section "Module":
7.1. MESA «error»
If fglrxinfo gives you the following output, your installation is not completed correctly:
In this case, watch for these things:
Make sure that the restricted-modules package installed correspond to the kernel your are running and that you can load the fglrx driver, whether by issuing the command:
or by verifying that the module appears in the list of loaded modules, by issuing the command:
It may be necessary to establish a symbolic link for the /usr/lib/dri folder, by issuing the following command:
You may have to deload the radeon and dri modules, by issuing:
Make sure you deload the module ati-agp by issuing:
and blacklist it in:
Make sure you’ve added:
7.2. HDTV underscan
If you experience underscan when outputting video to an HDTV, this may resolve the issue:
This sets the default underscan setting to false.
7.3. Catalyst Control Center does not open from the panel icon
If you cannot get the Catalyst Control Center to launch from an icon, try from the terminal:
8. Reporting a bug when using fglrx via supported Ubuntu repository
8.1. Known issues
- fglrx-installer not working with AMD Radeon™ HD/Mobility Radeon™ HD 4000, 3000 or 2000 series graphics card
8.2. New issues
If you have a bug in the driver provided in a supported Ubuntu repository, please file a report about this by executing at a terminal:
Once reported, please test the latest fglrx version available from AMD’s website as per below. This will allow one to also report it to AMD directly, as they are the maintainers of the fglrx, and will ultimately be the ones providing a fix. Not testing the latest driver available for your card virtually eliminates the possibility of getting your bug solved.
9. Reporting a bug in fglrx when using latest upstream beta and stable downloaded directly from AMD’s website
Reporting bugs about the latest driver downloaded directly from AMD’s website should be done via official AMD channels. Please do not report bugs about these drivers on Launchpad.
9.1. Technical Support
Before submitting a bug to AMD, please provide the output of the following terminal command:
Once obtained, submit a online service request. This will provide a ticket number sent to your e-mail address to track it.
10. Unofficial AMD Wiki and Bugzilla
As per AMD, the Unofficial Wiki for the AMD Linux Driver and Unofficial AMD Bugzilla are not supported by, or affiliated with AMD in any way. Hence, please use official AMD reporting methods if you would like your issue addressed by AMD.
Драйвер видеокарт AMD
Содержание
Драйвер для видеокарт AMD для Ubuntu 16.04 и новее
Для видеокарт Radeon в Ubuntu 16.04 и более новых версиях доступно 2 варианта: 1. Использовать открытый драйвер по умолчанию 2. Использовать amdgpu-pro, который доступен для относительно новых видеокарт (gcn 1.1 и новее)
Драйвер amdgpu-pro
amdgpu-pro — это новый драйвер от AMD, реализующий новую стратегию в разработке драйверов для Linux. Теперь не требуется установка закрытого модуля в ядро системы, вместо этого используется открытый драйвер amdgpu. Закрытая часть кода amdgpu-pro, повышающая функционал и производительность драйвера, работает в пространстве пользователя и использует открытый драйвер amdgpu в ядре.
Список поддерживаемых видеокарт
Установка amdgpu-pro
Проверяем не установлен ли уже amdgpu-pro:
Если установлен и вы хотите обновить версию, предварительно нужно удалить старый драйвер, как это сделать читать ниже.
Скачиваем, распаковываем и устанавливаем драйвер:
Добавляем пользователя в группу video:
Если у Вас чёрный экран при загрузке, и диалоговое окно The system is running in low graphic mode, надо загрузиться через grub параметром nomodeset. Удалить драйвер. Перезагрузиться и пересобрать ядро с параметром
Удаление amdgpu-pro
В той же папке из который вы запускали скрипт установки, доступен скрипт удаления
Проприетарный драйвер для видеокарт AMD для версий Ubuntu до 16.04
В этой статье мы рассмотрим способы установки проприетарного драйвера AMD (Radeon Software/FGLRX). У обладателей видеокарт AMD есть несколько вариантов:
Проприетарный драйвер
Установка драйвера AMD с сайта
Подготовка к установке
Для начала нам потребуется скачать проприетарный драйвер последней версии и установить зависимости, необходимые для сборки драйвера. Для того, чтобы установить требуемые пакеты выполните:
Для 64-битных систем
Для 32-битных систем
Открываем терминал и вводим команду:
Установка драйвера
Генерируем пакеты для вашей версии дистрибутива. Обратите внимание на то, что вместо Ubuntu/wily вам может понадобиться указать используемую вами версию дистрибутива, если она отлична от Ubuntu 15.10.
Устанавливаем сгенерированные пакеты:
Создаём конфигурационный файл видео драйвера:
Другой вариант установки
Скачаем, распакуем архив. Сгенерируем и установим пакеты одной командой. На всякий случай в ручную создадим xorg.conf. Перезагрузим систему.
Удаление проприетарного драйвера
Если что-то пошло не так и вы хотите вернуть всё обратно до состояния, предшествовавшего установке проприетарного драйвера FGRLX, можно переключиться на свободный драйвер (в окне Дополнительные драйверы) либо выполнить эту команду в терминале:
Аппаратное ускорение декодирования видео
Решение некоторых вопросов
Video Tearing
AMD/ATI утверждает, что опция «Tear Free Video» включена по умолчанию, но это не в случае с Catalyst 12-3, который был установлен на Kubuntu 12.04. Если у вас возникли проблемы с tearing, убедитесь, что «Tear Free Video» включен. Вы можете найти эту опцию в центре управления Catalyst в разделе «Опции» или вы можете использовать следующую команду:
Эта опция не вступит в силу до перезагрузки X (т.е. выхода пользователя из сеанса). Если вы используете композитинг, вы также должны убедиться, что vsync включена в настройках композитинга. Было обнаружено, что vsync было включено по умолчанию, но здесь есть соответствующие настройки, если вы хотите поэкспериментировать.
Вы можете включить VSync для KWin в Системных Настройках → Эффекты рабочего Стола → вкладка Дополнительно
Compiz (Unity/GNOME-Shell)
TODO: Смотрите, если есть более дружественный способ убедиться, что VSync включен без установки CCSM. Установить compiz менеджер настроек:
«Синхронизация с VBlank» находится в «OpenGL» в подразделе «Общие».
Гибридная графика и Catalyst
Существует два основных типа гибридных конструкций. Старшие гибридные системы используют мультиплексор (mux) для переключения между GPU. Новые системы (те, что с PowerXpress >= 4.0) используют muxless.
ATI/ATI Hybrids
По состоянию на Catalyst 11-8, переключение между двумя картами ATI (и, возможно, Intel / ATI muxless тоже?) должна быть выполнима, хотя это не ясно, если это относится ко всем ATI/ATI гибридам или только к тем, что используют muxless. Можно было бы использовать amdconfig в PowerXpress вариантах переключения между интегрированной и дискретной карты, например, так:
После переключения, можно было бы выйти и вернуться обратно для перезапуска X-ов.
Intel/ATI Hybrids
Можно использовать официальные драйвера, но есть две проблемы ( Launchpad Bug: #1068404): Проблемы несовместимости между intel и драйверами fglrx (Это дает ошибку сегментации в X-сервера) Некоторые пути и отсутствует для OpenGL работы драйвера fglrx (Это предотвращает работу приложений, которые требуют прямого рендеринга, например, Unity/игры/и т.д., от правильной загрузки драйверов) Если вы будете следовать инструкциям, приведенным в HOWTO по бинарным драйверам, вы должны получить функциональную конфигурацию.
Существует еще одна ошибка, если вы используете интегрированный GPU (Intel), что делает сбой X сервера.
Для обхода этих ошибок, нужно использовать дискретный GPU (ATI). Для получения дополнительной информации Вы можете следить за этой темой
Техническая поддержка AMD
Если при использовании проприетарного драйвера AMD у вас возникнут какие-либо проблемы, то вы можете обратиться в техническую поддержку компании AMD: