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.[1] 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:
- 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
- Unpack:
user $
tar xvfJ amdgpu-pro-19.50-967956-ubuntu-18.04.tar.xz
- Unpack the Vulkan drivers deb file for 64bit:
user $
ar x vulkan-amdgpu-pro_19.50-967956_amd64.deb
- Unpack the data.tar.xz file which was inside the deb file:
user $
tar xvfJ data.tar.xz
- Move the extracted folder opt/amdgpu-pro from the archive to /opt/amdgpu-pro
- Start steam (or the Vulkan based game) with the following command: (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).
user $
VK_ICD_FILENAMES=/opt/amdgpu-pro/etc/vulkan/icd.d/amd_icd64.json /usr/bin/steam
For this to work, you need Vulkan working in general and have dev-util/vulkan-headers and media-libs/vulkan-loader installed.
See also
- AMDGPU — the next generation family of open source graphics drivers using the new Display Core (DC) framework for Vega GPUs and Raven Ridge APUs. It is however also capable of handling newer AMD/ATI Radeon graphics cards based on GCN1.0+, namely the Southern Islands, Sea Islands, Volcanic Islands, and Arctic Islands chipsets.
External resources
References
- ↑ Phoronix - Radeon RX 550: AMDGPU-PRO vs. DRM-Next + Mesa 17.2-dev - ”Similar to what we've been seeing on other AMD hardware, the pure open-source driver stack can be much faster than AMDGPU-PRO.”