JeffyCN / rockchip_mirrors

Mirrors of a few Rockchip BSP repositories, some others in https://github.com/JeffyCN/mirrors.
Other
10 stars 2 forks source link

[RK3588] Number of platforms 0 #24

Closed helperShang closed 1 year ago

helperShang commented 1 year ago
cp mali_csffw.bin /lib/firmware/
meson  -Dplatform=gbm -Dkhr-header=true -Doptimize-level=O3 -Dgpu=valhall-g610 -Dversion=g6p0 ..
ninja install
rock-5b:build:# cat /etc/OpenCL/vendors/mesa.icd                                                                                                                 <libmali ✗>
/usr/local/lib/aarch64-linux-gnu/libmali.so

result

rock-5b:build:# clinfo                                                                                                                                           <libmali ✗>
Number of platforms                               0
rock-5b:build:#
JeffyCN commented 1 year ago

it will use "OpenCL Installable Client Driver (ICD)" by default, which depends on ICD-loader. if you don't want to use that, try to disable it with -Dopencl-icd=false