Hello Arducam team
I recently purchased a B0263 and B0266 PiVariety camera kit.
I have a Raspberry PI 5 board with default Bookworm Desktop image release on 13-May-2025 64bit.
I am testing it with Arducam Pivariety Camera B0263 and B0266.
For Arducam B0266,
On board power on, 1st time , libcamera-hello -t 0 gets failed with a similar error.
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!!!
On 2nd time onwards, libcamera-hello -t 0 has no failures and works perfectly. There is no failure even if i stop this and restarts application as many as times.
dipenparmar@dipen:~ $ libcamera-hello -t 0
[0:03:02.110649312] [2016] INFO Camera camera_manager.cpp:326 libcamera v0.5.0+84-79f583c3-dirty (2025-05-06T02:52:19BST)
[0:03:02.117595506] [2019] INFO RPI pisp.cpp:720 libpisp version v1.2.1 981977ff21f3 29-04-2025 (14:13:50)
[0:03:02.145472173] [2019] ERROR IPAProxy ipa_proxy.cpp:171 Configuration file ‘arducam-pivariety_mono.json’ not found for IPA module ‘rpi/pisp’
[0:03:02.322062339] [2019] 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:03:02.363504420] [2016] INFO Camera camera.cpp:1205 configuring streams: (0) 1280x400-YUV420 (1) 1280x400-MONO_PISP_COMP1
[0:03:02.430220748] [2019] 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
For Arducam B0263,
On board power on 1st or multiple times, libcamera-hello -t 0 gets failed with similar error.
In both cases, I am able to detect camera with proper modes using libcamera-hello --list-camera command.
dipenparmar@dipen:~ $ libcamera-hello --list-camera
Available cameras
0 : arducam-pivariety [2560x800 10-bit MONO] (/base/axi/pcie@1000120000/rp1/i2c@80000/arducam_pivariety@c)
Modes: ‘R8’ : 1280x400 [150.04 fps - (0, 0)/1280x400 crop]
2560x720 [75.67 fps - (0, 0)/2560x720 crop]
2560x800 [60.04 fps - (0, 0)/2560x800 crop]
‘R10_CSI2P’ : 640x200 [inf fps - (0, 0)/0x0 crop]
1280x400 [150.04 fps - (0, 0)/1280x400 crop]
2560x720 [65.02 fps - (0, 0)/2560x720 crop]
2560x800 [60.03 fps - (0, 0)/2560x800 crop]
FYI - I checked almost 3-4 different cables and do not feel that they have any issues.
I have made changes as per Quick Start Guide for Arducam CamArray HAT Kit - Arducam Wiki.
I checked with LIBCAMERA_RPI_CONFIG_FILE=/usr/local/share/libcamera/pipeline/rpi/pisp/example.yaml with timeout 99999999 before libcamera command and seems the timeout error is not shown but camera preview not started for 1st time but for 2nd time onward it works without any issues. So, not sure if adding the config file makes any changes.
Logs attached of Testing B0266:
OS Screenshot
config file
installed package list file
uname-a and uname-r textfiles
first boot dmesg log files
for 1st failure and 2nd success dmesg log files
Ticket has given the comments : [HOW-TO] debug dequeue timer · Issue #952 · raspberrypi/picamera2 · GitHub
Suggest if any latest fix for this or am i missing any critical change.
