Install / activate Open CL on the PI4

Hello,

How can I install / activate Open Cl on the PI4

greetings

If you use Debian - it should be already here
If you use Ubuntu - do apt-get install libmalit86 (if package not there you need to download https://github.com/rockchip-linux/libmali and do cmake . -DCMAKE_INSTALL_PREFIX=/usr && make install, then do this commands)

commands

cd /usr/lib/aarch64-linux-gnu/
mv libmali-midgard-t86x-r14p0.so libMali.so
ln -sf libMali.so libEGL.so
ln -sf libMali.so libEGL.so.1
ln -sf libMali.so libEGL.so.1.0.0
ln -sf libMali.so libEGL.so.1.4
ln -sf libMali.so libGLESv2.so
ln -sf libMali.so libGLESv2.so.2
ln -sf libMali.so libGLESv2.so.2.0
ln -sf libMali.so libGLESv2.so.2.0.0
ln -sf libMali.so libGLESv1_CM.so
ln -sf libMali.so libGLESv1_CM.so.1
ln -sf libMali.so libGLESv1_CM.so.1.0.0
ln -sf libMali.so libGLESv1_CM.so.1.1
ln -sf libMali.so libmali.so
ln -sf libMali.so libMaliOpenCL.so
ln -sf libMali.so libOpenCL.so

If LibreELEC/RetroBox - that not right choice for this…maybe
If Armbian - most likely same as Debian. Already in.

If you on debian and it’s not here do
apt-get install libmali*t86* --reinstall

1 Like

thanks for you answer

with debian it is working