AMDGPU-PRO

AMDGPU-PRO is Article description::the next generation closed source graphics component that operates on top of the open source [[AMDGPU drivers for newer AMD/ATI Radeon graphics cards.]]

Users whose main use for their graphics card is gaming and other general home-use graphical hardware acceleration should use the open source AMDGPU drivers instead, since the performance of the open source drivers can be as much 100% more compared to AMDGPU-PRO. However, the PRO driver provides a few features that Mesa still lacks, namely OpenGL compatibility profiles, OpenCL 2.0, and a fully conformant Vulkan implementation. Also, most of the games for which Mesa outperforms the closed-source driver run in Wine, rather than natively. Thus, the closed-source driver is mostly useful to users who want to play games (such as Civilization V) or use applications (such as UCSF Chimera) that rely on compatibility profiles, or want to run anything that uses Vulkan with advanced shaders, or want to fully exploit OpenCL.

AMDGPU-PRO is currently not distributed within Gentoo's default package manager.

Use AMDGPU-PRO Vulkan drivers for specific games
For some games, it might be useful to use AMDGPU-PRO Vulkan drivers instead of Mesa"s RADV drivers. For example, running Doom Eternal via Steam/Proton with Mesa RADV, I get about 70 FPS, running AMDGPU/PRO, I get about 144 FPS (max. settings, 1440p, Radeon 5700XT, 144hz monitor). You can manually install the Vulkan drivers to use on a per-game basis:

1. Download amdgpu-pro-19.50-967956-ubuntu-18.04.tar.xz or latest version from https://www.amd.com/en/support/graphics/amd-radeon-5700-series/amd-radeon-rx-5700-series/amd-radeon-rx-5700-xt

2. Unpack: tar xvfJ amdgpu-pro-19.50-967956-ubuntu-18.04.tar.xz

3. Unpack the Vulkan drivers deb file for 64bit: ar x vulkan-amdgpu-pro_19.50-967956_amd64.deb

4. Unpack the data.tar.xz file which was inside the deb file: tar xvfJ data.tar.xz

5. Move the extracted folder opt/amdgpu-pro from the archive to /opt/amdgpu-pro

6. Start steam (or the Vulkan based game) with the following command: VK_ICD_FILENAMES=/opt/amdgpu-pro/etc/vulkan/icd.d/amd_icd64.json /usr/bin/steam (alternativly you can add the environment variable to Doom Eternal launch options inside steam) in order to use the amdgpu-pro vulkan driver instead of the default mesa radv driver. Through the performance overlay of Doom Eternal you can confirm it is using the correct driver (will say amd driver instead of mesa).

For this to work, you need Vulkan working in general and have dev-util/vulkan-headers and media-libs/vulkan-loader installed.

External resources

 * A list of AMDGPU-PRO articles at Phoronix.com