On Tue, 7 Feb 2017 07:43:26 +0100
Jean-Luc Lacroix <jean....@lacroix.it> wrote:

> Bonjour Paul,
> 
> Have you tried to start dt from a console with:
> 
> $ darktable -d opencl
> 
> This will give you some debugging info. For more details, read 
> http://www.darktable.org/2012/03/darktable-and-opencl/
> 
> Bonne journée.
> 
> Jean-Luc
> 
> On 06/02/17 23:46, J. Paul Bissonnette wrote:
> > I am using DT 2.2.3 with with a recent update of Ubuntu Studio
> > 16.04, a Nvidia Qudro K2000 and Nvidia Binary driver 378.09 (open
> > source). I noticed that activate OpenCL Support is not available.
> > Installed OpenCL packages nvidia-libopencl1-378,
> > nvidia-opencl-icd-378, opencl-headers.
> >
> > What is missing??
> >
> > Thanks
> > Paul
> > ____________________________________________________________________________
> > darktable user mailing list
> > to unsubscribe send a mail to
> > darktable-user+unsubscr...@lists.darktable.org 
> ____________________________________________________________________________
> darktable user mailing list
> to unsubscribe send a mail to
> darktable-user+unsubscr...@lists.darktable.org
> 

I had this problem also when I upgraded to Ububtu Studio 14.04 a couple
of years ago. This app runs run so problem free that one forgets the
solution. The last time Ubuntu Studio installs in a different dir that
where Darktable looks.
How to I find the lists.darktable archives?

Comments at bottom.
Thanks

Here is the OP from darktable -d opencl

///////////////////////
jpb@maple:~$ darktable -d opencl
[opencl_init] opencl related configuration options:
[opencl_init] 
[opencl_init] opencl: 1
[opencl_init] opencl_library: ''
[opencl_init] opencl_memory_requirement: 768
[opencl_init] opencl_memory_headroom: 300
[opencl_init] opencl_device_priority: '*/!0,*/*/*'
[opencl_init] opencl_size_roundup: 16
[opencl_init] opencl_async_pixelpipe: 0
[opencl_init] opencl_synch_cache: 0
[opencl_init] opencl_number_event_handles: 25
[opencl_init] opencl_micro_nap: 1000
[opencl_init] opencl_use_pinned_memory: 0
[opencl_init] opencl_use_cpu_devices: 0
[opencl_init] opencl_avoid_atomics: 0
[opencl_init] opencl_enable_markesteijn: 1
[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_load_program] loaded cached binary program from file
`/home/jpb/.cache/darktable/cached_kernels_for_QuadroK2000/demosaic_ppg.cl.bin'
[opencl_load_program] successfully loaded program from
`/usr/share/darktable/kernels/demosaic_ppg.cl'
[opencl_build_program] successfully built program
[opencl_build_program] BUILD STATUS: 0
BUILD LOG:


[opencl_init] compiling program `atrous.cl' ..
[opencl_load_program] loaded cached binary program from file
`/home/jpb/.cache/darktable/cached_kernels_for_QuadroK2000/atrous.cl.bin'
[opencl_load_program] successfully loaded program from
`/usr/share/darktable/kernels/atrous.cl'
[opencl_build_program] successfully built program
[opencl_build_program] BUILD STATUS: 0
BUILD LOG:


[opencl_init] compiling program `basic.cl' ..
[opencl_load_program] loaded cached binary program from file
`/home/jpb/.cache/darktable/cached_kernels_for_QuadroK2000/basic.cl.bin'
[opencl_load_program] successfully loaded program from
`/usr/share/darktable/kernels/basic.cl'
[opencl_build_program] successfully built program
[opencl_build_program] BUILD STATUS: 0
BUILD LOG:


