Install OpenCL Requirements

OpenCL will have a hard time running because the distribution will be lacking some firmware blobs that have to be extracted from the original image.

There is fortunately a Debian repacking of the driver and all other requirements that can be obtained from github as Debian or Ubuntu packages.

The results can be consulted with clinfo and it should display FULL_PROFILE.

Manually

In case the Debian packages are not wanted, the following commands should install the necessary dependencies:

The OpenCL driver:

cd /usr/lib
wget https://github.com/JeffyCN/mirrors/raw/libmali/lib/aarch64-linux-gnu/libmali-valhall-g610-g6p0-x11-wayland-gbm.so
ln -sf libmali-valhall-g610-g6p0-x11-wayland-gbm.so libmali-g610.so

and the firmware blob:

cd /lib/firmware
wget https://github.com/JeffyCN/mirrors/raw/libmali/firmware/g610/mali_csffw.bin

after which the OpenCL ICD loader can be installed:

apt update
apt install mesa-opencl-icd

and the driver added to the OpenCL configuration:

mkdir -p /etc/OpenCL/vendors
echo "/usr/lib/libmali-valhall-g610-g6p0-x11-wayland-gbm.so" | tee /etc/OpenCL/vendors/mali.icd

fuss/orange_pi/5.txt ยท Last modified: by office

Wizardry and Steamworks

© 2025 Wizardry and Steamworks

Access website using Tor Access website using i2p Wizardry and Steamworks PGP Key


For the contact, copyright, license, warranty and privacy terms for the usage of this website please see the contact, license, privacy, copyright.