Friday, May 3, 2019

ROCm OpenCL with openSUSE Tumbleweed

EDIT 20200110:
(0) As of 2020-01-05, running "clinfo" with openSUSE Tumbleeweed 20200103 and these  ROCm packages will cause null pointer dereference errors.
(0) Things are working again with Tumbleeweed 20200108.
(1) The user needs to be member of the "video" group.  Run this command to add yourself to the group "sudo usermod -a -G video $LOGNAME"
(2) The site now has RPM packages for openSUSE.  Go the to download the packages instead.  Also, no need to specify "--nodeps" when installing the packages

- - 8< - - -

With Tumbleweed running Linux kernel 5.0, it is easy to install ROCm OpenCL with upstream kernel.

- Go to and download the latest version of following packages:


(EDIT 20200126) With ROCm 3.0, you also need to install these packages (due to an issue):

- Install them without checking dependencies, assuming you already have libc etc packages installed, e.g.:

sudo rpm -ivh comgr- hsakmt-roct-1.0.9-319-g02e2b30.x86_64.rpm hsa-rocr-dev-1.1.30100.0-local-build-ecafeba1-Linux.rpm rocm-opencl-2.0.0--8f28d95ad-Linux.rpm rocm-opencl-devel-2.0.0--8f28d95ad-Linux.rpm rocm-smi-lib64- rocminfo-

- That's it! Optionally, install clinfo with zypper to check the available platforms.  Or you can just use the one installed by rocminfo (under /opt/rocm*/bin). If you have been using Mesa OpenCL, you may want to uninstall it.


Unknown said...

This is not working.

I can't see any openCL in Blender or with hashcat.

Anonymous said...

Thanks for posting this helpful ROCm on Tumbleweed guide! It works in LibreOffice with your mentioned corrections.