- AMDGPU PRO
- Purpose of proprietary components
- Installation
- Usage
- Using proprietary OpenGL
- How to ensure you are using AMDGPU-PRO driver
- Using proprietary Vulkan
- Using Advanced Multimedia Framework
- Troubleshooting
- Intel + AMD hybrid graphics
- Uninstalling packages
- Southern Islands (SI) or Sea Islands (CIK) GPUs
- Firmware and AMD drivers
- See also
- Arch Linux User Repository
- Ashark commented on 2019-12-09 20:52 (UTC) (edited on 2022-12-06 08:45 (UTC) by Ashark)
- Latest Comments
- hydrocryo01 commented on 2023-07-09 21:03 (UTC)
- mesmer commented on 2023-07-09 01:22 (UTC)
- mesmer commented on 2023-05-28 19:22 (UTC)
- mesmer commented on 2023-05-22 00:31 (UTC)
- JoaoMachado commented on 2023-05-21 19:08 (UTC)
- PlaidCat commented on 2023-04-29 19:23 (UTC) (edited on 2023-04-29 19:26 (UTC) by PlaidCat)
- mesmer commented on 2023-04-29 04:41 (UTC) (edited on 2023-04-29 04:51 (UTC) by mesmer)
- PlaidCat commented on 2023-04-28 01:51 (UTC) (edited on 2023-04-29 19:34 (UTC) by PlaidCat)
- mesmer commented on 2023-04-27 20:28 (UTC)
- mesmer commented on 2023-04-21 17:43 (UTC)
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.
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.
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
Arch Linux User Repository
if anything happens you can always download a older tag in https://github.com/Ashark/archlinux-amdgpu-pro/releases and get the PKGBUILD there, and use makepkg with that build while we update or try to fix 🙂
ALWAYS USE LINUX-FIRMWARE-GIT IF LATEST DRIVER FAIL BEFORE ISSUE SOME ERROR
Ashark commented on 2019-12-09 20:52 (UTC) (edited on 2022-12-06 08:45 (UTC) by Ashark)
Latest Comments
hydrocryo01 commented on 2023-07-09 21:03 (UTC)
@mesmer I can confirm everything’s working except the av1 encoder. linux-firmware-git is not required. The problem of the av1 encoder is that the system freezes as soon as I start recording, and it happens on both wlroots(Hyprland) and kwin. Last version has this problem too.
mesmer commented on 2023-07-09 01:22 (UTC)
In 7/6/2023 a version 23.10-1610704.22.04 is out, any 7000 series that can test i think this version? it fixed the need for linux-firmware-git (at least for me)
also: version 5.6 is being worked https://repo.radeon.com/amdgpu/5.6/ but i cannot add that here yet because the package file is empty for now https://repo.radeon.com/amdgpu/5.6/ubuntu/dists/jammy/proprietary/binary-amd64/Packages but keep int ouch i think next week a minor will be released
mesmer commented on 2023-05-28 19:22 (UTC)
new version released, seems that it needs the linux-firmware-git for now, but tested only in 6900 card
and fixed openssl dependency
mesmer commented on 2023-05-22 00:31 (UTC)
JoaoMachado commented on 2023-05-21 19:08 (UTC)
Can’t seem to install, keep getting the following error:
Preparing. Checking amf-amdgpu-pro dependencies. Checking vulkan-amdgpu-pro dependencies. Resolving dependencies. Checking inter-conflicts. Building amdgpu-pro-installer. ==> Making package: amdgpu-pro-installer 22.40_1577631-1 (Sun 21 May 2023 11:59:29 AM PDT) ==> Checking runtime dependencies. ==> Checking buildtime dependencies. ==> Retrieving sources. -> Found progl -> Found progl.bash-completion -> Found amf-amdgpu-pro_1.4.29-1577631.22.04_amd64.deb -> Found libamdenc-amdgpu-pro_1.0-1577631.22.04_amd64.deb -> Downloading libegl1-amdgpu-pro-oglp_22.40-1577631.22.04_i386.deb. ** Resuming transfer from byte position 13700 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 222 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (22) The requested URL returned error: 416 ==> ERROR: Failure while downloading https://repo.radeon.com/amdgpu/5.4.5/ubuntu/pool/proprietary/o/oglp-amdgpu-pro/libegl1-amdgpu-pro-oglp_22.40-1577631.22.04_i386.deb Aborting. Failed to build amdgpu-pro-installer
PlaidCat commented on 2023-04-29 19:23 (UTC) (edited on 2023-04-29 19:26 (UTC) by PlaidCat)
Yup forgot to regenerate the mkinitcpio, the kernel update today regenerated it and its back to not working. :\
I will check in to the GitHub
mesmer commented on 2023-04-29 04:41 (UTC) (edited on 2023-04-29 04:51 (UTC) by mesmer)
@plaidcat idk if you gonna read these, but if you read can you go to GitHub and help with debug this? Another user with 7900 is having trouble, did you mkinitcpio the firmware?
If another 7000 user could help to get it will be great
PlaidCat commented on 2023-04-28 01:51 (UTC) (edited on 2023-04-29 19:34 (UTC) by PlaidCat)
@mesmer -Can confirm working- Edit: Not working
redacted because I was wrong
mesmer commented on 2023-04-27 20:28 (UTC)
22.40_1577631-1 version 5.4.5 is updated, anyone with 7000 series can test if this fixes the firmware issue?
mesmer commented on 2023-04-21 17:43 (UTC)
idk if its broken, in my card progl glxinfo works but they changed the openssl to libssl, and i believe that its broken again for 7k series and maybe older cards, i think they are working for the next release and we get this time where cards stop working, @Ashark with older firmware it hangs too for you?
Copyright © 2004-2023 aurweb Development Team.
AUR packages are user produced content. Any use of the provided files is at your own risk.