Hacker News new | ask | show | jobs
by vetinari 1285 days ago
In Fedora, the 37 release (released about two weeks ago) is the first time ever I got OpenCL working on Vega, via rocm-opencl. Until 37, rocm was not packaged at all, and the upstream packages support only Ubuntu and CentOS.

Even with 37, rocm is not complete. HIP is missing, blender doesn't work and asks for the proprietary driver (which, again, works only with Ubuntu and CentOS).

1 comments

I think you have gotten to the crux of it, distro package maintainers seem to have not done a particularly good job in many distros when it comes to AMD, but that is hardly AMD's fault as they have done a fairly good job at running their own full binaries repo¹ for various package formats. I also would recommend therefore that you change to AMD's repo as it definitely contains the HIP runtime. It would appear that you just need to add https://repo.radeon.com/rocm/yum/rpm to your package manager for Fedora. For ROCm OpenCL, my only pointer is that you have to make sure that you are adding the dynamic library path, for example:

  $ env LD_LIBRARY_PATH=/opt/rocm-5.4.0/opencl/lib clinfo
I am pretty sure that you should be able to resolve both OpenCL and Blender+HIP support given your configuration details given so far and I hope you figure it out.

¹ https://repo.radeon.com/rocm