I tried again:
-
Flashed OS with offical LITE 64-bit version from website
pi@raspberrypi:~ $ uname -a
Linux raspberrypi 5.15.84-v8+ #1613 SMP PREEMPT Thu Jan 5 12:03:08 GMT 2023 aarch64 GNU/Linux
wget -O install_pivariety_pkgs.sh https://github.com/ArduCAM/Arducam-Pivariety-V4L2-Driver/releases/download/install_script/install_pivariety_pkgs.sh
chmod +x install_pivariety_pkgs.sh
./install_pivariety_pkgs.sh -p libcamera_dev
./install_pivariety_pkgs.sh -p libcamera_apps
./install_pivariety_pkgs.sh -p 64mp_pi_hawk_eye_kernel_driver
dtparam=audio=on
# Automatically load overlays for detected cameras
camera_auto_detect=1
# Automatically load overlays for detected DSI displays
display_auto_detect=1
# Enable DRM VC4 V3D driver
dtoverlay=vc4-kms-v3d
max_framebuffers=2
# Run in 64-bit mode
arm_64bit=1
# Disable compensation for displays with overscan
disable_overscan=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
dtoverlay=arducam_64mp
dtoverlay=arducam_64mp,cam1
[all]
dtoverlay=vc4-kms-v3d,cma-512
[pi4]
# Run as fast as firmware / board allows
arm_boost=1
[all]
dtoverlay=arducam_64mp
sudo reboot
I hear motor sound
pi@raspberrypi:~ $ libcamera-still --list-cameras
Available cameras
-----------------
0 : arducam_64mp [9248x6944] (/base/soc/i2c0mux/i2c@1/arducam_64mp@1a)
Modes: 'SRGGB10_CSI2P' : 1280x720 [120.03 fps - (2064, 2032)/5120x2880 crop]
1920x1080 [60.04 fps - (784, 1312)/7680x4320 crop]
2312x1736 [30.00 fps - (0, 0)/9248x6944 crop]
3840x2160 [20.00 fps - (784, 1312)/7680x4320 crop]
4624x3472 [10.00 fps - (0, 0)/9248x6944 crop]
9152x6944 [2.70 fps - (0, 0)/9152x6944 crop]
pi@raspberrypi:~ $ dmesg | grep 64mp
[ 8.200165] arducam_64mp: loading out-of-tree module taints kernel.
[ 8.246417] arducam_64mp 10-001a: Device found Arducam 64MP.
[ 8.272681] arducam_64mp 10-001a: Consider updating driver arducam_64mp to match on endpoints
Now i make upgrade to 6.1x
sudo apt-get update
sudo apt-get upgrade
sudo reboot
No motor sound
pi@raspberrypi:~ $ dmesg | grep 64mp
[ 0.083713] platform fe801000.csi: Fixed dependency cycle(s) with /soc/i2c0mux/i2c@1/arducam_64mp@1a
[ 8.018960] arducam_64mp 10-001a: Device found Arducam 64MP.
[ 8.092411] arducam_64mp 10-001a: Consider updating driver arducam_64mp to match on endpoints
pi@raspberrypi:~ $ libcamera-still --list-cameras
Available cameras
0 : arducam_64mp [9248x6944] (/base/soc/i2c0mux/i2c@1/arducam_64mp@1a)
Modes: ‘SRGGB10_CSI2P’ : 1280x720 [120.03 fps - (2064, 2032)/5120x2880 crop]
1920x1080 [60.04 fps - (784, 1312)/7680x4320 crop]
2312x1736 [30.00 fps - (0, 0)/9248x6944 crop]
3840x2160 [20.00 fps - (784, 1312)/7680x4320 crop]
4624x3472 [10.00 fps - (0, 0)/9248x6944 crop]
9152x6944 [2.70 fps - (0, 0)/9248x6944 crop]
pi@raspberrypi:~ $ uname -a
Linux raspberrypi 6.1.19-v8+ #1637 SMP PREEMPT Tue Mar 14 11:11:47 GMT 2023 aarch64 GNU/Linux
Thats strange now it works maybe the problem yes was with building libcamera from source. With viewfinder i get some V4L2 error Invalid argument though. Lens initialization faield
I edit /boot/config.txt
changed the arducam_64mp to arducam-64mp everywhere
sudo reboot
no more of those v4l2 and lens errors.
Yes it seems the problem was with libcamera. Somewhy if i built gstreamer, libcamera and libcamera-apps from source it not detect cameras. Altough dmesg shows cameras.
Do you have any ideas why the libcamera-apps that i built from source does not detect the cameras?