Comment 5 for bug 1909805

Revision history for this message
Ole Jon Bjørkum (olejonbj) wrote :

Same problem too with Radeon RX 5500 XT. It worked on my Radeon RX 570 (AMD X570 + Ryzen 3950X). Using the generic ICD and Mesa OpenCL doesn't work.

The easy fix that also gives better results on all benchmarks I've done for Vulkan and OpenGL is installing the latest AMDGPU Pro driver (version 21.20) from AMD.com. Remember to specify:

--opencl=rocr

It's Open Source as most AMD projects. https://github.com/RadeonOpenCompute/ROCm

So NVIDIA users can use most of AMD's stuff because of being FOSS, like the below mentioned FidelityFX, is Open Source and appears for NVIDIA users too in the growing number of games supporting it. NVIDIA however contribute little back...

PS: Previously it was --opencl=PAL but that is deprecated. The installation docs and script help are updated good and now finally tells what legacy is (older than Vega 10). Using --help on the installation script tells what you need. Basically just that you specify (IDK what it does if you don't specify an OpenCL type but you can check with --dry-run and see if it installs packages with "rocr", the new, or "orca", the old. If you use the pro installation script, it is the same as specifying --pro on the all-free unless pro is specified.

Adding legacy OpenCL as well is NO point, as shown as an example in the docs, only if you switch between this and older than Vega 10 cards, as that legacy loader doesn't work alone, but doesn't matter if it's installed, however say Geekbench will complain about a lacking library (.so). Legacy for older than Vega 10 AMD Support told me before they added it to the docs.

Supports Ubuntu 20.04.2 and Ubuntu 18.04.5. Made the mistake of installing the previous that said Ubuntu 20.04.1 while having 20.04.2, as I supposed it wouldn't matter, as I've never had problems before. However, didn't work. Then of course like days later they had released one with "initial support" (because 1 known issue but rare use case), then soon after the current with a fix for that. As soon as installed, as it uses DKMS, I'm sure say when 20.04.3 comes it'll just work. Driver uses a local apt repo so must be manually updated (which is good if you're very satisfied with the one you've got now).

Keep in mind apparently there will be a new driver with some good updates to FidelityFX etc, although that already works in the 21.10 driver (Shadow of The Tomb Raider for example).