It is not yet fixed unfortunately. More opencl files are compiled successfully 
now, but then it encounters one that doesn't, with the same error, and it 
disables OpenCL. Log below:
…
[opencl_build_program] saving binary
[opencl_init] compiling program `highpass.cl' ..
[opencl_load_program] could not load cached binary program, trying to compile 
source
[opencl_load_program] successfully loaded program from 
`~/Applications/Darktable.app/Contents/Resources/share/darktable/kernels/highpass.cl'
[opencl_build_program] could not build program: -11
[opencl_build_program] BUILD STATUS: -2
BUILD LOG:
<program source>:19:10: fatal error: 'common.h' file not found
#include "common.h"
         ^

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



> On 4 Dec 2017, at 11:57, parafin <[email protected]> wrote:
> 
> Thanks for reporting it, hopefully it will be fixed in next rc.
> 
> 
> On Mon, 4 Dec 2017 09:51:35 +0200
> Sarge Borsch <[email protected] <mailto:[email protected]>> 
> wrote:
> 
>> Sounds great!
>> But, I've tried launching it and in the settings it says that OpenCL support 
>> is not available. 2.2.x versions didn't say so (but I'm not sure if OpenCL 
>> actually worked ever, though…)
>> My hardware is MacBookPro11,3 with NVIDIA GeForce GT 750M and with removed 
>> battery.
>> OS = macOS 10.12.6 (16G1036).
>> I've tried to disable automatic graphic switching in system settings (so 
>> that it should use the nvidia GPU always), it didn't change anything.
>> Should I put that into the bug tracker, or it's not supposed to work on this 
>> hardware?
>> According to https://support.apple.com/en-us/HT202823 my hardware should 
>> have support for OpenCL 1.2.
>> I've tried to run it with "-d opencl" option and this is the relevant part 
>> of the log I've got:
>> 
>> [opencl_init] compiling program `atrous.cl' ..
>> [opencl_fopen_stat] could not open file 
>> `~/.cache/darktable/cached_kernels_for_GeForceGT750M/atrous.cl.bin'!
>> [opencl_load_program] could not load cached binary program, trying to 
>> compile source
>> [opencl_load_program] successfully loaded program from 
>> `~/Applications/darktable.app/Contents/Resources/share/darktable/kernels/atrous.cl'
>> [opencl_build_program] could not build program: -11
>> [opencl_build_program] BUILD STATUS: -2
>> BUILD LOG:
>> <program source>:19:10: fatal error: 'common.h' file not found
>> #include "common.h"
>>         ^
>> 
>> [opencl_init] failed to compile program `atrous.cl'!
>> [opencl_init] FINALLY: opencl is NOT AVAILABLE on this system.
>> [opencl_init] initial status of opencl enabled flag is OFF.
> ____________________________________________________________________________
> darktable user mailing list
> to unsubscribe send a mail to [email protected] 
> <mailto:[email protected]>

____________________________________________________________________________
darktable user mailing list
to unsubscribe send a mail to [email protected]

Reply via email to