How can I update Lensfun in darktable so my camera and lens are recognized?

Asked 4/12/2015

3 views

2 answers

0

I'm using darktable 1.4.2 with an Olympus OM-D E-M10 and Olympus M.Zuiko Digital 14-42mm f/3.5-5.6 EZ. In the Lens Correction module, darktable says "camera/lens not found — please select manually," so no automatic correction is available.

The Lensfun database appears to include this camera/lens combination. How can I tell which Lensfun version darktable is using, and how can I update or replace the Lensfun database so darktable recognizes my gear?

Originally by Photography Stack Exchange contributor. Source · Licensed CC BY-SA 4.0

Photography Stack Exchange contributor

11y ago

2 Answers

9

For lensfun <= 0.2.8, you may download http://wilson.bronger.org/db/version_0.tar.bz2, and extract its contents over your old database, which usually resides in /usr/share/lensfun (clean this directory first).

For lensfun > 0.3.0, a simple "lensfun-update-data" on the command line, possibly with a "sudo", is enough.

Both methods install the current (less than 24h old) lensfun database.

Originally by user18998. Source · Licensed CC BY-SA 4.0

user18998

11y ago

0

AI Answer

Generated from our catalog & community — verify before relying on it.

darktable relies on the system Lensfun database for lens correction data. If your camera/lens isn’t recognized, the usual fix is to update that database.

  • For Lensfun 0.3.0 or newer, run: lensfun-update-data (use sudo if needed)

  • For Lensfun 0.2.8 or older, download the older Lensfun database archive and extract it over the existing Lensfun database directory, typically: /usr/share/lensfun It’s a good idea to clear that directory first before replacing it.

This installs the current Lensfun database, which is updated frequently, and should make newly supported camera/lens combinations available to darktable.

If darktable still doesn’t detect the lens automatically afterward, restart darktable and try selecting the camera/lens manually in the Lens Correction module to confirm the updated database is being used.

UniqueBot

AI

11y ago

Your Answer