Project

General

Profile

Bug #11648

[2.2.5] Blacklisted Beignet crashes making darktable crashing too

Added by Germano Massullo 11 months ago. Updated 4 months ago.

Status:
New
Priority:
Low
Category:
-
Target version:
-
Start date:
06/10/2017
Due date:
% Done:

0%

Affected Version:
git master branch
System:
all
bitness:
64-bit
hardware architecture:
amd64/x86

Description

At [1] there is a crashreport where Beignet crashes making darktable crashing too. Since Beignet OpenCL driver is blacklisted [2], this should not happen

[1]: https://bugzilla.redhat.com/show_bug.cgi?id=1460400#c10
[2]: https://github.com/darktable-org/darktable/blob/master/src/common/opencl_drivers_blacklist.h#L27

opencl_log.txt Magnifier (8.82 KB) Bruno Pagani, 06/17/2017 11:12 PM

History

#1 Updated by Roman Lebedev 11 months ago

  • Project changed from website to darktable
  • hardware architecture set to amd64/x86
  • bitness set to 64-bit
  • System set to all
  • Affected Version set to git master branch
  • Assignee set to Ulrich Pegelow

More specifically, the bt: https://bugzilla.redhat.com/attachment.cgi?id=1286666

Thread 1 (Thread 0x7ffff7ee0b40 (LWP 14881)):
#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#1  0x00007fffef8c7450 in __GI_abort () at abort.c:89
#2  0x00007fffef8bdd1a in __assert_fail_base (fmt=0x7fffefa276c0 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", 
    assertion=assertion@entry=0x7fffb10c2f10 "isa<X>(Val) && \"cast<Ty>() argument of incompatible type!\"", file=file@entry=0x7fffb10c0448 "/usr/include/llvm/Support/Casting.h", 
    line=line@entry=236, 
    function=function@entry=0x7fffb10cdb20 <_ZZN4llvm4castINS_13CompositeTypeENS_4TypeEEENS_10cast_rettyIT_PT0_E8ret_typeES6_E19__PRETTY_FUNCTION__> "typename llvm::cast_retty<X, Y*>::ret_type llvm::cast(Y*) [with X = llvm::CompositeType; Y = llvm::Type; typename llvm::cast_retty<X, Y*>::ret_type = llvm::CompositeType*]") at assert.c:92
#3  0x00007fffef8bdd92 in __GI___assert_fail (assertion=assertion@entry=0x7fffb10c2f10 "isa<X>(Val) && \"cast<Ty>() argument of incompatible type!\"", 
    file=file@entry=0x7fffb10c0448 "/usr/include/llvm/Support/Casting.h", line=line@entry=236, 
    function=function@entry=0x7fffb10cdb20 <_ZZN4llvm4castINS_13CompositeTypeENS_4TypeEEENS_10cast_rettyIT_PT0_E8ret_typeES6_E19__PRETTY_FUNCTION__> "typename llvm::cast_retty<X, Y*>::ret_type llvm::cast(Y*) [with X = llvm::CompositeType; Y = llvm::Type; typename llvm::cast_retty<X, Y*>::ret_type = llvm::CompositeType*]") at assert.c:101
#4  0x00007fffb0f7ef55 in llvm::cast<llvm::CompositeType, llvm::Type> (Val=<optimized out>) at /usr/include/llvm/Support/Casting.h:236
#5  gbe::GenRemoveGEPPasss::simplifyGEPInstructions (this=this@entry=0x555556009c30, GEPInst=0x555555c28090) at /usr/src/debug/Beignet-1.3.1-Source/backend/src/llvm/llvm_passes.cpp:254
#6  0x00007fffb0f7f331 in gbe::GenRemoveGEPPasss::runOnBasicBlock (this=0x555556009c30, BB=...) at /usr/src/debug/Beignet-1.3.1-Source/backend/src/llvm/llvm_passes.cpp:242

#7  0x00007fffb63f1f1d in (anonymous namespace)::BBPassManager::runOnFunction (this=0x555555d2a150, F=...) at /usr/src/debug/llvm-4.0.0.src/lib/IR/LegacyPassManager.cpp:1296
#8  0x00007fffb63f21e6 in llvm::FPPassManager::runOnFunction (this=this@entry=0x55555607a7e0, F=...) at /usr/src/debug/llvm-4.0.0.src/lib/IR/LegacyPassManager.cpp:1513
#9  0x00007fffb6ee8748 in (anonymous namespace)::CGPassManager::RunPassOnSCC (DevirtualizedCall=<synthetic pointer>: <optimized out>, 
    CallGraphUpToDate=<synthetic pointer>: <optimized out>, CG=..., CurSCC=..., P=0x55555607a7e0, this=0x55555606ff70)
    at /usr/src/debug/llvm-4.0.0.src/lib/Analysis/CallGraphSCCPass.cpp:149
#10 (anonymous namespace)::CGPassManager::RunAllPassesOnSCC (DevirtualizedCall=<synthetic pointer>: <optimized out>, CG=..., CurSCC=..., this=0x55555606ff70)
    at /usr/src/debug/llvm-4.0.0.src/lib/Analysis/CallGraphSCCPass.cpp:417
