Is it possible to select a specific lens in darktable (2.6)? When my camera is detected by darktable the lens correction module offers only e-mount (sony native) lenses.

I'm using a few old Minolta MD lenses which seem to be supported by lensfun (software library).

I also tried to set the camera to a generic full-frame but I'm still not able to find the old Minoltas.

enter image description here

  • If you are using a tilt adapter, as indicated by your other question, the point is pretty much moot. When the lens is tilted the correction profile will not be the same for either geometric distortion or vignetting as when the lens is aligned with its optical axis perpendicular to the imaging plane (sensor/film). – Michael C Feb 3 '19 at 15:08
  • @MichaelC For these lenses I'm using a plain MD/Nex Adapter with no tilt or other extras. I just like experimenting – stacker Feb 4 '19 at 15:40

Use the command line tool lensfun-add-adapter for this, see http://manpages.ubuntu.com/manpages/bionic/man1/lensfun-add-adapter.1.html.

You can also do it by hand. Add a file _mounts.xml to a directory where Lensfun searches for your personal XMLs (it’s ~/.local/share/lensfun on Linux, I don’t know the path on Windows) with the following content:

        <name>Sony E</name>
        <compat>Sony Alpha</compat>
        <compat>Minolta MD</compat>
| improve this answer | |
  • Thanks the cmdline tool is not shipped in my windows distribution, I tried to edit the definition files found in C:\Program Files\darktable26\share\lensfun\version_1 but this seems not be read or updated by darktable. And this feature isn't implemented yet: redmine.darktable.org/issues/11726 – stacker Feb 3 '19 at 11:23
  • This feature won’t help you anyway because you need a Lensfun code update rather than a Lensfun DB update. – Torsten Bronger Feb 6 '19 at 7:38
  • Thank you, now at least 2 of the Minolta MD show up for the A6000 (crop) but none for A7RII both have the same <compat>Minolta MD</compat> xml element though. – stacker Feb 6 '19 at 8:20
  • Maybe missing lenses have only been calibrated for the other crop factor? – Torsten Bronger Feb 6 '19 at 12:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.