But as soon as I try to bring up a preview stream, it bombs out with a frontend timeout:
dipenparmar@dipen:~ $ libcamera-hello -t 0
[0:01:23.916596760] [1962] INFO Camera camera_manager.cpp:326 libcamera v0.5.0+84-79f583c3-dirty (2025-05-06T02:52:19BST)
[0:01:23.923566906] [1965] INFO RPI pisp.cpp:720 libpisp version v1.2.1 981977ff21f3 29-04-2025 (14:13:50)
[0:01:23.949106648] [1965] ERROR IPAProxy ipa_proxy.cpp:171 Configuration file 'arducam-pivariety_mono.json' not found for IPA module 'rpi/pisp'
[0:01:24.125471742] [1965] INFO RPI pisp.cpp:1180 Registered camera /base/axi/pcie@1000120000/rp1/i2c@80000/arducam_pivariety@c to CFE device /dev/media0 and ISP device /dev/media2 using PiSP variant BCM2712_D0
Made X/EGL preview window
Mode selection for 1280:400:12:P
R8,1280x400/0 - Score: 2000
R8,2560x720/0 - Score: 2533.33
R8,2560x800/0 - Score: 2420
R10_CSI2P,640x200/0 - Score: 2680
R10_CSI2P,1280x400/0 - Score: 1000
R10_CSI2P,2560x720/0 - Score: 1533.33
R10_CSI2P,2560x800/0 - Score: 1420
Stream configuration adjusted
[0:01:24.353851007] [1962] INFO Camera camera.cpp:1205 configuring streams: (0) 1280x400-YUV420 (1) 1280x400-MONO_PISP_COMP1
[0:01:24.417815109] [1965] INFO RPI pisp.cpp:1484 Sensor: /base/axi/pcie@1000120000/rp1/i2c@80000/arducam_pivariety@c - Selected sensor format: 1280x400-Y10_1X10 - Selected CFE format: 1280x400-PC1M
[0:01:25.570693420] [1965] WARN V4L2 v4l2_videodevice.cpp:2150 /dev/video4[16:cap]: Dequeue timer of 1000000.00us has expired!
[0:01:25.570739399] [1965] ERROR RPI pipeline_base.cpp:1420 Camera frontend has timed out!
[0:01:25.570745289] [1965] ERROR RPI pipeline_base.cpp:1421 Please check that your camera sensor connector is attached securely.
[0:01:25.570750810] [1965] ERROR RPI pipeline_base.cpp:1422 Alternatively, try another cable and/or sensor.
ERROR: Device timeout detected, attempting a restart!!!
Two things stand out to me: the missing IPA config file for ‘arducam-pivariety_mono.json’ and the frontend timeout. Not sure if the missing config is a red herring or actually related. Anyone run into this combo before?
Thanks for the detailed logs — that’s really helpful.
A couple of things to check first:
The IPA config warning (arducam-pivariety_mono.json not found) is interesting. The B0263 is a mono sensor, and it looks like libcamera/PiSP is looking for a tuning file that isn’t present. That could potentially cause issues, though usually a missing IPA config wouldn’t cause a hard frontend timeout on its own — it’d more likely result in poor image quality or a fallback.
The frontend timeout is the more immediate problem. The CFE (Camera Front End) on the RP1 isn’t getting frame data from the sensor within the 1-second dequeue window. The usual culprits are:
Poor cable connection
Damaged ribbon cable
Insufficient power delivery to the sensor
A faulty sensor module itself
Can you try the following:
Reseat the ribbon cable at both ends (Pi side and camera side)
If you have another ribbon cable, swap it in
If you have another camera module on hand, test it on the same Pi to rule out the CSI connector and Pi/OS side of things
Good suggestions — I’ve already done quite a bit of elimination testing on the hardware side.
I swapped through 3 different ribbon cables (the original plus two spares I had). All three behave exactly the same — camera detected over I2C, but frontend timeout every time I try to stream.
Then I pulled out an Arducam B0266 module I have here. Using the same Raspberry Pi 5, same Bookworm OS install, same cables — the B0266 works perfectly. No timeout, streams without a hitch. Tested all three cables with the B0266 and they’re all fine.
So at this point I’m fairly confident it’s not:
The ribbon cable(s)
The CSI connector on the Pi
The Pi 5 itself
The OS / libcamera installation
It really seems isolated to this particular B0263 module. The I2C communication works (hence camera detection succeeds) but as soon as the sensor is asked to actually stream pixel data over MIPI, nothing comes through and the frontend times out.
I also uploaded a PDF with some additional environmental details if that helps. Anything else I should try before concluding the module is bad?
Thanks for doing all that legwork — that’s a pretty thorough isolation test. Ruling out cables, the Pi, the OS, and the CSI connector narrows this down significantly.
Looking at your logs again, there are really two things going on:
1. The missing IPA configuration file:
ERROR IPAProxy ipa_proxy.cpp:171 Configuration file 'arducam-pivariety_mono.json' not found for IPA module 'rpi/pisp'
The B0263 uses a monochrome sensor, and the PiSP IPA (Image Processing Algorithm) module appears to be missing its tuning/config JSON for this particular mono variant. This might not cause the timeout directly, but it suggests the software support for this specific sensor on Pi 5 / PiSP pipeline may not be fully baked in the libcamera build you’re running.
2. The frontend timeout:
This is the primary failure. The CFE on the RP1 is waiting for valid MIPI data from the sensor and never receives it. The sensor responds on I2C (so it’s not completely dead), but the MIPI CSI-2 lanes appear to be silent. This typically points to a hardware fault on the sensor board itself — could be the sensor IC, the MIPI driver, a cold solder joint, or a power regulation issue on the module.
At this stage, based on what you’ve tested, I’d say the B0263 module is faulty.
One additional note: the B0263 model has been temporarily discontinued, so sourcing a direct replacement of the same model may not be straightforward. I’ll follow up with you via private message about options for getting you up and running with a working module.
That makes sense, and I appreciate the detailed breakdown on the IPA config vs the timeout being separate issues.
A bit frustrating that the B0263 has been discontinued — I only just picked this one up. But if the module is faulty, it is what it is. The B0266 I tested works great, so if there’s a path to get swapped over to one of those, that would keep my project on track. My end customer is waiting on this prototype build and the timeline is already slipping.
Let me know what the next steps are — happy to provide any additional debug info if it helps on your side. I can even set up remote access to the Pi if anyone wants to poke around before a replacement gets shipped out.
Glad the analysis was helpful. I’ve sent you a private message with the details on how we’ll handle getting you a working B0266 module to replace the faulty B0263.
To summarise for anyone else who stumbles on this thread with similar symptoms:
B0263 on Pi 5 / Bookworm: the arducam-pivariety_mono.json IPA config missing is a known gap in the current PiSP/libcamera build for this mono sensor variant. It may or may not cause operational issues on its own, but it’s something to be aware of.
Frontend timeout on a B0263 after ruling out cables, Pi, and OS: this strongly suggests a hardware fault on the camera module itself. The I2C side (camera detection) can work even when the MIPI data lanes are dead.
The B0263 has been temporarily discontinued, so customers experiencing hardware failures with this model should reach out for assistance rather than trying to source another B0263 unit.
Closing the loop here — if you’re in the same boat, post your logs and I’ll take a look.