darktable with Canon R6 mk3 ?

Hi,
I’d like to use darktable with my Canon R6 mk3, official support is not there and who knows when it will happen.
Libraw seems to be the culprit although there seems to exist patches on github (GitHub - JuanPabloZambrano/LibRaw at canon-r6III-support · GitHub) for the common cases.

Does anybody know of a packaged version which includes these patches ?
or
Is there a laymans description somewhere for patching and building darktable from source ?

Thank you in advance

You can open the raw files. Set the black level to 512 (low ISO) and 2048 (high ISO). White level should be below 16382. Use a colour checker for the color calibration module to get the right colours and save as a preset.

To get the right white level you can use RawDigger or you can in darktable activate the raw clipping indicator. Your raw file needs clipped highlights.
Set the white level to 16383 and pull it down until you see clipped highlights from the raw clipping indicator.

Different camera modes may give you different clipping points. R6 for example clips at 16382, but when I use multi-exposure the clipping point is something like 12736.

2 Likes

it‘s quite easy. The darktable build process is well documented. So you just need a little bit of git skills to merge the mentioned pull request into your libraw submodule folder.
Or use my R6mIII related branch (GitHub - MStraeten/LibRaw at r6mIII · GitHub) to copy the different files from there…

If you’re on macOS you might use my recent builds (current OSX Build - #973 by MStraeten)

2 Likes

Thank’s for your answer and yes, I have used this solution - it seems to work ok but what is high iso, what is low iso et.c.

Thank you, I’ll give this a try.

Would it be ok to post here if I get into trouble or are there some other more suitable forum for such questions ?

ok here, so it can be found by other darktable users …

1 Like

Really cool someone made a build with the branch.

If anyone finds any issues , please let me know .
Canon files are the ones that I have found that need most work to correctly add support in libraw.
I think I have tested all modes in the r6 III but I don’t have it to check myself.

thanks for your effort to make this available …

You will notice it if you set 512 when it should be 2048 or if you set 2048 when it should be 512.

Thanks for your answer.

I haven’t given much thought to the mechanics behind these numbers but was afraid there would be some not so easily spotted differences that eventually would bite me later…

Ok, I’m on Linux, LMDE 6, which pretty much is a Debian 12 with some Linux Mint enhancements.

So, I cloned darktable 5.4.1 sources and simply replaced the src/external/LibRaw directory contents with the LibRaw files Mr Zambrano graciously published on GitHub (link is in a previous post above).

I followed the instructions from the file README.md in the top darktable directory - where the build.sh file resides.

There was some issues with the dependencies, but in the end running the build.sh file and following the instructions after compiling the sources (dont forget the ‘sudo’ command) darktable builds cleanly, OpenCL support is not available but maybe that was to be expected as my system uses the noveau driver (Nvidia 1070).

At present, I’m happy - It Works !

Thank you for your guidance and Thank you Mr Zambrano for the code !

As always there are questions, I will adress those in another post when I’ve had time to learn a little of darktables human interface…

@MStraeten, now I built darktable with your LibRaw code, looks like it has some additional enhancements so I think I’ll go with that.
Works great so far !

Among support for new Sony cameras there seems to be some new data structures, changes to a few function calls and data types, may I ask - bug fixes or new functionality on the way ?

Anyway - Thank You for sharing your effort.

i just keep it up to date with recent libraw changes see: Commits · LibRaw/LibRaw · GitHub

i don’t have insights to the decisions of the maintainer to provide new features or bugfixes …