Hello,
I followed the steps described in:viewtopic.php?p=2175868#p2175868
I did not modify anything and am able to find the version one camera (rev1.3)
However when I try to run hello comadn I get the following:I am connecting to the raspberry pi through xrdp using remote desktop application from windows 10 as I do not have the adaptor cables. COuld this be a problem?
How can I troubleshoot it?
Thank you for help, please see more logs below
Vladimir
This is the content of /boot/firmware/config.txt fileOutputs from system:
Kernelos-releaselibcamera library:
I followed the steps described in:viewtopic.php?p=2175868#p2175868
I did not modify anything and am able to find the version one camera (rev1.3)
Code:
vld@pi4:~ $ libcamera-hello --list-camerasAvailable cameras-----------------0 : ov5647 [2592x1944 10-bit GBRG] (/base/soc/i2c0mux/i2c@1/ov5647@36) Modes: 'SGBRG10_CSI2P' : 640x480 [58.92 fps - (16, 0)/2560x1920 crop] 1296x972 [43.25 fps - (0, 0)/2592x1944 crop] 1920x1080 [30.62 fps - (348, 434)/1928x1080 crop] 2592x1944 [15.63 fps - (0, 0)/2592x1944 crop]
Code:
vld@pi4:~ $ rpicam-hello[0:05:35.610204683] [3181] INFO Camera camera_manager.cpp:325 libcamera v0.3.2+27-7330f29b[0:05:35.651657610] [3184] WARN RPiSdn sdn.cpp:40 Using legacy SDN tuning - please consider moving SDN inside rpi.denoise[0:05:35.654831616] [3184] INFO RPI vc4.cpp:447 Registered camera /base/soc/i2c0mux/i2c@1/ov5647@36 to Unicam device /dev/media4 and ISP device /dev/media1[0:05:35.655231496] [3184] 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 1296:972:12:P SGBRG10_CSI2P,640x480/0 - Score: 3296 SGBRG10_CSI2P,1296x972/0 - Score: 1000 SGBRG10_CSI2P,1920x1080/0 - Score: 1349.67 SGBRG10_CSI2P,2592x1944/0 - Score: 1567Stream configuration adjusted[0:05:35.887934496] [3181] INFO Camera camera.cpp:1197 configuring streams: (0) 1296x972-YUV420 (1) 1296x972-SGBRG10_CSI2P[0:05:35.890259428] [3184] INFO RPI vc4.cpp:622 Sensor: /base/soc/i2c0mux/i2c@1/ov5647@36 - Selected sensor format: 1296x972-SGBRG10_1X10 - Selected unicam format: 1296x972-pGAAAttempt to import unsupported winsys offset 1632960terminate called after throwing an instance of 'std::runtime_error' what(): failed to import fd 23Aborted
How can I troubleshoot it?
Thank you for help, please see more logs below
Vladimir
This is the content of /boot/firmware/config.txt file
Code:
# 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 camerascamera_auto_detect=1# Automatically load overlays for detected DSI displaysdisplay_auto_detect=1# Automatically load initramfs files, if foundauto_initramfs=1# Enable DRM VC4 V3D driverdtoverlay=vc4-kms-v3dmax_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 modearm_64bit=1# Disable compensation for displays with overscandisable_overscan=1# Run as fast as firmware / board allowsarm_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[cm5]dtoverlay=dwc2,dr_mode=host[all]
Kernel
Code:
vld@pi4:~ $ uname -aLinux pi4 6.6.51+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.6.51-1+rpt3 (2024-10-08) aarch64 GNU/Linux
Code:
vld@pi4:~ $ cat /etc/os-releasePRETTY_NAME="Debian GNU/Linux 12 (bookworm)"NAME="Debian GNU/Linux"VERSION_ID="12"VERSION="12 (bookworm)"VERSION_CODENAME=bookwormID=debianHOME_URL="https://www.debian.org/"SUPPORT_URL="https://www.debian.org/support"BUG_REPORT_URL="https://bugs.debian.org/"
Code:
vld@pi4:~ $ libcamera-hello --versionrpicam-apps build: v1.5.2 a8ccf9f3cd9d 03-10-2024 (22:33:44)libcamera build: v0.3.2+27-7330f29b
Code:
vld@pi4:~ $ apt list python3-picamera2Listing... Donepython3-picamera2/stable,stable,now 0.3.22-2 all [installed]
Statistics: Posted by VladimirVinarsky — Sat Oct 12, 2024 12:26 pm