Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 3763

Troubleshooting • IMX219 Camera 'Camera Frontend has Timed out' on Rasberry Pi 5

$
0
0
Hello,

I am relatively new to using a Raspberry Pi. I am having an issue using my IMX219 stereo Camera with my Raspberry Pi 5. One of the 2 cameras is functional and I have use rpicam-hello to get the live feed through it. However the other one will not work, I have changed cables and ports and it is always the same camera that works and the same camera that does not. Here is the output in the terminal that I get:

rpicam-hello -t 0 --camera 1
[0:03:18.198224693] [2250] INFO Camera camera_manager.cpp:327 libcamera v0.4.0+50-83cb8101
[0:03:18.213966279] [2256] INFO RPI pisp.cpp:720 libpisp version v1.1.0 e7974a156008 27-01-2025 (21:50:51)
[0:03:18.233065456] [2256] INFO RPI pisp.cpp:1179 Registered camera /base/axi/pcie@120000/rp1/i2c@88000/imx219@10 to CFE device /dev/media0 and ISP device /dev/media3 using PiSP variant BCM2712_C0
[0:03:18.233173275] [2256] INFO RPI pisp.cpp:720 libpisp version v1.1.0 e7974a156008 27-01-2025 (21:50:51)
[0:03:18.241867312] [2256] INFO RPI pisp.cpp:1179 Registered camera /base/axi/pcie@120000/rp1/i2c@80000/imx219@10 to CFE device /dev/media1 and ISP device /dev/media4 using PiSP variant BCM2712_C0
Made X/EGL preview window
Mode selection for 1640:1232:12:P
SRGGB10_CSI2P,640x480/0 - Score: 4504.81
SRGGB10_CSI2P,1640x1232/0 - Score: 1000
SRGGB10_CSI2P,1920x1080/0 - Score: 1541.48
SRGGB10_CSI2P,3280x2464/0 - Score: 1718
SRGGB8,640x480/0 - Score: 5504.81
SRGGB8,1640x1232/0 - Score: 2000
SRGGB8,1920x1080/0 - Score: 2541.48
SRGGB8,3280x2464/0 - Score: 2718
Stream configuration adjusted
[0:03:19.327015727] [2250] INFO Camera camera.cpp:1202 configuring streams: (0) 1640x1232-YUV420 (1) 1640x1232-BGGR_PISP_COMP1
[0:03:19.327184845] [2256] INFO RPI pisp.cpp:1484 Sensor: /base/axi/pcie@120000/rp1/i2c@80000/imx219@10 - Selected sensor format: 1640x1232-SBGGR10_1X10 - Selected CFE format: 1640x1232-PC1B
[0:03:20.384045987] [2256] WARN V4L2 v4l2_videodevice.cpp:2150 /dev/video4[34:cap]: Dequeue timer of 1000000.00us has expired!
[0:03:20.384093229] [2256] ERROR RPI pipeline_base.cpp:1367 Camera frontend has timed out!
[0:03:20.384098637] [2256] ERROR RPI pipeline_base.cpp:1368 Please check that your camera sensor connector is attached securely.
[0:03:20.384103896] [2256] ERROR RPI pipeline_base.cpp:1369 Alternatively, try another cable and/or sensor.
ERROR: Device timeout detected, attempting a restart!!!

So far the only things I have needed to do in order to get the camera operational is to add:
dtoverlay=imx219,cam0
dtoverlay=imx219,cam1

into the /boot/firmware/config.txt file, and it works with the one camera, just not the other one. I have not ruled out the possibility that it is a hardware issue on the camera side and that one is just broken, however I am not entirely sure how to confirm that is the case yet. Any help is appreciated, thanks.

Statistics: Posted by yogmoth — Fri Feb 07, 2025 10:27 pm



Viewing all articles
Browse latest Browse all 3763

Trending Articles