Skip to content

Darktable appimage fails to compile intel opencl #18373

Open
@joesid12

Description

@joesid12

Is there an existing issue for this?

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

Describe the bug

Using the latest intel-graphics-compiler (1.0.15468.25-2ubuntu0.1) provided by the linux mint 22.1 update manager opencl fails to compile for for the intel(R) UHD Graphics 630. If the compiler package is downgraded it works and since it compiles only on the initial launch it will work fine even if the compiler is upgraded.

This issue is based on the latest 5.1 build but, I first discovered the problem with the production 5.0 release which is my production install. Because the 5.0 release compiles opencl on every launch it became a real problem. I am able to downgrade the compiler as a workaround and ignore the option to upgrade the compiler. I can't say for sure if it is a darktable issue or a compiler problem since I am not aware of any other app on my system that uses the compiler.

Steps to reproduce

  1. Update linux mint 22.1
  2. Download the latest nightly build of darktable
  3. Rename the darktable directory in /home/USER/.config to force a clean/fresh launch
  4. opencl compiles fine for my nvidia card but fails for the onboard intel gpu

Workaround steps is to downgrade the intel compiler

  1. sudo apt remove libigc1
  2. sudo apt remove libigdfcl1
  3. sudo apt-get install libigc1=1.0.15468.25-2build1
  4. sudo apt-get install libigdfcl1=1.0.15468.25-2build1
  5. sudo apt install intel-opencl-icd
  6. delete the darktable directory in /home/USER/.config (may be optional)
  7. launch darktable

Expected behavior

No response

Logfile | Screenshot | Screencast

Output of launching darktable with the -d opencl option:
./Darktable-5.1.0+269.ga30f4ac621-x86_64.AppImage -d opencl

opencl-failed.txt

opencl-working.txt

Commit

No response

Where did you obtain darktable from?

darktable.org / GitHub release

darktable version

5.1.0+269~ga30f4ac621

What OS are you using?

Linux

What is the version of your OS?

linux mint Cinnamon 22.1

Describe your system

System:
Kernel: 6.8.0-52-generic arch: x86_64 bits: 64 compiler: gcc v: 13.3.0 clocksource: tsc
Desktop: Cinnamon v: 6.4.6 tk: GTK v: 3.24.41 wm: Muffin v: 6.4.1 vt: 7 dm: LightDM v: 1.30.0
Distro: Linux Mint 22.1 Xia base: Ubuntu 24.04 noble
Machine:
Type: Desktop System: Dell product: XPS 8940 v: N/A serial: Chassis: type: 3

Info: 8-core model: Intel Core i7-10700 bits: 64 type: MT MCP smt: enabled arch: Comet Lake

Device-1: Intel CometLake-S GT2 [UHD Graphics 630] vendor: Dell driver: i915 v: kernel
arch: Gen-9.5 ports: active: none empty: DP-3, DP-4, HDMI-A-2, HDMI-A-3 bus-ID: 00:02.0
chip-ID: 8086:9bc5 class-ID: 0380
Device-2: NVIDIA TU116 [GeForce GTX 1660 Ti] vendor: Dell driver: nvidia v: 550.120
arch: Turing pcie: speed: 2.5 GT/s lanes: 16 ports: active: none off: DP-2
empty: DP-1,DVI-D-1,HDMI-A-1 bus-ID: 01:00.0 chip-ID: 10de:2182 class-ID: 0300
Display: x11 server: X.Org v: 21.1.11 with: Xwayland v: 23.2.6 driver: X:
loaded: modesetting,nouveau unloaded: fbdev,vesa failed: nvidia dri: iris
gpu: nvidia,nvidia-nvswitch display-ID: :0 screens: 1
Screen-1: 0 s-res: 3840x2160 s-dpi: 162 s-size: 602x341mm (23.70x13.43") s-diag: 692mm (27.24")
Monitor-1: DP-0.8 res: 3840x2160 hz: 60 dpi: 163 size: 600x340mm (23.62x13.39")
diag: 690mm (27.15") modes: N/A
API: EGL v: 1.5 hw: drv: intel iris drv: nvidia platforms: device: 0 drv: nvidia device: 2
drv: iris device: 3 drv: swrast surfaceless: drv: nvidia x11: drv: nvidia
inactive: gbm,wayland,device-1
API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: nvidia mesa v: 550.120 glx-v: 1.4 direct-render: yes
renderer: NVIDIA GeForce GTX 1660 Ti/PCIe/SSE2

Are you using OpenCL GPU in darktable?

Yes

If yes, what is the GPU card and driver?

Intel(R) UHD Graphics 630 -- intel-opencl-lcd version 23.43.27642.40-1ubuntu3

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

This is an even bigger issue with darktable 5.0 because opencl is compiled on every launch.

Metadata

Metadata

Assignees

No one assigned

    Labels

    OpenCLRelated to darktable OpenCL codereproduce: peculiarthe bug seems to affect only a specific target and cannot be reproduced elsewhere

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions