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

Troubleshooting • V4L2 remote I/O error with IMX219 on RPi5

$
0
0
I'm using Raspberry Pi 5 with IMX219 camera, but I cannot successfully capture the camera image.

This is the camera I'm using: http://www.yahboom.net/study/pi5-camera
The situation doesn't seem as simple as described.

ERROR V4L2 v4l2_videodevice.cpp:1906 /dev/video6[18:cap]: Failed to start streaming: Input/output error
ERROR: *** failed to start camera ***


On the latest 64-bit Pi OS, I first executed:

Code:

sudo apt updatesudo apt full-upgrade
Then in /boot/firmware/config.txt, I set:

Code:

camera_auto_detect=0
and added at the end:

Code:

dtoverlay=imx219
When I try to execute:

Code:

yihuan@yihuanrp5:~ $ libcamera-still --list-camerasAvailable cameras-----------------0 : imx219 [3280x2464 10-bit RGGB] (/base/axi/pcie@120000/rp1/i2c@80000/imx219@10)    Modes: 'SRGGB10_CSI2P' : 640x480 [206.65 fps - (1000, 752)/1280x960 crop]                             1640x1232 [41.85 fps - (0, 0)/3280x2464 crop]                             1920x1080 [47.57 fps - (680, 692)/1920x1080 crop]                             3280x2464 [21.19 fps - (0, 0)/3280x2464 crop]           'SRGGB8' : 640x480 [206.65 fps - (1000, 752)/1280x960 crop]                      1640x1232 [83.70 fps - (0, 0)/3280x2464 crop]                      1920x1080 [47.57 fps - (680, 692)/1920x1080 crop]                      3280x2464 [21.19 fps - (0, 0)/3280x2464 crop]                      yihuan@yihuanrp5:~ $ libcamera-hello[0:01:13.435543273] [1906]  INFO Camera camera_manager.cpp:284 libcamera v0.2.0+46-075b54d5[0:01:13.449374873] [1991]  INFO RPI pisp.cpp:662 libpisp version v1.0.4 6e3a53d137f4 14-02-2024 (14:00:12)[0:01:13.467787618] [1991]  INFO RPI pisp.cpp:1121 Registered camera /base/axi/pcie@120000/rp1/i2c@80000/imx219@10 to CFE device /dev/media0 and ISP device /dev/media2 using PiSP variant BCM2712_C0Made X/EGL preview windowMode 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: 2718Stream configuration adjusted[0:01:14.250950174] [1906]  INFO Camera camera.cpp:1183 configuring streams: (0) 1640x1232-YUV420 (1) 1640x1232-BGGR16_PISP_COMP1[0:01:14.251086492] [1991]  INFO RPI pisp.cpp:1405 Sensor: /base/axi/pcie@120000/rp1/i2c@80000/imx219@10 - Selected sensor format: 1640x1232-SBGGR10_1X10 - Selected CFE format: 1640x1232-PC1B[0:01:14.276102921] [1991] ERROR V4L2 v4l2_videodevice.cpp:1906 /dev/video6[18:cap]: Failed to start streaming: Input/output errorERROR: *** failed to start camera ***

It seems that the camera is detected, but there is an error when trying to capture the image. I have spent a lot of time trying many methods found on Google, but most of them are ineffective or intended for older versions of the system.

Statistics: Posted by Yihuan — Fri Mar 29, 2024 6:34 pm — Replies 1 — Views 33



Viewing all articles
Browse latest Browse all 4525

Trending Articles