Установка драйвера amd arch linux

abbotto / arch-amd-catalyst

This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters

# INSTRUCTIONS
# ==============
# IMPORTANT NOTICE:
# “catalyst-test”, from AUR, contains the “latest” AMD/ATI testing/beta drivers, primarily for newer cards.
# Please note that Radeons HD 2 3 4 xxx ARE NOT SUPPORTED
# Reference: https://aur.archlinux.org/packages/catalyst-test/
# Reference: https://wiki.archlinux.org/index.php/AMD_Catalyst
# Reference: http://www.ramblgyrl.com/2014/11/install-catalyst-drivers-on-arch-linux/
# ==============
# 1. Install Yaourt
# In the terminal window, type the following:
sudo nano /etc/pacman.conf
# Add the following repository:
[archlinuxfr]
SigLevel = Never
Server = http://repo.archlinux.fr/$arch
# Next, update and install:
sudo pacman -Sy yaourt
# 2. Install Catalyst
# While in the terminal open and type the following:
yaourt catalyst-test
# When asked to remove any conflicting packages, respond with yes [y].
#3. Post Install
# Make sure to install ‘acpid’ by typing the following:
sudo pacman -S acpid
# Then, enter each command below:
sudo systemctl enable atieventsd
sudo systemctl start atieventsd
sudo systemctl enable catalyst-hook
sudo systemctl start catalyst-hook
# Next, we have to write the initial config. Type the following:
sudo aticonfig —initial
# Lastly, we need to configure the bootloader. Follow the appropriate instructions for your bootloader:
# SYSLINUX BOOTLOADER
# Edit “/boot/syslinux/syslinux.cfg” and add nomodeset to the APPEND line, e.g.:
APPEND root=/dev/sda[x] rw nomodeset
# GRUB2 BOOTLOADER
# Edit the “/etc/default/grub” file, and modify the GRUB_CMDLINE_LINUX= line so it looks like this:
GRUB_CMDLINE_LINUX=»nomodeset»
# Then:
sudo grub-mkconfig -o /boot/grub/grub.cfg
# 3. Last But Not Least…
# Reboot:
sudo reboot

Источник

AMDGPU PRO

This page describes close source drivers for AMD GPUs.

Purpose of proprietary components

AMD releases their open source drivers via standard distribution channels. And they also periodically do releases of their Radeon Software for Linux suite, which includes both open and proprietary components. Open source components are not needed from there, and proprietary components are repacked from the latest ubuntu lts version. They are published in AUR in the amdgpu-pro-installer package base.

Comment by John Bridgman from AMD explaining why they still package close source drivers:

  • customers using slower moving enterprise/LTS distros which do not automatically pick up the latest graphics drivers — we offer them both open source and proprietary/workstation options
  • customers using workstation apps who need the extra performance/certification from a workstation-oriented driver (although Marek has done a lot of great work over the last year to improve Mesa performance on workstation apps)
  • The third target audience is customers looking for ready-to-go OpenCL, either for use with the packaged open/closed drivers or with the upstream-based stack in a recent distro.
Читайте также:  Основы администрирования linux обучение

There are several proprietary components: OpenGL, OpenCL, Vulkan and AMF. Sometimes you may want to use these components due to specific features that open source components may lack.

AMDGPU PRO OpenGL is a proprietary, binary userland driver, which works on top of the open-source amdgpu kernel driver. From Radeon Software 18.50 vs Mesa 19 benchmarks article: When it comes to OpenGL games, the RadeonSI Gallium3D driver simply dominates the proprietary AMD OpenGL driver. Users of graphic cards other than Radeon Pro are advised to use the amdgpu graphics stack. Mostly used because of lacking compatibility layers that some software relies on. See gentoo wiki linked below.

AMDGPU PRO Vulkan — currently the only implementation that has ray tracing (however, reported by users as glitchy). Also it is required dependency for AMF.

AMDGPU PRO OpenCL — used because Mesa OpenCL is not fully complete. Proprietary component only for Polaris GPUs. The onward GPUs use the open ROCm OpenCL.

