Am 30.11.23 um 01:22 schrieb Aaron Puchert:
Am 29.11.23 um 12:38 schrieb Peter McD:
Am 29.11.23 um 08:15 schrieb Patrik Jakobsson:
Can you detect the card with clinfo?
first the suggested link
ln -s /usr/lib64/libOpenCL.so.1 /usr/lib64/libOpenCL.so
Probably not needed, at least not for clinfo:
readelf --dynamic /usr/bin/clinfo | grep NEEDED 0x0000000000000001 (NEEDED) Shared library: [libOpenCL.so.1] 0x0000000000000001 (NEEDED) Shared library: [libc.so.6]
The symlink should only be needed for development, and then you can find it in ocl-icd-devel.
The problem seems rather that the installation isn't being found. Installations are dynamically loaded from those listed in /usr/share/OpenCL/vendors and /etc/OpenCL/vendors. Unfortunately existence of the latter precludes installations from the former directory from being recognized with the loader from ocl-icd, if nothing changed since 2020 (https://bugzilla.opensuse.org/show_bug.cgi?id=1173005). Ideally you can remove /etc/OpenCL/vendors entirely if all vendors are in /usr. If not, symlink those from /usr that you want into /etc.
I have now a fresh installation of Tumbleweed, added Patrik's repo and installed amd-opencl. clinfo shows: Number of platforms 0 ICD loader properties ICD loader Name OpenCL ICD Loader ICD loader Vendor OCL Icd free software ICD loader Version 2.3.1 ICD loader Profile OpenCL 3.0 ls -l /usr/share or ls -l /etc/ Neither in /usr/share/ nor in /etc/ is a direktory OpenCL, and so no directory "vendors" What else do I have to install? cu Peter