Hi all, hoping someone can point me in the right direction. I’m running a Raspberry Pi 5 with a Multi-camera adapter board v2.2 (B012001) and 3x IMX708 modules (B0310), and every time I try to capture an image I get a ‘Camera frontend has timed out!’ error from libcamera. The strange part is that the exact same hardware and the same steps work perfectly on my Pi Zero 2, so the cables/sensors should be fine. Has anyone run into this on the Pi 5?
Welcome! That front-end timeout on the Pi 5 is definitely something we’ve been seeing reports about. Before we dig in, could you post your OS/kernel/architecture details, what’s in config.txt, and which port on the adapter board your camera is plugged into?
Sure, here are the environment details:
- 1x Raspberry Pi 5
- 1x Multi-camera adapter board v2.2 (B012001)
- 3x IMX708 boards (B0310)
- OS: Debian GNU/Linux 12 (bookworm)
- Kernel: Linux 6.6.22-v8-16k+
- Architecture: arm64
The camera board is connected to the cam1 port (the one furthest from the RJ45). config.txt currently has dtparam=i2c_arm=on. I followed the Quick-Start Guide here: Quick Start Guide for Multi-Camera Adapter Board - Arducam Wiki
Thanks. On the Pi 5 you need to disable camera auto-detect and load the mux overlay manually. Can you paste the camera_auto_detect and dtoverlay lines from your config.txt?
Right, here’s what I changed:
camera_auto_detect=0
dtoverlay=camera-mux-4port,cam0-imx708,cam1-imx708,cam2-imx708
That overlay line looks reasonable for three IMX708s. Next, can you run libcamera-still --list and paste what you get? That will show whether the sensors are being enumerated on the mux.
Here’s the output:
pi@raspberrypi:~/code/fisheye-stitch $ libcamera-still --list
Available cameras
0 : imx708 [4608x2592 10-bit RGGB] (/base/axi/pcie@120000/rp1/i2c@80000/pca@70/i2c@2/imx708@1a)
Modes: ‘SRGGB10_CSI2P’ : 1536x864 [120.13 fps - (768, 432)/3072x1728 crop]
2304x1296 [56.03 fps - (0, 0)/4608x2592 crop]
4608x2592 [14.35 fps - (0, 0)/4608x2592 crop]
1 : imx708 [4608x2592 10-bit RGGB] (/base/axi/pcie@120000/rp1/i2c@80000/pca@70/i2c@1/imx708@1a)
Modes: ‘SRGGB10_CSI2P’ : 1536x864 [120.13 fps - (768, 432)/3072x1728 crop]
2304x1296 [56.03 fps - (0, 0)/4608x2592 crop]
4608x2592 [14.35 fps - (0, 0)/4608x2592 crop]
2 : imx708 [4608x2592 10-bit RGGB] (/base/axi/pcie@120000/rp1/i2c@80000/pca@70/i2c@0/imx708@1a)
Modes: ‘SRGGB10_CSI2P’ : 1536x864 [120.13 fps - (768, 432)/3072x1728 crop]
2304x1296 [56.03 fps - (0, 0)/4608x2592 crop]
4608x2592 [14.35 fps - (0, 0)/4608x2592 crop]
Good — all three IMX708s are detected, so I2C and the mux look fine. That makes the timeout a bit odd. What exactly happens when you try to capture an image?
I ran a capture and got this:
[0:10:55.781540738] [2640] INFO Camera camera.cpp:1183 configuring streams: (0) 2304x1296-YUV420 (1) 2304x1296-BGGR16_PISP_COMP1
[0:10:55.781666108] [2643] INFO RPI pisp.cpp:1405 Sensor: /base/axi/pcie@120000/rp1/i2c@80000/pca@70/i2c@2/imx708@1a - Selected sensor format: 2304x1296-SBGGR10_1X10 - Selected CFE format: 2304x1296-PC1B
[0:10:56.895524159] [2643] WARN V4L2 v4l2_videodevice.cpp:2007 /dev/video4[56:cap]: Dequeue timer of 1000000.00us has expired!
[0:10:56.895596474] [2643] ERROR RPI pipeline_base.cpp:1376 Camera frontend has timed out!
[0:10:56.895605770] [2643] ERROR RPI pipeline_base.cpp:1377 Please check that your camera sensor connector is attached securely.
[0:10:56.895613567] [2643] ERROR RPI pipeline_base.cpp:1378 Alternatively, try another cable and/or sensor.
ERROR: Device timeout detected, attempting a restart!!!
Thanks, that log is helpful. The dequeue timer expiring on /dev/video4 means the sensor is detected but frames aren’t reaching the pipeline. Since the same setup works on your Pi Zero 2, cabling/orientation is probably not the issue. Could you post uname -r and hostnamectl output, and list anything else you’ve already tried?
Sure:
pi@raspberrypi:~/code/fisheye-stitch $ uname -r
6.6.22-v8-16k+
pi@raspberrypi:~/code/fisheye-stitch $ hostnamectl
Static hostname: raspberrypi
Icon name: computer
Machine ID: 4065db17392f46d7b1843a0da4c8d01f
Boot ID: ac72cf7056bd4100aceea540d336a32e
Operating System: Debian GNU/Linux 12 (bookworm)
Kernel: Linux 6.6.22-v8-16k+
Architecture: arm64
Things I’ve already tried:
- Followed the Quick-Start Guide for Multi-Adapter Board
- Tried the OV5647 front-end timeout workaround suggested in the quickstart doc; it didn’t help, so I reverted it
- Followed the i2c enabling guide: How to Enable i2c on the Raspberry Pi | ozzmaker.com
- Checked cabling and FPC connection orientation many times
- Previously got images by manually manipulating GPIO, but the image was overexposed and colors were odd
- Also looked at these threads:
Thanks for the detail. One note while we keep digging: the IMX708 isn’t explicitly listed in the Arducam libcamera guide, but it’s believed to be a native camera, so the custom-package question is one of the things we’re checking on our side.
Appreciate it. A few things I’m still not sure about if you can confirm:
- Is the Pi 5 compatible with Multi-cam v2.2 + IMX708?
- Should dtoverlay=camera-mux-4port,… be used for only 3 cameras?
- Should cam1 port be used?
- Is separate GPIO manipulation needed? (with the dtoverlay above, those resources aren’t available)
- Is the custom Arducam libcamera package needed? (libcamera and rpicam-apps - Arducam Wiki)
Here’s the current summary: libcamera-still --list detects all three IMX708 cameras correctly, but any capture attempt times out with ‘Camera frontend has timed out!’. The exact same steps work on a Pi Zero 2, which strongly suggests cabling and orientation are fine and this is specific to the Pi 5. We’re still reproducing and diagnosing on our side — no luck yet, I’m afraid. Root cause isn’t determined and we don’t have a fix at the moment, but I’ll update this thread as soon as there’s any progress.