[opencl_init] compiling program `blendop.cl' ..
[opencl_load_program] loaded cached binary program from file
`/home/jpb/.cache/darktable/cached_kernels_for_QuadroK2000/blendop.cl.bin'
[opencl_load_program] successfully loaded program from
`/usr/share/darktable/kernels/blendop.cl'
[opencl_build_program] successfully built program
[opencl_build_program] BUILD STATUS: 0
BUILD LOG:


[opencl_init] compiling program `highpass.cl' ..
[opencl_load_program] loaded cached binary program from file
`/home/jpb/.cache/darktable/cached_kernels_for_QuadroK2000/highpass.cl.bin'
[opencl_load_program] successfully loaded program from
`/usr/share/darktable/kernels/highpass.cl'
[opencl_build_program] successfully built program
[opencl_build_program] BUILD STATUS: 0
BUILD LOG:


[opencl_init] compiling program `nlmeans.cl' ..
[opencl_load_program] loaded cached binary program from file
`/home/jpb/.cache/darktable/cached_kernels_for_QuadroK2000/nlmeans.cl.bin'
[opencl_load_program] successfully loaded program from
`/usr/share/darktable/kernels/nlmeans.cl'
[opencl_build_program] successfully built program
[opencl_build_program] BUILD STATUS: 0
BUILD LOG:


[opencl_init] compiling program `gaussian.cl' ..
[opencl_load_program] loaded cached binary program from file
`/home/jpb/.cache/darktable/cached_kernels_for_QuadroK2000/gaussian.cl.bin'
[opencl_load_program] successfully loaded program from
`/usr/share/darktable/kernels/gaussian.cl'
[opencl_build_program] successfully built program
[opencl_build_program] BUILD STATUS: 0
BUILD LOG:


[opencl_init] compiling program `sharpen.cl' ..
[opencl_load_program] loaded cached binary program from file
`/home/jpb/.cache/darktable/cached_kernels_for_QuadroK2000/sharpen.cl.bin'
[opencl_load_program] successfully loaded program from
`/usr/share/darktable/kernels/sharpen.cl'
[opencl_build_program] successfully built program
[opencl_build_program] BUILD STATUS: 0
BUILD LOG:


[opencl_init] compiling program `extended.cl' ..
[opencl_load_program] loaded cached binary program from file
`/home/jpb/.cache/darktable/cached_kernels_for_QuadroK2000/extended.cl.bin'
[opencl_load_program] successfully loaded program from
`/usr/share/darktable/kernels/extended.cl'
[opencl_build_program] successfully built program
[opencl_build_program] BUILD STATUS: 0
BUILD LOG:


[opencl_init] compiling program `soften.cl' ..
[opencl_load_program] loaded cached binary program from file
`/home/jpb/.cache/darktable/cached_kernels_for_QuadroK2000/soften.cl.bin'
[opencl_load_program] successfully loaded program from
`/usr/share/darktable/kernels/soften.cl'
[opencl_build_program] successfully built program
[opencl_build_program] BUILD STATUS: 0
BUILD LOG:


[opencl_init] compiling program `bilateral.cl' ..
[opencl_load_program] loaded cached binary program from file
`/home/jpb/.cache/darktable/cached_kernels_for_QuadroK2000/bilateral.cl.bin'
[opencl_load_program] successfully loaded program from
`/usr/share/darktable/kernels/bilateral.cl'
[opencl_build_program] successfully built program
[opencl_build_program] BUILD STATUS: 0
BUILD LOG:


[opencl_init] compiling program `denoiseprofile.cl' ..
[opencl_load_program] loaded cached binary program from file
`/home/jpb/.cache/darktable/cached_kernels_for_QuadroK2000/denoiseprofile.cl.bin'
[opencl_load_program] successfully loaded program from
`/usr/share/darktable/kernels/denoiseprofile.cl'
[opencl_build_program] successfully built program
[opencl_build_program] BUILD STATUS: 0
BUILD LOG:


[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'

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

//////////////////////////

There doesn't seem to be a link from DT libOpenCL to the installed
OpenCL library.
____________________________________________________________________________
darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org

Reply via email to