Project

General

Profile

Bug #10274

Green images when using OpenCL on OS X Yosemite

Added by Emil Wabra about 5 years ago. Updated about 5 years ago.

Status:
Duplicate
Priority:
Low
Assignee:
-
Category:
Darkroom
Start date:
01/07/2015
Due date:
% Done:

0%

Estimated time:
Affected Version:
1.6.0
System:
Mac OS X
bitness:
64-bit
hardware architecture:
amd64/x86

Description

All images are showing a strong green colouring when opening the darktable. Lighttable works fine. When images are being exported, the green colouring returns.

When disabling OpenCL all images are drawn correctly.

At startup the output shows several warnings.

[opencl_init] opencl related configuration options:
[opencl_init]
[opencl_init] opencl: 0
[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] found opencl runtime library '/System/Library/Frameworks/OpenCL.framework/Versions/Current/OpenCL'
[opencl_init] opencl library '/System/Library/Frameworks/OpenCL.framework/Versions/Current/OpenCL' found on your system and loaded
[opencl_init] found 1 platform
[opencl_init] found 2 devices
[opencl_init] discarding CPU device 0 `Intel(R) Core(TM) i5-4308U CPU @ 2.80GHz'.
[opencl_init] device 1 `Iris' supports image sizes of 16384 x 16384
[opencl_init] device 1 `Iris' allows GPU memory allocations of up to 384MB
[opencl_init] device 1: Iris
GLOBAL_MEM_SIZE: 1536MB
MAX_WORK_GROUP_SIZE: 512
MAX_WORK_ITEM_DIMENSIONS: 3
MAX_WORK_ITEM_SIZES: [ 512 512 512 ]
DRIVER_VERSION: 1.2(Sep 25 2014 22:25:51)
DEVICE_VERSION: OpenCL 1.2
[opencl_init] compiling program `demosaic_ppg.cl' ..
[opencl_load_program] loaded cached binary program from file `/Users/emil/.cache/darktable/cached_kernels_for_Iris/demosaic_ppg.cl.bin'
[opencl_load_program] successfully loaded program from `/Applications/darktable.app/Contents/Resources/share/darktable/kernels/demosaic_ppg.cl'
[opencl_build_program] successfully built program
[opencl_build_program] BUILD STATUS: 0
BUILD LOG:
In file included from <program source>:19:
/Applications/darktable.app/Contents/Resources/share/darktable/kernels/common.h:34:1: warning: no previous prototype for function 'FC'
FC

<program source>:27:1: warning: no previous prototype for function 'backtransformi'
backtransformi (float2 p, const int r_x, const int r_y, const int r_wd, const int r_ht, const float r_scale)

<program source>:33:1: warning: no previous prototype for function 'backtransformf'
backtransformf (float2 p, const int r_x, const int r_y, const int r_wd, const int r_ht, const float r_scale)

<program source>:104:15: warning: unused variable 'thrs2'
const float thrs2 = c1 ? thrs : 2*thrs;
^
<program source>:574:1: warning: no previous prototype for function 'FCN'
FCN

[opencl_init] compiling program `atrous.cl' ..
[opencl_load_program] loaded cached binary program from file `/Users/emil/.cache/darktable/cached_kernels_for_Iris/atrous.cl.bin'
[opencl_load_program] successfully loaded program from `/Applications/darktable.app/Contents/Resources/share/darktable/kernels/atrous.cl'
[opencl_build_program] successfully built program
[opencl_build_program] BUILD STATUS: 0
BUILD LOG:
In file included from <program source>:19:
/Applications/darktable.app/Contents/Resources/share/darktable/kernels/common.h:34:1: warning: no previous prototype for function 'FC'
FC

<program source>:24:1: warning: no previous prototype for function 'weight'
weight(const float4 c1, const float4 c2, const float sharpen)

[opencl_init] compiling program `basic.cl' ..
[opencl_load_program] loaded cached binary program from file `/Users/emil/.cache/darktable/cached_kernels_for_Iris/basic.cl.bin'
[opencl_load_program] successfully loaded program from `/Applications/darktable.app/Contents/Resources/share/darktable/kernels/basic.cl'
[opencl_build_program] successfully built program
[opencl_build_program] BUILD STATUS: 0
BUILD LOG:
In file included from <program source>:21:
/Applications/darktable.app/Contents/Resources/share/darktable/kernels/common.h:34:1: warning: no previous prototype for function 'FC'
FC

