Lens not showing up in lens correction module

I’m using darktable 4.0.1 on Ubuntu Linux and I’m looking to update the lenses supported in the lens correction module. I’m looking for the Olympus 12-45 mm f4 pro lens which appears to be supported in lensfun (Lensfun). I’ve updated my lensfun data like this:

$ sudo lensfun-update-data
Reading http://lensfun.sourceforge.net/db/versions.json …
Reading http://wilson.bronger.org/lensfun-db/versions.json …
Info: No newer database was found for last installed Lensfun.

However, when I look in the lens correction module in darktable I don’t see the 12-45 lens as an option:

image

Is there something else I need to do to get darktable to use the latest lensfun database?

Did you install the snap package? If yes, then you’re stuck with the lensfun version they ship.

1 Like

Thanks! Yes, I was using the snap version and that was the issue.

I installed the apt version which has darktable 3.8.1 and now the 12-45 lens shows up in lens correction. There are more camera profiles as well (under lens correction). The snap version only had an E-M10 and not an E-M10 mark ii for instance (which is interesting because this is an old camera).

Yeah, if you want a “complete” darktable package use the OBS repo or the flatpak.

2 Likes

I followed the install instructions for OBS and I ended up getting this error:

$ curl -fsSL https://download.opensuse.org/repositories/graphics:darktable/xUbuntu_22.04/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/graphics_darktable.gpg > /dev/null
curl: (22) The requested URL returned error: 404
gpg: no valid OpenPGP data found.

Is the OBS URL just currently down?

Not sure. I’ve lodged an inquiry, perhaps try again a bit later.

1 Like

Looks like it was just a temporary server issue. I ran the same command just now without error and then was able to upgrade to darktable 4.0.1. Thanks for the help.