I want to make a comparison between Linux and Windows on a dual boot machine.
With Windows 11 24H2 I cannot activate opencl.
After installing gfx_win_101.8247 I see:
I want to make a comparison between Linux and Windows on a dual boot machine.
With Windows 11 24H2 I cannot activate opencl.
After installing gfx_win_101.8247 I see:
We need logs!
I am not very familiar with Windows, sorry! Where can I find logs? Actually I don’t know if I have to do something else than installing the intel driver?
I have found where are error log files for darktable
Unfortunately a lot doesn’t work as expected. I hope I could translate the local paths to English.
First darktable doesn’t start from the command line, you have to find the path where it is installed, then it starts.
I executed darktable.exe -d perf and then I looked for a log, no chance to find one.
My user name is “root”-
Perhaps faq | darktable will be of some use to you.
Didn’t help me to find some logs, but darktable-cltest.exe says opencl is available.
C:\Program Files\darktable\bin>darktable-cltest.exe
darktable 5.2.1
Copyright (C) 2012-2025 Johannes Hanika and other contributors.
Compile options:
Bit depth -> 64 bit
Exiv2 -> 0.27.7
Lensfun -> 0.3.4
Debug -> DISABLED
SSE2 optimizations -> ENABLED
OpenMP -> ENABLED
OpenCL -> ENABLED
Lua -> ENABLED - API version 9.5.0
Colord -> DISABLED
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.22.0-Devel202502
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.
3,2239 [opencl_init] opencl disabled via darktable preferences
3,2258 [opencl_init] opencl library 'OpenCL.dll' found on your system and loaded, preference 'default path'
3,2657 [opencl_init] found 2 platforms
3,2667 [check platform] platform 'AMD Accelerated Parallel Processing' with key 'clplatform_amdacceleratedparallelprocessing' is NOT active
[opencl_init] found 1 device
[dt_opencl_device_init]
DEVICE: 0: 'Intel(R) Arc(TM) B580 Graphics'
CONF KEY: cldevice_v5_intelropenclgraphicsintelrarctmb580graphics
PLATFORM, VENDOR & ID: Intel(R) OpenCL Graphics, Intel(R) Corporation, ID=32902
CANONICAL NAME: intelropenclgraphicsintelrarctmb580graphics
DRIVER VERSION: 32.0.101.8247
DEVICE VERSION: OpenCL 3.0 NEO
DEVICE_TYPE: GPU, dedicated mem
GLOBAL MEM SIZE: 11870 MB
MAX MEM ALLOC: 11870 MB
MAX IMAGE SIZE: 16384 x 16384
MAX WORK GROUP SIZE: 1024
MAX WORK ITEM DIMENSIONS: 3
MAX WORK ITEM SIZES: [ 1024 1024 1024 ]
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
*** marked as disabled ***
[opencl_init] no suitable devices found.
3,2831 [opencl_init] FINALLY: opencl PREFERENCE=OFF is NOT AVAILABLE and NOT ENABLED.
press any key to exit
C:\Program Files\darktable\bin>
On the other side I see:
FINALLY: opencl PREFERENCE=OFF is NOT AVAILABLE and NOT ENABLED
D:\darktable_test>"C:\Program Files\darktable\bin\darktable-cli.exe" setubal.orf setubal.orf.xmp setubal.jpg --core -d perf -d opencl
darktable 5.2.1
Copyright (C) 2012-2025 Johannes Hanika and other contributors.
Compile options:
Bit depth -> 64 bit
Exiv2 -> 0.27.7
Lensfun -> 0.3.4
Debug -> DISABLED
SSE2 optimizations -> ENABLED
OpenMP -> ENABLED
OpenCL -> ENABLED
Lua -> ENABLED - API version 9.5.0
Colord -> DISABLED
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.22.0-Devel202502
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,1689 [opencl_init] opencl disabled via darktable preferences
0,1707 [opencl_init] opencl library 'OpenCL.dll' found on your system and loaded, preference 'default path'
0,2199 [opencl_init] found 2 platforms
0,2206 [check platform] platform 'AMD Accelerated Parallel Processing' with key 'clplatform_amdacceleratedparallelprocessing' is NOT active
[opencl_init] found 1 device
[dt_opencl_device_init]
DEVICE: 0: 'Intel(R) Arc(TM) B580 Graphics'
CONF KEY: cldevice_v5_intelropenclgraphicsintelrarctmb580graphics
PLATFORM, VENDOR & ID: Intel(R) OpenCL Graphics, Intel(R) Corporation, ID=32902
CANONICAL NAME: intelropenclgraphicsintelrarctmb580graphics
DRIVER VERSION: 32.0.101.8247
DEVICE VERSION: OpenCL 3.0 NEO
DEVICE_TYPE: GPU, dedicated mem
GLOBAL MEM SIZE: 11870 MB
MAX MEM ALLOC: 11870 MB
MAX IMAGE SIZE: 16384 x 16384
MAX WORK GROUP SIZE: 1024
MAX WORK ITEM DIMENSIONS: 3
MAX WORK ITEM SIZES: [ 1024 1024 1024 ]
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
*** marked as disabled ***
[opencl_init] no suitable devices found.
0,2391 [opencl_init] FINALLY: opencl PREFERENCE=OFF is NOT AVAILABLE and NOT ENABLED.
0,9124 [xmp_import] creating tag: darktable|format|orf
1,4225 [dt_dev_load_raw] loading the image. took 0,498 secs (0,359 CPU)
1,4639 [export] creating pixelpipe took 0,036 secs (0,016 CPU)
1,4656 [dev_pixelpipe] took 0,000 secs (0,000 CPU) initing base buffer [export]
1,4775 [dev_pixelpipe] took 0,012 secs (0,188 CPU) [export] processed `rawprepare' on CPU, blended on CPU
1,4902 [dev_pixelpipe] took 0,013 secs (0,016 CPU) [export] processed `temperature' on CPU, blended on CPU
1,5125 [dev_pixelpipe] took 0,022 secs (0,266 CPU) [export] processed `highlights' on CPU, blended on CPU
1,5310 [dev_pixelpipe] took 0,019 secs (0,031 CPU) [export] processed `hotpixels' on CPU, blended on CPU
1,6370 [dev_pixelpipe] took 0,106 secs (1,531 CPU) [export] processed `demosaic' on CPU, blended on CPU
3,8913 [dev_pixelpipe] took 2,254 secs (41,812 CPU) [export] processed `denoiseprofile' on CPU, blended on CPU
4,3933 [dev_pixelpipe] took 0,502 secs (8,891 CPU) [export] processed `lens' on CPU, blended on CPU
4,5128 [dev_pixelpipe] took 0,119 secs (2,562 CPU) [export] processed `ashift' on CPU, blended on CPU
4,5605 [dev_pixelpipe] took 0,048 secs (0,984 CPU) [export] processed `exposure' on CPU, blended on CPU
4,5974 [dev_pixelpipe] took 0,037 secs (0,625 CPU) [export] processed `colorin' on CPU, blended on CPU
4,6283 [dt_ioppr_transform_image_colorspace] IOP_CS_LAB-->IOP_CS_RGB took 0,031 secs (0,625 CPU) [channelmixerrgb]
4,7657 [dev_pixelpipe] took 0,168 secs (3,953 CPU) [export] processed `channelmixerrgb' on CPU, blended on CPU
4,8039 [dt_ioppr_transform_image_colorspace] IOP_CS_RGB-->IOP_CS_LAB took 0,038 secs (0,781 CPU) [atrous]
5,9976 [dev_pixelpipe] took 1,232 secs (25,688 CPU) [export] processed `atrous' on CPU, blended on CPU
6,0308 [dt_ioppr_transform_image_colorspace] IOP_CS_LAB-->IOP_CS_RGB took 0,033 secs (0,641 CPU) [colorbalancergb]
6,7145 [dev_pixelpipe] took 0,717 secs (16,547 CPU) [export] processed `colorbalancergb' on CPU, blended on CPU
6,7505 [dev_pixelpipe] took 0,036 secs (0,672 CPU) [export] processed `rgblevels' on CPU, blended on CPU
7,0331 [dev_pixelpipe] took 0,282 secs (6,641 CPU) [export] processed `sigmoid' on CPU, blended on CPU
7,0669 [dt_ioppr_transform_image_colorspace] IOP_CS_RGB-->IOP_CS_LAB took 0,034 secs (0,719 CPU) [bilat]
7,7675 [dev_pixelpipe] took 0,734 secs (8,969 CPU) [export] processed `bilat' on CPU, blended on CPU
7,8304 [dev_pixelpipe] took 0,063 secs (1,438 CPU) [export] processed `colorout' on CPU, blended on CPU
7,8783 [resample_plain] took 0,048 secs (1,000 CPU) 1:1 copy/crop of 8065x6046 pixels
7,8784 [dev_pixelpipe] took 0,048 secs (1,000 CPU) [export] processed `finalscale' on CPU, blended on CPU
7,8785 [dev_process_export] pixel pipeline processing took 6,414 secs (121,812 CPU)
8,5368 [export_job] exported to `setubal.jpg'
D:\darktable_test>
Really? faq | darktable
If you see my screenshot before, there was no darktable-log.txt` below INetCache\darktable
`%LOCALAPPDATA%\Microsoft\Windows\INetCache\darktable\darktable-log.txt`
But I didn’t search again after testing. I posted 2 log-files. Do you really still need this darktable-log.txt? Are the logs from me useless. Maybe dt wants to use opencl with the internal AMD-GPU and not the Intel GPU?
Now I found this log-file using Linux.
cat /win11/Users/root/Documents/Darktable/darktable-log.txt
========================================
version: darktable 5.2.1
start: 2025-11-12 00:41:23
end: 2025-11-12 00:41:23
========================================
========================================
version: darktable 5.2.1
start: 2025-11-12 00:42:11
darktable 5.2.1
Copyright (C) 2012-2025 Johannes Hanika and other contributors.
Compile options:
Bit depth -> 64 bit
Exiv2 -> 0.27.7
Lensfun -> 0.3.4
Debug -> DISABLED
SSE2 optimizations -> ENABLED
OpenMP -> ENABLED
OpenCL -> ENABLED
Lua -> ENABLED - API version 9.5.0
Colord -> DISABLED
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.22.0-Devel202502
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.0038 [dt starting]
darktable.exe -d perf
end: 2025-11-12 00:42:11
========================================
Looks like there is more info with my logs-
Obviously dt uses another path than mentioned in the faq.
It does not. You did not finish reading that section:
Since darktable 5.0 the default location is:
USERPROFILE\Documents\Darktable\darktable-log.txt
NEO Intel drivers used to be blacklisted because they had issues. I’m not sure if they still are in a fresh install. You need to modify darktablerc to enable it.
There are 2 darktablerc
/win11/Program Files/darktable/share/darktable/darktablerc
/win11/Users/root/AppData/Local/darktable/darktablerc
The users-file overrides the program-file as expected.
In the users-version:
opencl=FALSE
opencl_disable_drivers_blacklist=
What do I have to change?
Some queries. Full files attached:
$ cat /win11/Users/root/AppData/Local/darktable/darktablerc | grep -i intel
cldevice_v5_intelropenclgraphicsintelrarctmb580graphics=0 250 0 16 16 128 0 1 0,000 0,000 0,250
cldevice_v5_intelropenclgraphicsintelrarctmb580graphics_id0=600
clplatform_intelropenclhdgraphics=TRUE
cat /win11/Users/root/AppData/Local/darktable/darktablerc | grep -i opencl
cldevice_v5_intelropenclgraphicsintelrarctmb580graphics=0 250 0 16 16 128 0 1 0,000 0,000 0,250
cldevice_v5_intelropenclgraphicsintelrarctmb580graphics_id0=600
clplatform_intelropenclhdgraphics=TRUE
clplatform_openclon12=FALSE
opencl=FALSE
opencl_checksum=3921182413
opencl_device_priority=*/!0,*/*/*/!0,*
opencl_disable_drivers_blacklist=
opencl_library=
opencl_mandatory_timeout=1000
opencl_scheduling_profile=very fast GPU
opencl_tune_headroom=FALSE
$ cat "/win11/Program Files/darktable/share/darktable/darktablerc" | grep -i opencl
opencl_device_priority=*/!0,*/*/*/!0,*
opencl_mandatory_timeout=1000
opencl_checksum=
opencl=true
opencl_scheduling_profile=default
opencl_tune_headroom=false
clplatform_intelropenclhdgraphics=true
clplatform_openclon12=false
opencl_library=
$ cat "/win11/Program Files/darktable/share/darktable/darktablerc" | grep -i blacklist
[empty]
-win11-Program_Files-darktable-share-darktable-darktablerc.txt (20.0 KB)
-win11-Users-root-AppData-Local-darktable-darktablerc.txt (27.3 KB)
$ cat /win11/Users/root/AppData/Local/darktable/darktablerc | grep -i cldevice
cldevice_v5_amdacceleratedparallelprocessinggfx1036=0 250 0 16 16 128 0 0 0,000 0,000 0,250
cldevice_v5_amdacceleratedparallelprocessinggfx1036_building=-cl-fast-relaxed-math
cldevice_v5_amdacceleratedparallelprocessinggfx1036_id0=600
cldevice_v5_intelropenclgraphicsintelrarctmb580graphics=0 250 0 16 16 128 0 1 0,000 0,000 0,250
cldevice_v5_intelropenclgraphicsintelrarctmb580graphics_id0=600
h. disable device
$ cat /win11/Users/root/AppData/Local/darktable/darktablerc | grep -i cldevice | grep -i intel
cldevice_v5_intelropenclgraphicsintelrarctmb580graphics=0 250 0 16 16 128 0 1 0,000 0,000 0,250
cldevice_v5_intelropenclgraphicsintelrarctmb580graphics_id0=600
darktable user manual - memory & performance tuning
cldevice_version_canonicalname=a b c d e f g h i j kh. disable device
0 = enable device; 1 = disable device
So I have to change
cldevice_v5_intelropenclgraphicsintelrarctmb580graphics=0 250 0 16 16 128 0 1 0,000 0,000 0,250
to
cldevice_v5_intelropenclgraphicsintelrarctmb580graphics=0 250 0 16 16 128 0 0 0,000 0,000 0,250
This too?
opencl=FALSE
to
opencl=true
Still the same setting-options as in my first post.
Did you try changing the 1 to a 0 to see what happens?
Exactly, see code in the posting before.
? I don’t understand you.