Core dump in polaris with rocm opencl version 6.0

Following discussion here core dump in polaris with rocm opencl version 6.0 · Issue #95 · Oblomov/clinfo · GitHub and here Core dump in polaris with rocm opencl version 6.0 · Issue #981 · rocm-arch/rocm-arch · GitHub

Basically the upgrade from rocm 5.7.1 to 6.0.0 completely breaks the support for polaris cards, This is also reported here AUR (en) - opencl-amd

Since this is a driver issue for a card. I think Manjaro needs to support an intermediate layer for this, allowing to have a working version (5.7.1 is fine)

For those with the same problem, you must do the following (This is a temporary “fix”)

install downgrade from AUR and pacman-contrib from repo, then

sudo downgrade $(pacman -Qi | grep Name | grep ": rocm" | cut -d: -f2) 

Select all 5.7.1 versions and pin the versions so they don’t get upgraded in future

WARNING: Nothing that depends on opencl will work unless you have version 5.7.1, you may not been able to boot into graphical login.

2 Likes

Just a note - we have manjaro-downgrade which should be preferable … especially if you are using it do get packages no longer in your own cache. (our archive instead of Arch’s)

Unfortunately, the rocm packages are all from AUR, none of them are maintained by Manjaro. Anyway, the “fix” is just a temporary patch until a final solution is created.