Project

General

Profile

Bug #10091

black images with OpenCL

Added by Torsten Woertwein about 5 years ago. Updated about 5 years ago.

Status:
Closed: invalid
Priority:
Low
Assignee:
-
Category:
-
Target version:
-
Start date:
09/02/2014
Due date:
% Done:

0%

Estimated time:
Affected Version:
git development version
System:
other GNU/Linux
bitness:
64-bit
hardware architecture:
amd64/x86

Description

Darktable will export only black images if I enable OpenCL support.

All relevant information about darktable and OpenCL should be included in the following lines (system ArchLinux):

$ darktable --version
this is darktable 1.5+1763~g6414ce3
copyright (c) 2009-2014 johannes hanika
darktable-devel@lists.sf.net
OpenMP support enabled

$ darktable-cli DSC_5227.NEF DSC_5227.tif --verbose
[empty history stack]
[export_job] exported to `DSC_5227.tif'

$ darktable-cltest 2>/dev/null | grep 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_omit_whitebalance: 0
[opencl_init] 
[opencl_init] trying to load opencl library: '<system default>'
[opencl_init] opencl library 'libOpenCL' found on your system and loaded
[opencl_init] found 2 platforms
[opencl_init] found 2 devices
[opencl_init] device 0 `Intel(R) HD Graphics IvyBridge M GT2' supports image sizes of 8192 x 8192
[opencl_init] device 0 `Intel(R) HD Graphics IvyBridge M GT2' allows GPU memory allocations of up to 256MB
[opencl_init] device 0: Intel(R) HD Graphics IvyBridge M GT2 
[opencl_init] compiling program `demosaic_ppg.cl' ..
[opencl_load_program] loaded cached binary program from file `/home/user/.cache/darktable/cached_kernels_for_IntelRHDGraphicsIvyBridgeMGT2/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
[opencl_init] compiling program `atrous.cl' ..
[opencl_load_program] loaded cached binary program from file `/home/user/.cache/darktable/cached_kernels_for_IntelRHDGraphicsIvyBridgeMGT2/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
[opencl_init] compiling program `basic.cl' ..
[opencl_load_program] loaded cached binary program from file `/home/user/.cache/darktable/cached_kernels_for_IntelRHDGraphicsIvyBridgeMGT2/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
[opencl_init] compiling program `blendop.cl' ..
[opencl_load_program] loaded cached binary program from file `/home/user/.cache/darktable/cached_kernels_for_IntelRHDGraphicsIvyBridgeMGT2/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
[opencl_init] compiling program `highpass.cl' ..
[opencl_load_program] loaded cached binary program from file `/home/user/.cache/darktable/cached_kernels_for_IntelRHDGraphicsIvyBridgeMGT2/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
[opencl_init] compiling program `nlmeans.cl' ..
[opencl_load_program] loaded cached binary program from file `/home/user/.cache/darktable/cached_kernels_for_IntelRHDGraphicsIvyBridgeMGT2/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
[opencl_init] compiling program `gaussian.cl' ..
[opencl_load_program] loaded cached binary program from file `/home/user/.cache/darktable/cached_kernels_for_IntelRHDGraphicsIvyBridgeMGT2/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
[opencl_init] compiling program `sharpen.cl' ..
[opencl_load_program] loaded cached binary program from file `/home/user/.cache/darktable/cached_kernels_for_IntelRHDGraphicsIvyBridgeMGT2/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
[opencl_init] compiling program `extended.cl' ..
[opencl_load_program] loaded cached binary program from file `/home/user/.cache/darktable/cached_kernels_for_IntelRHDGraphicsIvyBridgeMGT2/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
[opencl_init] compiling program `soften.cl' ..
[opencl_load_program] loaded cached binary program from file `/home/user/.cache/darktable/cached_kernels_for_IntelRHDGraphicsIvyBridgeMGT2/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
[opencl_init] compiling program `bilateral.cl' ..
[opencl_load_program] loaded cached binary program from file `/home/user/.cache/darktable/cached_kernels_for_IntelRHDGraphicsIvyBridgeMGT2/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
[opencl_init] compiling program `denoiseprofile.cl' ..
[opencl_load_program] loaded cached binary program from file `/home/user/.cache/darktable/cached_kernels_for_IntelRHDGraphicsIvyBridgeMGT2/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
[opencl_init] compiling program `bloom.cl' ..
[opencl_load_program] loaded cached binary program from file `/home/user/.cache/darktable/cached_kernels_for_IntelRHDGraphicsIvyBridgeMGT2/bloom.cl.bin'
[opencl_load_program] successfully loaded program from `/usr/share/darktable/kernels/bloom.cl'
[opencl_build_program] successfully built program
[opencl_build_program] BUILD STATUS: 0
[opencl_init] kernel loading time: 0.0041 
[opencl_init] device 1 `Intel(R) HD Graphics IvyBridge M GT2' supports image sizes of 8192 x 8192
[opencl_init] device 1 `Intel(R) HD Graphics IvyBridge M GT2' allows GPU memory allocations of up to 256MB
[opencl_init] device 1: Intel(R) HD Graphics IvyBridge M GT2 
[opencl_init] compiling program `demosaic_ppg.cl' ..
[opencl_load_program] loaded cached binary program from file `/home/user/.cache/darktable/cached_kernels_for_IntelRHDGraphicsIvyBridgeMGT2/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
[opencl_init] compiling program `atrous.cl' ..
[opencl_load_program] loaded cached binary program from file `/home/user/.cache/darktable/cached_kernels_for_IntelRHDGraphicsIvyBridgeMGT2/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
[opencl_init] compiling program `basic.cl' ..
[opencl_load_program] loaded cached binary program from file `/home/user/.cache/darktable/cached_kernels_for_IntelRHDGraphicsIvyBridgeMGT2/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
[opencl_init] compiling program `blendop.cl' ..
[opencl_load_program] loaded cached binary program from file `/home/user/.cache/darktable/cached_kernels_for_IntelRHDGraphicsIvyBridgeMGT2/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
[opencl_init] compiling program `highpass.cl' ..
[opencl_load_program] loaded cached binary program from file `/home/user/.cache/darktable/cached_kernels_for_IntelRHDGraphicsIvyBridgeMGT2/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
[opencl_init] compiling program `nlmeans.cl' ..
[opencl_load_program] loaded cached binary program from file `/home/user/.cache/darktable/cached_kernels_for_IntelRHDGraphicsIvyBridgeMGT2/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
[opencl_init] compiling program `gaussian.cl' ..
[opencl_load_program] loaded cached binary program from file `/home/user/.cache/darktable/cached_kernels_for_IntelRHDGraphicsIvyBridgeMGT2/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
[opencl_init] compiling program `sharpen.cl' ..
[opencl_load_program] loaded cached binary program from file `/home/user/.cache/darktable/cached_kernels_for_IntelRHDGraphicsIvyBridgeMGT2/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
[opencl_init] compiling program `extended.cl' ..
[opencl_load_program] loaded cached binary program from file `/home/user/.cache/darktable/cached_kernels_for_IntelRHDGraphicsIvyBridgeMGT2/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
[opencl_init] compiling program `soften.cl' ..
[opencl_load_program] loaded cached binary program from file `/home/user/.cache/darktable/cached_kernels_for_IntelRHDGraphicsIvyBridgeMGT2/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
[opencl_init] compiling program `bilateral.cl' ..
[opencl_load_program] loaded cached binary program from file `/home/user/.cache/darktable/cached_kernels_for_IntelRHDGraphicsIvyBridgeMGT2/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
[opencl_init] compiling program `denoiseprofile.cl' ..
[opencl_load_program] loaded cached binary program from file `/home/user/.cache/darktable/cached_kernels_for_IntelRHDGraphicsIvyBridgeMGT2/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
[opencl_init] compiling program `bloom.cl' ..
[opencl_load_program] loaded cached binary program from file `/home/user/.cache/darktable/cached_kernels_for_IntelRHDGraphicsIvyBridgeMGT2/bloom.cl.bin'
[opencl_load_program] successfully loaded program from `/usr/share/darktable/kernels/bloom.cl'
[opencl_build_program] successfully built program
[opencl_build_program] BUILD STATUS: 0
[opencl_init] kernel loading time: 0.0036 
[opencl_init] OpenCL successfully initialized.
[opencl_init] here are the internal numbers and names of OpenCL devices available to darktable:
[opencl_init]        0    'Intel(R) HD Graphics IvyBridge M GT2'
[opencl_init]        1    'Intel(R) HD Graphics IvyBridge M GT2'
[opencl_init] these are your device priorities:
[opencl_init]         image    preview    export    thumbnail
[opencl_init]        0    1    0    0
[opencl_init]        1    -1    1    1
[opencl_init] FINALLY: opencl is AVAILABLE on this system.
[opencl_init] initial status of opencl enabled flag is ON.
[opencl_create_kernel] successfully loaded kernel `zero' (0) for device 0
[opencl_create_kernel] successfully loaded kernel `zero' (0) for device 1
[opencl_create_kernel] successfully loaded kernel `splat' (1) for device 0
[opencl_create_kernel] successfully loaded kernel `splat' (1) for device 1
[opencl_create_kernel] successfully loaded kernel `blur_line' (2) for device 0
[opencl_create_kernel] successfully loaded kernel `blur_line' (2) for device 1
[opencl_create_kernel] successfully loaded kernel `blur_line_z' (3) for device 0
[opencl_create_kernel] successfully loaded kernel `blur_line_z' (3) for device 1
[opencl_create_kernel] successfully loaded kernel `slice' (4) for device 0
[opencl_create_kernel] successfully loaded kernel `slice' (4) for device 1
[opencl_create_kernel] successfully loaded kernel `slice_to_output' (5) for device 0
[opencl_create_kernel] successfully loaded kernel `slice_to_output' (5) for device 1
[opencl_create_kernel] successfully loaded kernel `gaussian_column_1c' (6) for device 0
[opencl_create_kernel] successfully loaded kernel `gaussian_column_1c' (6) for device 1
[opencl_create_kernel] successfully loaded kernel `gaussian_transpose_1c' (7) for device 0
[opencl_create_kernel] successfully loaded kernel `gaussian_transpose_1c' (7) for device 1
[opencl_create_kernel] successfully loaded kernel `gaussian_column_4c' (8) for device 0
[opencl_create_kernel] successfully loaded kernel `gaussian_column_4c' (8) for device 1
[opencl_create_kernel] successfully loaded kernel `gaussian_transpose_4c' (9) for device 0
[opencl_create_kernel] successfully loaded kernel `gaussian_transpose_4c' (9) for device 1
[opencl_create_kernel] successfully loaded kernel `interpolation_resample' (10) for device 0
[opencl_create_kernel] successfully loaded kernel `interpolation_resample' (10) for device 1
[opencl_create_kernel] successfully loaded kernel `blendop_mask_Lab' (11) for device 0
[opencl_create_kernel] successfully loaded kernel `blendop_mask_Lab' (11) for device 1
[opencl_create_kernel] successfully loaded kernel `blendop_mask_RAW' (12) for device 0
[opencl_create_kernel] successfully loaded kernel `blendop_mask_RAW' (12) for device 1
[opencl_create_kernel] successfully loaded kernel `blendop_mask_rgb' (13) for device 0
[opencl_create_kernel] successfully loaded kernel `blendop_mask_rgb' (13) for device 1
[opencl_create_kernel] successfully loaded kernel `blendop_Lab' (14) for device 0
[opencl_create_kernel] successfully loaded kernel `blendop_Lab' (14) for device 1
[opencl_create_kernel] successfully loaded kernel `blendop_RAW' (15) for device 0
[opencl_create_kernel] successfully loaded kernel `blendop_RAW' (15) for device 1
[opencl_create_kernel] successfully loaded kernel `blendop_rgb' (16) for device 0
[opencl_create_kernel] successfully loaded kernel `blendop_rgb' (16) for device 1
[opencl_create_kernel] successfully loaded kernel `blendop_copy_alpha' (17) for device 0
[opencl_create_kernel] successfully loaded kernel `blendop_copy_alpha' (17) for device 1
[opencl_create_kernel] successfully loaded kernel `blendop_set_mask' (18) for device 0
[opencl_create_kernel] successfully loaded kernel `blendop_set_mask' (18) for device 1
[opencl_create_kernel] successfully loaded kernel `soften_overexposed' (19) for device 0
[opencl_create_kernel] successfully loaded kernel `soften_overexposed' (19) for device 1
[opencl_create_kernel] successfully loaded kernel `soften_hblur' (20) for device 0
[opencl_create_kernel] successfully loaded kernel `soften_hblur' (20) for device 1
[opencl_create_kernel] successfully loaded kernel `soften_vblur' (21) for device 0
[opencl_create_kernel] successfully loaded kernel `soften_vblur' (21) for device 1
[opencl_create_kernel] successfully loaded kernel `soften_mix' (22) for device 0
[opencl_create_kernel] successfully loaded kernel `soften_mix' (22) for device 1
[opencl_create_kernel] successfully loaded kernel `vignette' (23) for device 0
[opencl_create_kernel] successfully loaded kernel `vignette' (23) for device 1
[opencl_create_kernel] successfully loaded kernel `denoiseprofile_precondition' (24) for device 0
[opencl_create_kernel] successfully loaded kernel `denoiseprofile_precondition' (24) for device 1
[opencl_create_kernel] successfully loaded kernel `denoiseprofile_init' (25) for device 0
[opencl_create_kernel] successfully loaded kernel `denoiseprofile_init' (25) for device 1
[opencl_create_kernel] successfully loaded kernel `denoiseprofile_dist' (26) for device 0
[opencl_create_kernel] successfully loaded kernel `denoiseprofile_dist' (26) for device 1
[opencl_create_kernel] successfully loaded kernel `denoiseprofile_horiz' (27) for device 0
[opencl_create_kernel] successfully loaded kernel `denoiseprofile_horiz' (27) for device 1
[opencl_create_kernel] successfully loaded kernel `denoiseprofile_vert' (28) for device 0
[opencl_create_kernel] successfully loaded kernel `denoiseprofile_vert' (28) for device 1
[opencl_create_kernel] successfully loaded kernel `denoiseprofile_accu' (29) for device 0
[opencl_create_kernel] successfully loaded kernel `denoiseprofile_accu' (29) for device 1
[opencl_create_kernel] successfully loaded kernel `denoiseprofile_finish' (30) for device 0
[opencl_create_kernel] successfully loaded kernel `denoiseprofile_finish' (30) for device 1
[opencl_create_kernel] successfully loaded kernel `denoiseprofile_backtransform' (31) for device 0
[opencl_create_kernel] successfully loaded kernel `denoiseprofile_backtransform' (31) for device 1
[opencl_create_kernel] successfully loaded kernel `denoiseprofile_decompose' (32) for device 0
[opencl_create_kernel] successfully loaded kernel `denoiseprofile_decompose' (32) for device 1
[opencl_create_kernel] successfully loaded kernel `denoiseprofile_synthesize' (33) for device 0
[opencl_create_kernel] successfully loaded kernel `denoiseprofile_synthesize' (33) for device 1
[opencl_create_kernel] successfully loaded kernel `denoiseprofile_reduce_first' (34) for device 0
[opencl_create_kernel] successfully loaded kernel `denoiseprofile_reduce_first' (34) for device 1
[opencl_create_kernel] successfully loaded kernel `denoiseprofile_reduce_second' (35) for device 0
[opencl_create_kernel] successfully loaded kernel `denoiseprofile_reduce_second' (35) for device 1
[opencl_create_kernel] successfully loaded kernel `letsgofloat_1ui' (36) for device 0
[opencl_create_kernel] successfully loaded kernel `letsgofloat_1ui' (36) for device 1
[opencl_create_kernel] successfully loaded kernel `profilegamma' (37) for device 0
[opencl_create_kernel] successfully loaded kernel `profilegamma' (37) for device 1
[opencl_create_kernel] successfully loaded kernel `levels' (38) for device 0
[opencl_create_kernel] successfully loaded kernel `levels' (38) for device 1
[opencl_create_kernel] successfully loaded kernel `splittoning' (39) for device 0
[opencl_create_kernel] successfully loaded kernel `splittoning' (39) for device 1
[opencl_create_kernel] successfully loaded kernel `flip' (40) for device 0
[opencl_create_kernel] successfully loaded kernel `flip' (40) for device 1
[opencl_create_kernel] successfully loaded kernel `exposure' (41) for device 0
[opencl_create_kernel] successfully loaded kernel `exposure' (41) for device 1
[opencl_create_kernel] successfully loaded kernel `tonecurve' (42) for device 0
[opencl_create_kernel] successfully loaded kernel `tonecurve' (42) for device 1
[opencl_create_kernel] successfully loaded kernel `highpass_invert' (43) for device 0
[opencl_create_kernel] successfully loaded kernel `highpass_invert' (43) for device 1
[opencl_create_kernel] successfully loaded kernel `highpass_hblur' (44) for device 0
[opencl_create_kernel] successfully loaded kernel `highpass_hblur' (44) for device 1
[opencl_create_kernel] successfully loaded kernel `highpass_vblur' (45) for device 0
[opencl_create_kernel] successfully loaded kernel `highpass_vblur' (45) for device 1
[opencl_create_kernel] successfully loaded kernel `highpass_mix' (46) for device 0
[opencl_create_kernel] successfully loaded kernel `highpass_mix' (46) for device 1
[opencl_create_kernel] successfully loaded kernel `relight' (47) for device 0
[opencl_create_kernel] successfully loaded kernel `relight' (47) for device 1
[opencl_create_kernel] successfully loaded kernel `overexposed' (48) for device 0
[opencl_create_kernel] successfully loaded kernel `overexposed' (48) for device 1
[opencl_create_kernel] successfully loaded kernel `lowpass_mix' (49) for device 0
[opencl_create_kernel] successfully loaded kernel `lowpass_mix' (49) for device 1
[opencl_create_kernel] successfully loaded kernel `lens_distort_bilinear' (50) for device 0
[opencl_create_kernel] successfully loaded kernel `lens_distort_bilinear' (50) for device 1
[opencl_create_kernel] successfully loaded kernel `lens_distort_bicubic' (51) for device 0
[opencl_create_kernel] successfully loaded kernel `lens_distort_bicubic' (51) for device 1
[opencl_create_kernel] successfully loaded kernel `lens_distort_lanczos2' (52) for device 0
[opencl_create_kernel] successfully loaded kernel `lens_distort_lanczos2' (52) for device 1
[opencl_create_kernel] successfully loaded kernel `lens_distort_lanczos3' (53) for device 0
[opencl_create_kernel] successfully loaded kernel `lens_distort_lanczos3' (53) for device 1
[opencl_create_kernel] successfully loaded kernel `lens_vignette' (54) for device 0
[opencl_create_kernel] successfully loaded kernel `lens_vignette' (54) for device 1
[opencl_create_kernel] successfully loaded kernel `channelmixer' (55) for device 0
[opencl_create_kernel] successfully loaded kernel `channelmixer' (55) for device 1
[opencl_create_kernel] successfully loaded kernel `colorbalance' (56) for device 0
[opencl_create_kernel] successfully loaded kernel `colorbalance' (56) for device 1
[opencl_create_kernel] successfully loaded kernel `colorcorrection' (57) for device 0
[opencl_create_kernel] successfully loaded kernel `colorcorrection' (57) for device 1
[opencl_create_kernel] successfully loaded kernel `lowlight' (58) for device 0
[opencl_create_kernel] successfully loaded kernel `lowlight' (58) for device 1
[opencl_create_kernel] successfully loaded kernel `pixelmax_first' (59) for device 0
[opencl_create_kernel] successfully loaded kernel `pixelmax_first' (59) for device 1
[opencl_create_kernel] successfully loaded kernel `pixelmax_second' (60) for device 0
[opencl_create_kernel] successfully loaded kernel `pixelmax_second' (60) for device 1
[opencl_create_kernel] successfully loaded kernel `global_tonemap_reinhard' (61) for device 0
[opencl_create_kernel] successfully loaded kernel `global_tonemap_reinhard' (61) for device 1
[opencl_create_kernel] successfully loaded kernel `global_tonemap_drago' (62) for device 0
[opencl_create_kernel] successfully loaded kernel `global_tonemap_drago' (62) for device 1
[opencl_create_kernel] successfully loaded kernel `global_tonemap_filmic' (63) for device 0
[opencl_create_kernel] successfully loaded kernel `global_tonemap_filmic' (63) for device 1
[opencl_create_kernel] successfully loaded kernel `colormapping_histogram' (64) for device 0
[opencl_create_kernel] successfully loaded kernel `colormapping_histogram' (64) for device 1
[opencl_create_kernel] successfully loaded kernel `colormapping_mapping' (65) for device 0
[opencl_create_kernel] successfully loaded kernel `colormapping_mapping' (65) for device 1
[opencl_create_kernel] successfully loaded kernel `basecurve' (66) for device 0
[opencl_create_kernel] successfully loaded kernel `basecurve' (66) for device 1
[opencl_create_kernel] successfully loaded kernel `colisa' (67) for device 0
[opencl_create_kernel] successfully loaded kernel `colisa' (67) for device 1
[opencl_create_kernel] successfully loaded kernel `borders_fill' (68) for device 0
[opencl_create_kernel] successfully loaded kernel `borders_fill' (68) for device 1
[opencl_create_kernel] successfully loaded kernel `clip_rotate_bilinear' (69) for device 0
[opencl_create_kernel] successfully loaded kernel `clip_rotate_bilinear' (69) for device 1
[opencl_create_kernel] successfully loaded kernel `clip_rotate_bicubic' (70) for device 0
[opencl_create_kernel] successfully loaded kernel `clip_rotate_bicubic' (70) for device 1
[opencl_create_kernel] successfully loaded kernel `clip_rotate_lanczos2' (71) for device 0
[opencl_create_kernel] successfully loaded kernel `clip_rotate_lanczos2' (71) for device 1
[opencl_create_kernel] successfully loaded kernel `clip_rotate_lanczos3' (72) for device 0
[opencl_create_kernel] successfully loaded kernel `clip_rotate_lanczos3' (72) for device 1
[opencl_create_kernel] successfully loaded kernel `vibrance' (73) for device 0
[opencl_create_kernel] successfully loaded kernel `vibrance' (73) for device 1
[opencl_create_kernel] successfully loaded kernel `velvia' (74) for device 0
[opencl_create_kernel] successfully loaded kernel `velvia' (74) for device 1
[opencl_create_kernel] successfully loaded kernel `colorin_unbound' (75) for device 0
[opencl_create_kernel] successfully loaded kernel `colorin_unbound' (75) for device 1
[opencl_create_kernel] successfully loaded kernel `colorin_clipping' (76) for device 0
[opencl_create_kernel] successfully loaded kernel `colorin_clipping' (76) for device 1
[opencl_create_kernel] successfully loaded kernel `invert_1f' (77) for device 0
[opencl_create_kernel] successfully loaded kernel `invert_1f' (77) for device 1
[opencl_create_kernel] successfully loaded kernel `invert_4f' (78) for device 0
[opencl_create_kernel] successfully loaded kernel `invert_4f' (78) for device 1
[opencl_create_kernel] successfully loaded kernel `whitebalance_4f' (79) for device 0
[opencl_create_kernel] successfully loaded kernel `whitebalance_4f' (79) for device 1
[opencl_create_kernel] successfully loaded kernel `whitebalance_1f' (80) for device 0
[opencl_create_kernel] successfully loaded kernel `whitebalance_1f' (80) for device 1
[opencl_create_kernel] successfully loaded kernel `colorout' (81) for device 0
[opencl_create_kernel] successfully loaded kernel `colorout' (81) for device 1
[opencl_create_kernel] successfully loaded kernel `colorcontrast' (82) for device 0
[opencl_create_kernel] successfully loaded kernel `colorcontrast' (82) for device 1
[opencl_create_kernel] successfully loaded kernel `clip_and_zoom_demosaic_half_size' (83) for device 0
[opencl_create_kernel] successfully loaded kernel `clip_and_zoom_demosaic_half_size' (83) for device 1
[opencl_create_kernel] successfully loaded kernel `ppg_demosaic_green' (84) for device 0
[opencl_create_kernel] successfully loaded kernel `ppg_demosaic_green' (84) for device 1
[opencl_create_kernel] successfully loaded kernel `green_equilibration' (85) for device 0
[opencl_create_kernel] successfully loaded kernel `green_equilibration' (85) for device 1
[opencl_create_kernel] successfully loaded kernel `pre_median' (86) for device 0
[opencl_create_kernel] successfully loaded kernel `pre_median' (86) for device 1
[opencl_create_kernel] successfully loaded kernel `ppg_demosaic_green_median' (87) for device 0
[opencl_create_kernel] successfully loaded kernel `ppg_demosaic_green_median' (87) for device 1
[opencl_create_kernel] successfully loaded kernel `ppg_demosaic_redblue' (88) for device 0
[opencl_create_kernel] successfully loaded kernel `ppg_demosaic_redblue' (88) for device 1
[opencl_create_kernel] successfully loaded kernel `clip_and_zoom' (89) for device 0
[opencl_create_kernel] successfully loaded kernel `clip_and_zoom' (89) for device 1
[opencl_create_kernel] successfully loaded kernel `border_interpolate' (90) for device 0
[opencl_create_kernel] successfully loaded kernel `border_interpolate' (90) for device 1
[opencl_create_kernel] successfully loaded kernel `color_smoothing' (91) for device 0
[opencl_create_kernel] successfully loaded kernel `color_smoothing' (91) for device 1
[opencl_create_kernel] successfully loaded kernel `highlights_1f' (92) for device 0
[opencl_create_kernel] successfully loaded kernel `highlights_1f' (92) for device 1
[opencl_create_kernel] successfully loaded kernel `highlights_4f' (93) for device 0
[opencl_create_kernel] successfully loaded kernel `highlights_4f' (93) for device 1
[opencl_create_kernel] successfully loaded kernel `graduatedndp' (94) for device 0
[opencl_create_kernel] successfully loaded kernel `graduatedndp' (94) for device 1
[opencl_create_kernel] successfully loaded kernel `graduatedndm' (95) for device 0
[opencl_create_kernel] successfully loaded kernel `graduatedndm' (95) for device 1
[opencl_create_kernel] successfully loaded kernel `colorzones' (96) for device 0
[opencl_create_kernel] successfully loaded kernel `colorzones' (96) for device 1
[opencl_create_kernel] successfully loaded kernel `monochrome_filter' (97) for device 0
[opencl_create_kernel] successfully loaded kernel `monochrome_filter' (97) for device 1
[opencl_create_kernel] successfully loaded kernel `monochrome' (98) for device 0
[opencl_create_kernel] successfully loaded kernel `monochrome' (98) for device 1
[opencl_create_kernel] successfully loaded kernel `eaw_decompose' (99) for device 0
[opencl_create_kernel] successfully loaded kernel `eaw_decompose' (99) for device 1
[opencl_create_kernel] successfully loaded kernel `eaw_synthesize' (100) for device 0
[opencl_create_kernel] successfully loaded kernel `eaw_synthesize' (100) for device 1
[opencl_create_kernel] successfully loaded kernel `zonesystem' (101) for device 0
[opencl_create_kernel] successfully loaded kernel `zonesystem' (101) for device 1
[opencl_create_kernel] successfully loaded kernel `shadows_highlights_mix' (102) for device 0
[opencl_create_kernel] successfully loaded kernel `shadows_highlights_mix' (102) for device 1
[opencl_create_kernel] successfully loaded kernel `sharpen_hblur' (103) for device 0
[opencl_create_kernel] successfully loaded kernel `sharpen_hblur' (103) for device 1
[opencl_create_kernel] successfully loaded kernel `sharpen_vblur' (104) for device 0
[opencl_create_kernel] successfully loaded kernel `sharpen_vblur' (104) for device 1
[opencl_create_kernel] successfully loaded kernel `sharpen_mix' (105) for device 0
[opencl_create_kernel] successfully loaded kernel `sharpen_mix' (105) for device 1
[opencl_create_kernel] successfully loaded kernel `colorize' (106) for device 0
[opencl_create_kernel] successfully loaded kernel `colorize' (106) for device 1
[opencl_create_kernel] successfully loaded kernel `bloom_threshold' (107) for device 0
[opencl_create_kernel] successfully loaded kernel `bloom_threshold' (107) for device 1
[opencl_create_kernel] successfully loaded kernel `bloom_hblur' (108) for device 0
[opencl_create_kernel] successfully loaded kernel `bloom_hblur' (108) for device 1
[opencl_create_kernel] successfully loaded kernel `bloom_vblur' (109) for device 0
[opencl_create_kernel] successfully loaded kernel `bloom_vblur' (109) for device 1
[opencl_create_kernel] successfully loaded kernel `bloom_mix' (110) for device 0
[opencl_create_kernel] successfully loaded kernel `bloom_mix' (110) for device 1
[opencl_create_kernel] successfully loaded kernel `nlmeans_init' (111) for device 0
[opencl_create_kernel] successfully loaded kernel `nlmeans_init' (111) for device 1
[opencl_create_kernel] successfully loaded kernel `nlmeans_dist' (112) for device 0
[opencl_create_kernel] successfully loaded kernel `nlmeans_dist' (112) for device 1
[opencl_create_kernel] successfully loaded kernel `nlmeans_horiz' (113) for device 0
[opencl_create_kernel] successfully loaded kernel `nlmeans_horiz' (113) for device 1
[opencl_create_kernel] successfully loaded kernel `nlmeans_vert' (114) for device 0
[opencl_create_kernel] successfully loaded kernel `nlmeans_vert' (114) for device 1
[opencl_create_kernel] successfully loaded kernel `nlmeans_accu' (115) for device 0
[opencl_create_kernel] successfully loaded kernel `nlmeans_accu' (115) for device 1
[opencl_create_kernel] successfully loaded kernel `nlmeans_finish' (116) for device 0
[opencl_create_kernel] successfully loaded kernel `nlmeans_finish' (116) for device 1

DSC_5227.tif (171 KB) DSC_5227.tif Torsten Woertwein, 09/02/2014 07:39 AM
DSC_5227.NEF (24.6 MB) DSC_5227.NEF Torsten Woertwein, 09/02/2014 07:41 AM

History

#1 Updated by Pascal de Bruijn about 5 years ago

Last time we checked Intel didn't offer OpenCL for their hardware on Linux? Are you using beignet? If not, please do provide a very specific resource to exactly what you're using...

#2 Updated by Torsten Woertwein about 5 years ago

yes I'm using beignet, their git version. I will try it with the latest stable version (and the latest git build) this evening.

#3 Updated by Torsten Woertwein about 5 years ago

something is wrong with my set up or it is a bug in beignet. LuxMark, a OpenCL benchmark tool, returns a black image too. Sorry for not having that tested before.

#4 Updated by Pascal de Bruijn about 5 years ago

Well Beignet is still a work in progress if I'm not mistaken.

On the Beignet site they mention this:
"LLVM 3.3 , 3.4 and 3.5 are supported. Till now, the recommended LLVM version is 3.3. There are some severe OpenCL related regression in current clang 3.4/3.5 version."
So it might be worth checking how Beignet is being built on Arch.

Also keep in mind that Darktable generally needs about 1GB of graphics memory to operate comfortably, it can work with less, but problems that arise from having less than 1GB of graphics memory generally aren't considered real bugs.

Still, if you manage to get Beignet to operate properly, we'd be very interested in hearing about it.

Another interesting point would be performance comparisons of course which you could easily do using 'darktable -d perf', it would be interesting to see how well an Intel GPU does as opposed the CPU, which might be disappointing with higher end CPUs.

#5 Updated by Torsten Woertwein about 5 years ago

the solution to get beigent working with 'Intel(R) HD Graphics IvyBridge M GT2' is http://lists.freedesktop.org/archives/beignet/2014-September/003827.html

Enabling OpenCL in dt works! I did this simple benchmark on Intel(R) Core(TM) i5-3317U CPU @ 1.70GHz (with llvm 3.3) :(

$ darktable-cli DSC_5227.NEF DSC_5227.tif --verbose --core -d perf
[empty history stack]
[export] creating pixelpipe took 0.193 secs (0.230 CPU)
[dev_pixelpipe] took 0.000 secs (0.000 CPU) initing base buffer [export]
[dev_pixelpipe] took 0.019 secs (0.053 CPU) processing `let's go float!' on CPU, blending on CPU [export]
[dev_pixelpipe] took 0.023 secs (0.067 CPU) processing `white balance' on CPU, blending on CPU [export]
[dev_pixelpipe] took 0.014 secs (0.053 CPU) processing `highlight reconstruction' on CPU, blending on CPU [export]
[dev_pixelpipe] took 0.365 secs (1.357 CPU) processing `demosaic' on CPU, blending on CPU [export]
[dev_pixelpipe] took 0.146 secs (0.497 CPU) processing `base curve' on CPU, blending on CPU [export]
[dev_pixelpipe] took 0.205 secs (0.813 CPU) processing `input color profile' on CPU, blending on CPU [export]
[dev_pixelpipe] took 0.369 secs (1.417 CPU) processing `sharpen' on CPU, blending on CPU [export]
[dev_pixelpipe] took 0.323 secs (1.217 CPU) processing `output color profile' on CPU, blending on CPU [export]
[dev_process_export] pixel pipeline processing took 1.464 secs (5.473 CPU)
[export_job] exported to `DSC_5227.tif'

