On mardi 7 février 2017 09:13:39 CET J. Paul Bissonnette wrote: (...) > Here is the OP from darktable -d opencl > > /////////////////////// > jpb@maple:~$ darktable -d opencl > [opencl_init] opencl related configuration options: > [opencl_init] (...) > [opencl_init] > [opencl_init] could not find opencl runtime library 'libOpenCL' > [opencl_init] could not find opencl runtime library 'libOpenCL.so' > [opencl_init] found opencl runtime library 'libOpenCL.so.1' > [opencl_init] opencl library 'libOpenCL.so.1' found on your system and > loaded > [opencl_init] found 1 platform > [opencl_init] found 1 device > [opencl_init] device 0 `Quadro K2000' has sm_20 support. > [opencl_init] device 0 `Quadro K2000' supports image sizes of 16384 x > 16384 > [opencl_init] device 0 `Quadro K2000' allows GPU memory allocations of > up to 499MB > [opencl_init] device 0: Quadro K2000 > GLOBAL_MEM_SIZE: 1997MB > MAX_WORK_GROUP_SIZE: 1024 > MAX_WORK_ITEM_DIMENSIONS: 3 > MAX_WORK_ITEM_SIZES: [ 1024 1024 64 ] > DRIVER_VERSION: 378.09 > DEVICE_VERSION: OpenCL 1.2 CUDA > [opencl_init] compiling program `demosaic_ppg.cl' .. (...) > [opencl_build_program] successfully built program > [opencl_build_program] BUILD STATUS: 0 > BUILD LOG:
((etc. for a number of other programs and then:)) > > [opencl_init] compiling program `bloom.cl' .. > [opencl_fopen_stat] could not open file > `/home/jpb/.cache/darktable/cached_kernels_for_QuadroK2000/bloom.cl.bin'! > [opencl_load_program] could not load cached binary program, trying to > compile source > [opencl_load_program] successfully loaded program from > `/usr/share/darktable/kernels/bloom.cl' > [opencl_build_program] could not build program: -5 > [opencl_build_program] BUILD STATUS: -2 > BUILD LOG: > > > [opencl_init] failed to compile program `bloom.cl'! > [opencl_init] FINALLY: opencl is NOT AVAILABLE on this system. > [opencl_init] initial status of opencl enabled flag is OFF. > [pixelpipe_process] [thumbnail] using device -1 > > ////////////////////////////////// > #[opencl_init] could not find opencl runtime library 'libOpenCL' > #[opencl_init] could not find opencl runtime library 'libOpenCL.so' > Don't forget to quote the next line as well,next time... "> [opencl_init] found opencl runtime library 'libOpenCL.so.1' "> [opencl_init] opencl library 'libOpenCL.so.1' found on your system and "> loaded" > Here is the output from locate libOpenCL > > jpb@maple:~$ locate libOpenCL > /usr/lib/i386-linux-gnu/libOpenCL.so.1 > /usr/lib/i386-linux-gnu/libOpenCL.so.1.0 > /usr/lib/i386-linux-gnu/libOpenCL.so.1.0.0 > /usr/lib/x86_64-linux-gnu/libOpenCL.so.1 > /usr/lib/x86_64-linux-gnu/libOpenCL.so.1.0 > /usr/lib/x86_64-linux-gnu/libOpenCL.so.1.0.0 You do have an openCL library installed, and DT finds it. (as shown already by the fact that DT starts compiling openCL kernels...) What went wrong is that DT *failed* to compile one of the needed kernels. That can have several causes, from missing capabilities in the opencl library to bugs in DT's source or the opencl implementation you use. Remco ____________________________________________________________________________ darktable user mailing list to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org