Skip to content

Fujifilm X-T5 calibration breaks #658

Description

@lamosadosa

When trying to calibrate this is the console output. NegPy gives a "calibration failed" message.

[2026-07-28 08:45:35] INFO     negpy.negpy.infrastructure.capture.gphoto: gphoto2 post-shot drain 0 ms (overlapped)
[2026-07-28 08:45:35] INFO     negpy.negpy.infrastructure.capture.gphoto: gphoto2 captured capture.raf (85.0 MB): assert 64 ms, shot 869 ms, download 95 ms (894 MB/s)
[2026-07-28 08:45:39] INFO     negpy.negpy.infrastructure.capture.gphoto: gphoto2 post-shot drain 0 ms (overlapped)
[2026-07-28 08:45:39] INFO     negpy.negpy.infrastructure.capture.gphoto: gphoto2 captured capture.raf (84.8 MB): assert 66 ms, shot 869 ms, download 94 ms (900 MB/s)
[2026-07-28 08:45:43] INFO     negpy.negpy.infrastructure.capture.gphoto: gphoto2 post-shot drain 0 ms (overlapped)
[2026-07-28 08:45:43] INFO     negpy.negpy.infrastructure.capture.gphoto: gphoto2 captured capture.raf (84.6 MB): assert 47 ms, shot 865 ms, download 94 ms (900 MB/s)
[2026-07-28 08:45:47] INFO     negpy.negpy.infrastructure.capture.gphoto: gphoto2 post-shot drain 0 ms (overlapped)
[2026-07-28 08:45:47] INFO     negpy.negpy.infrastructure.capture.gphoto: gphoto2 captured capture.raf (85.2 MB): assert 41 ms, shot 868 ms, download 93 ms (917 MB/s)
[2026-07-28 08:45:50] INFO     negpy.negpy.infrastructure.capture.gphoto: gphoto2 post-shot drain 0 ms (overlapped)
[2026-07-28 08:45:50] INFO     negpy.negpy.infrastructure.capture.gphoto: gphoto2 captured capture.raf (84.9 MB): assert 42 ms, shot 878 ms, download 93 ms (917 MB/s)
[2026-07-28 08:45:54] INFO     negpy.negpy.infrastructure.capture.gphoto: gphoto2 post-shot drain 0 ms (overlapped)
[2026-07-28 08:45:54] INFO     negpy.negpy.infrastructure.capture.gphoto: gphoto2 captured capture.raf (85.7 MB): assert 75 ms, shot 899 ms, download 100 ms (857 MB/s)
[2026-07-28 08:45:58] INFO     negpy.negpy.infrastructure.capture.gphoto: gphoto2 post-shot drain 0 ms (overlapped)
[2026-07-28 08:45:58] INFO     negpy.negpy.infrastructure.capture.gphoto: gphoto2 captured capture.raf (86.9 MB): assert 75 ms, shot 881 ms, download 95 ms (916 MB/s)
[2026-07-28 08:46:02] INFO     negpy.negpy.infrastructure.capture.gphoto: gphoto2 post-shot drain 0 ms (overlapped)
[2026-07-28 08:46:02] INFO     negpy.negpy.infrastructure.capture.gphoto: gphoto2 captured capture.raf (87.3 MB): assert 55 ms, shot 883 ms, download 101 ms (867 MB/s)
[2026-07-28 08:46:06] INFO     negpy.negpy.infrastructure.capture.gphoto: gphoto2 post-shot drain 0 ms (overlapped)
[2026-07-28 08:46:06] INFO     negpy.negpy.infrastructure.capture.gphoto: gphoto2 captured capture.raf (87.7 MB): assert 64 ms, shot 867 ms, download 95 ms (921 MB/s)
[2026-07-28 08:46:09] INFO     negpy.negpy.services.capture.calibration: calibration response: kR=4876.0 kG=5068.1 kB=6323.8 (spread 0.38 stops)
[2026-07-28 08:46:10] INFO     negpy.negpy.infrastructure.capture.gphoto: gphoto2 post-shot drain 0 ms (overlapped)
[2026-07-28 08:46:10] INFO     negpy.negpy.infrastructure.capture.gphoto: gphoto2 captured capture.raf (84.7 MB): assert 41 ms, shot 867 ms, download 96 ms (878 MB/s)
[2026-07-28 08:46:13] INFO     negpy.negpy.services.capture.calibration: calibrated R → level 244, shutter 1/20 (target 58982, got 58065, clip 0.000%, target)
[2026-07-28 08:46:14] INFO     negpy.negpy.infrastructure.capture.gphoto: gphoto2 post-shot drain 0 ms (overlapped)
[2026-07-28 08:46:14] INFO     negpy.negpy.infrastructure.capture.gphoto: gphoto2 captured capture.raf (85.4 MB): assert 2 ms, shot 861 ms, download 96 ms (885 MB/s)
[2026-07-28 08:46:17] WARNING  negpy.negpy.infrastructure.capture.gphoto: gphoto2 exit: [-1] Unspecified error
[2026-07-28 08:46:17] ERROR    negpy.negpy.desktop.workers.capture_worker: calibration failed
Traceback (most recent call last):
  File "negpy/infrastructure/capture/gphoto.py", line 654, in capture
gphoto2.GPhoto2Error: [-1] Unspecified error

Tried different ports, different cables, ensuring tethering is via "also save on sd card", high performance energy mode on camera on, running as user or as superuser.

Running Fedora.

gphoto2         2.5.28         gcc, popt(m), exif, no cdk, no aa, jpeg, readline
libgphoto2      2.5.33         standard camlibs, gcc, no ltdl, EXIF
libgphoto2_port 0.12.2         iolibs: disk ptpip serial usb1 usbdiskdirect usbscsi, gcc, no ltdl, EXIF, USB, serial lockdev locking

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions