Hallo,
open cl does not work with the nvidia diver.
Have a look at retouch.cl

klemmh@Trillian-Z400:~$ darktable -d opencl
10.734234 [opencl_init] opencl related configuration options:
10.734259 [opencl_init] 
10.734265 [opencl_init] opencl: 1
10.734271 [opencl_init] opencl_library: ''
10.734278 [opencl_init] opencl_memory_requirement: 768
10.734284 [opencl_init] opencl_memory_headroom: 300
10.734290 [opencl_init] opencl_device_priority: '*/!0,*/*/*'
10.734296 [opencl_init] opencl_mandatory_timeout: 200
10.734302 [opencl_init] opencl_size_roundup: 16
10.734312 [opencl_init] opencl_async_pixelpipe: 0
10.734321 [opencl_init] opencl_synch_cache: 0
10.734328 [opencl_init] opencl_number_event_handles: 25
10.734339 [opencl_init] opencl_micro_nap: 1000
10.734346 [opencl_init] opencl_use_pinned_memory: 0
10.734353 [opencl_init] opencl_use_cpu_devices: 0
10.734359 [opencl_init] opencl_avoid_atomics: 0
10.734365 [opencl_init] 
10.734657 [opencl_init] could not find opencl runtime library 'libOpenCL'
10.734746 [opencl_init] could not find opencl runtime library 'libOpenCL.so'
10.735376 [opencl_init] found opencl runtime library 'libOpenCL.so.1'
10.735416 [opencl_init] opencl library 'libOpenCL.so.1' found on your system 
and loaded
10.782950 [opencl_init] found 1 platform
10.782979 [opencl_init] found 1 device
10.783113 [opencl_init] device 0 `Quadro 2000' has sm_20 support.
10.783161 [opencl_init] device 0 `Quadro 2000' supports image sizes of 32768 x 
32768
10.783167 [opencl_init] device 0 `Quadro 2000' allows GPU memory allocations 
of up to 255MB
[opencl_init] device 0: Quadro 2000 
     GLOBAL_MEM_SIZE:          1024MB
     MAX_WORK_GROUP_SIZE:      1024
     MAX_WORK_ITEM_DIMENSIONS: 3
     MAX_WORK_ITEM_SIZES:      [ 1024 1024 64 ]
     DRIVER_VERSION:           340.107
     DEVICE_VERSION:           OpenCL 1.1 CUDA
10.815222 [opencl_init] options for OpenCL compiler: -cl-fast-relaxed-math  -
DNVIDIA_SM_20=1 -DNVIDIA=1 -I"/usr/share/darktable/kernels"
10.816897 [opencl_init] compiling program `demosaic_ppg.cl' ..
10.819569 [opencl_load_program] loaded cached binary program from file `/home/
klemmh/.cache/darktable/cached_kernels_for_Quadro2000/demosaic_ppg.cl.bin'
10.819579 [opencl_load_program] successfully loaded program from `/usr/share/
darktable/kernels/demosaic_ppg.cl'
10.824765 [opencl_build_program] successfully built program
10.824775 [opencl_build_program] BUILD STATUS: 0
10.824779 BUILD LOG:
10.824781 

10.824790 [opencl_init] compiling program `atrous.cl' ..
10.825928 [opencl_load_program] loaded cached binary program from file `/home/
klemmh/.cache/darktable/cached_kernels_for_Quadro2000/atrous.cl.bin'
10.825937 [opencl_load_program] successfully loaded program from `/usr/share/
darktable/kernels/atrous.cl'
10.827687 [opencl_build_program] successfully built program
10.827696 [opencl_build_program] BUILD STATUS: 0
10.827700 BUILD LOG:
10.827703 

10.827714 [opencl_init] compiling program `basic.cl' ..
10.838967 [opencl_load_program] loaded cached binary program from file `/home/
klemmh/.cache/darktable/cached_kernels_for_Quadro2000/basic.cl.bin'
10.838980 [opencl_load_program] successfully loaded program from `/usr/share/
darktable/kernels/basic.cl'
10.855932 [opencl_build_program] successfully built program
10.855956 [opencl_build_program] BUILD STATUS: 0
10.855961 BUILD LOG:
10.855964 

