I have already brought up this topic on Reddit, but did not get anywhere there.
I’m pretty sure I’ve already used this camera/lens combination successfully. But that was with Darktable 4.8.x. In the meantime, Darktable has been updated to 5.2.1 and I’ve also switched from Manjaro to Arch. Now I have new photos taken with the EOS R7 and Sigma 16mm f.14 combination. When I apply the lens correction module, I get the message “camera/lens not found.”
If I understand correctly, Darktable uses lensfun for lens correction. When I look at Lensfun, the Sigma 16mm f/1.4 DC DN Contemporary lens is listed as supported. I have already updated the lensfun database with lensfun-update-data. This has not solved the issue. As a next step, i have found the lens in mil-sigma.xml. The RF mount was not listed here, so i have added manually Canon RF for the lens. But again without solving the issue.
If i choose generic Canon APS-C camera with 1.6 crop, I can choose the lens, but not when i use the EOS R7 as camera.
Can someone please tell me what I can do now or why this combination is no longer supported?
Adding only the mount, seems not to be enough (but i’m new to this all). Could it be, that also the cropfactor has to be adjusted? According to mil-canon.xml the EOS R7 has <cropfactor>1.613</cropfactor> instead of <cropfactor>1.534</cropfactor> which is noted by the lens…
I have added a issue in lensfun GitHub. This is the same edit as i have made manually. But in my case, it did not solve the issue for me. But maybe im to stupid for this.
I don’t know if it is possible on Windows to manually update the lensfun database, but i assume, you can do that.
With DT 5.2.1 you can choose “Generic Camera with Crop 1.6 (Canon)” and after that the Sigma 16mm f/1.4 is selectable as a workaround.
I have not found other directories, but maybe i have made something wrong with the xml file. In the meantime the my issue on GitHub was fixed and i could update the database. After that, the Sigma 16mm lens is available for the EOS R7.