#11 (anonymous namespace)::CGPassManager::runOnModule (this=0x55555606ff70, M=...) at /usr/src/debug/llvm-4.0.0.src/lib/Analysis/CallGraphSCCPass.cpp:473
#12 0x00007fffb63f1b1f in (anonymous namespace)::MPPassManager::runOnModule (M=..., this=0x555555d5c680) at /usr/src/debug/llvm-4.0.0.src/lib/IR/LegacyPassManager.cpp:1590
#13 llvm::legacy::PassManagerImpl::run (this=0x55555606e5f0, M=...) at /usr/src/debug/llvm-4.0.0.src/lib/IR/LegacyPassManager.cpp:1693
#14 0x00007fffb63f1cc9 in llvm::legacy::PassManager::run (this=this@entry=0x7fffffff8d20, M=...) at /usr/src/debug/llvm-4.0.0.src/lib/IR/LegacyPassManager.cpp:1724
#15 0x00007fffb0fb4bfb in gbe::llvmToGen (unit=..., fileName=fileName@entry=0x0, module=<optimized out>, optLevel=optLevel@entry=1, strictMath=strictMath@entry=true, profiling=0, 
    errors="") at /usr/src/debug/Beignet-1.3.1-Source/backend/src/llvm/llvm_to_gen.cpp:417
#16 0x00007fffb0f22db3 in gbe::Program::buildFromLLVMFile (this=this@entry=0x555555d2f9b0, fileName=fileName@entry=0x0, module=module@entry=0x555555d284c0, error="", 
    optLevel=optLevel@entry=1) at /usr/src/debug/Beignet-1.3.1-Source/backend/src/backend/program.cpp:136
#17 0x00007fffb1097c63 in gbe::genProgramNewFromLLVM (deviceID=22806, fileName=0x0, module=0x555555d284c0, llvm_ctx=0x555555c26970, asm_file_name=<optimized out>, stringSize=1048576, 
---Type <return> to continue, or q <return> to quit---
    err=0x7fffb4089010 "", errSize=0x555555c26730, optLevel=1, options=0x7fffb178e058 "") at /usr/src/debug/Beignet-1.3.1-Source/backend/src/backend/gen_program.cpp:457
#18 0x00007fffb0f330a4 in gbe::programNewFromSource (deviceID=22806, source=<optimized out>, stringSize=1048576, options=0x7fffb178e058 "", err=0x7fffb4089010 "", 
    errSize=0x555555c26730) at /usr/src/debug/Beignet-1.3.1-Source/backend/src/backend/program.cpp:1097
#19 0x00007fffb1768261 in cl_program_build (p=p@entry=0x555555c26620, options=options@entry=0x7fffb178e058 "") at /usr/src/debug/Beignet-1.3.1-Source/src/cl_program.c:626
#20 0x00007fffb175d3d5 in clBuildProgram (program=0x555555c26620, num_devices=<optimized out>, device_list=<optimized out>, options=0x7fffb178e058 "", pfn_notify=0x0, user_data=0x0)
    at /usr/src/debug/Beignet-1.3.1-Source/src/cl_api.c:835
#21 0x00007fffb177607d in cl_self_test (device=<optimized out>, device@entry=0x7fffb19ca440 <intel_kbl_gt2_device>, atomic_in_l3_flag=atomic_in_l3_flag@entry=SELF_TEST_PASS)
    at /usr/src/debug/Beignet-1.3.1-Source/src/cl_device_id.c:831
#22 0x00007fffb177622a in cl_get_device_ids (platform=<optimized out>, device_type=<optimized out>, num_entries=<optimized out>, devices=0x0, num_devices=0x555555c23eb0)
    at /usr/src/debug/Beignet-1.3.1-Source/src/cl_device_id.c:886
#23 0x00007fffd02e3162 in clGetDeviceIDs (platform=0x7fffb19c9440 <intel_platform_data>, device_type=device_type@entry=4, num_entries=num_entries@entry=0, devices=devices@entry=0x0, 
    num_devices=num_devices@entry=0x555555c23eb0) at ocl_icd_loader_gen.c:58
#24 0x00007fffd02d9fba in _count_devices (p=0x555555c23e90) at ocl_icd_loader.c:326
#25 _sort_platforms (npicds=3, picds=0x555555c23e30) at ocl_icd_loader.c:377
#26 _find_and_check_platforms (num_icds=<optimized out>) at ocl_icd_loader.c:575
#27 __initClIcd () at ocl_icd_loader.c:652
#28 _initClIcd_real () at ocl_icd_loader.c:702
#29 0x00007fffd02db994 in _initClIcd () at ocl_icd_loader.c:724
#30 clGetPlatformIDs (num_entries=5, platforms=0x555555b55b10, num_platforms=0x7fffffff97fc) at ocl_icd_loader.c:846
#31 0x00007ffff79b096c in dt_opencl_init (cl=0x5555558efcd0, exclude_opencl=exclude_opencl@entry=0, print_statistics=print_statistics@entry=-1)
    at /usr/src/debug/darktable-2.2.5/src/common/opencl.c:577