10.855981 [opencl_init] compiling program `blendop.cl' ..
10.858958 [opencl_load_program] loaded cached binary program from file `/home/
klemmh/.cache/darktable/cached_kernels_for_Quadro2000/blendop.cl.bin'
10.858971 [opencl_load_program] successfully loaded program from `/usr/share/
darktable/kernels/blendop.cl'
10.864205 [opencl_build_program] successfully built program
10.864216 [opencl_build_program] BUILD STATUS: 0
10.864220 BUILD LOG:
10.864222 

10.864237 [opencl_init] compiling program `highpass.cl' ..
10.865337 [opencl_load_program] loaded cached binary program from file `/home/
klemmh/.cache/darktable/cached_kernels_for_Quadro2000/highpass.cl.bin'
10.865346 [opencl_load_program] successfully loaded program from `/usr/share/
darktable/kernels/highpass.cl'
10.867496 [opencl_build_program] successfully built program
10.867505 [opencl_build_program] BUILD STATUS: 0
10.867509 BUILD LOG:
10.867512 

10.867520 [opencl_init] compiling program `nlmeans.cl' ..
10.868267 [opencl_load_program] loaded cached binary program from file `/home/
klemmh/.cache/darktable/cached_kernels_for_Quadro2000/nlmeans.cl.bin'
10.868281 [opencl_load_program] successfully loaded program from `/usr/share/
darktable/kernels/nlmeans.cl'
10.869770 [opencl_build_program] successfully built program
10.869779 [opencl_build_program] BUILD STATUS: 0
10.869783 BUILD LOG:
10.869786 

10.869797 [opencl_init] compiling program `gaussian.cl' ..
10.870981 [opencl_load_program] loaded cached binary program from file `/home/
klemmh/.cache/darktable/cached_kernels_for_Quadro2000/gaussian.cl.bin'
10.870997 [opencl_load_program] successfully loaded program from `/usr/share/
darktable/kernels/gaussian.cl'
10.872684 [opencl_build_program] successfully built program
10.872693 [opencl_build_program] BUILD STATUS: 0
10.872697 BUILD LOG:
10.872699 

10.872707 [opencl_init] compiling program `sharpen.cl' ..
10.873832 [opencl_load_program] loaded cached binary program from file `/home/
klemmh/.cache/darktable/cached_kernels_for_Quadro2000/sharpen.cl.bin'
10.873841 [opencl_load_program] successfully loaded program from `/usr/share/
darktable/kernels/sharpen.cl'
10.875676 [opencl_build_program] successfully built program
10.875685 [opencl_build_program] BUILD STATUS: 0
10.875689 BUILD LOG:
10.875692 

10.875703 [opencl_init] compiling program `extended.cl' ..
10.881309 [opencl_load_program] loaded cached binary program from file `/home/
klemmh/.cache/darktable/cached_kernels_for_Quadro2000/extended.cl.bin'
10.881320 [opencl_load_program] successfully loaded program from `/usr/share/
darktable/kernels/extended.cl'
10.889949 [opencl_build_program] successfully built program
10.889959 [opencl_build_program] BUILD STATUS: 0
10.889963 BUILD LOG:
10.889966 

10.889980 [opencl_init] compiling program `soften.cl' ..
10.891338 [opencl_load_program] loaded cached binary program from file `/home/
klemmh/.cache/darktable/cached_kernels_for_Quadro2000/soften.cl.bin'
10.891346 [opencl_load_program] successfully loaded program from `/usr/share/
darktable/kernels/soften.cl'
10.893218 [opencl_build_program] successfully built program
10.893227 [opencl_build_program] BUILD STATUS: 0
10.893231 BUILD LOG:
10.893233 

10.893242 [opencl_init] compiling program `bilateral.cl' ..
10.894443 [opencl_load_program] loaded cached binary program from file `/home/
klemmh/.cache/darktable/cached_kernels_for_Quadro2000/bilateral.cl.bin'
10.894457 [opencl_load_program] successfully loaded program from `/usr/share/
darktable/kernels/bilateral.cl'
10.896081 [opencl_build_program] successfully built program
10.896090 [opencl_build_program] BUILD STATUS: 0
10.896094 BUILD LOG:
10.896097 

