OM-1 Support in Darktable

Yes, I just installed the latest pre-release weekly Windows build 3.9.0+1708~gae3860688 and my OM-1 RAW files are now skulls. Earlier 3.9 build had them working!

I think this means the database has lost your images …if DT doesn’t support them or won’t open them you usually get a warning along sometimes with a gray screen… Have you tried to import anything or just to view images that you had previously imported??

No, it means darktable was unable to open the files. Happens on newly imported files as well as those imported and properly viewed earlier from the same camera. Bummer.

Thats what I was referring to… You said skulls which might have been a different thing… could just be the build environment if they didn’t come from the same source…

Pull requests for darktable/rawspeed and darktable/darktable with full support for OM-1 are ready for a long time already. I have processed several thousand of OM-1 ORF images using darktable compiled from those branches that pull requests are from. For whatever reason those pull requests are completely ignored :frowning:

1 Like

I tried out what I believe is your @sugarbravo fork and the branch with support for OM-1 ORF files, but it didn’t work for me. Maybe I did something wrong. See: https://github.com/darktable-org/rawspeed/pull/348#issuecomment-1166262084

One needs to make sure relevant branches for both darktable and its rawspeed submodule are used. The following litany gives darktable wit OM-1 support.

git clone https://github.com/sarunasb/darktable.git
cd darktable
git checkout om-1
git submodule update --init

After this, rawspeed should be in a branch with OM-1 support:

grep OM-1 src/external/rawspeed/data/cameras.xml
   <Camera make="OM Digital Solutions" model="OM-1">
      <ID make="OM System" model="OM-1">OM Digital Solutions OM-1</ID>

Then the usual

mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/opt/darktable ..
make -j
sudo make install
1 Like

@sugarbravo Thanks for the help. It works fine now. I can import, view and edit OM-1 ORF-files.

I don’t know what i missed in my first attempt to build your fork and the OM-1 branch.

Needless to say, it would be very nice if kmilos (Miloš Komarčević) · GitHub and @sugarbravo’s contribution and pull request would be accepted, so all users could have access to this feature.

5 Likes

Hello from France, as “paco”, we are the owner of an OM-1 and disappointed that it is not yet recognized in the new version of Darktable 4.0. I have read the post well and it is far too technical with regard to my IT level. If the procedure described could be reduced to an executable file under windows, it would be great for everyone.
thanks for your job.
our discussion on the Darktable France forum: boitier OM-1 sur DT v4.0

@jose_c — unfortunately I don’t know how to make it less technical. Maybe someone can compile that branch for windows (I can’t) and post the executable somewhere for downloads…

The darktable project is super short on windows developers.

Windows users are highly encouraged to jump in and help out however possible.

I followed sugarbravo’s instructions and it works fine to open my OM-1 files. So that it great, thsnks!
But I have one question, is this the 4.0 version of Darktable or the previous one?
When I check the “about” in the program it says unknown on version.

see dt unknown-version? ["solved" -- sort of] - #16 by pehar

Thank you!
I tried following the instruction with the “safe directory” row added to the sequence from Sugarbravo. But it still states version unknown. I can compile the list of commands that I used.

1 Like

git clone https://github.com/sarunasb/darktable.git
cd darktable
git checkout om-1
git submodule update --init
mkdir build
cd build
sudo git config --global --add safe.directory …
cmake -DCMAKE_INSTALL_PREFIX=/opt/darktable …
make -j
sudo make install

I also tried

sudo git config --global --add safe.directory /home/user/darktable/master
sudo cmake --build "/home/user/darktable/master/build" --target install -- -j12

But the result remains the same.

Hej Viktor!

I copied your steps and tested. Works fine. Says version is 3.9.

But why three periods after the Cmake? Two are much better.

Mvh
Claes i Lund

Thank you Claes,
Then I will try again, maybee something went wrong. I guess I need to delete the already downloaded and installed files first.
It should be two periods. I think that this was auto corrected from two to three :slight_smile:

I just made a branch with full OM-1 support based on darktable release-4.0.0 tag. Building it on Linux:

git clone https://github.com/sarunasb/darktable.git
cd darktable
git checkout release-4.0.0-om1
git submodule init
git submodule update
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/opt/darktable/ ..
make -j
sudo make install
/opt/darktable/bin/darktable --version
this is darktable 4.0.om1
...
2 Likes

I tried to run your script on a Mac. cmake can’t find curl.

…
-- Could NOT find CURL: Found unsuitable version "7.54.0", but required is at least "7.56" (found /usr/lib/libcurl.dylib, )
-- Cannot found recent CURL version (>= 7.56) to build piwigo.
…
-- The following REQUIRED packages have not been found:
 * CURL (required version >= 7.56)
…
# which curl
/usr/bin/curl
# curl -V
curl 7.64.1 (x86_64-apple-darwin19.0) libcurl/7.64.1 (SecureTransport) LibreSSL/2.8.3 zlib/1.2.11 nghttp2/1.39.2
Release-Date: 2019-03-27
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp smb smbs smtp smtps telnet tftp 
Features: AsynchDNS GSS-API HTTP2 HTTPS-proxy IPv6 Kerberos Largefile libz MultiSSL NTLM NTLM_WB SPNEGO SSL UnixSockets

It appears that cmake is looking for a curl library, whereas I only seem to have an executable. Homebrew (MacOS package manager) doesn’t know anything about “libcurl”.

Any ideas on how to fix this?

Thanks for any help you can offer!

I’m on Ubuntu Linux, so I can’t help with Homebrew.
You have libcurl installed, but it is an oudated version.
libcurl is the name of a file, not a package. On Linux there is a tool called apt-list which is able to search the package name(s) where file(s) containing libcurl are present. I suspect Homebrew offers a similar function.
If you were able to determine the name of the package, the next step would be to check if there is a more recent version available.

Edit: possibly this can help : homebrew - How to find package for installed file in Brew? - Stack Overflow