AMDGPU AMF — used for gpu encoding/decoding.

Installation

For proprietary OpenGL implementation, use the amdgpu-pro-installer package base. It contains all the following packages:

  • amdgpu-pro-oglpAUR : For proprietary OpenGL implementation
  • lib32-amdgpu-pro-oglpAUR : For proprietary OpenGL implementation 32 bit applications support
  • vulkan-amdgpu-proAUR : For proprietary Vulkan implementation
  • lib32-vulkan-amdgpu-proAUR : For proprietary Vulkan implementation 32 bit applications support
  • amf-amdgpu-proAUR : For Advanced Media Framework implementation

Note: OGLP is not a performance optimization of opengl, it is an all-new GL driver codebase written from scratch, based on the PAL architecture. in version > 22.20.5 it replaces the libgl

For available OpenCL implementations see GPGPU#AMD/ATI.

For OBS to work with it use obs-studio-amf AUR

Usage

Using proprietary OpenGL

Launch your application with progl prefix, for example:

How to ensure you are using AMDGPU-PRO driver

Run the following command:

$ glxinfo | grep "OpenGL vendor string" | cut -f2 -d":" | xargs

If it returns AMD , then you are running open source driver. If it returns Advanced Micro Devices, Inc. , then you are running proprietary driver.

Читайте также:  Установка ffmpeg linux mint

Alternatively, run glmark2. When using open driver, in OpenGL Information you will see:

GL_VENDOR: AMD GL_RENDERER: Radeon RX 580 Series (POLARIS10, DRM 3.40.0, 5.10.7-arch1-1, LLVM 11.0.1) GL_VERSION: 4.6 (Compatibility Profile) Mesa 20.3.3

But when using closed driver, you will see:

GL_VENDOR: ATI Technologies Inc. GL_RENDERER: Radeon RX 580 Series GL_VERSION: 4.6.14756 Compatibility Profile Context

Using proprietary Vulkan

Launch your application with vk_pro , for example:

Using Advanced Multimedia Framework

Troubleshooting

Intel + AMD hybrid graphics

For users of a hybrid setup with both an Intel GPU and an AMD GPU, usage of the proprietary AMDGPU Pro Workstation Driver might not work as expected due to different MESA implementations.

The symptom is the following: when you boot your machine, you get a black screen, but with your mouse cursor is moving normally.

Unfortunately, Reverse PRIME is not a solution. See the developer response.

Uninstalling packages

If you are in trouble, for example, you cannot login to your system due to black screen, you can revert all back by uninstalling all packages related to AMDGPU PRO.

Switch a virtual console (with e.g. Ctrl+Alt+F2 ), login and run:

# pacman -R $(pacman -Qg Radeon_Software_for_Linux | cut -f2 -d" ")

Southern Islands (SI) or Sea Islands (CIK) GPUs

If using Southern Islands (SI) or Sea Islands (CIK) GPU, when running clinfo , you get:

amdgpu_device_initialize: DRM version is 2.50.0 but this driver is only compatible with 3.x.x.

then ensure you are using amdgpu driver, but not radeon.

Check which driver is currently in use:

03:00.0 Display controller: Advanced Micro Devices, Inc. [AMD/ATI] Opal XT [Radeon R7 M265/M365X/M465] Subsystem: Acer Incorporated [ALI] Aspire V5 Radeon R7 M265 Kernel driver in use: radeon Kernel modules: radeon, amdgpu

Firmware and AMD drivers

AMD drivers and firmware (especially recent firmware) can get out of sync and create issues or not work at all. You can search in the journal for VNC :

system VCN FW Encode interface version=1.9, expected version=1.8

Downgrading the firmware seems to fix the problem.

  • As of 2023-05-06, the 7900 cards works with the linux-firmware version 20221214.f3c283e-1, see amdgpu-pro GitHub issue.
  • As of 2023-05-30 version 23.10-1595145 of the AMDGPU PRO seems to fix the 7900 cards if use the linux-firmware-gitAUR

See also

Источник

Установка проприетарных драйверов AMD (Catalyst 15.12) на BlackArch / Arch

