Ah, that could be it - I was still SSH’d in even with the monitor plugged in. I’ll log in on the Pi itself with the monitor attached and run it there, then report back with the output.
Sounds good. Please run it locally on the monitor and paste the output (and if it still fails, a fresh arducam-camera-bug-report).
To summarize where we are:
- The camera driver side is fine - libcamera-hello registers the ov5647 10-0036 sensor and configures streams successfully.
- The failing piece is the GUI preview in the example:
cv2.imshowthrowsCan't initialize GTK backend in function 'cvInitSystem', which makes the frame empty and causes the ‘c’ snapshot to fail with!_img.empty()in imwrite. - We believe this is a display/session issue, not a camera or focuser fault: the example appears to be launched over SSH even after a monitor was connected. The preview must be run locally on the Pi with the monitor attached, not through a remote SSH session.
So the fix to try next is running FocuserExample.py directly on the monitor side. If the GTK error still shows up that way, send the log and we’ll dig further.