In file included from <program source>:23:
/Applications/darktable.app/Contents/Resources/share/darktable/kernels/colorspace.cl:20:8: warning: no previous prototype for function 'Lab_2_LCH'
float4 Lab_2_LCH(float4 Lab)
^
/Applications/darktable.app/Contents/Resources/share/darktable/kernels/colorspace.cl:34:8: warning: no previous prototype for function 'LCH_2_Lab'
float4 LCH_2_Lab(float4 LCH)
^
/Applications/darktable.app/Contents/Resources/share/darktable/kernels/colorspace.cl:44:8: warning: no previous prototype for function 'XYZ_to_Lab'
float4 XYZ_to_Lab(float4 xyz)
^
/Applications/darktable.app/Contents/Resources/share/darktable/kernels/colorspace.cl:59:8: warning: no previous prototype for function 'lab_f_inv'
float4 lab_f_inv(float4 x)
^
/Applications/darktable.app/Contents/Resources/share/darktable/kernels/colorspace.cl:67:8: warning: no previous prototype for function 'Lab_to_XYZ'
float4 Lab_to_XYZ(float4 Lab)
^
/Applications/darktable.app/Contents/Resources/share/darktable/kernels/colorspace.cl:80:8: warning: no previous prototype for function 'RGB_2_HSL'
float4 RGB_2_HSL(const float4 RGB)
^
/Applications/darktable.app/Contents/Resources/share/darktable/kernels/colorspace.cl:122:7: warning: no previous prototype for function 'Hue_2_RGB'
float Hue_2_RGB(float v1, float v2, float vH)
^
/Applications/darktable.app/Contents/Resources/share/darktable/kernels/colorspace.cl:134:8: warning: no previous prototype for function 'HSL_2_RGB'
float4 HSL_2_RGB(const float4 HSL)
^
/Applications/darktable.app/Contents/Resources/share/darktable/kernels/colorspace.cl:164:8: warning: no previous prototype for function 'RGB_2_HSV'
float4 RGB_2_HSV(const float4 RGB)
^
/Applications/darktable.app/Contents/Resources/share/darktable/kernels/colorspace.cl:201:8: warning: no previous prototype for function 'HSV_2_RGB'
float4 HSV_2_RGB(const float4 HSV)
^
/Applications/darktable.app/Contents/Resources/share/darktable/kernels/colorspace.cl:246:8: warning: no previous prototype for function 'XYZ_to_sRGB'
float4 XYZ_to_sRGB(float4 XYZ)
^
/Applications/darktable.app/Contents/Resources/share/darktable/kernels/colorspace.cl:260:8: warning: no previous prototype for function 'sRGB_to_XYZ'
float4 sRGB_to_XYZ(float4 sRGB)
^
<program source>:162:1: warning: no previous prototype for function 'lookup_unbounded'
lookup_unbounded(read_only image2d_t lut, const float x, global const float a)

<program source>:180:1: warning: no previous prototype for function 'lookup_unbounded_twosided'
lookup_unbounded_twosided(read_only image2d_t lut, const float x, global const float *a)

<program source>:208:1: warning: no previous prototype for function 'lookup'
lookup(read_only image2d_t lut, const float x)

<program source>:418:1: warning: no previous prototype for function 'mul_mat_vec_2'
mul_mat_vec_2(const float4 m, const float2 *p, float2 *o)

<program source>:425:1: warning: no previous prototype for function 'backtransform'
backtransform(float2 *p, float2 *o, const float4 m, const float2 t)

<program source>:433:1: warning: no previous prototype for function 'keystone_backtransform'
keystone_backtransform(float2 *i, const float4 k_space, const float2 ka, const float4 ma, const float2 mb)

<program source>:458:1: warning: no previous prototype for function 'interpolation_func_bicubic'
interpolation_func_bicubic(float t)

<program source>:482:1: warning: no previous prototype for function 'sinf_fast'
sinf_fast(float t)

<program source>:493:1: warning: no previous prototype for function 'interpolation_func_lanczos'
interpolation_func_lanczos(float width, float t)

<program source>:1105:1: warning: no previous prototype for function 'fast_expf'
fast_expf(const float x)

<program source>:1122:1: warning: no previous prototype for function 'envelope'
envelope(const float L)

<program source>:1183:9: warning: unused variable 'filter'
float filter = fast_expf(-clamp(((pixel.y - a)
(pixel.y - a) + (pixel.z - b)*(pixel.z - b))/(2.0f * size), 0.0f, 1.0f));
^
<program source>:1490:13: warning: unused variable 'xlid'
const int xlid = get_local_id(0);
^

[opencl_init] compiling program `blendop.cl' ..
[opencl_load_program] loaded cached binary program from file `/Users/emil/.cache/darktable/cached_kernels_for_Iris/blendop.cl.bin'
[opencl_load_program] successfully loaded program from `/Applications/darktable.app/Contents/Resources/share/darktable/kernels/blendop.cl'
[opencl_build_program] successfully built program
[opencl_build_program] BUILD STATUS: 0
BUILD LOG:
In file included from <program source>:19:
/Applications/darktable.app/Contents/Resources/share/darktable/kernels/common.h:34:1: warning: no previous prototype for function 'FC'
FC

In file included from <program source>:20:
/Applications/darktable.app/Contents/Resources/share/darktable/kernels/colorspace.cl:20:8: warning: no previous prototype for function 'Lab_2_LCH'
float4 Lab_2_LCH(float4 Lab)
^
/Applications/darktable.app/Contents/Resources/share/darktable/kernels/colorspace.cl:34:8: warning: no previous prototype for function 'LCH_2_Lab'
float4 LCH_2_Lab(float4 LCH)
^
/Applications/darktable.app/Contents/Resources/share/darktable/kernels/colorspace.cl:44:8: warning: no previous prototype for function 'XYZ_to_Lab'
float4 XYZ_to_Lab(float4 xyz)
^
/Applications/darktable.app/Contents/Resources/share/darktable/kernels/colorspace.cl:59:8: warning: no previous prototype for function 'lab_f_inv'
float4 lab_f_inv(float4 x)
^
/Applications/darktable.app/Contents/Resources/share/darktable/kernels/colorspace.cl:67:8: warning: no previous prototype for function 'Lab_to_XYZ'
float4 Lab_to_XYZ(float4 Lab)
^
/Applications/darktable.app/Contents/Resources/share/darktable/kernels/colorspace.cl:80:8: warning: no previous prototype for function 'RGB_2_HSL'
float4 RGB_2_HSL(const float4 RGB)
^
/Applications/darktable.app/Contents/Resources/share/darktable/kernels/colorspace.cl:122:7: warning: no previous prototype for function 'Hue_2_RGB'
float Hue_2_RGB(float v1, float v2, float vH)
^
/Applications/darktable.app/Contents/Resources/share/darktable/kernels/colorspace.cl:134:8: warning: no previous prototype for function 'HSL_2_RGB'
float4 HSL_2_RGB(const float4 HSL)
^
/Applications/darktable.app/Contents/Resources/share/darktable/kernels/colorspace.cl:164:8: warning: no previous prototype for function 'RGB_2_HSV'
float4 RGB_2_HSV(const float4 RGB)
^
/Applications/darktable.app/Contents/Resources/share/darktable/kernels/colorspace.cl:201:8: warning: no previous prototype for function 'HSV_2_RGB'
float4 HSV_2_RGB(const float4 HSV)
^
/Applications/darktable.app/Contents/Resources/share/darktable/kernels/colorspace.cl:246:8: warning: no previous prototype for function 'XYZ_to_sRGB'
float4 XYZ_to_sRGB(float4 XYZ)
^
/Applications/darktable.app/Contents/Resources/share/darktable/kernels/colorspace.cl:260:8: warning: no previous prototype for function 'sRGB_to_XYZ'
float4 sRGB_to_XYZ(float4 sRGB)
^
<program source>:131:1: warning: no previous prototype for function 'blendif_factor_Lab'
blendif_factor_Lab(const float4 input, const float4 output, const unsigned int blendif, global const float *parameters, const unsigned int mask_mode, const unsigned int mask_combine)

<program source>:198:1: warning: no previous prototype for function 'blendif_factor_rgb'
blendif_factor_rgb(const float4 input, const float4 output, const unsigned int blendif, global const float *parameters, const unsigned int mask_mode, const unsigned int mask_combine)
^

[opencl_init] compiling program `highpass.cl' ..
[opencl_load_program] loaded cached binary program from file `/Users/emil/.cache/darktable/cached_kernels_for_Iris/highpass.cl.bin'
[opencl_load_program] successfully loaded program from `/Applications/darktable.app/Contents/Resources/share/darktable/kernels/highpass.cl'
[opencl_build_program] successfully built program
[opencl_build_program] BUILD STATUS: 0
BUILD LOG:
In file included from <program source>:19:
/Applications/darktable.app/Contents/Resources/share/darktable/kernels/common.h:34:1: warning: no previous prototype for function 'FC'
FC
^

[opencl_init] compiling program `nlmeans.cl' ..
[opencl_load_program] loaded cached binary program from file `/Users/emil/.cache/darktable/cached_kernels_for_Iris/nlmeans.cl.bin'
[opencl_load_program] successfully loaded program from `/Applications/darktable.app/Contents/Resources/share/darktable/kernels/nlmeans.cl'
[opencl_build_program] successfully built program
[opencl_build_program] BUILD STATUS: 0
BUILD LOG:
In file included from <program source>:20:
/Applications/darktable.app/Contents/Resources/share/darktable/kernels/common.h:34:1: warning: no previous prototype for function 'FC'
FC
^
<program source>:29:7: warning: no previous prototype for function 'fast_mexp2f'
float fast_mexp2f(const float x)
^
<program source>:39:7: warning: no previous prototype for function 'gh'
float gh(const float f, const float sharpness)
^
<program source>:45:7: warning: no previous prototype for function 'ddirac'
float ddirac(const int2 q)
^

[opencl_init] compiling program `gaussian.cl' ..
[opencl_load_program] loaded cached binary program from file `/Users/emil/.cache/darktable/cached_kernels_for_Iris/gaussian.cl.bin'
[opencl_load_program] successfully loaded program from `/Applications/darktable.app/Contents/Resources/share/darktable/kernels/gaussian.cl'
[opencl_build_program] successfully built program
[opencl_build_program] BUILD STATUS: 0
BUILD LOG:
In file included from <program source>:19:
/Applications/darktable.app/Contents/Resources/share/darktable/kernels/common.h:34:1: warning: no previous prototype for function 'FC'
FC

<program source>:104:17: warning: comparison of integers of different signs: 'int' and 'unsigned int'
for(int y=0; y<height; y++)
^~~~~~
<program source>:168:17: warning: comparison of integers of different signs: 'int' and 'unsigned int'
for(int y=0; y<height; y++)
^~~~~~
<program source>:210:1: warning: no previous prototype for function 'lookup_unbounded'
lookup_unbounded(read_only image2d_t lut, const float x, global float *a)

<program source>:255:1: warning: no previous prototype for function 'overlay'
overlay(const float4 in_a, const float4 in_b, const float opacity, const float transform, const float ccorrect,
^

[opencl_init] compiling program `sharpen.cl' ..
[opencl_load_program] loaded cached binary program from file `/Users/emil/.cache/darktable/cached_kernels_for_Iris/sharpen.cl.bin'
[opencl_load_program] successfully loaded program from `/Applications/darktable.app/Contents/Resources/share/darktable/kernels/sharpen.cl'
[opencl_build_program] successfully built program
[opencl_build_program] BUILD STATUS: 0
BUILD LOG:
In file included from <program source>:19:
/Applications/darktable.app/Contents/Resources/share/darktable/kernels/common.h:34:1: warning: no previous prototype for function 'FC'
FC
^
<program source>:144:10: warning: unused variable 'Labmin'
float4 Labmin = (float4)(0.0f, -128.0f, -128.0f, 0.0f);
^
<program source>:145:10: warning: unused variable 'Labmax'
float4 Labmax = (float4)(100.0f, 128.0f, 128.0f, 1.0f);
^

[opencl_init] compiling program `extended.cl' ..
[opencl_load_program] loaded cached binary program from file `/Users/emil/.cache/darktable/cached_kernels_for_Iris/extended.cl.bin'
[opencl_load_program] successfully loaded program from `/Applications/darktable.app/Contents/Resources/share/darktable/kernels/extended.cl'
[opencl_build_program] successfully built program
[opencl_build_program] BUILD STATUS: 0
BUILD LOG:
In file included from <program source>:19:
/Applications/darktable.app/Contents/Resources/share/darktable/kernels/common.h:34:1: warning: no previous prototype for function 'FC'
FC

In file included from <program source>:20:
/Applications/darktable.app/Contents/Resources/share/darktable/kernels/colorspace.cl:20:8: warning: no previous prototype for function 'Lab_2_LCH'
float4 Lab_2_LCH(float4 Lab)
^
/Applications/darktable.app/Contents/Resources/share/darktable/kernels/colorspace.cl:34:8: warning: no previous prototype for function 'LCH_2_Lab'
float4 LCH_2_Lab(float4 LCH)
^
/Applications/darktable.app/Contents/Resources/share/darktable/kernels/colorspace.cl:44:8: warning: no previous prototype for function 'XYZ_to_Lab'
float4 XYZ_to_Lab(float4 xyz)
^
/Applications/darktable.app/Contents/Resources/share/darktable/kernels/colorspace.cl:59:8: warning: no previous prototype for function 'lab_f_inv'
float4 lab_f_inv(float4 x)
^
/Applications/darktable.app/Contents/Resources/share/darktable/kernels/colorspace.cl:67:8: warning: no previous prototype for function 'Lab_to_XYZ'
float4 Lab_to_XYZ(float4 Lab)
^
/Applications/darktable.app/Contents/Resources/share/darktable/kernels/colorspace.cl:80:8: warning: no previous prototype for function 'RGB_2_HSL'
float4 RGB_2_HSL(const float4 RGB)
^
/Applications/darktable.app/Contents/Resources/share/darktable/kernels/colorspace.cl:122:7: warning: no previous prototype for function 'Hue_2_RGB'
float Hue_2_RGB(float v1, float v2, float vH)
^
/Applications/darktable.app/Contents/Resources/share/darktable/kernels/colorspace.cl:134:8: warning: no previous prototype for function 'HSL_2_RGB'
float4 HSL_2_RGB(const float4 HSL)
^
/Applications/darktable.app/Contents/Resources/share/darktable/kernels/colorspace.cl:164:8: warning: no previous prototype for function 'RGB_2_HSV'
float4 RGB_2_HSV(const float4 RGB)
^
/Applications/darktable.app/Contents/Resources/share/darktable/kernels/colorspace.cl:201:8: warning: no previous prototype for function 'HSV_2_RGB'
float4 HSV_2_RGB(const float4 HSV)
^
/Applications/darktable.app/Contents/Resources/share/darktable/kernels/colorspace.cl:246:8: warning: no previous prototype for function 'XYZ_to_sRGB'
float4 XYZ_to_sRGB(float4 XYZ)
^
/Applications/darktable.app/Contents/Resources/share/darktable/kernels/colorspace.cl:260:8: warning: no previous prototype for function 'sRGB_to_XYZ'
float4 sRGB_to_XYZ(float4 sRGB)
^
<program source>:98:1: warning: no previous prototype for function 'GAUSS'
GAUSS

<program source>:259:1: warning: no previous prototype for function 'encrypt_tea'
encrypt_tea(unsigned int *arg)

<program source>:276:1: warning: no previous prototype for function 'tpdf'
tpdf(unsigned int urandom)

[opencl_init] compiling program `soften.cl' ..
[opencl_load_program] loaded cached binary program from file `/Users/emil/.cache/darktable/cached_kernels_for_Iris/soften.cl.bin'
[opencl_load_program] successfully loaded program from `/Applications/darktable.app/Contents/Resources/share/darktable/kernels/soften.cl'
[opencl_build_program] successfully built program
[opencl_build_program] BUILD STATUS: 0
BUILD LOG:
In file included from <program source>:19:
/Applications/darktable.app/Contents/Resources/share/darktable/kernels/common.h:34:1: warning: no previous prototype for function 'FC'
FC
^
In file included from <program source>:20:
/Applications/darktable.app/Contents/Resources/share/darktable/kernels/colorspace.cl:20:8: warning: no previous prototype for function 'Lab_2_LCH'
float4 Lab_2_LCH(float4 Lab)
^
/Applications/darktable.app/Contents/Resources/share/darktable/kernels/colorspace.cl:34:8: warning: no previous prototype for function 'LCH_2_Lab'
float4 LCH_2_Lab(float4 LCH)
^
/Applications/darktable.app/Contents/Resources/share/darktable/kernels/colorspace.cl:44:8: warning: no previous prototype for function 'XYZ_to_Lab'
float4 XYZ_to_Lab(float4 xyz)
^
/Applications/darktable.app/Contents/Resources/share/darktable/kernels/colorspace.cl:59:8: warning: no previous prototype for function 'lab_f_inv'
float4 lab_f_inv(float4 x)
^
/Applications/darktable.app/Contents/Resources/share/darktable/kernels/colorspace.cl:67:8: warning: no previous prototype for function 'Lab_to_XYZ'
float4 Lab_to_XYZ(float4 Lab)
^
/Applications/darktable.app/Contents/Resources/share/darktable/kernels/colorspace.cl:80:8: warning: no previous prototype for function 'RGB_2_HSL'
float4 RGB_2_HSL(const float4 RGB)
^
/Applications/darktable.app/Contents/Resources/share/darktable/kernels/colorspace.cl:122:7: warning: no previous prototype for function 'Hue_2_RGB'
float Hue_2_RGB(float v1, float v2, float vH)
^
/Applications/darktable.app/Contents/Resources/share/darktable/kernels/colorspace.cl:134:8: warning: no previous prototype for function 'HSL_2_RGB'
float4 HSL_2_RGB(const float4 HSL)
^
/Applications/darktable.app/Contents/Resources/share/darktable/kernels/colorspace.cl:164:8: warning: no previous prototype for function 'RGB_2_HSV'
float4 RGB_2_HSV(const float4 RGB)
^
/Applications/darktable.app/Contents/Resources/share/darktable/kernels/colorspace.cl:201:8: warning: no previous prototype for function 'HSV_2_RGB'
float4 HSV_2_RGB(const float4 HSV)
^
/Applications/darktable.app/Contents/Resources/share/darktable/kernels/colorspace.cl:246:8: warning: no previous prototype for function 'XYZ_to_sRGB'
float4 XYZ_to_sRGB(float4 XYZ)
^
/Applications/darktable.app/Contents/Resources/share/darktable/kernels/colorspace.cl:260:8: warning: no previous prototype for function 'sRGB_to_XYZ'
float4 sRGB_to_XYZ(float4 sRGB)
^

[opencl_init] compiling program `bilateral.cl' ..
[opencl_load_program] loaded cached binary program from file `/Users/emil/.cache/darktable/cached_kernels_for_Iris/bilateral.cl.bin'
[opencl_load_program] successfully loaded program from `/Applications/darktable.app/Contents/Resources/share/darktable/kernels/bilateral.cl'
[opencl_build_program] successfully built program
[opencl_build_program] BUILD STATUS: 0
BUILD LOG:
In file included from <program source>:21:
/Applications/darktable.app/Contents/Resources/share/darktable/kernels/common.h:34:1: warning: no previous prototype for function 'FC'
FC

<program source>:24:1: warning: no previous prototype for function 'image_to_grid'
image_to_grid(

<program source>:36:1: warning: no previous prototype for function 'atomic_add_f'
atomic_add_f(
^

[opencl_init] compiling program `denoiseprofile.cl' ..
[opencl_load_program] loaded cached binary program from file `/Users/emil/.cache/darktable/cached_kernels_for_Iris/denoiseprofile.cl.bin'
[opencl_load_program] successfully loaded program from `/Applications/darktable.app/Contents/Resources/share/darktable/kernels/denoiseprofile.cl'
[opencl_build_program] successfully built program
[opencl_build_program] BUILD STATUS: 0
BUILD LOG:
In file included from <program source>:20:
/Applications/darktable.app/Contents/Resources/share/darktable/kernels/common.h:34:1: warning: no previous prototype for function 'FC'
FC

<program source>:29:7: warning: no previous prototype for function 'fast_mexp2f'
float fast_mexp2f(const float x)
^
<program source>:40:7: warning: no previous prototype for function 'ddirac'
float ddirac(const int2 q)
^
<program source>:262:13: warning: unused variable 'gidx'
const int gidx = mad24(y, width, x);
^
<program source>:280:1: warning: no previous prototype for function 'weight'
weight(const float4 c1, const float4 c2, const float inv_sigma2)

[opencl_init] compiling program `bloom.cl' ..
[opencl_load_program] loaded cached binary program from file `/Users/emil/.cache/darktable/cached_kernels_for_Iris/bloom.cl.bin'
[opencl_load_program] successfully loaded program from `/Applications/darktable.app/Contents/Resources/share/darktable/kernels/bloom.cl'
[opencl_build_program] successfully built program
[opencl_build_program] BUILD STATUS: 0
BUILD LOG:
In file included from <program source>:19:
/Applications/darktable.app/Contents/Resources/share/darktable/kernels/common.h:34:1: warning: no previous prototype for function 'FC'
FC
^
In file included from <program source>:20:
/Applications/darktable.app/Contents/Resources/share/darktable/kernels/colorspace.cl:20:8: warning: no previous prototype for function 'Lab_2_LCH'
float4 Lab_2_LCH(float4 Lab)
^
/Applications/darktable.app/Contents/Resources/share/darktable/kernels/colorspace.cl:34:8: warning: no previous prototype for function 'LCH_2_Lab'
float4 LCH_2_Lab(float4 LCH)
^
/Applications/darktable.app/Contents/Resources/share/darktable/kernels/colorspace.cl:44:8: warning: no previous prototype for function 'XYZ_to_Lab'
float4 XYZ_to_Lab(float4 xyz)
^
/Applications/darktable.app/Contents/Resources/share/darktable/kernels/colorspace.cl:59:8: warning: no previous prototype for function 'lab_f_inv'
float4 lab_f_inv(float4 x)
^
/Applications/darktable.app/Contents/Resources/share/darktable/kernels/colorspace.cl:67:8: warning: no previous prototype for function 'Lab_to_XYZ'
float4 Lab_to_XYZ(float4 Lab)
^
/Applications/darktable.app/Contents/Resources/share/darktable/kernels/colorspace.cl:80:8: warning: no previous prototype for function 'RGB_2_HSL'
float4 RGB_2_HSL(const float4 RGB)
^
/Applications/darktable.app/Contents/Resources/share/darktable/kernels/colorspace.cl:122:7: warning: no previous prototype for function 'Hue_2_RGB'
float Hue_2_RGB(float v1, float v2, float vH)
^
/Applications/darktable.app/Contents/Resources/share/darktable/kernels/colorspace.cl:134:8: warning: no previous prototype for function 'HSL_2_RGB'
float4 HSL_2_RGB(const float4 HSL)
^
/Applications/darktable.app/Contents/Resources/share/darktable/kernels/colorspace.cl:164:8: warning: no previous prototype for function 'RGB_2_HSV'
float4 RGB_2_HSV(const float4 RGB)
^
/Applications/darktable.app/Contents/Resources/share/darktable/kernels/colorspace.cl:201:8: warning: no previous prototype for function 'HSV_2_RGB'
float4 HSV_2_RGB(const float4 HSV)
^
/Applications/darktable.app/Contents/Resources/share/darktable/kernels/colorspace.cl:246:8: warning: no previous prototype for function 'XYZ_to_sRGB'
float4 XYZ_to_sRGB(float4 XYZ)
^
/Applications/darktable.app/Contents/Resources/share/darktable/kernels/colorspace.cl:260:8: warning: no previous prototype for function 'sRGB_to_XYZ'
float4 sRGB_to_XYZ(float4 sRGB)
^

[opencl_init] kernel loading time: 0.0028
[opencl_init] OpenCL successfully initialized.
[opencl_init] here are the internal numbers and names of OpenCL devices available to darktable:
[opencl_init] 0 'Iris'
[opencl_init] these are your device priorities:
[opencl_init] image preview export thumbnail
[opencl_init] 0 -1 0 0
[opencl_init] FINALLY: opencl is AVAILABLE on this system.
[opencl_init] initial status of opencl enabled flag is OFF.
[opencl_create_kernel] successfully loaded kernel `zero' (0) for device 0
[opencl_create_kernel] successfully loaded kernel `splat' (1) for device 0
[opencl_create_kernel] successfully loaded kernel `blur_line' (2) for device 0
[opencl_create_kernel] successfully loaded kernel `blur_line_z' (3) for device 0
[opencl_create_kernel] successfully loaded kernel `slice' (4) for device 0
[opencl_create_kernel] successfully loaded kernel `slice_to_output' (5) for device 0
[opencl_create_kernel] successfully loaded kernel `gaussian_column_1c' (6) for device 0
[opencl_create_kernel] successfully loaded kernel `gaussian_transpose_1c' (7) for device 0
[opencl_create_kernel] successfully loaded kernel `gaussian_column_4c' (8) for device 0
[opencl_create_kernel] successfully loaded kernel `gaussian_transpose_4c' (9) for device 0
[opencl_create_kernel] successfully loaded kernel `interpolation_resample' (10) for device 0
[opencl_create_kernel] successfully loaded kernel `blendop_mask_Lab' (11) for device 0
[opencl_create_kernel] successfully loaded kernel `blendop_mask_RAW' (12) for device 0
[opencl_create_kernel] successfully loaded kernel `blendop_mask_rgb' (13) for device 0
[opencl_create_kernel] successfully loaded kernel `blendop_Lab' (14) for device 0
[opencl_create_kernel] successfully loaded kernel `blendop_RAW' (15) for device 0
[opencl_create_kernel] successfully loaded kernel `blendop_rgb' (16) for device 0
[opencl_create_kernel] successfully loaded kernel `blendop_copy_alpha' (17) for device 0
[opencl_create_kernel] successfully loaded kernel `blendop_set_mask' (18) for device 0
[opencl_create_kernel] successfully loaded kernel `eaw_decompose' (19) for device 0
[opencl_create_kernel] successfully loaded kernel `eaw_synthesize' (20) for device 0
[opencl_create_kernel] successfully loaded kernel `basecurve' (21) for device 0
[opencl_create_kernel] successfully loaded kernel `bloom_threshold' (22) for device 0
[opencl_create_kernel] successfully loaded kernel `bloom_hblur' (23) for device 0
[opencl_create_kernel] successfully loaded kernel `bloom_vblur' (24) for device 0
[opencl_create_kernel] successfully loaded kernel `bloom_mix' (25) for device 0
[opencl_create_kernel] successfully loaded kernel `borders_fill' (26) for device 0
[opencl_create_kernel] successfully loaded kernel `channelmixer' (27) for device 0
[opencl_create_kernel] successfully loaded kernel `clip_rotate_bilinear' (28) for device 0
[opencl_create_kernel] successfully loaded kernel `clip_rotate_bicubic' (29) for device 0
[opencl_create_kernel] successfully loaded kernel `clip_rotate_lanczos2' (30) for device 0
[opencl_create_kernel] successfully loaded kernel `clip_rotate_lanczos3' (31) for device 0
[opencl_create_kernel] successfully loaded kernel `colisa' (32) for device 0
[opencl_create_kernel] successfully loaded kernel `colorbalance' (33) for device 0
[opencl_create_kernel] successfully loaded kernel `colorcontrast' (34) for device 0
[opencl_create_kernel] successfully loaded kernel `colorcorrection' (35) for device 0
[opencl_create_kernel] successfully loaded kernel `colorin_unbound' (36) for device 0
[opencl_create_kernel] successfully loaded kernel `colorin_clipping' (37) for device 0
[opencl_create_kernel] successfully loaded kernel `colorize' (38) for device 0
[opencl_create_kernel] successfully loaded kernel `colormapping_histogram' (39) for device 0
[opencl_create_kernel] successfully loaded kernel `colormapping_mapping' (40) for device 0
[opencl_create_kernel] successfully loaded kernel `colorout' (41) for device 0
[opencl_create_kernel] successfully loaded kernel `colorzones' (42) for device 0
[opencl_create_kernel] successfully loaded kernel `clip_and_zoom_demosaic_half_size' (43) for device 0
[opencl_create_kernel] successfully loaded kernel `ppg_demosaic_green' (44) for device 0
[opencl_create_kernel] successfully loaded kernel `green_equilibration' (45) for device 0
[opencl_create_kernel] successfully loaded kernel `pre_median' (46) for device 0
[opencl_create_kernel] successfully loaded kernel `ppg_demosaic_green_median' (47) for device 0
[opencl_create_kernel] successfully loaded kernel `ppg_demosaic_redblue' (48) for device 0
[opencl_create_kernel] successfully loaded kernel `clip_and_zoom' (49) for device 0
[opencl_create_kernel] successfully loaded kernel `border_interpolate' (50) for device 0
[opencl_create_kernel] successfully loaded kernel `color_smoothing' (51) for device 0
[opencl_create_kernel] successfully loaded kernel `denoiseprofile_precondition' (52) for device 0
[opencl_create_kernel] successfully loaded kernel `denoiseprofile_init' (53) for device 0
[opencl_create_kernel] successfully loaded kernel `denoiseprofile_dist' (54) for device 0
[opencl_create_kernel] successfully loaded kernel `denoiseprofile_horiz' (55) for device 0
[opencl_create_kernel] successfully loaded kernel `denoiseprofile_vert' (56) for device 0
[opencl_create_kernel] successfully loaded kernel `denoiseprofile_accu' (57) for device 0
[opencl_create_kernel] successfully loaded kernel `denoiseprofile_finish' (58) for device 0
[opencl_create_kernel] successfully loaded kernel `denoiseprofile_backtransform' (59) for device 0
[opencl_create_kernel] successfully loaded kernel `denoiseprofile_decompose' (60) for device 0
[opencl_create_kernel] successfully loaded kernel `denoiseprofile_synthesize' (61) for device 0
[opencl_create_kernel] successfully loaded kernel `denoiseprofile_reduce_first' (62) for device 0
[opencl_create_kernel] successfully loaded kernel `denoiseprofile_reduce_second' (63) for device 0
[opencl_create_kernel] successfully loaded kernel `exposure' (64) for device 0
[opencl_create_kernel] successfully loaded kernel `flip' (65) for device 0
[opencl_create_kernel] successfully loaded kernel `pixelmax_first' (66) for device 0
[opencl_create_kernel] successfully loaded kernel `pixelmax_second' (67) for device 0
[opencl_create_kernel] successfully loaded kernel `global_tonemap_reinhard' (68) for device 0
[opencl_create_kernel] successfully loaded kernel `global_tonemap_drago' (69) for device 0
[opencl_create_kernel] successfully loaded kernel `global_tonemap_filmic' (70) for device 0
[opencl_create_kernel] successfully loaded kernel `graduatedndp' (71) for device 0
[opencl_create_kernel] successfully loaded kernel `graduatedndm' (72) for device 0
[opencl_create_kernel] successfully loaded kernel `highlights_1f' (73) for device 0
[opencl_create_kernel] successfully loaded kernel `highlights_4f' (74) for device 0
[opencl_create_kernel] successfully loaded kernel `highpass_invert' (75) for device 0
[opencl_create_kernel] successfully loaded kernel `highpass_hblur' (76) for device 0
[opencl_create_kernel] successfully loaded kernel `highpass_vblur' (77) for device 0
[opencl_create_kernel] successfully loaded kernel `highpass_mix' (78) for device 0
[opencl_create_kernel] successfully loaded kernel `invert_1f' (79) for device 0
[opencl_create_kernel] successfully loaded kernel `invert_4f' (80) for device 0
[opencl_create_kernel] successfully loaded kernel `lens_distort_bilinear' (81) for device 0
[opencl_create_kernel] successfully loaded kernel `lens_distort_bicubic' (82) for device 0
[opencl_create_kernel] successfully loaded kernel `lens_distort_lanczos2' (83) for device 0
[opencl_create_kernel] successfully loaded kernel `lens_distort_lanczos3' (84) for device 0
[opencl_create_kernel] successfully loaded kernel `lens_vignette' (85) for device 0
[opencl_create_kernel] successfully loaded kernel `letsgofloat_1ui' (86) for device 0
[opencl_create_kernel] successfully loaded kernel `levels' (87) for device 0
[opencl_create_kernel] successfully loaded kernel `lowlight' (88) for device 0
[opencl_create_kernel] successfully loaded kernel `lowpass_mix' (89) for device 0
[opencl_create_kernel] successfully loaded kernel `monochrome_filter' (90) for device 0
[opencl_create_kernel] successfully loaded kernel `monochrome' (91) for device 0
[opencl_create_kernel] successfully loaded kernel `nlmeans_init' (92) for device 0
[opencl_create_kernel] successfully loaded kernel `nlmeans_dist' (93) for device 0
[opencl_create_kernel] successfully loaded kernel `nlmeans_horiz' (94) for device 0
[opencl_create_kernel] successfully loaded kernel `nlmeans_vert' (95) for device 0
[opencl_create_kernel] successfully loaded kernel `nlmeans_accu' (96) for device 0
[opencl_create_kernel] successfully loaded kernel `nlmeans_finish' (97) for device 0
[opencl_create_kernel] successfully loaded kernel `overexposed' (98) for device 0
[opencl_create_kernel] successfully loaded kernel `profilegamma' (99) for device 0
[opencl_create_kernel] successfully loaded kernel `relight' (100) for device 0
[opencl_create_kernel] successfully loaded kernel `shadows_highlights_mix' (101) for device 0
[opencl_create_kernel] successfully loaded kernel `sharpen_hblur' (102) for device 0
[opencl_create_kernel] successfully loaded kernel `sharpen_vblur' (103) for device 0
[opencl_create_kernel] successfully loaded kernel `sharpen_mix' (104) for device 0
[opencl_create_kernel] successfully loaded kernel `soften_overexposed' (105) for device 0
[opencl_create_kernel] successfully loaded kernel `soften_hblur' (106) for device 0
[opencl_create_kernel] successfully loaded kernel `soften_vblur' (107) for device 0
[opencl_create_kernel] successfully loaded kernel `soften_mix' (108) for device 0
[opencl_create_kernel] successfully loaded kernel `splittoning' (109) for device 0
[opencl_create_kernel] successfully loaded kernel `whitebalance_4f' (110) for device 0
[opencl_create_kernel] successfully loaded kernel `whitebalance_1f' (111) for device 0
[opencl_create_kernel] successfully loaded kernel `tonecurve' (112) for device 0
[opencl_create_kernel] successfully loaded kernel `velvia' (113) for device 0
[opencl_create_kernel] successfully loaded kernel `vibrance' (114) for device 0
[opencl_create_kernel] successfully loaded kernel `vignette' (115) for device 0
[opencl_create_kernel] successfully loaded kernel `zonesystem' (116) for device 0

test.txt (36.8 KB) test.txt Console Output Emil Wabra, 01/07/2015 08:45 PM

Related issues

Is duplicate of darktable - Bug #10221: Intel OpenCL is not working on OS XNew12/09/2014

History

#1 Updated by Ulrich Pegelow about 5 years ago

Hi,

this is a known issue which seems to hit (MacOS X) users with Intel IRIS graphics cards. We assume that there are issues with the current OpenCL driver for that hardware. None of the developers has access to such a system so we are not able to track the issue and look for possible workarounds.

Currently you will need to live without OpenCL on your system.

Ulrich

#2 Updated by Igor Kuzmin about 5 years ago

  • Is duplicate of Bug #10221: Intel OpenCL is not working on OS X added

#3 Updated by Igor Kuzmin about 5 years ago

  • Status changed from New to Duplicate

Also available in: Atom PDF

Go to top