Skip to content

darktable-cltest hangs on Intel UHD 620 #18997

Open
@yuri1969

Description

@yuri1969

Is there an existing issue for this?

  • I checked and did not find my issue in the already reported ones

Describe the bug

Running darktable-cltest on Intel UHD 620 hangs with no output after the CL COMPILER COMMAND line and keeps a single CPU core on 100%.

I'm not sure how to investigate whether the problem is the OpenCL stack or Darktable. Using strace did not show anything interesting, but I'm no expert.

Steps to reproduce

  1. run darktable-cltest

Expected behavior

No response

Logfile | Screenshot | Screencast

darktable 5.2.0
Copyright (C) 2012-2025 Johannes Hanika and other contributors.

Compile options:
  Bit depth              -> 64 bit
  Debug                  -> DISABLED
  SSE2 optimizations     -> ENABLED
  OpenMP                 -> ENABLED
  OpenCL                 -> ENABLED
  Lua                    -> DISABLED
  Colord                 -> ENABLED
  gPhoto2                -> DISABLED - tethering is NOT available
  OSMGpsMap              -> DISABLED - map view is NOT available
  GMIC                   -> DISABLED - Compressed LUTs are NOT supported
  GraphicsMagick         -> DISABLED
  ImageMagick            -> DISABLED
  libavif                -> DISABLED
  libheif                -> DISABLED
  libjxl                 -> DISABLED
  LibRaw                 -> ENABLED  - Version 0.22.0-Devel202502
  OpenJPEG               -> DISABLED
  OpenEXR                -> ENABLED
  WebP                   -> DISABLED

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

     0.6457 [opencl_init] opencl library 'libOpenCL' found on your system and loaded, preference 'default path'
     0.7251 [opencl_init] found 2 platforms
     0.7251 [check platform] platform 'rusticl' with key 'clplatform_rusticl' is NOT active
[opencl_init] found 1 device

[dt_opencl_device_init]
   DEVICE:                   0: 'Intel(R) UHD Graphics 620'
   CONF KEY:                 cldevice_v5_intelropenclgraphicsintelruhdgraphics620
   PLATFORM, VENDOR & ID:    Intel(R) OpenCL Graphics, Intel(R) Corporation, ID=32902
   CANONICAL NAME:           intelropenclgraphicsintelruhdgraphics620
   DRIVER VERSION:           24.35.030872
   DEVICE VERSION:           OpenCL 3.0 NEO 
   DEVICE_TYPE:              GPU, unified mem
   GLOBAL MEM SIZE:          29609 MB
   MAX MEM ALLOC:            4096 MB
   MAX IMAGE SIZE:           16384 x 16384
   MAX WORK GROUP SIZE:      256
   MAX WORK ITEM DIMENSIONS: 3
   MAX WORK ITEM SIZES:      [ 256 256 256 ]
   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:         /home/user/.cache/darktable/cached_v5_kernels_for_IntelROpenCLGraphicsIntelRUHDGraphics620_2435030872
   CL COMPILER OPTION:       
   CL COMPILER COMMAND:      -w  -DINTEL=1 -I"/usr/share/darktable/kernels"

Commit

No response

Where did you obtain darktable from?

distro packaging

darktable version

5.2.0

What OS are you using?

Linux

What is the version of your OS?

Gentoo

Describe your system

Lenovo T480 with Intel UHD 620

Are you using OpenCL GPU in darktable?

Yes

If yes, what is the GPU card and driver?

Intel UHD 620 & Intel

Please provide additional context if applicable. You can attach files too, but might need to rename to .txt or .zip

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    OpenCLRelated to darktable OpenCL code

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions