atte
April 7, 2023, 1:02pm
1
I’m trying to get darktable working with opencl. Since all opencl options in preferences are greyed out with the text “not available”, I’m led to believe there “something outside of darktable” that I need to take care of.
It seems I have two darktable binaries on the system, not sure why.
The one I’ve been using so far, that works is:
/var/lib/flatpak/exports/bin/org.darktable.Darktable
This one fails with “libOpenEXR-3_1.so.30: cannot open shared object file: No such file or directory”:
/var/lib/flatpak/app/org.darktable.Darktable/current/e4c1a74e092a04300
c463ed8d03dbeb4de4da8dada632470533d3e41c5b59d17/files/bin/darktable
Well I’m not even sure I’m supposed to run that second binary, but at least it gives me opencl-hopes, especially when I see this:
atte@ajstrup:~$ ll /var/lib/flatpak/app/org.darktable.Darktable/current/e4c1a74e092a04300c463ed8d03dbeb4de4da8dada632470533d3e41c5b59d17/files/bin/
total 6.7M
-rwxr-xr-x 2 root root 23K Jan 1 1970 cd-convert
-rwxr-xr-x 2 root root 27K Jan 1 1970 cd-create-profile
-rwxr-xr-x 2 root root 31K Jan 1 1970 cd-fix-profile
-rwxr-xr-x 2 root root 15K Jan 1 1970 cd-iccdump
-rwxr-xr-x 2 root root 27K Jan 1 1970 cd-it8
-rwxr-xr-x 2 root root 67K Jan 1 1970 colormgr
-rwxr-xr-x 2 root root 15K Jan 1 1970 darktable
-rwxr-xr-x 2 root root 99K Jan 1 1970 darktable-chart
-rwxr-xr-x 2 root root 31K Jan 1 1970 darktable-cli
-rwxr-xr-x 2 root root 15K Jan 1 1970 darktable-cltest
-rwxr-xr-x 2 root root 23K Jan 1 1970 darktable-cmstest
-rwxr-xr-x 2 root root 23K Jan 1 1970 darktable-generate-cache
-rwxr-xr-x 2 root root 895K Jan 1 1970 darktable-rs-identify
-rwxr-xr-x 2 root root 23K Jan 1 1970 dec265
-rwxr-xr-x 2 root root 31K Jan 1 1970 enc265
-rwxr-xr-x 2 root root 3.4M Jan 1 1970 git
-rwxr-xr-x 2 root root 160K Jan 1 1970 git-cvsserver
lrwxrwxrwx 1 root root 3 Feb 20 11:27 git-receive-pack → git
-rwxr-xr-x 2 root root 1.9M Jan 1 1970 git-shell
lrwxrwxrwx 1 root root 3 Feb 20 11:27 git-upload-archive → git
lrwxrwxrwx 1 root root 3 Feb 20 11:27 git-upload-pack → git
-rwxr-xr-x 2 root root 15K Jan 1 1970 gm
-rwxr-xr-x 2 root root 23K Jan 1 1970 gusbcmd
-rwxr-xr-x 2 root root 19K Jan 1 1970 hdrcopy
ll /var/lib/flatpak/app/org.darktable.Darktable/current/e4c1a74e092a04300c463ed8d03dbeb4de4da8dada632470533d3e41c5b59d17/files/lib
total 38M
drwxr-xr-x 4 root root 4.0K Jan 1 1970 darktable
drwxr-xr-x 2 root root 4.0K Jan 1 1970 debug
drwxr-xr-x 3 root root 4.0K Jan 1 1970 GraphicsMagick-1.3.38
lrwxrwxrwx 1 root root 17 Feb 20 11:27 libavif.so.11 → libavif.so.11.0.0
-rwxr-xr-x 2 root root 7.8M Jan 1 1970 libavif.so.11.0.0
lrwxrwxrwx 1 root root 18 Feb 20 11:27 libcolord-gtk.so → libcolord-gtk.so.1
lrwxrwxrwx 1 root root 22 Feb 20 11:27 libcolord-gtk.so.1 → libcolord-gtk.so.1.0.3
-rwxr-xr-x 2 root root 35K Jan 1 1970 libcolord-gtk.so.1.0.3
lrwxrwxrwx 1 root root 21 Feb 20 11:27 libcolordprivate.so → libcolordprivate.so.2
lrwxrwxrwx 1 root root 25 Feb 20 11:27 libcolordprivate.so.2 → libcolordprivate.so.2.0.5
-rwxr-xr-x 2 root root 236K Jan 1 1970 libcolordprivate.so.2.0.5
lrwxrwxrwx 1 root root 14 Feb 20 11:27 libcolord.so → libcolord.so.2
lrwxrwxrwx 1 root root 18 Feb 20 11:27 libcolord.so.2 → libcolord.so.2.0.5
-rwxr-xr-x 2 root root 368K Jan 1 1970 libcolord.so.2.0.5
lrwxrwxrwx 1 root root 16 Feb 20 11:27 libcolorhug.so → libcolorhug.so.2
lrwxrwxrwx 1 root root 20 Feb 20 11:27 libcolorhug.so.2 → libcolorhug.so.2.0.5
-rwxr-xr-x 2 root root 95K Jan 1 1970 libcolorhug.so.2.0.5
lrwxrwxrwx 1 root root 14 Feb 20 11:27 libexiv2.so → libexiv2.so.27
-rwxr-xr-x 2 root root 3.2M Jan 1 1970 libexiv2.so.0.27.5
lrwxrwxrwx 1 root root 18 Feb 20 11:27 libexiv2.so.27 → libexiv2.so.0.27.5
-rwxr-xr-x 2 root root 12M Jan 1 1970 libgmic.so.1
drwxr-xr-x 3 root root 4.0K Jan 1 1970 libgphoto2
drwxr-xr-x 3 root root 4.0K Jan 1 1970 libgphoto2_port
lrwxrwxrwx 1 root root 25 Feb 20 11:27 libgphoto2_port.so → libgphoto2_port.so.12.1.0
lrwxrwxrwx 1 root root 25 Feb 20 11:27 libgphoto2_port.so.12 → libgphoto2_port.so.12.1.0
-rwxr-xr-x 2 root root 51K Jan 1 1970 libgphoto2_port.so.12.1.0
lrwxrwxrwx 1 root root 19 Feb 20 11:27 libgphoto2.so → libgphoto2.so.6.3.0
lrwxrwxrwx 1 root root 19 Feb 20 11:27 libgphoto2.so.6 → libgphoto2.so.6.3.0
-rwxr-xr-x 2 root root 159K Jan 1 1970 libgphoto2.so.6.3.0
lrwxrwxrwx 1 root root 29 Feb 20 11:27 libGraphicsMagick++.so → libGraphicsMagick++.so.12.6.0
lrwxrwxrwx 1 root root 27 Feb 20 11:27 libGraphicsMagick.so → libGraphicsMagick.so.3.24.0
lrwxrwxrwx 1 root root 29 Feb 20 11:27 libGraphicsMagick++.so.12 → libGraphicsMagick++.so.12.6.0
-rwxr-xr-x 2 root root 519K Jan 1 1970 libGraphicsMagick++.so.12.6.0
lrwxrwxrwx 1 root root 27 Feb 20 11:27 libGraphicsMagick.so.3 → libGraphicsMagick.so.3.24.0
-rwxr-xr-x 2 root root 2.9M Jan 1 1970 libGraphicsMagick.so.3.24.0
lrwxrwxrwx 1 root root 30 Feb 20 11:27 libGraphicsMagickWand.so → libGraphicsMagickWand.so.2.9.7
lrwxrwxrwx 1 root root 30 Feb 20 11:27 libGraphicsMagickWand.so.2 → libGraphicsMagickWand.so.2.9.7
-rwxr-xr-x 2 root root 199K Jan 1 1970 libGraphicsMagickWand.so.2.9.7
lrwxrwxrwx 1 root root 12 Feb 20 11:27 libgusb.so → libgusb.so.2
lrwxrwxrwx 1 root root 17 Feb 20 11:27 libgusb.so.2 → libgusb.so.2.0.10
-rwxr-xr-x 2 root root 75K Jan 1 1970 libgusb.so.2.0.10
lrwxrwxrwx 1 root root 12 Feb 20 11:27 libheif.so → libheif.so.1
lrwxrwxrwx 1 root root 19 Feb 20 11:27 libheif.so.1 → libheif.so.1.12.0.0
-rwxr-xr-x 2 root root 527K Jan 1 1970 libheif.so.1.12.0.0
lrwxrwxrwx 1 root root 16 Feb 20 11:27 libIex-3_1.so → libIex-3_1.so.30
lrwxrwxrwx 1 root root 20 Feb 20 11:27 libIex-3_1.so.30 → libIex-3_1.so.30.3.0
-rwxr-xr-x 2 root root 563K Jan 1 1970 libIex-3_1.so.30.3.0
lrwxrwxrwx 1 root root 13 Feb 20 11:27 libIex.so → libIex-3_1.so
lrwxrwxrwx 1 root root 22 Feb 20 11:27 libIlmThread-3_1.so → libIlmThread-3_1.so.30
lrwxrwxrwx 1 root root 26 Feb 20 11:27 libIlmThread-3_1.so.30 → libIlmThread-3_1.so.30.3.0
-rwxr-xr-x 2 root root 35K Jan 1 1970 libIlmThread-3_1.so.30.3.0
lrwxrwxrwx 1 root root 19 Feb 20 11:27 libIlmThread.so → libIlmThread-3_1.so
lrwxrwxrwx 1 root root 18 Feb 20 11:27 libImath-3_1.so → libImath-3_1.so.29
lrwxrwxrwx 1 root root 22 Feb 20 11:27 libImath-3_1.so.29 → libImath-3_1.so.29.2.0
-rwxr-xr-x 2 root root 327K Jan 1 1970 libImath-3_1.so.29.2.0
lrwxrwxrwx 1 root root 15 Feb 20 11:27 libImath.so → libImath-3_1.so
lrwxrwxrwx 1 root root 14 Feb 20 11:27 libjasper.so → libjasper.so.4
lrwxrwxrwx 1 root root 18 Feb 20 11:27 libjasper.so.4 → libjasper.so.4.0.0
-rwxr-xr-x 2 root root 311K Jan 1 1970 libjasper.so.4.0.0
lrwxrwxrwx 1 root root 13 Feb 20 11:27 libjxl.so → libjxl.so.0.7
lrwxrwxrwx 1 root root 15 Feb 20 11:27 libjxl.so.0.7 → libjxl.so.0.7.0
-rwxr-xr-x 2 root root 3.6M Jan 1 1970 libjxl.so.0.7.0
lrwxrwxrwx 1 root root 21 Feb 20 11:27 libjxl_threads.so → libjxl_threads.so.0.7
lrwxrwxrwx 1 root root 23 Feb 20 11:27 libjxl_threads.so.0.7 → libjxl_threads.so.0.7.0
-rwxr-xr-x 2 root root 23K Jan 1 1970 libjxl_threads.so.0.7.0
lrwxrwxrwx 1 root root 15 Feb 20 11:27 liblensfun.so → liblensfun.so.1
-rwxr-xr-x 2 root root 131K Jan 1 1970 liblensfun.so.0.3.3
lrwxrwxrwx 1 root root 19 Feb 20 11:27 liblensfun.so.1 → liblensfun.so.0.3.3
-rwxr-xr-x 2 root root 811K Jan 1 1970 liblibde265.so
lrwxrwxrwx 1 root root 15 Feb 20 11:27 liblua.so → liblua.so.5.4.4
lrwxrwxrwx 1 root root 15 Feb 20 11:27 liblua.so.5.4 → liblua.so.5.4.4
-rw-r–r-- 2 root root 276K Jan 1 1970 liblua.so.5.4.4
lrwxrwxrwx 1 root root 20 Feb 20 11:27 libOpenEXR-3_1.so → libOpenEXR-3_1.so.30
lrwxrwxrwx 1 root root 24 Feb 20 11:27 libOpenEXR-3_1.so.30 → libOpenEXR-3_1.so.30.3.0
-rwxr-xr-x 2 root root 3.3M Jan 1 1970 libOpenEXR-3_1.so.30.3.0
lrwxrwxrwx 1 root root 24 Feb 20 11:27 libOpenEXRCore-3_1.so → libOpenEXRCore-3_1.so.30
lrwxrwxrwx 1 root root 28 Feb 20 11:27 libOpenEXRCore-3_1.so.30 → libOpenEXRCore-3_1.so.30.3.0
-rwxr-xr-x 2 root root 515K Jan 1 1970 libOpenEXRCore-3_1.so.30.3.0
lrwxrwxrwx 1 root root 21 Feb 20 11:27 libOpenEXRCore.so → libOpenEXRCore-3_1.so
lrwxrwxrwx 1 root root 17 Feb 20 11:27 libOpenEXR.so → libOpenEXR-3_1.so
lrwxrwxrwx 1 root root 24 Feb 20 11:27 libOpenEXRUtil-3_1.so → libOpenEXRUtil-3_1.so.30
lrwxrwxrwx 1 root root 28 Feb 20 11:27 libOpenEXRUtil-3_1.so.30 → libOpenEXRUtil-3_1.so.30.3.0
-rwxr-xr-x 2 root root 227K Jan 1 1970 libOpenEXRUtil-3_1.so.30.3.0
lrwxrwxrwx 1 root root 21 Feb 20 11:27 libOpenEXRUtil.so → libOpenEXRUtil-3_1.so
lrwxrwxrwx 1 root root 25 Feb 20 11:27 libosmgpsmap-1.0.so → libosmgpsmap-1.0.so.1.1.0
lrwxrwxrwx 1 root root 25 Feb 20 11:27 libosmgpsmap-1.0.so.1 → libosmgpsmap-1.0.so.1.1.0
-rwxr-xr-x 2 root root 111K Jan 1 1970 libosmgpsmap-1.0.so.1.1.0
lrwxrwxrwx 1 root root 16 Feb 20 11:27 libportmidi.so → libportmidi.so.2
lrwxrwxrwx 1 root root 20 Feb 20 11:27 libportmidi.so.2 → libportmidi.so.2.0.3
-rwxr-xr-x 2 root root 51K Jan 1 1970 libportmidi.so.2.0.3
lrwxrwxrwx 1 root root 19 Feb 20 11:27 libusb-1.0.so → libusb-1.0.so.0.3.0
lrwxrwxrwx 1 root root 19 Feb 20 11:27 libusb-1.0.so.0 → libusb-1.0.so.0.3.0
-rwxr-xr-x 2 root root 123K Jan 1 1970 libusb-1.0.so.0.3.0
drwxr-xr-x 3 root root 4.0K Jan 1 1970 lua
drwxr-xr-x 2 root root 4.0K Jan 1 1970 udev
drwxr-xr-x 3 root root 4.0K Jan 1 1970 x86_64-linux-gnu
So it seems I do have opencl available, but not really. Any clues on how to proceed, any libraries or opencl stuff that needs to be installed via apt-get on the system?
krupkat
(Tomas)
April 7, 2023, 2:06pm
2
I think there are issues with AMD + OpenCL in flatpak: Darktable Flatpak doesn't recognise OpenCL even with -d opencl flag · Issue #68 · flathub/org.darktable.Darktable · GitHub
Basically it cannot be achieved at the moment, you can try the non flatpak version.
With Nvidia it could work as the driver is included in the flatpak sandbox. I haven’t tested this personally.
1 Like
atte
April 7, 2023, 3:31pm
3
Thanks! I believe I’m on Intel, rather than AMD…
atte@ajstrup:~$ lspci | grep Grap
00:02.0 VGA compatible controller: Intel Corporation CometLake-S GT2 [UHD Graphics 630] (rev 03)
In any case, I’ll try a build from source, see if that changes anything! Thanks!
For future reference, don’t run the binary from a flatpak directly, run it like flatpak run org.darktable.Darktable
atte
April 7, 2023, 4:02pm
5
Cool, thank, I’ll do that!
Anyways, I build darktable from source and OpenCL is still not available, any idea if it’s possible:
atte@ajstrup:~/software/darktable$ /opt/darktable/bin/darktable-cltest
[dt_get_sysresource_level] switched to 1 as `default’
total mem: 7848MB
mipmap cache: 981MB
available mem: 3924MB
singlebuff: 61MB
OpenCL tune mem: OFF
OpenCL pinned: OFF
[opencl_init] opencl related configuration options:
[opencl_init] opencl: ON
[opencl_init] opencl_scheduling_profile: ‘default’
[opencl_init] opencl_library: ‘default path’
[opencl_init] opencl_device_priority: ‘/!0, // /!0,*’
[opencl_init] opencl_mandatory_timeout: 400
[opencl_init] opencl library ‘libOpenCL.so.1’ found on your system and loaded
[opencl_init] found 1 platform
[opencl_init] no devices found for Mesa (vendor) - Clover (name)
[opencl_init] found 0 device
[opencl_init] FINALLY: opencl is NOT AVAILABLE on this system.
[opencl_init] initial status of opencl enabled flag is OFF.
atte@ajstrup:~/software/darktable$ mlocate libOpenCL.so.1
/usr/lib/i386-linux-gnu/libOpenCL.so.1
/usr/lib/i386-linux-gnu/libOpenCL.so.1.0.0
/usr/lib/x86_64-linux-gnu/libOpenCL.so.1
/usr/lib/x86_64-linux-gnu/libOpenCL.so.1.0.0
/var/lib/flatpak/runtime/org.gnome.Platform/x86_64/40/83cb0a34f6f1671c54e72706e829a8070a9a3a4add2c812e2b50fbfe6e368df2/files/lib/x86_64-linux-gnu/libOpenCL.so.1
/var/lib/flatpak/runtime/org.gnome.Platform/x86_64/40/83cb0a34f6f1671c54e72706e829a8070a9a3a4add2c812e2b50fbfe6e368df2/files/lib/x86_64-linux-gnu/libOpenCL.so.1.0.0
/var/lib/flatpak/runtime/org.gnome.Platform/x86_64/43/01e39e8c8bfdbf6effded1ca6c5a88b4177b920d4761dc20d8a334d675d051a5/files/lib/x86_64-linux-gnu/libOpenCL.so.1
/var/lib/flatpak/runtime/org.gnome.Platform/x86_64/43/01e39e8c8bfdbf6effded1ca6c5a88b4177b920d4761dc20d8a334d675d051a5/files/lib/x86_64-linux-gnu/libOpenCL.so.1.0.0
/var/lib/flatpak/runtime/org.kde.Platform/x86_64/6.3/da5db79df3afb70fe080b06f44b84ef1db3400ea8eb8cba77c22ab07c9065f64/files/lib/x86_64-linux-gnu/libOpenCL.so.1
/var/lib/flatpak/runtime/org.kde.Platform/x86_64/6.3/da5db79df3afb70fe080b06f44b84ef1db3400ea8eb8cba77c22ab07c9065f64/files/lib/x86_64-linux-gnu/libOpenCL.so.1.0.0
What Intel open cl driver do you have? It needs to be the “neo” driver
atte
April 7, 2023, 7:23pm
7
Thanks, that did it, its working now.
Thanks!
1 Like
jchnkl
(Jochen Keil)
May 13, 2023, 11:25am
8
Hi,
I too had problems with flatpak & OpenCL. I got it to work by fixing the app permissions with Flatseal. I also wrote about it here:
opened 11:02PM - 27 Oct 20 UTC
I'm having the same issue as https://github.com/flatpak/flatpak/issues/3900?_pja… x=%23js-repo-pjax-container on Ubuntu 20.04.1, Threadripper 1900x, Vega 64 Liquid, amdgpu-pro 20.40 driver installed with --opencl=pal flag.
<details><summary>$ flatpak run org.darktable.Darktable -d opencl</summary>
<pre>
Gtk-Message: 22:53:19.115: Failed to load module "canberra-gtk-module"
Gtk-Message: 22:53:19.118: Failed to load module "canberra-gtk-module"
0.096296 [opencl_init] opencl related configuration options:
0.096305 [opencl_init]
0.096307 [opencl_init] opencl: 1
0.096309 [opencl_init] opencl_scheduling_profile: 'default'
0.096314 [opencl_init] opencl_library: ''
0.096321 [opencl_init] opencl_memory_requirement: 768
0.096327 [opencl_init] opencl_memory_headroom: 400
0.096330 [opencl_init] opencl_device_priority: '*/!0,*/*/*/!0,*'
0.096335 [opencl_init] opencl_mandatory_timeout: 200
0.096339 [opencl_init] opencl_size_roundup: 16
0.096343 [opencl_init] opencl_async_pixelpipe: 0
0.096347 [opencl_init] opencl_synch_cache: active module
0.096349 [opencl_init] opencl_number_event_handles: 25
0.096352 [opencl_init] opencl_micro_nap: 1000
0.096357 [opencl_init] opencl_use_pinned_memory: 0
0.096360 [opencl_init] opencl_use_cpu_devices: 0
0.096363 [opencl_init] opencl_avoid_atomics: 0
0.096364 [opencl_init]
0.096442 [opencl_init] could not find opencl runtime library 'libOpenCL'
0.096474 [opencl_init] could not find opencl runtime library 'libOpenCL.so'
0.097122 [opencl_init] found opencl runtime library 'libOpenCL.so.1'
0.097143 [opencl_init] opencl library 'libOpenCL.so.1' found on your system and loaded
0.268473 [opencl_init] found 1 platform
0.268497 [opencl_init] found 1 device
0.268521 [opencl_init] discarding device 0 `Radeon RX Vega (VEGA10, DRM 3.40.0, 5.4.0-52-generic, LLVM 10.0.1)' - The OpenCL driver doesn't provide image support. See also 'clinfo' output.
0.268526 [opencl_init] no suitable devices found.
0.268528 [opencl_init] FINALLY: opencl is NOT AVAILABLE on this system.
0.268531 [opencl_init] initial status of opencl enabled flag is OFF.
</pre>
</details>
**The result in the GUI is that OpenCL checkbox and label are grayed out**

