Установка видеодрайвера AMD.

Установка, настройка, эксплуатация.
Ответить
Аватара пользователя
root
Site Admin
Сообщения: 501
Зарегистрирован: 15 авг 2026 01:31

Установка видеодрайвера AMD.

Сообщение root »

Оглавление
Темы
Установка видеодрайвера AMD-Catalyst
Установка видеодрайвера AMD-GPU-PRO
Uninstalling the AMD GPU-PRO Driver
Параметры для xorg.conf
Дополнительные материалы
Установка KDE
Установка видеодрайвера NVIDIA
Перед тем как скачивать пакет драйверов нужно проверить поддерживается ли ваша карта данным набором драйверов
В выводе следующей команды можно посмотреть какой именно адаптер установлен и на каком драйвере сейчас работает

Код: Выделить всё

lspci -s 01:00.0 -k
Скачиваем с сайта AMD драйвер и устанавливаем его. Устанавливаем права на выполнение скачанного нами RUN-файла

Код: Выделить всё

chmod +x AMD-Catalyst-15.9-Linux-installer-*.run
./AMD-Catalyst-15.9-Linux-installer-15.201.1151-x86.x86_64.run
Если пакеты успешно установлены, далее нам необходимо сгенерировать новый /etc/X11/xorg.conf файл.
Запускаем его генерацию так:

Код: Выделить всё

aticonfig --initial
Удаление драйверов

Код: Выделить всё

/usr/share/ati/amd-uninstall.sh
Аватара пользователя
root
Site Admin
Сообщения: 501
Зарегистрирован: 15 авг 2026 01:31

Сообщение root »


Download
A direct link to download the Linux AMDGPU-Pro driver is given below and it is also available on the Driver Download Page. This file has a "tar.xz"
extension which reflects a more-effective c ompression algorithm that (in most cases) creates a smaller archive than the more common gzip format.
AMD Radeon™ Software AMDGPU-PRO Beta Driver for Linux® Version 16.60 for Red Hat 7.3
https://www2.ati.com/drivers/linux/rhel ... 184.tar.xz

NOTE: This file can also be located via the Driver Download Page by locating your card and selecting the Linux Driver link.

Extract

After the archive is downloaded, extract the contents to a temporary location from which you can install it. The example below assumes you have
downloaded the archive to /tmp and will extract to the same location. If your file was downloaded into the ~/Downloads/ folder by default, you
can also extract and install from there, and afterwards you can remove the install files.

Код: Выделить всё

cd /tmp
tar -Jxvf amdgpu-pro-16.60-379184.tar.xz
Pre-Install
The AMDGPU-Pro driver requires access to specific RPMs from Red Hat installation media as well as Extra Packages for Enterprise Linux (EPEL) for
purposes of dependency resolution. A script named amdgpu-pro-pre-install.sh (available here) will confirm that all required prerequisite files
and repositories are available in order to successfully install the AMDGPU-Pro driver in the Red Hat environment. It can be run as follows:

Код: Выделить всё

sh amdgpu-pro-preinstall.sh --check
This will check if the required repositories are available to ensure a smooth installation. If there are any warnings, the script can be executed
again without any options to build the necessary repositories

Код: Выделить всё

sh amdgpu-pro-preinstall.sh
Note that an internet connection will be required if EPEL is not found and Red Hat installation media from a DVD, USB key or a mounted ISO will be
required if the system does not have an active Red Hat Subscription.

Install
Once the archive is expanded on the local machine and the amdgpu-pro-preinstall script has successfully confirmed all prerequisites, run the
extracted script (amdgpu-pro-install) to install the graphics stack.

Код: Выделить всё

cd amdgpu-pro-16.60-379184
./amdgpu-pro-install -y 
ln -sf /opt/amdgpu-pro/lib64/libGL.so.1.2 /usr/lib64/libGL.so.1
ln -sf /opt/amdgpu-pro/lib64/libGL.so.1.2 /usr/lib64/libGL.so
Аватара пользователя
root
Site Admin
Сообщения: 501
Зарегистрирован: 15 авг 2026 01:31

Сообщение root »


If for any reason you wish to remove the AMDGPU-PRO graphics stack you can do this using the uninstallation script which was part of the installation
and is present in your path. From the command prompt enter the following command:

Код: Выделить всё

amdgpu-pro-uninstall
Проверить можно на каком драйвере у тебя работает карточка:

Код: Выделить всё

lspci -s 01:00.0 -k
Получаем информацию
Среди инструментов mesa, есть утилита glxinfo, которая поможет вам больше узнать о чипе, используемом в вашем компьютере.

Эта команда

Код: Выделить всё

glxinfo | grep OpenGL
выведет примерно следующие:

Код: Выделить всё

OpenGL vendor string: Advanced Micro Devices, Inc.
OpenGL renderer string: AMD Radeon HD 7700 Series
OpenGL core profile version string: 4.4.13468 Core Profile Context 16.60.3
OpenGL core profile shading language version string: 4.50
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 4.5.13468 Compatibility Profile Context 16.60.3
OpenGL shading language version string: 4.50
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile
OpenGL extensions:
OpenGL ES profile version string: 4.5.13468 Compatibility Profile Context 16.60.3
OpenGL ES profile shading language version string: 4.50
OpenGL ES profile extensions:
Проверяем на каком драйвере сейчас работает система

Код: Выделить всё

lspci -s 01:00.0 -k
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Cape Verde PRO [Radeon HD 7750/8740 / R7 250E]
        Subsystem: ASUSTeK Computer Inc. Device 0427
        Kernel driver in use: amdgpu
        Kernel modules: radeon, amdgpu
Аватара пользователя
root
Site Admin
Сообщения: 501
Зарегистрирован: 15 авг 2026 01:31

Сообщение root »


Код: Выделить всё

gtf 1600 900 60

  # 1600x900 @ 60.00 Hz (GTF) hsync: 55.92 kHz; pclk: 119.00 MHz
  Modeline "1600x900_60.00"  119.00  1600 1696 1864 2128  900 901 904 932  -HSync +Vsync
Ответить