Since Ubuntu Studio’s version of darktable is several releases behind, I’ve been installing it via flatpak. It works just fine, indeed it works quite well on this machine.
But I haven’t figured out how to run the darktable-cltest executable. I confirmed that the binary is in the flatpak’s bin directory. I have no clue how to launch it from the shell. I tried a couple of things but wound up with complaints about missing libraries and/or modules.
I expect the same is true of darktable-cli, or any other executables packaged with darktable.
Any clues how one can run command line executables from the flatpak? Thanks.
flatpak run --command=darktable-cltest org.darktable.Darktable
0.0458 [dt_get_sysresource_level] switched to 1 as `default'
0.0458 total mem: 31991MB
0.0458 mipmap cache: 3998MB
0.0458 available mem: 15995MB
0.0458 singlebuff: 249MB
0.0459 OpenCL tune mem: OFF
0.0459 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
0.0476 [dt_dlopencl_init] could not find default opencl runtime library 'libOpenCL'
0.0477 [dt_dlopencl_init] could not find default opencl runtime library 'libOpenCL.so'
[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 and NOT ENABLED.
For other commands that require options, flatpak run --command=darktable-cli org.darktable.Darktable --arguments-go-here