#32 0x00007ffff7958eff in dt_init (argc=<optimized out>, argv=<optimized out>, init_gui=<optimized out>, load_data=<optimized out>, L=<optimized out>)
    at /usr/src/debug/darktable-2.2.5/src/common/darktable.c:868
#33 0x0000555555554b26 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/darktable-2.2.5/src/main.c:24

So it is pretty obvious that we can't even get the driver name yet, it crashed (inside the driver!) on the very first call.
What i'm wondering is, would it be possible to somehow move opencl init into separate sandbox thread (process?), so that if it crashes, we can just gracefully ignore it?

#2 Updated by Ulrich Pegelow 11 months ago

It's alway possible to start darktable with '--disable-opencl' thereby effectively bypassing any OpenCL initialization. I'm feeling reluctant to implement any further even more complicated ways of dealing with hopelessly broken drivers.

#3 Updated by Bruno Pagani 10 months ago

This is strange. I’m also having beignet on my system (but ArchLinux here, not Fedora, through we use the same version of LLVM, beignet and darktable), and it does not do that unless I explicitely whitelist beignet (by setting opencl_disable_drivers_blacklist=true). I’m reporting the bug against beignet upstream anyway, but regarding this report I would say that I’ve never seen the original reporter say whether they whitelisted beignet or not… I guess they in fact did.

#4 Updated by Roman Lebedev 10 months ago

Bruno Pagani wrote:

This is strange. I’m also having beignet on my system (but ArchLinux here, not Fedora, through we use the same version of LLVM, beignet and darktable), and it does not do that unless I explicitely whitelist beignet (by setting opencl_disable_drivers_blacklist=true). I’m reporting the bug against beignet upstream anyway, but regarding this report I would say that I’ve never seen the original reporter say whether they whitelisted beignet or not… I guess they in fact did.

Pretty sure that ^ crash happens before blacklist can have any effect.

#5 Updated by Bruno Pagani 10 months ago

Hum… On my system:
– without whitelisting:
$ darktable -d opencl
[opencl_init] opencl related configuration options:
[opencl_init]
[opencl_init] opencl: 1
[opencl_init] opencl_library: ''
[opencl_init] opencl_memory_requirement: 768
[opencl_init] opencl_memory_headroom: 300
[opencl_init] opencl_device_priority: '*/!0,*/*/*'
[opencl_init] opencl_size_roundup: 16
[opencl_init] opencl_async_pixelpipe: 0
[opencl_init] opencl_synch_cache: 0
[opencl_init] opencl_number_event_handles: 25
[opencl_init] opencl_micro_nap: 1000
[opencl_init] opencl_use_pinned_memory: 0
[opencl_init] opencl_use_cpu_devices: 0
[opencl_init] opencl_avoid_atomics: 0
[opencl_init] opencl_enable_markesteijn: 1
[opencl_init]
[opencl_init] found opencl runtime library 'libOpenCL'
[opencl_init] opencl library 'libOpenCL' found on your system and loaded
[opencl_init] found 1 platform
[opencl_init] found 1 device
[opencl_init] discarding device 0 `Intel(R) HD Graphics Skylake Halo GT2' because the driver `OpenCL 2.0 beignet 1.3' is blacklisted.
[opencl_init] no suitable devices found.
[opencl_init] FINALLY: opencl is NOT AVAILABLE on this system.
[opencl_init] initial status of opencl enabled flag is OFF.

– with whitelisting: see attached file.

#6 Updated by Bruno Pagani 4 months ago

For the record, recompiling beignet against LLVM 3.9 instead of 4.x solved the issue and OpenCL is then working in Darktable:

