I recently got an OM Systems (formerly Olympus) OM-5 camera and discovered that while the camera is in the lens correction module, darktable cannot read the raw files.
There is a pull request in the rawspeed library to add OM-5 support. It’s not clear to me what additional work needs to be done to complete this, but I’m happy to help if someone can point me in the right direction.
My questions are:
Is there anything that I can do to help push this PR along to get the OM-5 raw support added?
In the mean time, is there a good way I can process the OM-5 raw files with my own build of darktable? Would I need to build rawspeed based on the PR above and then point my install of darktable to my custom rawspeed?
For context I am comfortable with github, but don’t have too much familiarity with darktable development.
Probably not, unless there is something specific listed in the PR that you can do.
Yes you can pull the commit in the PR into your version of the rawspeed source, then build darktable. Darktable includes rawspeed as a submodule in its source repo.
Thanks, I’m attempting the install instructions from sugarbravo, but I’m running into some issues with getting the linux package dependencies for building darktable installed. I’ll make a separate thread for that.
To consolidate information from multiple threads, here is how I built darktable from source to use OM-5 raw files on Ubuntu 22.04 (thanks @kmilos and @sugarbravo for the directions):
Install the exiv2 maintenance branch (from source) for OM Systems support (ie. clone the repository, checkout the 0.27-maintenance branch, and then follow the instructions in the readme to install from source).
Run the command here for installing the minimal dependencies for darktable with libexiv2 removed (since we already installed it from source).
Now you should be able to run /opt/darktable/bin/darktable and the version in the top left corner of darktable will read 4.2om1 (or 4.2om1+dirty if you built it twice like me )
For convenience I created a desktop shortcut by copying the /usr/share/applications/darktable file to my desktop and then modifying the executable path (by opening it in a text editor)
Now I’m realizing that the kit lens for this camera (12-45 f4 pro) isn’t automatically recognized in the lens correction module because it comes in as an “OM” lens while the lens correction profile for it is filed under “Olympus”. Not sure if that’s a lensfun or a darktable issue.
@sugarbravo yup, that does appear to be what is happening. I am now wondering if they will do this for all their lenses or just the newer ones like the F4 pro lineup.
Thank you for the sample. It seems rebranding extends into lens’ firmware as well. Will probably need to copy lensfun entries for Olympus into OM System ones…