Hi all,
I’ve compiled source from github, but am finding that the Lens Correction module will not find any camera/lens info for my images.
Would anyone be kind enough to help me work out why this is happening, please?
Thanks in advance.
Cheers.
Compiled darktable from source or lensfun? Which version?
Which system and which set of build instructions? Can you confirm lensfun installation? Can we check the output of cmake configuration?
paperdigits… dt 4.8.1
hiram… mx linux
System:
Kernel: 6.1.0-23-amd64 [6.1.99-1] arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
parameters: BOOT_IMAGE=/boot/vmlinuz-6.1.0-23-amd64 root=UUID=<filter> ro quiet splash
init=/lib/systemd/systemd
Desktop: Xfce v: 4.18.1 tk: Gtk v: 3.24.36 info: xfce4-panel wm: xfwm v: 4.18.0 vt: 7
dm: LightDM v: 1.26.0 Distro: MX-23.3_x64 Libretto October 15 2023 base: Debian GNU/Linux 12
(bookworm)
bruce@audio2u:~
$ whereis lensfun
lensfun: /usr/include/lensfun /usr/share/lensfun
Not sure how to check the output of cmake configuration.
Can you point me in the right direction for that?
Typing cmake at the prompt gives me:
$ cmake
Usage
cmake [options]
cmake [options]
cmake [options] -S -B
Specify a source directory to (re-)generate a build system for it in the
current working directory. Specify an existing build directory to
re-generate its build system.
Run ‘cmake --help’ for more information.
The output after this step:
mkdir build && cd build && cmake ..
Urgh… I messed up.
I confused 2 separate events.
I have a version of 4.9 compiled from source (4.9.0+85~g4f19f7524c-dirty)
And I have a copy of 4.8.1 which is running from an appimage.
Apologies for the incorrect diagnosis.
The Lens Correction module, when pointed at images taken with my Sony a850 (my previous workhorse), only shows correction methods of “Lensfun database” or “only manual vignette”.
Whereas when I point it toward any image shot with my a7iii, I get the extra correction method of “embedded metadata”.
Trying to activate the module for almost* any of my a850 images causes the module to throw an error of “camera/lens not found”.
All the images I’ve tried from my a7iii seem to work fine.
So it’s obviously NOT a case of darktable not recognising the LensFun database, but more a case of LensFun not being consistent in its reading of different cameras or lens.
Sorry to have led you up the garden path.
If anyone has ideas on how I can get the Lens Correction module to work across all my images, that would be great!
Many thanks.
- I did randomly find an image from my a850 where Lens Correction did not return an error. So SOME a850 images work fine, and some do not.
Embedded metadata is only available for some raw files. The data has to be available in the raw file (aka embedded) for that camera/lens combination.
Out of curiosity, which lens?