Feature requires the following SPIR-V extension: SPV_KHR_non_semantic_info

I have a problem with OpenCL one on computer, but not on another almost identical.

One has an Intel N200 with integrated GPU, the problem is on this.
The other has an Intel N300 with integrated GPU, where it works.

Both run Debian testing with darktable 5.4 pulled from stable-backports.

I get this error at startup:

RequiresExtension: Feature requires the following SPIR-V extension:
 SPV_KHR_non_semantic_info

If I copy the compiled files from N300, darktable starts on the N200, so I suppose it is a problem with the OpenCL compiler, but I’m woefully ignorant in such matters.

Does anybody know how to fix this?

Full output below:

darktable 5.4.1
Copyright (C) 2012-2026 Johannes Hanika and other contributors.

Compile options:
  Bit depth              -> 64 bit
  Exiv2                  -> 0.28.5
  Lensfun                -> 0.3.4
  Debug                  -> DISABLED
  SSE2 optimizations     -> ENABLED
  OpenMP                 -> ENABLED
  OpenCL                 -> ENABLED
  Lua                    -> ENABLED  - API version 9.6.0
  Colord                 -> ENABLED
  gPhoto2                -> ENABLED
  OSMGpsMap              -> ENABLED  - map view is available
  GMIC                   -> ENABLED  - Compressed LUTs are supported
  GraphicsMagick         -> ENABLED
  ImageMagick            -> DISABLED
  libavif                -> ENABLED
  libheif                -> ENABLED
  libjxl                 -> ENABLED
  LibRaw                 -> ENABLED  - Version 0.21.4-Release
  OpenJPEG               -> ENABLED
  OpenEXR                -> ENABLED
  WebP                   -> ENABLED

See https://www.darktable.org/resources/ for detailed documentation.
See https://github.com/darktable-org/darktable/issues/new/choose to report bugs.

     0.0001 [dt starting]
 /usr/bin/darktable --configdir /home/historywalks/HistoryWalks/darktable/config --cachedir /home/historywalks/HistoryWalks/darktable/cache -d opencl
     0,2931 [dt_dlopencl_init] could not find default opencl runtime library 'libOpenCL'
     0,2934 [dt_dlopencl_init] could not find default opencl runtime library 'libOpenCL.so'
     0,2940 [opencl_init] opencl library 'libOpenCL.so.1' found on your system and loaded, preference 'default path'
     0,3849 [opencl_init] found 1 platform
[opencl_init] found 1 device

[dt_opencl_device_init]
   DEVICE:                   0: 'Intel(R) UHD Graphics'
   CONF KEY:                 cldevice_v5_intelropenclgraphicsintelruhdgraphics
   PLATFORM, VENDOR & ID:    Intel(R) OpenCL Graphics, Intel(R) Corporation, ID=32902
   CANONICAL NAME:           intelropenclgraphicsintelruhdgraphics
   DRIVER VERSION:           25.48.036300
   DEVICE VERSION:           OpenCL 3.0 NEO 
   DEVICE_TYPE:              GPU, unified mem
   GLOBAL MEM SIZE:          14439 MB
   MAX MEM ALLOC:            4096 MB
   MAX IMAGE SIZE:           16384 x 16384
   MAX CONSTANT BUFFER:      4194296 KB
   ADDRESS ALIGN:            128
   COMPUTE UNITS:            32
   MAX WORK GROUP SIZE:      512
   MAX WORK ITEM DIMENSIONS: 3
   MAX WORK ITEM SIZES:      [ 512 512 512 ]
   ASYNC PIXELPIPE:          NO
   PINNED MEMORY TRANSFER:   NO
   AVOID ATOMICS:            NO
   MICRO NAP:                250
   ROUNDUP WIDTH & HEIGHT    16x16
   CHECK EVENT HANDLES:      128
   TILING ADVANTAGE:         0.000
   DEFAULT DEVICE:           NO
   KERNEL BUILD DIRECTORY:   /usr/share/darktable/kernels
   KERNEL DIRECTORY:         /media/rene/Work/HistoryWalks/darktable/cache/cached_v5_kernels_for_IntelROpenCLGraphicsIntelRUHDGraphics_2548036300
   CL COMPILER OPTION:       
   CL COMPILER COMMAND:      -w  -DINTEL=1 -I"/usr/share/darktable/kernels"
RequiresExtension: Feature requires the following SPIR-V extension:
 SPV_KHR_non_semantic_info

I’m the only one with the problem, apparently, but I have no idea how to resolve it.

I have no idea about this specific problem but did you try with rusticl yet?

To test:

sudo apt install mesa-opencl-icd
RUSTICL_ENABLE=iris clinfo -l    # confirm rusticl Iris shows up as a platform
RUSTICL_ENABLE=iris darktable -d opencl

you of course also need to check the rusticl box in the darktable settings. Don’t know if 5.4.1 already had this but I guess so.

1 Like