Hi,

OpenCL worked just fine with darktable, until
this morning, when I updated my debian sid.
darktable-cltest writes:

- could not find opencl runtime library
  'libOpenCL'
- could not find opencl runtime library
  'libOpenCL.so'
- found opencl runtime library 'libOpenCL.so.1'
- opencl library 'libOpenCL.so.1' found on your
  system and loaded
- could not get platforms: -1001
- FINALLY: opencl is NOT AVAILABLE on this
  system.

Following the manual, I checked
/etc/OpenCL/vendors/nvidia.icd which had only
"libnvidia-opencl.so"

I manually searched for that library, found it
as an indirect link to
/usr/lib/x86_64-linux-gnu/nvidia/current/libnvidia-opencl.so.1
which by it self is a link to
libnvidia-opencl.so.450.80.02,
so I changed nvidia.icd to point to the
name with "current" in it

I also tried the full path to the final name
with the version numbers, but the output of
darktable-cltest won't change, also not after a
reboot.

nm -D --defined-only
 /usr/lib/x86_64-linux-gnu/nvidia/current/libnvidia-opencl.so.450.80.02 
0000000000118e50 T clGetExportTable
0000000000111520 T clGetExtensionFunctionAddress
00000000000f4960 T clGetPlatformInfo

Isn't this enough? If not, what can I do about
it?

strace darktable-cltest includes:

openat(AT_FDCWD,
"/usr/lib/x86_64-linux-gnu/nvidia/current/libnvidia-opencl.so.1",
O_RDONLY|O_CLOEXEC) = 9
read(9,
"\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260"...,

which should indicate that the vendor specific
library has ben opened with success.

The line

openat(AT_FDCWD, "/dev/nvidiactl", O_RDWR) = 9

is followed with some io accesses, but although
there are no error messages, I don't know if
they yielded the expected results.

The line

openat(AT_FDCWD,
"/usr/share/darktable/noiseprofiles.json",
O_RDONLY) = 7

is not followed by an error message and seems
to execute successfully.

That seems to be followed by a test of lensfun,
which also doesn't show any errors.

After a group of lines looking like some
cleaning up, the trace is ends by

exit_group(0)
+++ exited with 0 +++

Is there anything else I could look out for?

Thanks,

-- 
Cris
____________________________________________________________________________
darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org

Reply via email to