[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_enable_markesteijn: 1
[opencl_init] 
[opencl_init] found opencl runtime library 'libOpenCL'
[opencl_init] opencl library 'libOpenCL' found on your system and loaded
[opencl_init] found 1 platform
[opencl_init] found 1 device
[opencl_init] device 0 `Intel(R) HD Graphics Skylake Halo GT2' supports image sizes of 8192 x 8192
[opencl_init] device 0 `Intel(R) HD Graphics Skylake Halo GT2' allows GPU memory allocations of up to 3072MB
[opencl_init] device 0: Intel(R) HD Graphics Skylake Halo GT2 
     GLOBAL_MEM_SIZE:          4096MB
     MAX_WORK_GROUP_SIZE:      512
     MAX_WORK_ITEM_DIMENSIONS: 3
     MAX_WORK_ITEM_SIZES:      [ 512 512 512 ]
     DRIVER_VERSION:           1.3
     DEVICE_VERSION:           OpenCL 2.0 beignet 1.3
[opencl_init] compiling program `demosaic_ppg.cl' ..
[opencl_fopen_stat] could not open file `/home/archange/.cache/darktable/cached_kernels_for_IntelRHDGraphicsSkylakeHaloGT2/demosaic_ppg.cl.bin'!
[opencl_load_program] could not load cached binary program, trying to compile source
[opencl_load_program] successfully loaded program from `/usr/share/darktable/kernels/demosaic_ppg.cl'
[opencl_build_program] successfully built program
[opencl_build_program] BUILD STATUS: 0
BUILD LOG:

[opencl_build_program] saving binary
[opencl_init] compiling program `atrous.cl' ..
[opencl_fopen_stat] could not open file `/home/archange/.cache/darktable/cached_kernels_for_IntelRHDGraphicsSkylakeHaloGT2/atrous.cl.bin'!
[opencl_load_program] could not load cached binary program, trying to compile source
[opencl_load_program] successfully loaded program from `/usr/share/darktable/kernels/atrous.cl'
[opencl_build_program] successfully built program
[opencl_build_program] BUILD STATUS: 0
BUILD LOG:

[opencl_build_program] saving binary
[opencl_init] compiling program `basic.cl' ..
[opencl_fopen_stat] could not open file `/home/archange/.cache/darktable/cached_kernels_for_IntelRHDGraphicsSkylakeHaloGT2/basic.cl.bin'!
[opencl_load_program] could not load cached binary program, trying to compile source
[opencl_load_program] successfully loaded program from `/usr/share/darktable/kernels/basic.cl'
[opencl_build_program] successfully built program
[opencl_build_program] BUILD STATUS: 0
BUILD LOG:

[opencl_build_program] saving binary
[opencl_init] compiling program `blendop.cl' ..
[opencl_fopen_stat] could not open file `/home/archange/.cache/darktable/cached_kernels_for_IntelRHDGraphicsSkylakeHaloGT2/blendop.cl.bin'!
[opencl_load_program] could not load cached binary program, trying to compile source
[opencl_load_program] successfully loaded program from `/usr/share/darktable/kernels/blendop.cl'
[opencl_build_program] successfully built program
[opencl_build_program] BUILD STATUS: 0
BUILD LOG:

[opencl_build_program] saving binary
[opencl_init] compiling program `highpass.cl' ..
[opencl_fopen_stat] could not open file `/home/archange/.cache/darktable/cached_kernels_for_IntelRHDGraphicsSkylakeHaloGT2/highpass.cl.bin'!
[opencl_load_program] could not load cached binary program, trying to compile source
[opencl_load_program] successfully loaded program from `/usr/share/darktable/kernels/highpass.cl'
[opencl_build_program] successfully built program
[opencl_build_program] BUILD STATUS: 0
BUILD LOG:

[opencl_build_program] saving binary
[opencl_init] compiling program `nlmeans.cl' ..
[opencl_fopen_stat] could not open file `/home/archange/.cache/darktable/cached_kernels_for_IntelRHDGraphicsSkylakeHaloGT2/nlmeans.cl.bin'!
[opencl_load_program] could not load cached binary program, trying to compile source
[opencl_load_program] successfully loaded program from `/usr/share/darktable/kernels/nlmeans.cl'
[opencl_build_program] successfully built program
[opencl_build_program] BUILD STATUS: 0
BUILD LOG:

[opencl_build_program] saving binary
[opencl_init] compiling program `gaussian.cl' ..
[opencl_fopen_stat] could not open file `/home/archange/.cache/darktable/cached_kernels_for_IntelRHDGraphicsSkylakeHaloGT2/gaussian.cl.bin'!
[opencl_load_program] could not load cached binary program, trying to compile source
[opencl_load_program] successfully loaded program from `/usr/share/darktable/kernels/gaussian.cl'
[opencl_build_program] successfully built program
[opencl_build_program] BUILD STATUS: 0
BUILD LOG:

[opencl_build_program] saving binary
[opencl_init] compiling program `sharpen.cl' ..
[opencl_fopen_stat] could not open file `/home/archange/.cache/darktable/cached_kernels_for_IntelRHDGraphicsSkylakeHaloGT2/sharpen.cl.bin'!
[opencl_load_program] could not load cached binary program, trying to compile source
[opencl_load_program] successfully loaded program from `/usr/share/darktable/kernels/sharpen.cl'
[opencl_build_program] successfully built program
[opencl_build_program] BUILD STATUS: 0
BUILD LOG:

[opencl_build_program] saving binary
[opencl_init] compiling program `extended.cl' ..
[opencl_fopen_stat] could not open file `/home/archange/.cache/darktable/cached_kernels_for_IntelRHDGraphicsSkylakeHaloGT2/extended.cl.bin'!
[opencl_load_program] could not load cached binary program, trying to compile source
[opencl_load_program] successfully loaded program from `/usr/share/darktable/kernels/extended.cl'
[opencl_build_program] successfully built program
[opencl_build_program] BUILD STATUS: 0
BUILD LOG:

[opencl_build_program] saving binary
[opencl_init] compiling program `soften.cl' ..
[opencl_fopen_stat] could not open file `/home/archange/.cache/darktable/cached_kernels_for_IntelRHDGraphicsSkylakeHaloGT2/soften.cl.bin'!
[opencl_load_program] could not load cached binary program, trying to compile source
[opencl_load_program] successfully loaded program from `/usr/share/darktable/kernels/soften.cl'
[opencl_build_program] successfully built program
[opencl_build_program] BUILD STATUS: 0
BUILD LOG:

[opencl_build_program] saving binary
[opencl_init] compiling program `bilateral.cl' ..
[opencl_fopen_stat] could not open file `/home/archange/.cache/darktable/cached_kernels_for_IntelRHDGraphicsSkylakeHaloGT2/bilateral.cl.bin'!
[opencl_load_program] could not load cached binary program, trying to compile source
[opencl_load_program] successfully loaded program from `/usr/share/darktable/kernels/bilateral.cl'
[opencl_build_program] successfully built program
[opencl_build_program] BUILD STATUS: 0
BUILD LOG:

[opencl_build_program] saving binary
[opencl_init] compiling program `denoiseprofile.cl' ..
[opencl_fopen_stat] could not open file `/home/archange/.cache/darktable/cached_kernels_for_IntelRHDGraphicsSkylakeHaloGT2/denoiseprofile.cl.bin'!
[opencl_load_program] could not load cached binary program, trying to compile source
[opencl_load_program] successfully loaded program from `/usr/share/darktable/kernels/denoiseprofile.cl'
[opencl_build_program] successfully built program
[opencl_build_program] BUILD STATUS: 0
BUILD LOG:

[opencl_build_program] saving binary
[opencl_init] compiling program `bloom.cl' ..
[opencl_fopen_stat] could not open file `/home/archange/.cache/darktable/cached_kernels_for_IntelRHDGraphicsSkylakeHaloGT2/bloom.cl.bin'!
[opencl_load_program] could not load cached binary program, trying to compile source
[opencl_load_program] successfully loaded program from `/usr/share/darktable/kernels/bloom.cl'
[opencl_build_program] successfully built program
[opencl_build_program] BUILD STATUS: 0
BUILD LOG:

[opencl_build_program] saving binary
[opencl_init] compiling program `colorreconstruction.cl' ..
[opencl_fopen_stat] could not open file `/home/archange/.cache/darktable/cached_kernels_for_IntelRHDGraphicsSkylakeHaloGT2/colorreconstruction.cl.bin'!
[opencl_load_program] could not load cached binary program, trying to compile source
[opencl_load_program] successfully loaded program from `/usr/share/darktable/kernels/colorreconstruction.cl'
[opencl_build_program] successfully built program
[opencl_build_program] BUILD STATUS: 0
BUILD LOG:

[opencl_build_program] saving binary
[opencl_init] compiling program `demosaic_other.cl' ..
[opencl_fopen_stat] could not open file `/home/archange/.cache/darktable/cached_kernels_for_IntelRHDGraphicsSkylakeHaloGT2/demosaic_other.cl.bin'!
[opencl_load_program] could not load cached binary program, trying to compile source
[opencl_load_program] successfully loaded program from `/usr/share/darktable/kernels/demosaic_other.cl'
[opencl_build_program] successfully built program
[opencl_build_program] BUILD STATUS: 0
BUILD LOG:

[opencl_build_program] saving binary
[opencl_init] compiling program `demosaic_vng.cl' ..
[opencl_fopen_stat] could not open file `/home/archange/.cache/darktable/cached_kernels_for_IntelRHDGraphicsSkylakeHaloGT2/demosaic_vng.cl.bin'!
[opencl_load_program] could not load cached binary program, trying to compile source
[opencl_load_program] successfully loaded program from `/usr/share/darktable/kernels/demosaic_vng.cl'
[opencl_build_program] successfully built program
[opencl_build_program] BUILD STATUS: 0
BUILD LOG:

[opencl_build_program] saving binary
[opencl_init] compiling program `demosaic_markesteijn.cl' ..
[opencl_fopen_stat] could not open file `/home/archange/.cache/darktable/cached_kernels_for_IntelRHDGraphicsSkylakeHaloGT2/demosaic_markesteijn.cl.bin'!
[opencl_load_program] could not load cached binary program, trying to compile source
[opencl_load_program] successfully loaded program from `/usr/share/darktable/kernels/demosaic_markesteijn.cl'
[opencl_build_program] successfully built program
[opencl_build_program] BUILD STATUS: 0
BUILD LOG:

[opencl_build_program] saving binary
[opencl_init] compiling program `liquify.cl' ..
[opencl_fopen_stat] could not open file `/home/archange/.cache/darktable/cached_kernels_for_IntelRHDGraphicsSkylakeHaloGT2/liquify.cl.bin'!
[opencl_load_program] could not load cached binary program, trying to compile source
[opencl_load_program] successfully loaded program from `/usr/share/darktable/kernels/liquify.cl'
[opencl_build_program] successfully built program
[opencl_build_program] BUILD STATUS: 0
BUILD LOG:

[opencl_build_program] saving binary
[opencl_init] compiling program `basecurve.cl' ..
[opencl_fopen_stat] could not open file `/home/archange/.cache/darktable/cached_kernels_for_IntelRHDGraphicsSkylakeHaloGT2/basecurve.cl.bin'!
[opencl_load_program] could not load cached binary program, trying to compile source
[opencl_load_program] successfully loaded program from `/usr/share/darktable/kernels/basecurve.cl'
[opencl_build_program] successfully built program
[opencl_build_program] BUILD STATUS: 0
BUILD LOG:

[opencl_build_program] saving binary
[opencl_init] kernel loading time: 5.6436 
[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 Skylake Halo GT2'
[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_set_mask' (17) for device 0
[opencl_create_kernel] successfully loaded kernel `rawprepare_1f' (18) for device 0
[opencl_create_kernel] successfully loaded kernel `rawprepare_4f' (19) for device 0
[opencl_create_kernel] successfully loaded kernel `soften_overexposed' (20) for device 0
[opencl_create_kernel] successfully loaded kernel `soften_hblur' (21) for device 0
[opencl_create_kernel] successfully loaded kernel `soften_vblur' (22) for device 0
[opencl_create_kernel] successfully loaded kernel `soften_mix' (23) for device 0
[opencl_create_kernel] successfully loaded kernel `bloom_threshold' (24) for device 0
[opencl_create_kernel] successfully loaded kernel `bloom_hblur' (25) for device 0
[opencl_create_kernel] successfully loaded kernel `bloom_vblur' (26) for device 0
[opencl_create_kernel] successfully loaded kernel `bloom_mix' (27) for device 0
[opencl_create_kernel] successfully loaded kernel `highpass_invert' (28) for device 0
[opencl_create_kernel] successfully loaded kernel `highpass_hblur' (29) for device 0
[opencl_create_kernel] successfully loaded kernel `highpass_vblur' (30) for device 0
[opencl_create_kernel] successfully loaded kernel `highpass_mix' (31) for device 0
[opencl_create_kernel] successfully loaded kernel `lowpass_mix' (32) for device 0
[opencl_create_kernel] successfully loaded kernel `shadows_highlights_mix' (33) for device 0
[opencl_create_kernel] successfully loaded kernel `colorreconstruction_zero' (34) for device 0
[opencl_create_kernel] successfully loaded kernel `colorreconstruction_splat' (35) for device 0
[opencl_create_kernel] successfully loaded kernel `colorreconstruction_blur_line' (36) for device 0
[opencl_create_kernel] successfully loaded kernel `colorreconstruction_slice' (37) for device 0
[opencl_create_kernel] successfully loaded kernel `tonecurve' (38) for device 0
[opencl_create_kernel] successfully loaded kernel `colisa' (39) for device 0
[opencl_create_kernel] successfully loaded kernel `whitebalance_4f' (40) for device 0
[opencl_create_kernel] successfully loaded kernel `whitebalance_1f' (41) for device 0
[opencl_create_kernel] successfully loaded kernel `whitebalance_1f_xtrans' (42) for device 0
[opencl_create_kernel] successfully loaded kernel `colorcorrection' (43) for device 0
[opencl_create_kernel] successfully loaded kernel `exposure' (44) for device 0
[opencl_create_kernel] successfully loaded kernel `colorbalance' (45) for device 0
[opencl_create_kernel] successfully loaded kernel `colorin_unbound' (46) for device 0
[opencl_create_kernel] successfully loaded kernel `colorin_clipping' (47) for device 0
[opencl_create_kernel] successfully loaded kernel `colorout' (48) for device 0
[opencl_create_kernel] successfully loaded kernel `colorchecker' (49) for device 0
[opencl_create_kernel] successfully loaded kernel `clip_rotate_bilinear' (50) for device 0
[opencl_create_kernel] successfully loaded kernel `clip_rotate_bicubic' (51) for device 0
[opencl_create_kernel] successfully loaded kernel `clip_rotate_lanczos2' (52) for device 0
[opencl_create_kernel] successfully loaded kernel `clip_rotate_lanczos3' (53) for device 0
[opencl_create_kernel] successfully loaded kernel `sharpen_hblur' (54) for device 0
[opencl_create_kernel] successfully loaded kernel `sharpen_vblur' (55) for device 0
[opencl_create_kernel] successfully loaded kernel `sharpen_mix' (56) for device 0
[opencl_create_kernel] successfully loaded kernel `monochrome_filter' (57) for device 0
[opencl_create_kernel] successfully loaded kernel `monochrome' (58) for device 0
[opencl_create_kernel] successfully loaded kernel `basecurve_lut' (59) for device 0
[opencl_create_kernel] successfully loaded kernel `basecurve_zero' (60) for device 0
[opencl_create_kernel] successfully loaded kernel `basecurve_ev_lut' (61) for device 0
[opencl_create_kernel] successfully loaded kernel `basecurve_compute_features' (62) for device 0
[opencl_create_kernel] successfully loaded kernel `basecurve_blur_h' (63) for device 0
[opencl_create_kernel] successfully loaded kernel `basecurve_blur_v' (64) for device 0
[opencl_create_kernel] successfully loaded kernel `basecurve_expand' (65) for device 0
[opencl_create_kernel] successfully loaded kernel `basecurve_reduce' (66) for device 0
[opencl_create_kernel] successfully loaded kernel `basecurve_detail' (67) for device 0
[opencl_create_kernel] successfully loaded kernel `basecurve_adjust_features' (68) for device 0
[opencl_create_kernel] successfully loaded kernel `basecurve_blend_gaussian' (69) for device 0
[opencl_create_kernel] successfully loaded kernel `basecurve_blend_laplacian' (70) for device 0
[opencl_create_kernel] successfully loaded kernel `basecurve_normalize' (71) for device 0
[opencl_create_kernel] successfully loaded kernel `basecurve_reconstruct' (72) for device 0
[opencl_create_kernel] successfully loaded kernel `basecurve_finalize' (73) for device 0
[opencl_create_kernel] successfully loaded kernel `colorzones' (74) for device 0
[opencl_create_kernel] successfully loaded kernel `highlights_1f_clip' (75) for device 0
[opencl_create_kernel] successfully loaded kernel `highlights_1f_lch_bayer' (76) for device 0
[opencl_create_kernel] successfully loaded kernel `highlights_1f_lch_xtrans' (77) for device 0
[opencl_create_kernel] successfully loaded kernel `highlights_4f_clip' (78) for device 0
[opencl_create_kernel] successfully loaded kernel `rawoverexposed_mark_cfa' (79) for device 0
[opencl_create_kernel] successfully loaded kernel `rawoverexposed_mark_solid' (80) for device 0
[opencl_create_kernel] successfully loaded kernel `rawoverexposed_falsecolor' (81) for device 0
[opencl_create_kernel] successfully loaded kernel `velvia' (82) for device 0
[opencl_create_kernel] successfully loaded kernel `vignette' (83) for device 0
[opencl_create_kernel] successfully loaded kernel `splittoning' (84) for device 0
[opencl_create_kernel] successfully loaded kernel `profilegamma' (85) for device 0
[opencl_create_kernel] successfully loaded kernel `colormapping_histogram' (86) for device 0
[opencl_create_kernel] successfully loaded kernel `colormapping_mapping' (87) for device 0
[opencl_create_kernel] successfully loaded kernel `channelmixer' (88) for device 0
[opencl_create_kernel] successfully loaded kernel `graduatedndp' (89) for device 0
[opencl_create_kernel] successfully loaded kernel `graduatedndm' (90) for device 0
[opencl_create_kernel] successfully loaded kernel `relight' (91) for device 0
[opencl_create_kernel] successfully loaded kernel `zonesystem' (92) for device 0
[opencl_create_kernel] successfully loaded kernel `clip_and_zoom_demosaic_half_size' (93) for device 0
[opencl_create_kernel] successfully loaded kernel `ppg_demosaic_green' (94) for device 0
[opencl_create_kernel] successfully loaded kernel `green_equilibration' (95) for device 0
[opencl_create_kernel] successfully loaded kernel `pre_median' (96) for device 0
[opencl_create_kernel] successfully loaded kernel `ppg_demosaic_redblue' (97) for device 0
[opencl_create_kernel] successfully loaded kernel `clip_and_zoom' (98) for device 0
[opencl_create_kernel] successfully loaded kernel `border_interpolate' (99) for device 0
[opencl_create_kernel] successfully loaded kernel `color_smoothing' (100) for device 0
[opencl_create_kernel] successfully loaded kernel `passthrough_monochrome' (101) for device 0
[opencl_create_kernel] successfully loaded kernel `clip_and_zoom_demosaic_passthrough_monochrome' (102) for device 0
[opencl_create_kernel] successfully loaded kernel `vng_border_interpolate' (103) for device 0
[opencl_create_kernel] successfully loaded kernel `vng_lin_interpolate' (104) for device 0
[opencl_create_kernel] successfully loaded kernel `clip_and_zoom_demosaic_third_size_xtrans' (105) for device 0
[opencl_create_kernel] successfully loaded kernel `vng_green_equilibrate' (106) for device 0
[opencl_create_kernel] successfully loaded kernel `vng_interpolate' (107) for device 0
[opencl_create_kernel] successfully loaded kernel `markesteijn_initial_copy' (108) for device 0
[opencl_create_kernel] successfully loaded kernel `markesteijn_green_minmax' (109) for device 0
[opencl_create_kernel] successfully loaded kernel `markesteijn_interpolate_green' (110) for device 0
[opencl_create_kernel] successfully loaded kernel `markesteijn_solitary_green' (111) for device 0
[opencl_create_kernel] successfully loaded kernel `markesteijn_recalculate_green' (112) for device 0
[opencl_create_kernel] successfully loaded kernel `markesteijn_red_and_blue' (113) for device 0
[opencl_create_kernel] successfully loaded kernel `markesteijn_interpolate_twoxtwo' (114) for device 0
[opencl_create_kernel] successfully loaded kernel `markesteijn_convert_yuv' (115) for device 0
[opencl_create_kernel] successfully loaded kernel `markesteijn_differentiate' (116) for device 0
[opencl_create_kernel] successfully loaded kernel `markesteijn_homo_threshold' (117) for device 0
[opencl_create_kernel] successfully loaded kernel `markesteijn_homo_set' (118) for device 0
[opencl_create_kernel] successfully loaded kernel `markesteijn_homo_sum' (119) for device 0
[opencl_create_kernel] successfully loaded kernel `markesteijn_homo_max' (120) for device 0
[opencl_create_kernel] successfully loaded kernel `markesteijn_homo_max_corr' (121) for device 0
[opencl_create_kernel] successfully loaded kernel `markesteijn_homo_quench' (122) for device 0
[opencl_create_kernel] successfully loaded kernel `markesteijn_zero' (123) for device 0
[opencl_create_kernel] successfully loaded kernel `markesteijn_accu' (124) for device 0
[opencl_create_kernel] successfully loaded kernel `markesteijn_final' (125) for device 0
[opencl_create_kernel] successfully loaded kernel `eaw_decompose' (126) for device 0
[opencl_create_kernel] successfully loaded kernel `eaw_synthesize' (127) for device 0
[opencl_create_kernel] successfully loaded kernel `overexposed' (128) for device 0
[opencl_create_kernel] successfully loaded kernel `lowlight' (129) for device 0
[opencl_create_kernel] successfully loaded kernel `warp_kernel' (130) for device 0
[opencl_create_kernel] successfully loaded kernel `borders_fill' (131) for device 0
[opencl_create_kernel] successfully loaded kernel `nlmeans_init' (132) for device 0
[opencl_create_kernel] successfully loaded kernel `nlmeans_dist' (133) for device 0
[opencl_create_kernel] successfully loaded kernel `nlmeans_horiz' (134) for device 0
[opencl_create_kernel] successfully loaded kernel `nlmeans_vert' (135) for device 0
[opencl_create_kernel] successfully loaded kernel `nlmeans_accu' (136) for device 0
[opencl_create_kernel] successfully loaded kernel `nlmeans_finish' (137) for device 0
[opencl_create_kernel] successfully loaded kernel `colorcontrast' (138) for device 0
[opencl_create_kernel] successfully loaded kernel `levels' (139) for device 0
[opencl_create_kernel] successfully loaded kernel `colorize' (140) for device 0
[opencl_create_kernel] successfully loaded kernel `invert_1f' (141) for device 0
[opencl_create_kernel] successfully loaded kernel `invert_4f' (142) for device 0
[opencl_create_kernel] successfully loaded kernel `vibrance' (143) for device 0
[opencl_create_kernel] successfully loaded kernel `flip' (144) for device 0
[opencl_create_kernel] successfully loaded kernel `pixelmax_first' (145) for device 0
[opencl_create_kernel] successfully loaded kernel `pixelmax_second' (146) for device 0
[opencl_create_kernel] successfully loaded kernel `global_tonemap_reinhard' (147) for device 0
[opencl_create_kernel] successfully loaded kernel `global_tonemap_drago' (148) for device 0
[opencl_create_kernel] successfully loaded kernel `global_tonemap_filmic' (149) for device 0
[opencl_create_kernel] successfully loaded kernel `denoiseprofile_precondition' (150) for device 0
[opencl_create_kernel] successfully loaded kernel `denoiseprofile_init' (151) for device 0
[opencl_create_kernel] successfully loaded kernel `denoiseprofile_dist' (152) for device 0
[opencl_create_kernel] successfully loaded kernel `denoiseprofile_horiz' (153) for device 0
[opencl_create_kernel] successfully loaded kernel `denoiseprofile_vert' (154) for device 0
[opencl_create_kernel] successfully loaded kernel `denoiseprofile_accu' (155) for device 0
[opencl_create_kernel] successfully loaded kernel `denoiseprofile_finish' (156) for device 0
[opencl_create_kernel] successfully loaded kernel `denoiseprofile_backtransform' (157) for device 0
[opencl_create_kernel] successfully loaded kernel `denoiseprofile_decompose' (158) for device 0
[opencl_create_kernel] successfully loaded kernel `denoiseprofile_synthesize' (159) for device 0
[opencl_create_kernel] successfully loaded kernel `denoiseprofile_reduce_first' (160) for device 0
[opencl_create_kernel] successfully loaded kernel `denoiseprofile_reduce_second' (161) for device 0
[opencl_create_kernel] successfully loaded kernel `ashift_bilinear' (162) for device 0
[opencl_create_kernel] successfully loaded kernel `ashift_bicubic' (163) for device 0
[opencl_create_kernel] successfully loaded kernel `ashift_lanczos2' (164) for device 0
[opencl_create_kernel] successfully loaded kernel `ashift_lanczos3' (165) for device 0
[opencl_create_kernel] successfully loaded kernel `lens_distort_bilinear' (166) for device 0
[opencl_create_kernel] successfully loaded kernel `lens_distort_bicubic' (167) for device 0
[opencl_create_kernel] successfully loaded kernel `lens_distort_lanczos2' (168) for device 0
[opencl_create_kernel] successfully loaded kernel `lens_distort_lanczos3' (169) for device 0
[opencl_create_kernel] successfully loaded kernel `lens_vignette' (170) for device 0

Fedora bug was closed by a similar change (https://bodhi.fedoraproject.org/updates/FEDORA-2017-10cd9f1c4c fixing beignet compilation under LLVM 4, which fixed crashes with Darktable and Blender).

With the new beignet release supporting LLVM 4 and 5, I wasn’t able to reproduce since now beignet itself blacklist my card… But at least it does not crash.

Since this bug was only happening with whitelisting of blacklisted driver (at least I’ve seen no evidence of the contrary and I showed that on my system blacklisting was working as intended), I think this bug can be safely closed.

Also available in: Atom PDF