darktable-org / rawspeed

fast raw decoding library
GNU Lesser General Public License v2.1
347 stars 114 forks source link

Fujifilm X-T5 Raw compressed doesn't work in github version #411

Open ghost opened 1 year ago

ghost commented 1 year ago

Hello

I tested the X-T5 Raw in uncompressed, compressed (lossy) and lossless compressed. The compressed (lossy) Raw doesn't work and you see a skull in the github version from 2022.12.13.

Also in addition, in the lens correction module, the camera isn't recognized correctly (doesn't matter which file type). There is no camera found, and also no X-T5 in the list for self selecting it. Same is for X-H2 maybe?

Thanks and best regards!

kmilos commented 1 year ago

It is a known issue and documented in the existing X-T5 support requests (and upcoming release notes). None of the recent Fujifilm cameras are supported in the lossy compressed mode as of date, only uncompressed and lossless compressed. See:

https://github.com/darktable-org/rawspeed/pull/406 https://github.com/darktable-org/rawspeed/issues/407 https://github.com/darktable-org/darktable/issues/12952 https://github.com/darktable-org/rawspeed/issues/232 https://github.com/darktable-org/rawspeed/issues/255 https://github.com/darktable-org/rawspeed/issues/332

Please search before opening new issues.

For the lens correction, you need to update your lensfun database, it is not related to darktable nor rawspeed.

ghost commented 1 year ago

Thanks for the reply!

I also have several, 100% reproducable crashes with the supported raw files! I was able to reproduce the crash more than 8 times for lossless compressed and uncompressed:

In Preview Split View (Shortcut X), select two raw files to compare and scrolling and zoom in the raw photo, than go to the next. After a few photo, darktable crashes silent. I got the following message in the terminal: [mipmap cache] memory allocation failed!

I only have this with the new X-T5 files! Not with my Sony A7M4 or Nikon D7100! If this is not related to rawspeed, then i could open another issue in darktable! It seems like all the previews are created fully from raw in real time when i scroll this way in the lighttable, cause i disabled jpeg preview mode in the settings!

About the lens correction, does it means that lensfun also provides the info that the camera is correct recognized? I don't talk about the lens! It is about the camera itself, the model.

Thanks in advance

kmilos commented 1 year ago

Please report any darktable issues directly to the darktable issue tracker with as much info as possible, nobody will see it here (sounds like it could be x-trans processing path specific). This one (rawspeed) is for basic raw format support only.

About the lens correction, does it means that lensfun also provides the info that the camera is correct recognized? I don't talk about the lens! It is about the camera itself, the model.

Yes, for the lens correction module, lensfun database needs to provide both the body and lens info.

ghost commented 1 year ago

Thank you very much, and sorry for the trouble!

kmilos commented 1 year ago

Np. As for lensfun, X-T5 was added recently, so you just need to run lensfun-update-data (or add the lines yourself).