today I ran into a problem with Darktable when I was trying to post-process a RAW that was shot with a Sony Camera (Sonly Alpha 7RII) and a Sigma 150-600 with Canon EF mount. I am using the Sigma MC-11 adapter.
After some discussion on IRC we found that the only way for me to (manually) select the proper lens was to select some camera that is compatible with Canon EF, then select the lens, then switch the Camera back to the Sony. That process doesn’t sound optimal to me and given more people might be using lens adapters, I wonder if we can improve this.
While debugging, we also found that the lens string in the EXIF data doesn’t match what exactly what is in lensfun, so there might be multiple problems:
exiv2 -pv --grep lensmodel/i test.arw 0xa434 Photo LensModel Ascii 46 150-600mm F5-6.3 DG OS HSM | Contemporary 015
Having the auto detection work would of course be nice as well, but being able to manually select independent of the camera type/mount or some kind of support for the adapters in that logic would be nice too.
@darix on IRC asked me to start a topic about this here.