$ darktable-cli DSC_5227.NEF DSC_5227.tif --verbose --core -d perf
[empty history stack]
[export] creating pixelpipe took 0.181 secs (0.197 CPU)
[dev_pixelpipe] took 0.000 secs (0.000 CPU) initing base buffer [export]
[dev_pixelpipe] took 0.070 secs (0.017 CPU) processing `let's go float!' on GPU, blending on GPU [export]
[dev_pixelpipe] took 0.061 secs (0.000 CPU) processing `white balance' on GPU, blending on GPU [export]
[dev_pixelpipe] took 0.035 secs (0.000 CPU) processing `highlight reconstruction' on GPU, blending on GPU [export]
[dev_pixelpipe] took 1.299 secs (2.227 CPU) processing `demosaic' on CPU, blending on CPU [export]
[dev_pixelpipe] took 1.596 secs (1.153 CPU) processing `base curve' on GPU with tiling, blending on CPU [export]
[dev_pixelpipe] took 1.654 secs (1.180 CPU) processing `input color profile' on GPU with tiling, blending on CPU [export]
[dev_pixelpipe] took 1.161 secs (0.143 CPU) processing `sharpen' on GPU with tiling, blending on CPU [export]
[dev_pixelpipe] took 1.742 secs (1.147 CPU) processing `output color profile' on GPU with tiling, blending on CPU [export]
[dev_process_export] pixel pipeline processing took 7.618 secs (5.867 CPU)
[export_job] exported to `DSC_5227.tif'

#6 Updated by Pascal de Bruijn about 5 years ago

  • Status changed from New to Closed: invalid

Cool. Thanks for the feedback. Since it's not our bug, I'll be closing this issue.

#7 Updated by Pascal de Bruijn about 5 years ago

Some notes...

I managed to get Beignet 0.9.2 (LLVM 3.4, 3.3 failed for me somehow) to build here as well.

I noticed that the sharpen module produced overexposed images when OpenCL via my Beignet build is enabled.

So it might be worth to do some exports with OpenCL enabled and disabled, and verify they are indeed the same.

#8 Updated by Torsten Woertwein about 5 years ago

maybe that is because of 'Currently Gen does not provide native support of high precision math functions required by OpenCL. We provide a software version to achieve high precision, which you can turn on through export OCL_STRICT_CONFORMANCE=1. But be careful, this would make your CL kernel run a little longer.'

Also available in: Atom PDF

Go to top