10.896108 [opencl_init] compiling program `denoiseprofile.cl' ..
10.897763 [opencl_load_program] loaded cached binary program from file `/home/
klemmh/.cache/darktable/cached_kernels_for_Quadro2000/denoiseprofile.cl.bin'
10.897771 [opencl_load_program] successfully loaded program from `/usr/share/
darktable/kernels/denoiseprofile.cl'
10.900459 [opencl_build_program] successfully built program
10.900469 [opencl_build_program] BUILD STATUS: 0
10.900473 BUILD LOG:
10.900475 

10.900485 [opencl_init] compiling program `bloom.cl' ..
10.901572 [opencl_load_program] loaded cached binary program from file `/home/
klemmh/.cache/darktable/cached_kernels_for_Quadro2000/bloom.cl.bin'
10.901581 [opencl_load_program] successfully loaded program from `/usr/share/
darktable/kernels/bloom.cl'
10.903204 [opencl_build_program] successfully built program
10.903213 [opencl_build_program] BUILD STATUS: 0
10.903217 BUILD LOG:
10.903220 

10.903229 [opencl_init] compiling program `colorreconstruction.cl' ..
10.903880 [opencl_load_program] loaded cached binary program from file `/home/
klemmh/.cache/darktable/cached_kernels_for_Quadro2000/
colorreconstruction.cl.bin'
10.903888 [opencl_load_program] successfully loaded program from `/usr/share/
darktable/kernels/colorreconstruction.cl'
10.905173 [opencl_build_program] successfully built program
10.905182 [opencl_build_program] BUILD STATUS: 0
10.905186 BUILD LOG:
10.905189 

10.905200 [opencl_init] compiling program `demosaic_other.cl' ..
10.906054 [opencl_load_program] loaded cached binary program from file `/home/
klemmh/.cache/darktable/cached_kernels_for_Quadro2000/demosaic_other.cl.bin'
10.906068 [opencl_load_program] successfully loaded program from `/usr/share/
darktable/kernels/demosaic_other.cl'
10.907339 [opencl_build_program] successfully built program
10.907348 [opencl_build_program] BUILD STATUS: 0
10.907352 BUILD LOG:
10.907354 

10.907365 [opencl_init] compiling program `demosaic_vng.cl' ..
10.908727 [opencl_load_program] loaded cached binary program from file `/home/
klemmh/.cache/darktable/cached_kernels_for_Quadro2000/demosaic_vng.cl.bin'
10.908736 [opencl_load_program] successfully loaded program from `/usr/share/
darktable/kernels/demosaic_vng.cl'
10.911781 [opencl_build_program] successfully built program
10.911791 [opencl_build_program] BUILD STATUS: 0
10.911797 BUILD LOG:
10.911801 

10.911810 [opencl_init] compiling program `demosaic_markesteijn.cl' ..
10.913597 [opencl_load_program] loaded cached binary program from file `/home/
klemmh/.cache/darktable/cached_kernels_for_Quadro2000/
demosaic_markesteijn.cl.bin'
10.913605 [opencl_load_program] successfully loaded program from `/usr/share/
darktable/kernels/demosaic_markesteijn.cl'
10.916675 [opencl_build_program] successfully built program
10.916685 [opencl_build_program] BUILD STATUS: 0
10.916688 BUILD LOG:
10.916691 

10.916702 [opencl_init] compiling program `liquify.cl' ..
10.917389 [opencl_load_program] loaded cached binary program from file `/home/
klemmh/.cache/darktable/cached_kernels_for_Quadro2000/liquify.cl.bin'
10.917404 [opencl_load_program] successfully loaded program from `/usr/share/
darktable/kernels/liquify.cl'
10.918601 [opencl_build_program] successfully built program
10.918611 [opencl_build_program] BUILD STATUS: 0
10.918615 BUILD LOG:
10.918620 

10.918629 [opencl_init] compiling program `basecurve.cl' ..
10.921614 [opencl_load_program] loaded cached binary program from file `/home/
klemmh/.cache/darktable/cached_kernels_for_Quadro2000/basecurve.cl.bin'
10.921632 [opencl_load_program] successfully loaded program from `/usr/share/
darktable/kernels/basecurve.cl'
10.928039 [opencl_build_program] successfully built program
10.928050 [opencl_build_program] BUILD STATUS: 0
10.928055 BUILD LOG:
10.928058 

