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

Troubleshooting • [Pi5] Unable to start camera that is detected

$
0
0
Platform: Raspberry Pi 5
OS: Bookworm (newly installed)
Camera: imx219, 3rd party

It used to work, but stopped all of a sudden, while making changes (enabling logs) in a customized libcamera. Didn't find a way to make it work so I reinstall OS and now only the libcamera-dev and libcamera-apps are installed (not customized).

In config.txt:
dtparam=i2c_arm=on
dtparam=i2c_csi_dsi0
dtparam=i2c_csi_dsi1
# Automatically load overlays for detected cameras
camera_auto_detect=0
dtoverlay=imx219,cam0

Prints below:

supreme@supreme:/boot/firmware $ rpicam-hello
[0:12:33.790496997] [2605] INFO Camera camera_manager.cpp:327 libcamera v0.4.0+53-29156679
[0:12:33.798499732] [2608] INFO RPI pisp.cpp:720 libpisp version v1.1.0 e7974a156008 27-01-2025 (21:50:51)
[0:12:33.817456373] [2608] 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/media1 using PiSP variant BCM2712_C0
Preview window unavailable
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:12:33.818537105] [2605] INFO Camera camera.cpp:1202 configuring streams: (0) 1640x1232-YUV420 (1) 1640x1232-BGGR_PISP_COMP1
[0:12:33.818646717] [2608] INFO RPI pisp.cpp:1484 Sensor: /base/axi/pcie@120000/rp1/i2c@88000/imx219@10 - Selected sensor format: 1640x1232-SBGGR10_1X10 - Selected CFE format: 1640x1232-PC1B
[0:12:34.864174166] [2608] WARN V4L2 v4l2_videodevice.cpp:2150 /dev/video4[16:cap]: Dequeue timer of 1000000.00us has expired!
[0:12:34.864230852] [2608] ERROR RPI pipeline_base.cpp:1367 Camera frontend has timed out!
[0:12:34.864239241] [2608] ERROR RPI pipeline_base.cpp:1368 Please check that your camera sensor connector is attached securely.
[0:12:34.864246963] [2608] ERROR RPI pipeline_base.cpp:1369 Alternatively, try another cable and/or sensor.
ERROR: Device timeout detected, attempting a restart!!!

Statistics: Posted by IvanBatev — Fri Feb 28, 2025 11:34 am



Viewing all articles
Browse latest Browse all 3745

Trending Articles