AMDGPU-PRO

From Gentoo Wiki
(Redirected from Amdgpu-pro)
Jump to:navigation Jump to:search
Resources

AMDGPU-PRO is 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.

Installation

Emerge

AMDGPU-PRO is currently available as:

Usage

Use AMDGPU-PRO Vulkan drivers for specific games

Warning
If the drivers were manually installed, please take care to remove the old files at e.g. /opt/amdgpu-pro before proceeding.
Note
It may be possible to set VK_ICD_FILENAMES via the env.d directory. It is likely better to set the variable per-application though as it may not always outperform Mesa, as mentioned above!

For some games, it might be useful to use AMDGPU-PRO Vulkan drivers instead of Mesa's RADV drivers. AMDGPU-PRO's Vulkan implementation gives better Ray Tracing performance than Mesa's RADV driver.[2] You can manually install the Vulkan drivers to use on a per-game basis:

First, install the Vulkan drivers:

root #emerge --ask media-libs/amdgpu-pro-vulkan

Then start Steam (or the Vulkan based game) with the following command (following is for 64-bit):

user $VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/amd_pro_icd64.json /usr/bin/steam

If it is a 32-bit game or application, instead run:

user $VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/amd_pro_icd32.json /usr/bin/foo

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 open source graphics drivers for AMD Radeon and other GPUs.
  • AMDVLK — an open-source Vulkan driver for AMD Radeon™ graphics adapters on Linux

External resources

References

  1. 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.
  2. Phoronix - Radeon RX 7900 XTX: AMDGPU-PRO vs. Mesa 24.2-devel - ”So simply put, for those wondering the AMDVLK driver is still leading over the Mesa RADV driver when it comes to Vulkan ray-tracing...