The Raven Ridge APU is very capable processor to handle OpenCL inside some applications like Blender, Darktable and Gimp. Unfortunately, the current implementation from Mesa, clover, stuck to 1.3, is not supported. AMD released their driver 18.40 with OpenCL2.0+ targeting only Red Hat Enterprise Linux/Cent OS 6.10 and 7.5 in addition of Ubuntu LTS. The good new is the former rpm format can be used on Fedora.
The graphical part of Raven Ridge is Vega 8, basically a cut-down of Vega56 or Vega64 meaning choosing either driver for RX Vega.
The instruction is provided for extracting the rpm files but here is
some requirements for OpenCL:
- kernel-devel (provided by Fedora repository)
Once done, applications needing OpenCL will automatically detect the driver located on /opt/amdgpu/lib64. Blender will list as unknown AMD GPU and Darktable will enable it.
|OpenCL from official AMD driver enabled on Darktable|
|Raven Ridge Vega8 listed as unknown AMD GPU detected|
There is a ROCm version but it currently does not support the graphical side of Raven Ridge at this time. It will be great that someone will finally write a srpm for Fedora.
Source From: fedoraplanet.org.
Original article title: Luya Tshimbalanga: Using AMD RX Vega driver OpenCL on Fedora 29.
This full article can be read at: Luya Tshimbalanga: Using AMD RX Vega driver OpenCL on Fedora 29.