I have a fresh install of Bookworm, fully patched running on a Raspberry Pi 4 with 8GB. I am having issues getting the camera to work. The camera hardware is recognized, but I can not actually use them, as I get ERROR V4L2 v4l2_videodevice.cpp:1994 /dev/video1[14:cap]: Failed to start streaming: Input/output error
ERROR: *** failed to start camera ***
--------------------------------------------------------
-----------------------------------------------------------
ERROR: *** failed to start camera ***
Code:
uname -aLinux camera 6.6.51-v8+ #1802 SMP PREEMPT Tue Oct 8 17:25:55 BST 2024 aarch64 GNU/Linux
Code:
v4l2-ctl --list-ctrls -d /dev/v4l-subdev0User Controls exposure 0x00980911 (int) : min=4 max=2175 step=1 default=1600 value=65 horizontal_flip 0x00980914 (bool) : default=0 value=1 flags=modify-layout vertical_flip 0x00980915 (bool) : default=0 value=1 flags=modify-layoutCamera Controls camera_orientation 0x009a0922 (menu) : min=0 max=2 default=2 value=2 (External) flags=read-only camera_sensor_rotation 0x009a0923 (int) : min=180 max=180 step=1 default=180 value=180 flags=read-onlyImage Source Controls vertical_blanking 0x009e0901 (int) : min=128 max=8382480 step=1 default=677 value=677 horizontal_blanking 0x009e0902 (int) : min=10712 max=65520 step=1 default=10712 value=10712 analogue_gain 0x009e0903 (int) : min=0 max=978 step=1 default=0 value=0 red_pixel_value 0x009e0904 (int) : min=0 max=4095 step=1 default=4095 value=4095 green_red_pixel_value 0x009e0905 (int) : min=0 max=4095 step=1 default=4095 value=4095 blue_pixel_value 0x009e0906 (int) : min=0 max=4095 step=1 default=4095 value=4095 green_blue_pixel_value 0x009e0907 (int) : min=0 max=4095 step=1 default=4095 value=4095Image Processing Controls link_frequency 0x009f0901 (intmenu): min=0 max=0 default=0 value=0 (450000000 0x1ad27480) flags=read-only pixel_rate 0x009f0902 (int64) : min=840000000 max=840000000 step=1 default=840000000 value=840000000 flags=read-only test_pattern 0x009f0903 (menu) : min=0 max=4 default=0 value=0 (Disabled) digital_gain 0x009f0905 (int) : min=256 max=65535 step=1 default=256 value=256
Code:
libcamera-hello --list-camerasAvailable cameras-----------------0 : imx477 [4056x3040 12-bit RGGB] (/base/soc/i2c0mux/i2c@1/imx477@1a) Modes: 'SRGGB10_CSI2P' : 1332x990 [120.05 fps - (696, 528)/2664x1980 crop] 'SRGGB12_CSI2P' : 2028x1080 [50.03 fps - (0, 440)/4056x2160 crop] 2028x1520 [40.01 fps - (0, 0)/4056x3040 crop] 4056x3040 [10.00 fps - (0, 0)/4056x3040 crop]
Code:
libcamera-hello[0:12:19.130185615] [5382] INFO Camera camera_manager.cpp:325 libcamera v0.3.2+27-7330f29b[0:12:19.177150639] [5389] WARN RPiSdn sdn.cpp:40 Using legacy SDN tuning - please consider moving SDN inside rpi.denoise[0:12:19.179467394] [5389] INFO RPI vc4.cpp:447 Registered camera /base/soc/i2c0mux/i2c@1/imx477@1a to Unicam device /dev/media0 and ISP device /dev/media2[0:12:19.179583744] [5389] INFO RPI pipeline_base.cpp:1126 Using configuration file '/usr/share/libcamera/pipeline/rpi/vc4/rpi_apps.yaml'Made X/EGL preview windowMode selection for 2028:1520:12:P SRGGB10_CSI2P,1332x990/0 - Score: 3456.22 SRGGB12_CSI2P,2028x1080/0 - Score: 1083.84 SRGGB12_CSI2P,2028x1520/0 - Score: 0 SRGGB12_CSI2P,4056x3040/0 - Score: 887[0:12:20.486048546] [5382] INFO Camera camera.cpp:1197 configuring streams: (0) 2028x1520-YUV420 (1) 2028x1520-SBGGR12_CSI2P[0:12:20.488156507] [5389] INFO RPI vc4.cpp:622 Sensor: /base/soc/i2c0mux/i2c@1/imx477@1a - Selected sensor format: 2028x1520-SBGGR12_1X12 - Selected unicam format: 2028x1520-pBCC[0:12:21.918514004] [5389] ERROR V4L2 v4l2_videodevice.cpp:1994 /dev/video1[14:cap]: Failed to start streaming: Input/output errorERROR: *** failed to start camera ***
Statistics: Posted by eat-sleep-code — Wed Nov 20, 2024 2:03 am