Reviving this old topic discussing installing ROCM in Leap and TW. Basically, the drivers AMD provides do not officially support either, although they should work with Leap. They also do not officially support Polaris and older, so lower than RX 500 series. The last version to support Polaris and newer was 4.3.1. The current version of ROCM is now 5.2.
Apparently there is a patch for Arch to make recent releases of ROCM work for older GPU’s -as they call it, a patch and an enhancement- streamlining install. It’s a flag that needs to be compiled into source. It’s probably not possible to do the same for openSUSE, but maybe there is still a way to get 4.3.1 working?
Has anyone figured this out? It’s a mess for every distribution right now except Arch.
There are only 3 distros with AMD GPU support: Ubuntu, RHEL/CentOS/etc., SLE/openSUSE.
SLE 15 SP3 and SP4 are supported both (i.e. Leap 15.3 & 15.4 too).
The following list of GPUs are enabled in the ROCm software, though full support is not guaranteed:
[ul]
[li]GFX8 GPUs[/li]> [LIST]
[li]“Polaris 11” chips, such as on the AMD Radeon RX 570 and Radeon Pro WX 4100 [/li]> [li]“Polaris 12” chips, such as on the AMD Radeon RX 550 and Radeon RX 540 [/li]> [/ul]
[li]GFX7 GPUs[/li]> [ul]
[li]“Hawaii” chips, such as the AMD Radeon R9 390X and FirePro W9100 [/li]> [/ul]
[/LIST]
As described in the next section, GFX8 GPUs require PCI Express 3.0 (PCIe 3.0) with support for PCIe atomics. This requires both CPU and motherboard support. GFX9 GPUs require PCIe 3.0 with support for PCIe atomics by default, but they can operate in most cases without this capability.
The integrated GPUs in AMD APUs are not officially supported targets for ROCm. As described below, “Carrizo”, “Bristol Ridge”, and “Raven Ridge” APUs are enabled in our upstream drivers and the ROCm OpenCL runtime. However, they are not enabled in the HIP runtime, and may not work due to motherboard or OEM hardware limitations. As such, they are not yet officially supported targets for ROCm.
For a more detailed list of hardware support, please see the following documentation.
What I need is OpenCL support in TW. HOWEVER, installing it using the official AMD installer succeeds while ruining the desktop environment (sad face at start of Gnome) (OpenCL support is there, I just can’t use things like Darktable). I’m talking about the old version (in this case 20.45 pro), not ROCMm. These older versions of amdgpu-pro, that you linked, aren’t supported and have random issues like I mentioned. And at version 20.50 the installer changed in some way to make it completely unusable in TW.
So, my hope was to maybe switch to the more recent ROCm release since it is maintained and updated. Of course, it isn’t supported in TW, and not for most of their older GPU’s, but neither is amdgpu-pro, so might as well go for the recent releases. It seems Arch has a solution for these recent releases, which is why i’m asking about ROCm.
As described above, GFX8 GPUs require PCIe 3.0 with PCIe atomics in order to run ROCm. In particular, the CPU and every active PCIe point between the CPU and GPU require support for PCIe 3.0 and PCIe atomics. The CPU root must indicate PCIe AtomicOp Completion capabilities and any intermediate switch must indicate PCIe AtomicOp Routing capabilities.
Current CPUs which support PCIe Gen3 + PCIe Atomics are:
AMD Ryzen CPUs
The CPUs in AMD Ryzen APUs
AMD Ryzen Threadripper CPUs
AMD EPYC CPUs
Intel Xeon E7 v3 or newer CPUs
Intel Xeon E5 v3 or newer CPUs
Intel Xeon E3 v3 or newer CPUs
Intel Core i7 v4, Core i5 v4, Core i3 v4 or newer CPUs (i.e. Haswell family or newer)
Some Ivy Bridge-E systems
Beginning with ROCm 1.8, GFX9 GPUs (such as Vega 10) no longer require PCIe atomics. We have similarly opened up more options for number of PCIe lanes. GFX9 GPUs can now be run on CPUs without PCIe atomics and on older PCIe generations, such as PCIe 2.0. This is not supported on GPUs below GFX9, e.g. GFX8 cards in the Fiji and Polaris families.