Hi all. I have an Arducam 1MP stereo camera (dual OV9281 monochrome global shutter) that was working fine on a Raspberry Pi 4 running Bookworm. I set it up using the Arducam Pivariety cameras section of the Multi-Camera CamArray quick-start guide. I’m now trying to use the same camera on a Raspberry Pi 5 and it’s not working at all. The camera is detected but I never get a stream. Has anyone run into this on the Pi 5?
Thanks for the report. A few things to narrow this down: which cable are you using to connect the camera to the Pi 5, and what OS are you on there? Also, can you run libcamera-hello and paste the full terminal output? That should tell us whether it’s a detection issue or something further down the pipeline.
Here’s the setup.
Working setup:
- Raspberry Pi 4, Bookworm OS
- Followed the Arducam Pivariety cameras section here: Quick Start Guide for Arducam CamArray HAT Kit - Arducam Wiki
Non-working setup:
- Raspberry Pi 5
Cable situation: the stereo camera ships with a 15-to-22 pin cable. The 15-pin side fits the Pi 4’s camera connector, but the Pi 5 has a 22-pin connector, so that cable doesn’t fit. On the Pi 5 I’ve been using a 22-pin-to-22-pin cable taken from my quad camera array kit instead.
That makes sense — the Pi 5 connector is a different form factor, so the original 15-to-22 cable won’t plug in directly. Go ahead and run libcamera-hello on the Pi 5 and paste everything it prints, even the INFO/WARN lines. That’ll help me see exactly where it stops.
Here’s the full output from libcamera-hello:
[0:13:02.629194052] [2081] INFO Camera camera_manager.cpp:284 libcamera v0.1.0+246-9fb4698e-dirty (2024-02-27T06:28:07+00:00)
[0:13:02.637028100] [2084] INFO RPI pisp.cpp:662 libpisp version v1.0.4 6e3a53d137f4 14-02-2024 (14:00:12)
[0:13:02.651622201] [2084] WARN CameraSensorProperties camera_sensor_properties.cpp:274 No static properties available for 'arducam-pivariety'
[0:13:02.651638497] [2084] WARN CameraSensorProperties camera_sensor_properties.cpp:276 Please consider updating the camera sensor properties database
[0:13:02.661409107] [2084] ERROR IPAProxy ipa_proxy.cpp:149 Configuration file 'arducam-pivariety_mono.json' not found for IPA module 'rpi/pisp'
[0:13:02.848191295] [2084] INFO RPI pisp.cpp:1122 Registered camera /base/axi/pcie@120000/rp1/i2c@80000/arducam_pivariety@c to CFE device /dev/media3 and ISP device /dev/media0 using PiSP variant BCM2712_C0
Preview window unavailable
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:13:02.849405640] [2081] INFO Camera camera.cpp:1183 configuring streams: (0) 1280x400-YUV420 (1) 1280x400-MONO_PISP_COMP1
[0:13:02.959935291] [2084] INFO RPI pisp.cpp:1406 Sensor: /base/axi/pcie@120000/rp1/i2c@80000/arducam_pivariety@c - Selected sensor format: 1280x400-Y10_1X10 - Selected CFE format: 1280x400-PC1M
[0:13:04.142622622] [2084] WARN V4L2 v4l2_videodevice.cpp:2007 /dev/video4[16:cap]: Dequeue timer of 1000000.00us has expired!
[0:13:04.142650752] [2084] ERROR RPI pipeline_base.cpp:1424 Camera frontend has timed out!
[0:13:04.142655770] [2084] ERROR RPI pipeline_base.cpp:1425 Please check that your camera sensor connector is attached securely.
[0:13:04.142660807] [2084] ERROR RPI pipeline_base.cpp:1426 Alternatively, try another cable and/or sensor.
ERROR: Device timeout detected, attempting a restart!!!
So the camera is registered and it even configures the stream, but then it hits the timeout. Before this I already tried following the same Arducam Pivariety quick-start steps on the Pi 5, using the 22-to-22 cable from the quad array kit, and running libcamera-hello — same result every time.
Looking at the log, detection and mode selection are actually fine — it registers the sensor at /base/axi/pcie@120000/rp1/i2c@80000/arducam_pivariety@c and selects 1280x400-Y10_1X10. The failure is the V4L2 dequeue timer expiring, which then produces ‘Camera frontend has timed out!’ and the device restart. That kind of failure is usually signal integrity / physical layer rather than the driver not seeing the sensor.
The most common cause here is the cable. The 22-to-22 cable from the quad camera array kit is quite long, and the longer the cable, the worse the data transmission over CSI. That can absolutely produce this exact frontend timeout. My recommendation is to try a much shorter 22-to-22 cable — around 80mm — for the Pi 5 connection. In general, keep the CSI cable as short as possible; longer cables degrade the signal and cause these timeout errors.
Thanks for the explanation, but I’m still stuck. The Pi 5 still isn’t receiving a stream from the camera even though it’s clearly recognized. libcamera --list-cameras shows it fine, but the stream never comes through. Is this really just cable length, or could it be a driver issue with the OV9281 on the Pi 5?
Fair question. To rule the cable in or out, can you tell me the exact length of the 22-to-22 cable you’re using, and the length of the original 15-to-22 cable that works on the Pi 4? Also, if you’ve collected any new logs since, please paste them — I’d like to see whether the error is identical.
Both cables are the same length, actually:
- The stereo camera cable that came with the camera is 22-pin to 15-pin, 150mm, and it works fine on the Pi 4.
- The cable I’m using on the Pi 5 is a 22-pin-to-22-pin cable from the camera HAT module, also 150mm. It does not work.
The Pi 5 recognizes the camera with libcamera --list-cameras, but it cannot receive the stream. I don’t have new logs — it’s the same camera frontend timeout / device timeout error I posted before.
I also tried the modified drivers referenced in the Arducam troubleshooting page here (the “time error occurs when using multi-camera adapter board on Pi5” section): Troubleshooting - Arducam Wiki
That didn’t help either. Looking at it more closely, that modified driver fix seems to be for the OV5647 only. So is this actually a driver problem?
Okay, that changes the picture. If both cables are 150mm and the original works on the Pi 4, cable length alone is looking less likely to be the culprit. The modified driver you tried is indeed OV5647-specific, so I wouldn’t expect it to help the OV9281.
Where we stand right now: the sensor is detected and enumerated on the Pi 5, stream configuration completes, but the frontend times out before any frame data arrives. We’ve ruled out a simple length difference, and the known modified-driver fix doesn’t apply to this sensor. So the open question is whether the OV9281 in this Pivariety/stereo configuration has proper Pi 5 support (device tree overlay / driver path) or whether there’s still something physical in the 22-to-22 cable. I’m going to dig further into the OV9281 overlay and Pi 5 handling — I’ll post back here when I have something concrete. For now, the practical workaround remains using the camera on the Pi 4 setup where it works.