Для установки Catalyst 15.12 в BlackArch / Arch нам нужно понижать иксы. Ничего сложного в этом нет, поскольку Vi0L0 (он поддерживает catalyst-test и catalyst в AUR) поднял пользовательский репозиторий со всеми необходимыми пакетами:

[xorg117] Server = http://catalyst.wirephire.com/repo/xorg117/$arch ## Mirrors, if the primary server does not work or is too slow: #Server = http://mirror.hactar.bz/Vi0L0/xorg117/$arch [catalyst] Server = http://catalyst.wirephire.com/repo/catalyst/$arch ## Mirrors, if the primary server does not work or is too slow: #Server = http://mirror.hactar.bz/Vi0L0/catalyst/$arch

Очень важно, чтобы блок с иксами был ВЫШЕ остальных репозиториев, примерно так:

Читайте также:  Работа линукс минт с флешки

Теперь импортируем его ключи:

sudo pacman-key --keyserver pgp.mit.edu --recv-keys 0xabed422d653c3094 sudo pacman-key --lsign-key 0xabed422d653c3094

Даунгрейдимся (соглашаемся на всё):

Ставим драйвера (соглашаемся на все удаления конфликтующих пакетов):

sudo pacman -S catalyst-hook catalyst-libgl opencl-catalyst amdtfset-git acpid qt4

Создаём конфигурационный файл драйверов AMD:

Добавляем их в автозагрузку:

sudo systemctl enable atieventsd sudo systemctl start atieventsd sudo systemctl enable catalyst-hook sudo systemctl start catalyst-hook
sudo ln -s /usr/lib /usr/lib64 sudo mkdir -p /usr/X11R6/lib64/modules/dri/ sudo ln -s /usr/lib/dri/fglrx_dri.so /usr/X11R6/lib64/modules/dri/fglrx_dri.so

Если при перезагрузке появился чёрный экран

Ничего страшного, выхода два — перейти на другое окружение рабочего стола или откатить изменения.

Все приведённые команды можно делать в консоли, для входа нажмите CTRL+ALT+F2.

Если вы выберите переход на другое окружения рабочего стола, то также нужно поменять и менеджер дисплея.

Для перехода на другой рабочий стол (KDE)

В любом случае, не забудьте удалить GDM.

Если вместо смены окружения рабочего стола вы хотите откатить сделанные изменения, то смотрите инструкцию «Восстановление из чёрного экрана при неудачной установке проприетарных AMD драйверов».

7 thoughts on “ Установка проприетарных драйверов AMD (Catalyst 15.12) на BlackArch / Arch ”

Здравствуйте. Подскажите пожалуйста (если можно на мыло: psycho.n7@gmail.com). Выбивает вот такую ошибку: [CODE]предупреждение: не удалось разрешить «linux

В 15.12 всё ещё поддерживается 5xxx и 6xxx. Только что поставил на hd6550m (следовательно и на hd5650m тоже пойдет), собирал catalist-test из aur.

На момент написания (этот пост перенесён в архив), при установки появлялась надпись, что те серии не поддерживаются. Сейчас появляется надпись что частично поддерживается.

Здравствуйте!
Никак не получается обновиться.
sudo pacman -Syy
[sudo] password for x:
:: Synchronizing package databases…
xorg116.db failed to download
error: failed retrieving file ‘xorg116.db’ from catalyst.wirephire.com : Could not resolve host: catalyst.wirephire.com
warning: too many errors from catalyst.wirephire.com, skipping for the remainder of this transaction
error: failed to synchronize all databases (invalid url for server)

Приветствую! Инструкция устарела и, видимо, возможности использовать Catalyst больше нет. Уже на момент написания этой инструкции производитель AMD видеокарт забросил поддержку Catalyst в Linux (моему ноутбуку было всего 2 года и в Debian и производные было невозможно поставить проприетарные драйвера для моей видеокарты). Из-за этого и перешёл с Kali Linux на Arch Linux и зарёкся покупать компьютеры с AMD видеокартами.

Источник

Оцените статью
Adblock
detector