Sure - and thanks!Hi scruss,
We need some infomation the check the problem.May you show us the output of commands below?
Code:
ls /dev/video0
Code:
crw-rw----+ 1 root video 81, 13 Jan 31 11:31 /dev/video0
Code:
dmesg |grep ov64a40
Code:
(no output)
Code:
dpkg -l | grep libcamera
Code:
ii libcamera-ipa:arm64 0.1.0+rpt20231122-1 arm64 complex camera support library (IPA modules)ii libcamera-tools 0.1.0+rpt20231122-1 arm64 complex camera support library (tools)ii libcamera0.1:arm64 0.1.0+rpt20231122-1 arm64 complex camera support libraryii pipewire-libcamera:arm64 0.3.65-3+rpt4+deb12u1 arm64 PipeWire libcamera pluginii python3-libcamera 0.1.0+rpt20231122-1 arm64 complex camera support library (Python bindings)
Isn't the point of having kernel support that your modules work with stock applications? I'd prefer not to pull in modules from who-knows-where.We have to confirm if the camera is detected by your pi and make sure that you have installed Arducam fork's libcamera
So after grudgingly running `./install_pivariety_pkgs.sh -l` and `./install_pivariety_pkgs.sh -p libcamera`, I now have:
Code:
$ dpkg -l | grep libcameraii libcamera-dev:arm64 0.1.0+rpt20231206-1 arm64 complex camera support library (development files)ii libcamera-ipa:arm64 0.1.0+rpt20231206-1 arm64 complex camera support library (IPA modules)ii libcamera-tools 0.1.0+rpt20231122-1 arm64 complex camera support library (tools)ii libcamera0.1:arm64 0.1.0+rpt20231206-1 arm64 complex camera support libraryii pipewire-libcamera:arm64 0.3.65-3+rpt4+deb12u1 arm64 PipeWire libcamera pluginii python3-libcamera 0.1.0+rpt20231122-1 arm64 complex camera support library (Python bindings)$ rpicam-still --list-camerasAvailable cameras-----------------0 : ov64a40 [9248x6944 10-bit] (/base/soc/i2c0mux/i2c@1/ov64a40@36) Modes: 'SBGGR10_CSI2P' : 1920x1080 [45.65 fps - (784, 1312)/7711x4351 crop] 2312x1736 [26.75 fps - (0, 0)/9279x6975 crop] 3840x2160 [14.89 fps - (784, 1312)/7711x4351 crop] 4624x3472 [7.66 fps - (0, 0)/9279x6975 crop] 8000x6000 [2.58 fps - (624, 472)/8047x6031 crop] 9248x6944 [2.02 fps - (0, 0)/9279x6975 crop]$ rpicam-still --list-camerasAvailable cameras-----------------0 : ov64a40 [9248x6944 10-bit] (/base/soc/i2c0mux/i2c@1/ov64a40@36) Modes: 'SBGGR10_CSI2P' : 1920x1080 [45.65 fps - (784, 1312)/7711x4351 crop] 2312x1736 [26.75 fps - (0, 0)/9279x6975 crop] 3840x2160 [14.89 fps - (784, 1312)/7711x4351 crop] 4624x3472 [7.66 fps - (0, 0)/9279x6975 crop] 8000x6000 [2.58 fps - (624, 472)/8047x6031 crop] 9248x6944 [2.02 fps - (0, 0)/9279x6975 crop]
Code:
rpicam-still -t 5000 -n -o test64.jpg
1920x1080 mode gets something from the sensor, but massively overexposed. Here's typical output from the command:
Code:
$ rpicam-still -n --ev 0 --autofocus-on-capture 1 --awb indoor --width 1920 --height 1080 -t 5000 -o test64-7.jpg[0:36:31.769955456] [2596] INFO Camera camera_manager.cpp:284 libcamera v0.1.0+147-057299d0-dirty (2024-01-24T08:51:15+00:00)[0:36:31.820311999] [2599] WARN RPiSdn sdn.cpp:39 Using legacy SDN tuning - please consider moving SDN inside rpi.denoise[0:36:31.822148945] [2599] INFO RPI vc4.cpp:452 Registered camera /base/soc/i2c0mux/i2c@1/ov64a40@36 to Unicam device /dev/media4 and ISP device /dev/media1[0:36:31.822241128] [2599] INFO RPI pipeline_base.cpp:1167 Using configuration file '/usr/share/libcamera/pipeline/rpi/vc4/arducam_64mp.yaml'Mode selection for 4624:2600:12:P SBGGR10_CSI2P,1920x1080/0 - Score: 9450.05 SBGGR10_CSI2P,2312x1736/0 - Score: 8691.99 SBGGR10_CSI2P,3840x2160/0 - Score: 3450.05 SBGGR10_CSI2P,4624x3472/0 - Score: 2557.99 SBGGR10_CSI2P,8000x6000/0 - Score: 4029.38 SBGGR10_CSI2P,9248x6944/0 - Score: 4581.99Stream configuration adjusted[0:36:31.823668638] [2596] INFO Camera camera.cpp:1183 configuring streams: (0) 4624x2600-YUV420 (1) 4624x3472-SRGGB10_CSI2P[0:36:31.824076111] [2599] INFO RPI vc4.cpp:616 Sensor: /base/soc/i2c0mux/i2c@1/ov64a40@36 - Selected sensor format: 4624x3472-SRGGB10_1X10 - Selected unicam format: 4624x3472-pRAAMode selection for 1920:1080:12:P SBGGR10_CSI2P,1920x1080/0 - Score: 1000 SBGGR10_CSI2P,2312x1736/0 - Score: 2599.94 SBGGR10_CSI2P,3840x2160/0 - Score: 1750 SBGGR10_CSI2P,4624x3472/0 - Score: 3611.94 SBGGR10_CSI2P,8000x6000/0 - Score: 5083.33 SBGGR10_CSI2P,9248x6944/0 - Score: 5635.94Stream configuration adjusted[0:36:51.058139415] [2596] INFO Camera camera.cpp:1183 configuring streams: (0) 1920x1080-YUV420 (1) 1920x1080-SRGGB10_CSI2P[0:36:51.095473254] [2599] INFO RPI vc4.cpp:616 Sensor: /base/soc/i2c0mux/i2c@1/ov64a40@36 - Selected sensor format: 1920x1080-SRGGB10_1X10 - Selected unicam format: 1920x1080-pRAAStill capture image received
Statistics: Posted by scruss — Thu Feb 01, 2024 5:45 pm