<details><summary>neofetch</summary>
<pre>
OS: Ubuntu 20.04.1 LTS x86_64
Kernel: 5.4.0-52-generic
Uptime: 1 hour, 4 mins
Packages: 1857 (dpkg), 50 (flatpak), 33 (snap)
Shell: bash 5.0.17
Resolution: 1920x1200
DE: GNOME
WM: Mutter
WM Theme: Adwaita
Theme: Adwaita-dark [GTK2/3]
Icons: Yaru [GTK2/3]
Terminal: gnome-terminal
CPU: AMD Ryzen Threadripper 1900X (16) @ 3.800GHz
GPU: AMD ATI Radeon RX Vega 64
Memory: 3598MiB / 15930MiB
</pre>
</details>
<details><summary>$ clinfo</summary>
<pre>
Number of platforms 1
Platform Name AMD Accelerated Parallel Processing
Platform Vendor Advanced Micro Devices, Inc.
Platform Version OpenCL 2.1 AMD-APP (3180.7)
Platform Profile FULL_PROFILE
Platform Extensions cl_khr_icd cl_amd_event_callback cl_amd_offline_devices
Platform Host timer resolution 1ns
Platform Extensions function suffix AMD
Platform Name AMD Accelerated Parallel Processing
Number of devices 1
Device Name gfx900
Device Vendor Advanced Micro Devices, Inc.
Device Vendor ID 0x1002
Device Version OpenCL 2.0 AMD-APP (3180.7)
Driver Version 3180.7 (PAL,HSAIL)
Device OpenCL C Version OpenCL C 2.0
Device Type GPU
Device Board Name (AMD) Radeon RX Vega
Device Topology (AMD) PCI-E, 44:00.0
Device Profile FULL_PROFILE
Device Available Yes
Compiler Available Yes
Linker Available Yes
Max compute units 64
SIMD per compute unit (AMD) 4
SIMD width (AMD) 16
SIMD instruction width (AMD) 1
Max clock frequency 1107MHz
Graphics IP (AMD) 9.0
Device Partition (core)
Max number of sub-devices 64
Supported partition types None
Supported affinity domains (n/a)
Max work item dimensions 3
Max work item sizes 1024x1024x1024
Max work group size 256
Preferred work group size (AMD) 256
Max work group size (AMD) 1024
Preferred work group size multiple 64
Wavefront width (AMD) 64
Preferred / native vector sizes
char 4 / 4
short 2 / 2
int 1 / 1
long 1 / 1
half 1 / 1 (cl_khr_fp16)
float 1 / 1
double 1 / 1 (cl_khr_fp64)
Half-precision Floating-point support (cl_khr_fp16)
Denormals No
Infinity and NANs No
Round to nearest No
Round to zero No
Round to infinity No
IEEE754-2008 fused multiply-add No
Support is emulated in software No
Single-precision Floating-point support (core)
Denormals No
Infinity and NANs Yes
Round to nearest Yes
Round to zero Yes
Round to infinity Yes
IEEE754-2008 fused multiply-add Yes
Support is emulated in software No
Correctly-rounded divide and sqrt operations Yes
Double-precision Floating-point support (cl_khr_fp64)
Denormals Yes
Infinity and NANs Yes
Round to nearest Yes
Round to zero Yes
Round to infinity Yes
IEEE754-2008 fused multiply-add Yes
Support is emulated in software No
Address bits 64, Little-Endian
Global memory size 8573157376 (7.984GiB)
Global free memory (AMD) 8306688 (7.922GiB)
Global memory channels (AMD) 64
Global memory banks per channel (AMD) 4
Global memory bank width (AMD) 256 bytes
Error Correction support No
Max memory allocation 7059013632 (6.574GiB)
Unified memory for Host and Device No
Shared Virtual Memory (SVM) capabilities (core)
Coarse-grained buffer sharing Yes
Fine-grained buffer sharing Yes
Fine-grained system sharing No
Atomics No
Minimum alignment for any data type 128 bytes
Alignment of base address 2048 bits (256 bytes)
Preferred alignment for atomics
SVM 0 bytes
Global 0 bytes
Local 0 bytes
Max size for global variable 6353112064 (5.917GiB)
Preferred total size of global vars 8573157376 (7.984GiB)
Global Memory cache type Read/Write
Global Memory cache size 16384 (16KiB)
Global Memory cache line size 64 bytes
Image support Yes
Max number of samplers per kernel 16
Max size for 1D images from buffer 134217728 pixels
Max 1D or 2D image array size 2048 images
Base address alignment for 2D image buffers 256 bytes
Pitch alignment for 2D image buffers 256 pixels
Max 2D image size 16384x16384 pixels
Max 3D image size 2048x2048x2048 pixels
Max number of read image args 128
Max number of write image args 64
Max number of read/write image args 64
Max number of pipe args 16
Max active pipe reservations 16
Max pipe packet size 2764046336 (2.574GiB)
Local memory type Local
Local memory size 65536 (64KiB)
Local memory syze per CU (AMD) 65536 (64KiB)
Local memory banks (AMD) 32
Max number of constant args 8
Max constant buffer size 7059013632 (6.574GiB)
Preferred constant buffer size (AMD) 16384 (16KiB)
Max size of kernel argument 1024
Queue properties (on host)
Out-of-order execution No
Profiling Yes
Queue properties (on device)
Out-of-order execution Yes
Profiling Yes
Preferred size 262144 (256KiB)
Max size 8388608 (8MiB)
Max queues on device 1
Max events on device 1024
Prefer user sync for interop Yes
Number of P2P devices (AMD) 0
P2P devices (AMD) <printDeviceInfo:147: get number of CL_DEVICE_P2P_DEVICES_AMD : error -30>
Profiling timer resolution 1ns
Profiling timer offset since Epoch (AMD) 1603832704990059755ns (Tue Oct 27 22:05:04 2020)
Execution capabilities
Run OpenCL kernels Yes
Run native kernels No
Thread trace supported (AMD) Yes
Number of async queues (AMD) 4
Max real-time compute queues (AMD) 1
Max real-time compute units (AMD) 0
printf() buffer size 4194304 (4MiB)
Built-in kernels (n/a)
Device Extensions cl_khr_fp64 cl_amd_fp64 cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_int64_base_atomics cl_khr_int64_extended_atomics cl_khr_3d_image_writes cl_khr_byte_addressable_store cl_khr_fp16 cl_khr_gl_sharing cl_khr_gl_depth_images cl_amd_device_attribute_query cl_amd_vec3 cl_amd_printf cl_amd_media_ops cl_amd_media_ops2 cl_amd_popcnt cl_khr_image2d_from_buffer cl_khr_subgroups cl_khr_gl_event cl_khr_depth_images cl_khr_mipmap_image cl_khr_mipmap_image_writes cl_amd_copy_buffer_p2p
NULL platform behavior
clGetPlatformInfo(NULL, CL_PLATFORM_NAME, ...) No platform
clGetDeviceIDs(NULL, CL_DEVICE_TYPE_ALL, ...) No platform
clCreateContext(NULL, ...) [default] No platform
clCreateContext(NULL, ...) [other] Success [AMD]
clCreateContextFromType(NULL, CL_DEVICE_TYPE_DEFAULT) Success (1)
Platform Name AMD Accelerated Parallel Processing
Device Name gfx900
clCreateContextFromType(NULL, CL_DEVICE_TYPE_CPU) No devices found in platform
clCreateContextFromType(NULL, CL_DEVICE_TYPE_GPU) Success (1)
Platform Name AMD Accelerated Parallel Processing
Device Name gfx900
clCreateContextFromType(NULL, CL_DEVICE_TYPE_ACCELERATOR) No devices found in platform
clCreateContextFromType(NULL, CL_DEVICE_TYPE_CUSTOM) No devices found in platform
clCreateContextFromType(NULL, CL_DEVICE_TYPE_ALL) Success (1)
Platform Name AMD Accelerated Parallel Processing
Device Name gfx900
</pre>
</details>
**Screenshot of the deb version of Darktable**

Hope this helps others looking for a solution!
Cheers!
2 Likes