On Tue, Dec 05, 2023 at 01:10:21PM +0100, Peter McD via openSUSE Factory wrote:
Am 05.12.23 um 01:29 schrieb Aaron Puchert:
Am 04.12.23 um 11:46 schrieb Peter McD via openSUSE Factory:
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"
That is strange, with [1]:
$ rpm -ql amd-opencl /usr/lib64/libamdocl64.so /usr/share/OpenCL /usr/share/OpenCL/vendors /usr/share/OpenCL/vendors/amdocl64.icd /usr/share/doc/packages/rocm-ocl-icd /usr/share/doc/packages/rocm-ocl-icd/LICENSE $ cat /usr/share/OpenCL/vendors/amdocl64.icd /usr/lib64/libamdocl64.so
Ah, this is version 18.0... of openCL, Patrik's repo offers version 17.0.2
now(!)
rpm -ql amd-opencl /usr/lib64/libamdocl64.so /usr/share/OpenCL /usr/share/OpenCL/vendors /usr/share/OpenCL/vendors/amdocl64.icd /usr/share/doc/packages/rocm-ocl-icd /usr/share/doc/packages/rocm-ocl-icd/LICENSE
I also set a symlink from/to /etc/OpenCL/vendors -> /usr/share/OpenCL/vendors/
clinfo 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
No change with darktable and opencl
Unfortunately I found that darktable requires the image extension which is only available in the amdgpu-pro driver (see [1]). So until AMD opens up the code for the image extension, darktable will not work with my package. [1] https://github.com/void-linux/void-packages/pull/21153#issuecomment-62206190...
What else ?
cu Peter