----------------------Please provide a link to this "PI5-IMX219-77" camera module.
Is it Waveshare's camera module you're referring to? https://www.waveshare.com/pi5-imx219.htm
camera _auto_detect=1 only works with camera modules made by Raspberry Pi.
"dtoverlay=imx219" will configure an IMX219 on CAMDISP1.
"dtoverlay=imx219,cam0" will configure an IMX219 on CAMDISP0. You don't have that line active in config.txt (it's commented out with a #)
I updated my config to
commented both
# camera_auto_detect=0
# camera_auto_detect=1
but also tried leave uncommented
camera_auto_detect=0
but work the same with partly good result. Camera is detected but
[0:06:10.849484172] [2986] ERROR V4L2 v4l2_videodevice.cpp:1906 /dev/video4[16:cap]: Failed to start streaming: Broken pipe
ERROR: *** failed to start camera ***
-----------
# For more options and information see
# http://rptl.io/configtxt
# Some settings may impact device functionality. See link above for details
# Uncomment some or all of these to enable the optional hardware interfaces
dtparam=i2c_arm=on
#dtparam=i2s=on
#dtparam=spi=on
# Enable audio (loads snd_bcm2835)
dtparam=audio=on
# Additional overlays and parameters are documented
# /boot/firmware/overlays/README
# Automatically load overlays for detected cameras
# camera_auto_detect=0
# camera_auto_detect=1
# Automatically load overlays for detected DSI displays
display_auto_detect=0
# Automatically load initramfs files, if found
auto_initramfs=1
# Enable DRM VC4 V3D driver
#dtoverlay=vc4-kms-v3d
#dtoverlay=imx219
dtoverlay=vc4-kms-v3d
dtoverlay=imx219,cam0
max_framebuffers=2
# Don't have the firmware create an initial video= setting in cmdline.txt.
# Use the kernel's default instead.
disable_fw_kms_setup=1
# Run in 64-bit mode
arm_64bit=1
# Disable compensation for displays with overscan
disable_overscan=1
# Run as fast as firmware / board allows
arm_boost=1
[cm4]
# Enable host mode on the 2711 built-in XHCI USB controller.
# This line should be removed if the legacy DWC2 controller is required
# (e.g. for USB device mode) or if USB support is not required.
otg_mode=1
[all]
# custom settings
# dtoverlay=imx219,cam0
# dtoverlay=imx219
It partly helped but not enough.
now when I used in console `sudo libcamera-hello -t 0` or `libcamera-hello` command I got:
pi@raspberrypi:~ $ sudo libcamera-hello -t 0
[0:06:10.408000048] [2946] INFO Camera camera_manager.cpp:284 libcamera v0.2.0+46-075b54d5
[0:06:10.416986805] [2986] INFO RPI pisp.cpp:662 libpisp version v1.0.4 6e3a53d137f4 14-02-2024 (14:00:12)
[0:06:10.437554107] [2986] INFO RPI pisp.cpp:1121 Registered camera /base/axi/pcie@120000/rp1/i2c@88000/imx219@10 to CFE device /dev/media2 and ISP device /dev/media0 using PiSP variant BCM2712_C0
error: XDG_RUNTIME_DIR is invalid or not set in the environment.
Made X/EGL preview window
Mode selection for 1640
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:06:10.812636825] [2946] INFO Camera camera.cpp:1183 configuring streams: (0) 1640x1232-YUV420 (1) 1640x1232-BGGR16_PISP_COMP1
[0:06:10.812780974] [2986] INFO RPI pisp.cpp:1405 Sensor: /base/axi/pcie@120000/rp1/i2c@88000/imx219@10 - Selected sensor format: 1640x1232-SBGGR10_1X10 - Selected CFE format: 1640x1232-PC1B
[0:06:10.849484172] [2986] ERROR V4L2 v4l2_videodevice.cpp:1906 /dev/video4[16:cap]: Failed to start streaming: Broken pipe
ERROR: *** failed to start camera ***
--------
pi@raspberrypi:~ $ libcamera-hello
[0:23:00.825737316] [4198] INFO Camera camera_manager.cpp:284 libcamera v0.2.0+46-075b54d5
[0:23:00.834372034] [4201] INFO RPI pisp.cpp:662 libpisp version v1.0.4 6e3a53d137f4 14-02-2024 (14:00:12)
[0:23:00.852678549] [4201] INFO RPI pisp.cpp:1121 Registered camera /base/axi/pcie@120000/rp1/i2c@88000/imx219@10 to CFE device /dev/media2 and ISP device /dev/media0 using PiSP variant BCM2712_C0
Made X/EGL preview window
Mode selection for 1640
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:23:01.220627465] [4198] INFO Camera camera.cpp:1183 configuring streams: (0) 1640x1232-YUV420 (1) 1640x1232-BGGR16_PISP_COMP1
[0:23:01.220739687] [4201] INFO RPI pisp.cpp:1405 Sensor: /base/axi/pcie@120000/rp1/i2c@88000/imx219@10 - Selected sensor format: 1640x1232-SBGGR10_1X10 - Selected CFE format: 1640x1232-PC1B
[0:23:01.235735430] [4201] ERROR V4L2 v4l2_videodevice.cpp:1906 /dev/video4[16:cap]: Failed to start streaming: Broken pipe
ERROR: *** failed to start camera ***
-------------------
also, I tried `sudo rpi-update stable` and rebooting pi but the result was the same
Statistics: Posted by u321321 — Fri Mar 01, 2024 7:08 pm