I have darktable 5.2.1 installed from source on a Linux machine (Mint 22.1, AMD Ryzen 9 7950X, AMD Ryzen 9 7950X, 32GB) and suddenly within 24h (after some updates in the update manager, but no change to darktable installation) darktable won’t start any more.
When started from the terminal, it shows the error:
./darktable: symbol lookup error: /lib/x86_64-linux-gnu/libRusticlOpenCL.so.1: undefined symbol: LLVMInitializeAArch64Target, version LLVM_19.1
I don’t have any idea where to start troubleshooting.
Ironically, on this same machine, the experimental AgX version (appimage 5.3.0+169~g06f0b0b576) runs without problems …
Yes, this enables darktable to start, but its processing is slow without opencl. And this does not explain, why it is suddenly causing problems.
And I just compiled the latest master version (f29de89), and it is causing the same problem …
Yes, here’s the output attached.
But the darktable-cltest also ends with this error:
./darktable-cltest: symbol lookup error: /lib/x86_64-linux-gnu/libRusticlOpenCL.so.1: undefined symbol: LLVMInitializeAArch64Target, version LLVM_19.1 darktable-cltest.txt (5.5 KB)
And yes, judging by the export speed and processor load difference between openCL enabled and disabled, on the AgX version, OpenCL is working …
Yes, I noticed the multiple devices. The first two are probably graphics integrated on the motherboard, but they are not used, the third (graphics card AMD ATI Radeon RX 7900 XT) however is used.
Here’s the -d common output from the AgX version: darktable-appimage.txt (7.3 KB)
Also, the following is showing after the terminal start of the appimage:
./Darktable-5.3.0+169~g06f0b0b576-x86_64.AppImage -d common > darktable-appimage.txt
Setting $HOME to /home/janko/DT_appimage/Darktable-5.3.0+169~g06f0b0b576-x86_64.AppImage.home
Gtk-Message: 23:18:36.125: Failed to load module “xapp-gtk3-module”
/usr/lib/x86_64-linux-gnu/gvfs/libgvfscommon.so: undefined symbol: g_task_set_static_name
Failed to load module: /usr/lib/x86_64-linux-gnu/gio/modules/libgvfsdbus.so
/usr/lib/x86_64-linux-gnu/gvfs/libgvfscommon.so: undefined symbol: g_task_set_static_name
Failed to load module: /usr/lib/x86_64-linux-gnu/gio/modules/libgioremote-volume-monitor.so
/usr/lib/x86_64-linux-gnu/gvfs/libgvfscommon.so: undefined symbol: g_task_set_static_name
Failed to load module: /usr/lib/x86_64-linux-gnu/gio/modules/libgvfsdbus.so
/usr/lib/x86_64-linux-gnu/gvfs/libgvfscommon.so: undefined symbol: g_task_set_static_name
Failed to load module: /usr/lib/x86_64-linux-gnu/gio/modules/libgioremote-volume-monitor.so
/usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so: undefined symbol: g_assertion_message_cmpint
Failed to load module: /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so
In the original post, you talk about a locally compiled version (“installed from source”) and problems after an update. The problems look very much like a mismatch for one or more libraries between the version used for compilation and the current version.
I think they get re-detected and re-added. However, it’s possible to disable a device by editing the line that belongs to it. I’m travelling, please read the manual. One of the numbers on the cldevice lines is a flag to disable the device.
h. disable device
0 = enable device; 1 = disable device
If darktable detects a malfunctioning device it will automatically mark it as such by setting this parameter to 1. If you have a device that reports a lot of errors you can manually disable it by setting this field to 1. If darktable has disabled the device but you are sure it should be used you can re-enable it by setting this field to 0.
Thank you for your information. As the first thing I tried deleting the darktablerc file, and success! darktable (both the 5.2.1 and master branch, actually) start without problems.
I only have to re-import all my files, or, is there a way to reconnect the database (existing) to the newly created darktablerc?