10.928069 [opencl_init] compiling program `locallaplacian.cl' ..
10.930077 [opencl_load_program] loaded cached binary program from file `/home/
klemmh/.cache/darktable/cached_kernels_for_Quadro2000/locallaplacian.cl.bin'
10.930087 [opencl_load_program] successfully loaded program from `/usr/share/
darktable/kernels/locallaplacian.cl'
10.933671 [opencl_build_program] successfully built program
10.933682 [opencl_build_program] BUILD STATUS: 0
10.933687 BUILD LOG:
10.933690 

10.933700 [opencl_init] compiling program `dwt.cl' ..
10.934260 [opencl_load_program] loaded cached binary program from file `/home/
klemmh/.cache/darktable/cached_kernels_for_Quadro2000/dwt.cl.bin'
10.934274 [opencl_load_program] successfully loaded program from `/usr/share/
darktable/kernels/dwt.cl'
10.935196 [opencl_build_program] successfully built program
10.935205 [opencl_build_program] BUILD STATUS: 0
10.935209 BUILD LOG:
10.935211 

10.935219 [opencl_init] compiling program `retouch.cl' ..
10.935491 [opencl_fopen_stat] could not open file `/home/klemmh/.cache/
darktable/cached_kernels_for_Quadro2000/retouch.cl.bin'!
10.935515 [opencl_load_program] could not load cached binary program, trying 
to compile source
10.935525 [opencl_load_program] successfully loaded program from `/usr/share/
darktable/kernels/retouch.cl'
11.312707 [opencl_build_program] could not build program: -11
11.312732 [opencl_build_program] BUILD STATUS: -2
11.312737 BUILD LOG:
11.312745 :162:16: error: no matching function for call to 'read_imagef'
  float4 pix = read_imagef(buffer_src, (int2)(x, y));
               ^~~~~~~~~~~
<built-in>:17246:25: note: candidate function not viable: requires 3 
arguments, but 2 were provided
float4 __OVERLOADABLE__ read_imagef(image3d_t image, sampler_t sampler, float4 
coord);
                        ^
<built-in>:17245:25: note: candidate function not viable: requires 3 
arguments, but 2 were provided
float4 __OVERLOADABLE__ read_imagef(image3d_t image, sampler_t sampler, int4 
coord);
                        ^
<built-in>:17244:25: note: candidate function not viable: requires 3 
arguments, but 2 were provided
float4 __OVERLOADABLE__ read_imagef(image2d_t image, sampler_t sampler, float2 
coord);
                        ^
<built-in>:17243:25: note: candidate function not viable: requires 3 
arguments, but 2 were provided
float4 __OVERLOADABLE__ read_imagef(image2d_t image, sampler_t sampler, int2 
coord);
                        ^

11.312759 [opencl_init] failed to compile program `retouch.cl'!
11.312771 [opencl_init] FINALLY: opencl is NOT AVAILABLE on this system.
11.312774 [opencl_init] initial status of opencl enabled flag is OFF.

(darktable:1948): GLib-GObject-CRITICAL **: 15:17:39.350: g_object_set_data: 
assertion 'G_IS_OBJECT (object)' failed

(darktable:1948): Gtk-CRITICAL **: 15:17:39.350: gtk_widget_get_has_tooltip: 
assertion 'GTK_IS_WIDGET (widget)' failed

(darktable:1948): GLib-GObject-CRITICAL **: 15:17:41.143: g_object_set_data: 
assertion 'G_IS_OBJECT (object)' failed

(darktable:1948): Gtk-CRITICAL **: 15:17:41.143: gtk_widget_get_has_tooltip: 
assertion 'GTK_IS_WIDGET (widget)' failed



___________________________________________________________________________
darktable developer mailing list
to unsubscribe send a mail to darktable-dev+unsubscr...@lists.darktable.org

Reply via email to