GithubHelp home page GithubHelp logo

kbingham / libcamera Goto Github PK

View Code? Open in Web Editor NEW
167.0 10.0 68.0 11.75 MB

libcamera - Making complex cameras easy. This is a personal fork, please use the upstream repository at https://git.libcamera.org/libcamera/libcamera.git/

Home Page: https://libcamera.org

License: Other

C++ 60.30% C 19.45% Meson 1.70% Python 17.36% Shell 0.88% GLSL 0.31%
libcamera linux v4l2 ipu3 rkisp1 raspberry-pi-camera linux-surface

libcamera's Introduction

libcamera

A complex camera support library for Linux, Android, and ChromeOS

Cameras are complex devices that need heavy hardware image processing operations. Control of the processing is based on advanced algorithms that must run on a programmable processor. This has traditionally been implemented in a dedicated MCU in the camera, but in embedded devices algorithms have been moved to the main CPU to save cost. Blurring the boundary between camera devices and Linux often left the user with no other option than a vendor-specific closed-source solution.

To address this problem the Linux media community has very recently started collaboration with the industry to develop a camera stack that will be open-source-friendly while still protecting vendor core IP. libcamera was born out of that collaboration and will offer modern camera support to Linux-based systems, including traditional Linux distributions, ChromeOS and Android.

Getting Started

To fetch the sources, build and install:

git clone https://git.libcamera.org/libcamera/libcamera.git
cd libcamera
meson setup build
ninja -C build install

Dependencies

The following Debian/Ubuntu packages are required for building libcamera. Other distributions may have differing package names:

A C++ toolchain: [required]
Either {g++, clang}
Meson Build system: [required]
meson (>= 0.60) ninja-build pkg-config
for the libcamera core: [required]
libyaml-dev python3-yaml python3-ply python3-jinja2
for IPA module signing: [recommended]

Either libgnutls28-dev or libssl-dev, openssl

Without IPA module signing, all IPA modules will be isolated in a separate process. This adds an unnecessary extra overhead at runtime.

for improved debugging: [optional]

libdw-dev libunwind-dev

libdw and libunwind provide backtraces to help debugging assertion failures. Their functions overlap, libdw provides the most detailed information, and libunwind is not needed if both libdw and the glibc backtrace() function are available.

for device hotplug enumeration: [optional]
libudev-dev
for documentation: [optional]
python3-sphinx doxygen graphviz texlive-latex-extra
for gstreamer: [optional]
libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev
for Python bindings: [optional]
libpython3-dev pybind11-dev
for cam: [optional]

libevent-dev is required to support cam, however the following optional dependencies bring more functionality to the cam test tool:

  • libdrm-dev: Enables the KMS sink
  • libjpeg-dev: Enables MJPEG on the SDL sink
  • libsdl2-dev: Enables the SDL sink
for qcam: [optional]
libtiff-dev qt6-base-dev qt6-tools-dev-tools
for tracing with lttng: [optional]
liblttng-ust-dev python3-jinja2 lttng-tools
for android: [optional]
libexif-dev libjpeg-dev
for Python bindings: [optional]
pybind11-dev
for lc-compliance: [optional]
libevent-dev libgtest-dev
for abi-compat.sh: [optional]
abi-compliance-checker

Basic testing with cam utility

The cam utility can be used for basic testing. You can list the cameras detected on the system with cam -l, and capture ten frames from the first camera and save them to disk with cam -c 1 --capture=10 --file. See cam -h for more information about the cam tool.

In case of problems, a detailed debug log can be obtained from libcamera by setting the LIBCAMERA_LOG_LEVELS environment variable:

:~$ LIBCAMERA_LOG_LEVELS=*:DEBUG cam -l

Using GStreamer plugin

To use the GStreamer plugin from the source tree, use the meson devenv command. This will create a new shell instance with the GST_PLUGIN_PATH environment set accordingly.

meson devenv -C build

The debugging tool gst-launch-1.0 can be used to construct a pipeline and test it. The following pipeline will stream from the camera named "Camera 1" onto the OpenGL accelerated display element on your system.

gst-launch-1.0 libcamerasrc camera-name="Camera 1" ! queue ! glimagesink

To show the first camera found you can omit the camera-name property, or you can list the cameras and their capabilities using:

gst-device-monitor-1.0 Video

This will also show the supported stream sizes which can be manually selected if desired with a pipeline such as:

gst-launch-1.0 libcamerasrc ! 'video/x-raw,width=1280,height=720' ! \
     queue ! glimagesink

The libcamerasrc element has two log categories, named libcamera-provider (for the video device provider) and libcamerasrc (for the operation of the camera). All corresponding debug messages can be enabled by setting the GST_DEBUG environment variable to libcamera*:7.

Presently, to prevent element negotiation failures it is required to specify the colorimetry and framerate as part of your pipeline construction. For instance, to capture and encode as a JPEG stream and receive on another device the following example could be used as a starting point:

gst-launch-1.0 libcamerasrc ! \
     video/x-raw,colorimetry=bt709,format=NV12,width=1280,height=720,framerate=30/1 ! \
     queue ! jpegenc ! multipartmux ! \
     tcpserversink host=0.0.0.0 port=5000

Which can be received on another device over the network with:

gst-launch-1.0 tcpclientsrc host=$DEVICE_IP port=5000 ! \
     multipartdemux ! jpegdec ! autovideosink

The GStreamer element also supports multiple streams. This is achieved by requesting additional source pads. Downstream caps filters can be used to choose specific parameters like resolution and pixel format. The pad property stream-role can be used to select a role.

The following example displays a 640x480 view finder while streaming JPEG encoded 800x600 video. You can use the receiver pipeline above to view the remote stream from another device.

gst-launch-1.0 libcamerasrc name=cs src::stream-role=view-finder src_0::stream-role=video-recording \
    cs.src ! queue ! video/x-raw,width=640,height=480 ! videoconvert ! autovideosink \
    cs.src_0 ! queue ! video/x-raw,width=800,height=600 ! videoconvert ! \
    jpegenc ! multipartmux ! tcpserversink host=0.0.0.0 port=5000

Troubleshooting

Several users have reported issues with meson installation, crux of the issue is a potential version mismatch between the version that root uses, and the version that the normal user uses. On calling ninja -C build, it can't find the build.ninja module. This is a snippet of the error message.

ninja: Entering directory `build'
ninja: error: loading 'build.ninja': No such file or directory

This can be solved in two ways:

  1. Don't install meson again if it is already installed system-wide.
  2. If a version of meson which is different from the system-wide version is already installed, uninstall that meson using pip3, and install again without the --user argument.

libcamera's People

Contributors

andrey-konovalov avatar christianrauch avatar davidplowman avatar djrscally avatar dsemkowicz-tt avatar ericcurtin avatar fsylvestre avatar harveychyang avatar helen-fornazier avatar initbasti avatar jhautbois avatar jmondi avatar jwrdegoede avatar kaairagupta avatar kbingham avatar mz-pdm avatar naushir avatar ndufresne avatar neg avatar nfraprado avatar njhollinghurst avatar pinchartl avatar pobrn avatar qschulz avatar rahi374 avatar ribalda avatar rothn avatar tomba avatar vedantparanjape avatar xroumegue avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

libcamera's Issues

Gstreamer element broken

From linux-surface #91

Got qcam working (though not useful yet) on Surface Pro 6, but cheese crashed with the following output:

[0:13:13.932773552] [14808] INFO Camera camera_manager.cpp:293 libcamera v0.0.0+2091-f5e80e60
[0:13:13.941772302] [14818] ERROR V4L2 v4l2_subdevice.cpp:285 'ov5693 2-0036': Unable to get rectangle 2 on pad 0: Inappropriate ioctl for device
[0:13:13.941814927] [14818] ERROR V4L2 v4l2_subdevice.cpp:285 'ov5693 2-0036': Unable to get rectangle 1 on pad 0: Inappropriate ioctl for device
[0:13:13.942048304] [14818] INFO IPU3 ipu3.cpp:814 Registered Camera[0] "_SB_.PCI0.I2C2.CAMF" connected to CSI-2 receiver 1
[0:13:13.991374636] [14808] FATAL IPAManager ipa_manager.cpp:107 Multiple IPAManager objects are not allowed
Backtrace:
/usr/lib/libcamera.so(_ZN9libcamera10IPAManagerC1Ev+0x99) [0x7f636b5a9dfb]
/usr/lib/libcamera.so(ZN9libcamera13CameraManager7PrivateC2EPS0+0xdc) [0x7f636b5438ae]
/usr/lib/libcamera.so(_ZN9libcamera13CameraManagerC1Ev+0x64) [0x7f636b54470c]
/usr/lib/gstreamer-1.0/libgstlibcamera.so(ZSt11make_uniqueIN9libcamera13CameraManagerEJEENSt9_MakeUniqIT_E15__single_objectEDpOT0+0x26) [0x7f6378048f41]
/usr/lib/gstreamer-1.0/libgstlibcamera.so(+0x2f6f2) [0x7f63780456f2]
/usr/lib/gstreamer-1.0/libgstlibcamera.so(+0x31f82) [0x7f6378047f82]
/usr/lib/libgstreamer-1.0.so.0(gst_element_change_state+0x35) [0x7f63949f0f15]
/usr/lib/libgstreamer-1.0.so.0(+0x6b658) [0x7f63949f1658]
/usr/lib/libgstreamer-1.0.so.0(+0x43d95) [0x7f63949c9d95]
/usr/lib/libgstreamer-1.0.so.0(gst_element_change_state+0x35) [0x7f63949f0f15]
/usr/lib/libgstreamer-1.0.so.0(+0x6b658) [0x7f63949f1658]
/usr/lib/gstreamer-1.0/libgstcamerabin.so(+0x7150) [0x7f63693b3150]
/usr/lib/gstreamer-1.0/libgstcamerabin.so(+0xe1e4) [0x7f63693ba1e4]
/usr/lib/libgstbasecamerabinsrc-1.0.so.0(+0x370d) [0x7f636936b70d]
/usr/lib/gstreamer-1.0/libgstcamerabin.so(+0x5118) [0x7f63693b1118]
/usr/lib/libgstreamer-1.0.so.0(gst_element_change_state+0x35) [0x7f63949f0f15]
/usr/lib/libgstreamer-1.0.so.0(+0x6b658) [0x7f63949f1658]
/usr/lib/libgstreamer-1.0.so.0(+0x43d95) [0x7f63949c9d95]
/usr/lib/libgstreamer-1.0.so.0(+0x961bc) [0x7f6394a1c1bc]
/usr/lib/libgstreamer-1.0.so.0(gst_element_change_state+0x35) [0x7f63949f0f15]
/usr/lib/libgstreamer-1.0.so.0(+0x6b658) [0x7f63949f1658]
/usr/lib/libcheese.so.8(cheese_camera_play+0x21d) [0x7f63958a740d]
cheese(+0x148a5) [0x557cd6c848a5]
/usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x127a) [0x7f6394db498a]
/usr/lib/libgobject-2.0.so.0(g_signal_emit+0x90) [0x7f6394db4b00]
cheese(+0xa5fe) [0x557cd6c7a5fe]
/usr/lib/libgio-2.0.so.0(+0x6d686) [0x7f6394e4a686]
/usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x127a) [0x7f6394db498a]
/usr/lib/libgobject-2.0.so.0(g_signal_emit+0x90) [0x7f6394db4b00]
/usr/lib/libgio-2.0.so.0(+0xcb887) [0x7f6394ea8887]
fish: 'cheese' terminated by signal SIGABRT (Abort)

ERROR Serializer control_serializer.cpp:511 Bad data, entry offset….

I have been installed these:

  • RasPi4 new installation.
  • Nodejs
  • GIT
  • meson
  • python3
  • Ninja
  • libcamera
    After this camera works Ok.

Then i make own cert by mkcert. And then get this message:
raspcamera1:~ $ libcamera-hello
Preview window unavailable
[21:35:00.098312980] [4146] WARN IPAManager ipa_manager.cpp:113 Public key not valid
[21:35:00.102368120] [4146] INFO Camera camera_manager.cpp:293 libcamera v0.0.0+3855-6c6289ee-dirty (2022-09-02T08:24:44+03:00)
[21:35:00.176954143] [4147] ERROR Serializer control_serializer.cpp:511 Bad data, entry offset mismatch (entry 2), entry->offset = 32, value.offset() = 36
[21:35:00.180670683] [4147] INFO RPI raspberrypi.cpp:1374 Registered camera /base/soc/i2c0mux/i2c@1/imx477@1a to Unicam device /dev/media4 and ISP device /dev/media2
libcamera-hello: symbol lookup error: /lib/aarch64-linux-gnu/libcamera_app.so: undefined symbol: _ZNK9libcamera11ControlList8containsERKNS_9ControlIdE

Conditional jump or move depends on uninitialised value

It appears we're using an uninitalised variable, and valgrind picked up on it.

libcamera/libcamera-daily$ valgrind ./build/build-clang-10/src/cam/cam -c 3 -C10
==1784336== Memcheck, a memory error detector
==1784336== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==1784336== Using Valgrind-3.15.0 and LibVEX; rerun with -h for copyright info
==1784336== Command: ./build/build-clang-10/src/cam/cam -c 3 -C10
==1784336== 
[22:47:52.899435142] [1784336]  INFO IPAManager ipa_manager.cpp:136 libcamera is not installed. Adding '/home/linuxembedded/iob/libcamera/libcamera-daily/build/build-clang-10/src/ipa' to the IPA search path
[22:47:53.002443094] [1784336]  INFO Camera camera_manager.cpp:287 libcamera v0.0.0+1855-b83ee94f
[22:47:53.824898947] [1784338]  INFO IPAProxy ipa_proxy.cpp:122 libcamera is not installed. Loading IPA configuration from '/home/linuxembedded/iob/libcamera/libcamera-daily/src/ipa/vimc/data'
Using camera platform/vimc.0 Sensor B
[22:47:54.223156621] [1784336]  INFO VIMC vimc.cpp:212 Skipping unsupported pixel format RGB888
[22:47:54.286875950] [1784336]  INFO Camera camera.cpp:811 configuring streams: (0) 1920x1080-BGR888
Capture 10 frames
==1784336== Thread 2:
==1784336== Conditional jump or move depends on uninitialised value(s)
==1784336==    at 0x4118EC: Capture::requestComplete(libcamera::Request*) (capture.cpp:167)
==1784336==    by 0x4152EF: libcamera::BoundMethodMember<Capture, void, libcamera::Request*>::activate(libcamera::Request*, bool) (bound_method.h:190)
==1784336==    by 0x4AEDBEA: libcamera::Signal<libcamera::Request*>::emit(libcamera::Request*) (signal.h:127)
==1784336==    by 0x4AEBEE5: libcamera::Camera::requestComplete(libcamera::Request*) (camera.cpp:996)
==1784336==    by 0x4B838ED: libcamera::PipelineHandler::completeRequest(libcamera::Camera*, libcamera::Request*) (pipeline_handler.cpp:476)
==1784336==    by 0x4C24155: libcamera::VimcCameraData::bufferReady(libcamera::FrameBuffer*) (vimc.cpp:533)
==1784336==    by 0x4C268AF: libcamera::BoundMethodMember<libcamera::VimcCameraData, void, libcamera::FrameBuffer*>::activate(libcamera::FrameBuffer*, bool) (bound_method.h:190)
==1784336==    by 0x4BB3A3A: libcamera::Signal<libcamera::FrameBuffer*>::emit(libcamera::FrameBuffer*) (signal.h:127)
==1784336==    by 0x4BAD309: libcamera::V4L2VideoDevice::bufferAvailable(libcamera::EventNotifier*) (v4l2_videodevice.cpp:1472)
==1784336==    by 0x4BB7B8F: libcamera::BoundMethodMember<libcamera::V4L2VideoDevice, void, libcamera::EventNotifier*>::activate(libcamera::EventNotifier*, bool) (bound_method.h:190)
==1784336==    by 0x4B5179A: libcamera::Signal<libcamera::EventNotifier*>::emit(libcamera::EventNotifier*) (signal.h:127)
==1784336==    by 0x4B509C6: libcamera::EventDispatcherPoll::processNotifiers(std::vector<pollfd, std::allocator<pollfd> > const&) (event_dispatcher_poll.cpp:282)
==1784336== 
82074.640012 (0.00 fps) stream0 seq: 000000 bytesused: 6220800
82074.680018 (25.00 fps) stream0 seq: 000001 bytesused: 6220800
82074.727088 (21.24 fps) stream0 seq: 000002 bytesused: 6220800
82074.766777 (25.20 fps) stream0 seq: 000003 bytesused: 6220800
82074.808468 (23.99 fps) stream0 seq: 000004 bytesused: 6220800
82074.856303 (20.91 fps) stream0 seq: 000005 bytesused: 6220800
82074.901783 (21.99 fps) stream0 seq: 000006 bytesused: 6220800
82074.950037 (20.72 fps) stream0 seq: 000007 bytesused: 6220800
82074.997260 (21.18 fps) stream0 seq: 000008 bytesused: 6220800
82075.044010 (21.39 fps) stream0 seq: 000009 bytesused: 6220800
==1784336== Warning: invalid file descriptor -1 in syscall close()
==1784336== 
==1784336== HEAP SUMMARY:
==1784336==     in use at exit: 0 bytes in 0 blocks
==1784336==   total heap usage: 9,034 allocs, 9,034 frees, 2,140,653 bytes allocated
==1784336== 
==1784336== All heap blocks were freed -- no leaks are possible
==1784336== 
==1784336== Use --track-origins=yes to see where uninitialised values come from
==1784336== For lists of detected and suppressed errors, rerun with: -s
==1784336== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)

Build error on clang with -Dtest=true

../src/test/log/log_process.cpp:102:52: error: 'open' has superfluous mode bits; missing O_CREAT? [-Werror,-Wuser-defined-warnings]
                int fd = open(logPath_.c_str(), O_RDONLY, S_IRUSR);
                                                                 ^

Move to libnettle

We only use a small subset of features given from gnutls, which are themselves provided by libnettle.

Move to use libnettle directly and remove the dependency on the whole of gnutls.

bootstrap dependencies script

we have a growing complexity of dependencies.
It would be nice if we could wrap this up in a helper script:

bootstrap-deps.sh [all] [cam] [qcam] [raspberrypi] [tracing] [gstreamer] [hotplug] [documentation] [tracing]

is there an bug: viewfinder_gl.cpp:391:25


../src/qcam/viewfinder_gl.cpp:391:25: error: ‘offset’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
  391 |   .arg(offset, 0, 'f', 1));

gcc version requirement for libcamera

While compiling libcamera, I got errors like:
../include/libcamera/base/bound_method.h:210:64: error: ‘maybe_unused’ attribute directive ignored [-Werror=attributes]

And solved by upgrading the gcc version to 9.
Is the gcc version above 8 is mandatory to build libcamera? Or can we compile it with gcc version 5?

ERROR: *** no cameras available *** - OV9281

Hello,

I'm trying to get libcamera work on a Raspberry 4 with an innomaker OV9281 camera but libcamera-hello and the others all return:
[1000] INFO Camera camera_manager.cpp:293 libcamera v.0.0.0+3156-f4070274 ERROR: *** no cameras available ***

OS
Raspberry Bullseye 5.10.63-v7l+

vcgencmd version
Oct 29 2021 10:47:33 Copyright (c) 2012 Broadcom version b8a114e5a9877e91ca8f26d1a5ce904b2ad3cf13 (clean) (release) (start)

dmesg | grep -i OV9281 returns nothing
I've also checked with another Pi 4 and flex cable with the same result, but I'm able to open the camera with VLC and get the video output

It works fine with an IMX477 camera

Best regards

Hitting build issue on Raspi 4 (pymain.cpp)

Not having great success building on pi4 (2GB) + raspi OS arm64 https://downloads.raspberrypi.org/raspios_arm64/images/raspios_arm64-2022-04-07/2022-04-04-raspios-bullseye-arm64.img.xz

Was following whats written here

[260/415] Compiling C++ object src/py/libcamera/_libcamera.so.p/pymain.cpp.o
FAILED: src/py/libcamera/_libcamera.so.p/pymain.cpp.o
c++ -Isrc/py/libcamera/_libcamera.so.p -Isrc/py/libcamera -I../src/py/libcamera -Iinclude -I../include -I../subprojects/pybind11/include -Iinclude/libcamera -I/usr/include/python3.9 -I/usr/include/aarch64-linux-gnu/python3.9 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -Wextra -Werror -std=c++17 -O0 -g -Wshadow -include config.h -fPIC -fvisibility=hidden -Wno-shadow -DPYBIND11_USE_SMART_HOLDER_AS_DEFAULT -DLIBCAMERA_BASE_PRIVATE -MD -MQ src/py/libcamera/_libcamera.so.p/pymain.cpp.o -MF src/py/libcamera/_libcamera.so.p/pymain.cpp.o.d -o src/py/libcamera/_libcamera.so.p/pymain.cpp.o -c ../src/py/libcamera/pymain.cpp
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.

note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<libcamera::V4L2Control*, std::vector<libcamera::V4L2Control> >’ changed in GCC 7.1

Building libcamera on the RPi with GCC 8.3.0 produces the following warnings/output:

[0/1] Regenerating build files.
The Meson build system
Version: 0.49.2
Source dir: /home/pi/libcamera
Build dir: /home/pi/libcamera/build
Build type: native build
Project name: libcamera
Project version: 0.0.0
Native C compiler: cc (gcc 8.3.0 "cc (Raspbian 8.3.0-6+rpi1) 8.3.0")
Native C++ compiler: c++ (gcc 8.3.0 "c++ (Raspbian 8.3.0-6+rpi1) 8.3.0")
Build machine cpu family: arm
Build machine cpu: armv7l
Header <stdlib.h> has symbol "secure_getenv" : YES
Configuring version.h using configuration
Found pkg-config: /usr/bin/pkg-config (0.29)
Found CMake: NO
Dependency libudev found: NO (tried pkgconfig and cmake)
Library atomic found: YES
Library dl found: YES
Dependency threads found: YES (cached)
WARNING: rcc dependencies will not work reliably until this upstream issue is fixed: https://bugreports.qt.io/browse/QTBUG-45460
Dependency qt5 found: YES (cached)
Detecting Qt5 tools
 moc: YES (/usr/lib/arm-linux-gnueabihf/qt5/bin/moc, 5.11.3)
 uic: YES (/usr/lib/arm-linux-gnueabihf/qt5/bin/uic, 5.11.3)
 rcc: YES (/usr/lib/arm-linux-gnueabihf/qt5/bin/rcc, 5.11.3)
 lrelease: NO
Configuring config.h using configuration
Build targets in project: 53
Option werror is: True [default: true]
Option b_sanitize is: none [default: address,undefined]
Found ninja-1.8.2 at /usr/bin/ninja
[35/154] Compiling C++ object 'src/libcamera/4ab8042@@camera@sha/v4l2_controls.cpp.o'.
In file included from /usr/include/c++/8/vector:69,
                 from ../src/libcamera/include/v4l2_controls.h:14,
                 from ../src/libcamera/v4l2_controls.cpp:8:
/usr/include/c++/8/bits/vector.tcc: In member function ‘void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {unsigned int&, long long int&}; _Tp = libcamera::V4L2Control; _Alloc = std::allocator<libcamera::V4L2Control>]’:
/usr/include/c++/8/bits/vector.tcc:109:4: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<libcamera::V4L2Control*, std::vector<libcamera::V4L2Control> >’ changed in GCC 7.1
    _M_realloc_insert(end(), std::forward<_Args>(__args)...);
    ^~~~~~~~~~~~~~~~~
/usr/include/c++/8/bits/vector.tcc: In member function ‘void std::vector<_Tp, _Alloc>::_M_realloc_insert(std::vector<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {unsigned int&, long long int&}; _Tp = libcamera::V4L2Control; _Alloc = std::allocator<libcamera::V4L2Control>]’:
/usr/include/c++/8/bits/vector.tcc:413:7: note: parameter passing for argument of type ‘std::vector<libcamera::V4L2Control>::iterator’ {aka ‘__gnu_cxx::__normal_iterator<libcamera::V4L2Control*, std::vector<libcamera::V4L2Control> >’} changed in GCC 7.1
       vector<_Tp, _Alloc>::
       ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8/vector:63,
                 from ../src/libcamera/include/v4l2_controls.h:14,
                 from ../src/libcamera/v4l2_controls.cpp:8:
/usr/include/c++/8/bits/stl_uninitialized.h: In function ‘_ForwardIterator std::__uninitialized_move_if_noexcept_a(_InputIterator, _InputIterator, _ForwardIterator, _Allocator&) [with _InputIterator = libcamera::V4L2Control*; _ForwardIterator = libcamera::V4L2Control*; _Allocator = std::allocator<libcamera::V4L2Control>]’:
/usr/include/c++/8/bits/stl_uninitialized.h:311:2: note: parameter passing for argument of type ‘std::move_iterator<libcamera::V4L2Control*>’ changed in GCC 7.1
       return std::__uninitialized_copy_a
              ~~~~~~~~~~~~~~~~~~~~~~~~~~~
  (_GLIBCXX_MAKE_MOVE_IF_NOEXCEPT_ITERATOR(__first),
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   _GLIBCXX_MAKE_MOVE_IF_NOEXCEPT_ITERATOR(__last), __result, __alloc);
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/8/bits/stl_uninitialized.h: In function ‘_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, std::allocator<_Tp>&) [with _InputIterator = std::move_iterator<libcamera::V4L2Control*>; _ForwardIterator = libcamera::V4L2Control*; _Tp = libcamera::V4L2Control]’:
/usr/include/c++/8/bits/stl_uninitialized.h:287:5: note: parameter passing for argument of type ‘std::move_iterator<libcamera::V4L2Control*>’ changed in GCC 7.1
     __uninitialized_copy_a(_InputIterator __first, _InputIterator __last,
     ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/8/bits/stl_uninitialized.h:287:5: note: parameter passing for argument of type ‘std::move_iterator<libcamera::V4L2Control*>’ changed in GCC 7.1
/usr/include/c++/8/bits/stl_uninitialized.h:289:37: note: parameter passing for argument of type ‘std::move_iterator<libcamera::V4L2Control*>’ changed in GCC 7.1
     { return std::uninitialized_copy(__first, __last, __result); }
              ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/8/bits/stl_uninitialized.h: In function ‘_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = std::move_iterator<libcamera::V4L2Control*>; _ForwardIterator = libcamera::V4L2Control*]’:
/usr/include/c++/8/bits/stl_uninitialized.h:115:5: note: parameter passing for argument of type ‘std::move_iterator<libcamera::V4L2Control*>’ changed in GCC 7.1
     uninitialized_copy(_InputIterator __first, _InputIterator __last,
     ^~~~~~~~~~~~~~~~~~
/usr/include/c++/8/bits/stl_uninitialized.h:115:5: note: parameter passing for argument of type ‘std::move_iterator<libcamera::V4L2Control*>’ changed in GCC 7.1
/usr/include/c++/8/bits/stl_uninitialized.h:134:15: note: parameter passing for argument of type ‘std::move_iterator<libcamera::V4L2Control*>’ changed in GCC 7.1
       return std::__uninitialized_copy<__is_trivial(_ValueType1)
              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
            && __is_trivial(_ValueType2)
            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
            && __assignable>::
            ~~~~~~~~~~~~~~~~~~
  __uninit_copy(__first, __last, __result);
  ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/8/bits/stl_uninitialized.h: In static member function ‘static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = std::move_iterator<libcamera::V4L2Control*>; _ForwardIterator = libcamera::V4L2Control*; bool _TrivialValueTypes = false]’:
/usr/include/c++/8/bits/stl_uninitialized.h:76:9: note: parameter passing for argument of type ‘std::move_iterator<libcamera::V4L2Control*>’ changed in GCC 7.1
         __uninit_copy(_InputIterator __first, _InputIterator __last,
         ^~~~~~~~~~~~~
/usr/include/c++/8/bits/stl_uninitialized.h:76:9: note: parameter passing for argument of type ‘std::move_iterator<libcamera::V4L2Control*>’ changed in GCC 7.1
[154/154] Linking target test/timer.

Using both cams of an Compute Module 4 board

Hi all,

I hope this is the correct project for implementing the libcamera adjustments for Raspberry Pi.
I have a Compute Module 4 with the official I/O board and two Raspberry Pi HQ cameras connected.
I want to synchronize an image capture with several boards. For this I have used the stereo mode.

Last week I have triggered the following bug with stereo mode of the raspistill tool: https://forum.stereopi.com/viewtopic.php?t=997

As far as I understand I cannot change or influence this bug.

I have changed my implementation to use two individually raspistill instances at the same time on the same board.
I have several boards running in parallel, each with two cameras.
It seems that the image capture of both instances of raspistill on one board has an offset of around 50ms.
The several boards have an offset of around 20ms - 30ms, which leads to an overall offset of 70ms - 100ms.
The execution time of raspistill fluctuates around 50 ms - 100 ms.

As I'am trying to achieve much quicker synchronization, e.g. 10ms-20 ms among all cameras, this is too much for my use case.

I have tried out libcamera and the corresponding libcamera-apps. I have gotten them to work with the first camera.
6by9 from the Raspberry Pi forum was so kind to provide the missing device tree overlay for the second camera.

https://www.raspberrypi.org/forums/viewtopic.php?f=43&t=304114

After using this v4l2-ctl gives me the following output:

bcm2835-codec-decode (platform:bcm2835-codec):
        /dev/video10
        /dev/video11
        /dev/video12

bcm2835-isp (platform:bcm2835-isp):
        /dev/video13
        /dev/video14
        /dev/video15
        /dev/video16

unicam (platform:fe800000.csi):
        /dev/video0
        /dev/video1

unicam (platform:fe801000.csi):
        /dev/video2
        /dev/video3

I have looked into the source code and it seems that the camera manager only recognizes one camera.
I have added some debug outputs in libcamera-apps. The camera manager recognizes only one sensor with the id:
/base/soc/i2c0mux/i2c@0/imx477@1a

I have also added a debug output on the following line:
https://github.com/kbingham/libcamera/blob/master/src/libcamera/pipeline/raspberrypi/raspberrypi.cpp#L964

There is only one entity of type: MEDIA_ENT_F_CAM_SENSOR.

I have the following questions:
What needs to be done so that libcamera recognizes the second sensor/cam on the same board?
Is the missing part in libcamera api or into the v4l unicam kernel driver?
I know stereo mode is not implemented, but could there be a solution, where I can use both cameras individually?

As far as I 6by9 understand, there should be additional video devices like /dev/video13-16 for a second isp. Just to be clear:
I need:

/dev/video13
/dev/video14
/dev/video15
/dev/video16

and additional for example:

/dev/video17
/dev/video18
/dev/video19
/dev/video20

Is it possible to capture images only with the both unicam devices /dev/video2 and /dev/video3?
Do I need the second isp devices /dev/video17-20 to configure the sensors?

Any hints are welcome.

Thanks for your help in advance.

IPU3 pipeline handler supports only 2 cameras

The IPU3 Pipeline handler only supports 2 cameras.

This is due to the only being 2 imgu (ISP) units, even though there are 4 CIO2 receivers.

The current implementation solves this simply by assigning a single cio2 to a single imgu and ignoring any further sensors found.

To support more than 2 cameras an implementation to share the imgu will be needed.

Got lc-compliance crash on rpi4 (android)

Searching for native crashes in tombstone_41
Reading symbols from /home/roman/glodroid/out/target/product/rpi4/symbols
Revision: '1.0'
pid: 4584, tid: 4584, name: lc-compliance  >>> lc-compliance <<<
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0000000000000028
    x0  b4000077eab80338  x1  b40000779ab7e130  x2  b40000776ab7a870  x3  0000007fdfe772f8
    x4  0000000000000030  x5  000000775ab74a00  x6  0000083100000876  x7  0000083d00000843
    x8  b4000077eab802d0  x9  0000000000000000  x10 0000000000000040  x11 0000000000000011
    x12 000000796ac4f680  x13 0000000000000009  x14 000000000000086a  x15 0000000000000000
    x16 000000797018e7a0  x17 0000007970140710  x18 00000079738b0000  x19 b4000077dab7ea80
    x20 b40000779ab7e130  x21 b40000777ab805b0  x22 0000000000000002  x23 b40000776ab7ac40
    x24 00000000ffffffff  x25 0000005e1a8abe60  x26 0000005e1a8ac0c6  x27 0000000000000000
    x28 b40000776ab7ac40  x29 0000007fdfe772f0
  sp  0000007fdfe772f0  pc  0000007970140748
WARNING: Cannot find /vendor/bin/lc-compliance in symbol directory
WARNING: Cannot find /vendor/bin/lc-compliance in symbol directory
WARNING: Cannot find /vendor/bin/lc-compliance in symbol directory
WARNING: Cannot find /vendor/bin/lc-compliance in symbol directory
WARNING: Cannot find /vendor/bin/lc-compliance in symbol directory
WARNING: Cannot find /vendor/bin/lc-compliance in symbol directory
WARNING: Cannot find /vendor/bin/lc-compliance in symbol directory
WARNING: Cannot find /vendor/bin/lc-compliance in symbol directory
WARNING: Cannot find /vendor/bin/lc-compliance in symbol directory
WARNING: Cannot find /vendor/bin/lc-compliance in symbol directory

Stack Trace:
  RELADDR           FUNCTION                                                                                               FILE:LINE
  v-------------->  libcamera::FrameBuffer::Private::cancel()                                                              /home/roman/glodroid/out/target/product/rpi4/obj/LIBCAMERA/build/../src/include/libcamera/internal/framebuffer.h:34
  00000000000c2748  libcamera::Request::Private::doCancelRequest()+56                                                      /home/roman/glodroid/out/target/product/rpi4/obj/LIBCAMERA/build/../src/src/libcamera/request.cpp:132
  00000000000c2670  libcamera::Request::Private::~Private()+32                                                             /home/roman/glodroid/out/target/product/rpi4/obj/LIBCAMERA/build/../src/src/libcamera/request.cpp:57
  00000000000c2880  libcamera::Request::Private::~Private()+16                                                             /home/roman/glodroid/out/target/product/rpi4/obj/LIBCAMERA/build/../src/src/libcamera/request.cpp:56
  0000000000028324  SimpleCaptureBalanced::capture+1908                                                                    /vendor/bin/lc-compliance
  000000000002b2a8  SingleStream_Capture_Test::TestBody()+136                                                              /vendor/bin/lc-compliance
  0000000000066318  void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>+88                    /vendor/bin/lc-compliance
  0000000000049d14  testing::Test::Run()+660                                                                               /vendor/bin/lc-compliance
  000000000004aff4  testing::TestInfo::Run()+772                                                                           /vendor/bin/lc-compliance
  000000000004b888  testing::TestSuite::Run()+456                                                                          /vendor/bin/lc-compliance
  000000000005f184  testing::internal::UnitTestImpl::RunAllTests()+2468                                                    /vendor/bin/lc-compliance
  0000000000067008  bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>+88  /vendor/bin/lc-compliance
  000000000005e798  testing::UnitTest::Run()+120                                                                           /vendor/bin/lc-compliance
  000000000002471c  main+1660                                                                                              /vendor/bin/lc-compliance
  000000000004b630  __libc_init+96                                                                                         bionic/libc/bionic/libc_init_dynamic.cpp:157 (discriminator 2)

-----------------------------------------------------

This diff workarounds the crash

--- a/src/libcamera/request.cpp
+++ b/src/libcamera/request.cpp
@@ -129,6 +129,8 @@ void Request::Private::doCancelRequest()
        Request *request = _o<Request>();
 
        for (FrameBuffer *buffer : pending_) {
+               if (buffer->_d() == nullptr)
+                       continue;
                buffer->_d()->cancel();
                camera_->bufferCompleted.emit(request, buffer);
        }

Android: RPI4: Need help with log analysis

Currently I have no camera picture and this:

10-07 14:42:18.486   413  1588 E Camera3-Stream: getBuffer: wait for output buffer return timed out after 8000ms (max_buffers 3)

message from the framework.

I'm on the latest libcamera & rpi-kernel v5.10.y

I will appreciate any ideas and suggestions where to look further.

adb logcat | grep libcam
01-01 00:00:23.386   360   360 I libcamera:  INFO HAL camera3_hal.cpp:61 Initialising Android camera HAL
01-01 00:00:23.416   360   360 D libcamera: DEBUG HALConfig camera_hal_config.cpp:378 '/base/soc/i2c0mux/i2c@1/ov5647@36' (0)[0]
01-01 00:00:23.544   360   360 D libcamera: DEBUG IPAModule ipa_module.cpp:320 ipa_rpi.so: IPA module /vendor/lib64/libcamera//ipa_rpi.so is not signed
01-01 00:00:23.544   360   360 D libcamera: DEBUG IPAManager ipa_manager.cpp:241 Loaded IPA module '/vendor/lib64/libcamera//ipa_rpi.so'
01-01 00:00:23.549   360   360 I libcamera:  INFO Camera camera_manager.cpp:293 libcamera v0.0.0
01-01 00:00:23.550   360   442 D libcamera: DEBUG Camera camera_manager.cpp:106 Starting camera manager
01-01 00:00:23.551   360   442 D libcamera: DEBUG DeviceEnumerator device_enumerator.cpp:224 New media device "bcm2835-codec" created from /dev/media2
01-01 00:00:23.554   360   442 D libcamera: DEBUG DeviceEnumerator device_enumerator.cpp:252 Added device /dev/media2: bcm2835-codec
01-01 00:00:23.554   360   442 D libcamera: DEBUG DeviceEnumerator device_enumerator.cpp:224 New media device "unicam" created from /dev/media0
01-01 00:00:23.555   360   442 D libcamera: DEBUG DeviceEnumerator device_enumerator.cpp:252 Added device /dev/media0: unicam
01-01 00:00:23.556   360   442 D libcamera: DEBUG DeviceEnumerator device_enumerator.cpp:224 New media device "bcm2835-isp" created from /dev/media1
01-01 00:00:23.578   360   442 D libcamera: DEBUG DeviceEnumerator device_enumerator.cpp:252 Added device /dev/media1: bcm2835-isp
01-01 00:00:23.578   360   442 D libcamera: DEBUG Camera camera_manager.cpp:149 Found registered pipeline handler 'SimplePipelineHandler'
01-01 00:00:23.578   360   442 D libcamera: DEBUG Camera camera_manager.cpp:149 Found registered pipeline handler 'PipelineHandlerRPi'
01-01 00:00:23.579   360   442 D libcamera: DEBUG DeviceEnumerator device_enumerator.cpp:312 Successful match for media device "unicam"
01-01 00:00:23.579   360   442 D libcamera: DEBUG DeviceEnumerator device_enumerator.cpp:312 Successful match for media device "bcm2835-isp"
01-01 00:00:23.581   360   442 D libcamera: DEBUG V4L2 v4l2_device.cpp:610 'ov5647 10-0036': Control: White Balance, Automatic (0x0098090c)
01-01 00:00:23.581   360   442 D libcamera: DEBUG V4L2 v4l2_device.cpp:610 'ov5647 10-0036': Control: Exposure (0x00980911)
01-01 00:00:23.581   360   442 D libcamera: DEBUG V4L2 v4l2_device.cpp:610 'ov5647 10-0036': Control: Gain, Automatic (0x00980912)
01-01 00:00:23.582   360   442 D libcamera: DEBUG V4L2 v4l2_device.cpp:610 'ov5647 10-0036': Control: Auto Exposure (0x009a0901)
01-01 00:00:23.582   360   442 D libcamera: DEBUG V4L2 v4l2_device.cpp:610 'ov5647 10-0036': Control: Camera Orientation (0x009a0922)
01-01 00:00:23.585   360   442 D libcamera: DEBUG V4L2 v4l2_device.cpp:610 'ov5647 10-0036': Control: Camera Sensor Rotation (0x009a0923)
01-01 00:00:23.586   360   442 D libcamera: DEBUG V4L2 v4l2_device.cpp:610 'ov5647 10-0036': Control: Vertical Blanking (0x009e0901)
01-01 00:00:23.586   360   442 D libcamera: DEBUG V4L2 v4l2_device.cpp:610 'ov5647 10-0036': Control: Horizontal Blanking (0x009e0902)
01-01 00:00:23.586   360   442 D libcamera: DEBUG V4L2 v4l2_device.cpp:610 'ov5647 10-0036': Control: Analogue Gain (0x009e0903)
01-01 00:00:23.586   360   442 D libcamera: DEBUG V4L2 v4l2_device.cpp:610 'ov5647 10-0036': Control: Pixel Rate (0x009f0902)
01-01 00:00:23.591   360   442 D libcamera: DEBUG CameraSensor camera_sensor.cpp:318 'ov5647 10-0036': No static test pattern map for 'ov5647'
01-01 00:00:23.592   360   442 D libcamera: DEBUG IPAManager ipa_manager.cpp:299 IPA module /vendor/lib64/libcamera//ipa_rpi.so signature is not valid
01-01 00:00:23.601   360   442 D libcamera: DEBUG IPAProxy raspberrypi_ipa_proxy.cpp:45 initializing raspberrypi proxy: loading IPA from /vendor/lib64/libcamera//ipa_rpi.so
01-01 00:00:24.671   360   442 D libcamera: DEBUG RPiBlackLevel black_level.cpp:41  Read black levels red 1024 green 1024 blue 1024
01-01 00:00:24.672   360   442 D libcamera: DEBUG RPiAgc agc.cpp:191 Agc
01-01 00:00:24.672   360   442 D libcamera: DEBUG RPiAgc agc.cpp:144 AgcConfig
01-01 00:00:24.675   360   442 D libcamera: DEBUG RPiAlsc alsc.cpp:118 Read calibrations_Cr calibration for ct 3000
01-01 00:00:24.676   360   442 D libcamera: DEBUG RPiAlsc alsc.cpp:118 Read calibrations_Cr calibration for ct 5000
01-01 00:00:24.678   360   442 D libcamera: DEBUG RPiAlsc alsc.cpp:118 Read calibrations_Cr calibration for ct 6500
01-01 00:00:24.678   360   442 D libcamera: DEBUG RPiAlsc alsc.cpp:118 Read calibrations_Cb calibration for ct 3000
01-01 00:00:24.679   360   442 D libcamera: DEBUG RPiAlsc alsc.cpp:118 Read calibrations_Cb calibration for ct 5000
01-01 00:00:24.680   360   442 D libcamera: DEBUG RPiAlsc alsc.cpp:118 Read calibrations_Cb calibration for ct 6500
01-01 00:00:24.682   360   442 D libcamera: DEBUG RPiSharpen sharpen.cpp:45 Read threshold 1 strength 1 limit 1
01-01 00:00:24.722   360   442 D libcamera: DEBUG V4L2 v4l2_videodevice.cpp:588 /dev/video0[15:cap]: Opened device platform:fe801000.csi: unicam: unicam
01-01 00:00:24.723   360   442 D libcamera: DEBUG V4L2 v4l2_device.cpp:610 /dev/video13[16:cap]: Control: Red Balance (0x0098090e)
01-01 00:00:24.723   360   442 D libcamera: DEBUG V4L2 v4l2_device.cpp:610 /dev/video13[16:cap]: Control: Blue Balance (0x0098090f)
01-01 00:00:24.723   360   442 D libcamera: DEBUG V4L2 v4l2_device.cpp:610 /dev/video13[16:cap]: Control: Colour Correction Matrix (0x009819e1)
01-01 00:00:24.724   360   442 D libcamera: DEBUG V4L2 v4l2_device.cpp:610 /dev/video13[16:cap]: Control: Lens Shading (0x009819e2)
01-01 00:00:24.724   360   442 D libcamera: DEBUG V4L2 v4l2_device.cpp:610 /dev/video13[16:cap]: Control: Black Level (0x009819e3)
01-01 00:00:24.724   360   442 D libcamera: DEBUG V4L2 v4l2_device.cpp:610 /dev/video13[16:cap]: Control: Green Equalisation (0x009819e4)
01-01 00:00:24.724   360   442 D libcamera: DEBUG V4L2 v4l2_device.cpp:610 /dev/video13[16:cap]: Control: Gamma (0x009819e5)
01-01 00:00:24.724   360   442 D libcamera: DEBUG V4L2 v4l2_device.cpp:610 /dev/video13[16:cap]: Control: Denoise (0x009819e6)
01-01 00:00:24.725   360   442 D libcamera: DEBUG V4L2 v4l2_device.cpp:610 /dev/video13[16:cap]: Control: Sharpen (0x009819e7)
01-01 00:00:24.725   360   442 D libcamera: DEBUG V4L2 v4l2_device.cpp:610 /dev/video13[16:cap]: Control: Defective Pixel Correction (0x009819e8)
01-01 00:00:24.725   360   442 D libcamera: DEBUG V4L2 v4l2_device.cpp:610 /dev/video13[16:cap]: Control: Colour Denoise (0x009819e9)
01-01 00:00:24.726   360   442 D libcamera: DEBUG V4L2 v4l2_device.cpp:610 /dev/video13[16:cap]: Control: Digital Gain (0x009f0905)
01-01 00:00:24.726   360   442 D libcamera: DEBUG V4L2 v4l2_videodevice.cpp:588 /dev/video13[16:out]: Opened device platform:bcm2835-isp: bcm2835-isp: bcm2835-isp
01-01 00:00:24.726   360   442 D libcamera: DEBUG V4L2 v4l2_videodevice.cpp:588 /dev/video14[17:cap]: Opened device platform:bcm2835-isp: bcm2835-isp: bcm2835-isp
01-01 00:00:24.727   360   442 D libcamera: DEBUG V4L2 v4l2_videodevice.cpp:588 /dev/video15[18:cap]: Opened device platform:bcm2835-isp: bcm2835-isp: bcm2835-isp
01-01 00:00:24.727   360   442 D libcamera: DEBUG V4L2 v4l2_videodevice.cpp:588 /dev/video16[19:cap]: Opened device platform:bcm2835-isp: bcm2835-isp: bcm2835-isp
01-01 00:00:24.727   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:99 Set a delay of 2 and priority write flag 1 for Vertical Blanking
01-01 00:00:24.727   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:99 Set a delay of 2 and priority write flag 0 for Exposure
01-01 00:00:24.727   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:99 Set a delay of 2 and priority write flag 0 for Analogue Gain
01-01 00:00:24.732   360   442 D libcamera: DEBUG Camera camera.cpp:886 streams configuration: (0) 2592x1944-NV12
01-01 00:00:24.732   360   442 D libcamera: DEBUG HAL camera_capabilities.cpp:483 Maximum supported resolution: 2592x1944
01-01 00:00:24.732   360   442 D libcamera: DEBUG HAL camera_capabilities.cpp:539 Trying to map Android format RAW16
01-01 00:00:24.732   360   442 D libcamera: DEBUG HAL camera_capabilities.cpp:562 Testing SBGGR16
01-01 00:00:24.732   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 640x480 fmt SBGGR8 Score: 8832 (best 8832)
01-01 00:00:24.733   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 640x480 fmt SBGGR10 Score: 7832 (best 7832)
01-01 00:00:24.733   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 1296x972 fmt SBGGR10 Score: 5536 (best 5536)
01-01 00:00:24.733   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 1920x1080 fmt SBGGR10 Score: 4238.67 (best 4238.67)
01-01 00:00:24.733   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 2592x1944 fmt SBGGR10 Score: 1000 (best 1000)
01-01 00:00:24.733   360   442 D libcamera: DEBUG HAL camera_capabilities.cpp:562 Testing SGBRG16
01-01 00:00:24.734   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 640x480 fmt SBGGR8 Score: 8832 (best 8832)
01-01 00:00:24.734   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 640x480 fmt SBGGR10 Score: 7832 (best 7832)
01-01 00:00:24.734   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 1296x972 fmt SBGGR10 Score: 5536 (best 5536)
01-01 00:00:24.734   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 1920x1080 fmt SBGGR10 Score: 4238.67 (best 4238.67)
01-01 00:00:24.734   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 2592x1944 fmt SBGGR10 Score: 1000 (best 1000)
01-01 00:00:24.735   360   442 D libcamera: DEBUG HAL camera_capabilities.cpp:562 Testing SGRBG16
01-01 00:00:24.735   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 640x480 fmt SBGGR8 Score: 8832 (best 8832)
01-01 00:00:24.735   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 640x480 fmt SBGGR10 Score: 7832 (best 7832)
01-01 00:00:24.735   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 1296x972 fmt SBGGR10 Score: 5536 (best 5536)
01-01 00:00:24.735   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 1920x1080 fmt SBGGR10 Score: 4238.67 (best 4238.67)
01-01 00:00:24.736   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 2592x1944 fmt SBGGR10 Score: 1000 (best 1000)
01-01 00:00:24.736   360   442 D libcamera: DEBUG HAL camera_capabilities.cpp:562 Testing SRGGB16
01-01 00:00:24.736   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 640x480 fmt SBGGR8 Score: 8832 (best 8832)
01-01 00:00:24.736   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 640x480 fmt SBGGR10 Score: 7832 (best 7832)
01-01 00:00:24.736   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 1296x972 fmt SBGGR10 Score: 5536 (best 5536)
01-01 00:00:24.737   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 1920x1080 fmt SBGGR10 Score: 4238.67 (best 4238.67)
01-01 00:00:24.737   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 2592x1944 fmt SBGGR10 Score: 1000 (best 1000)
01-01 00:00:24.737   360   442 D libcamera: DEBUG HAL camera_capabilities.cpp:539 Trying to map Android format BLOB
01-01 00:00:24.737   360   442 D libcamera: DEBUG HAL camera_capabilities.cpp:548 Mapped Android format BLOB to MJPEG (fixed mapping)
01-01 00:00:24.737   360   442 D libcamera: DEBUG HAL camera_capabilities.cpp:539 Trying to map Android format IMPLEMENTATION_DEFINED
01-01 00:00:24.737   360   442 D libcamera: DEBUG HAL camera_capabilities.cpp:562 Testing NV12
01-01 00:00:24.738   360   442 D libcamera: DEBUG HAL camera_capabilities.cpp:599 Mapped Android format IMPLEMENTATION_DEFINED to NV12
01-01 00:00:24.739   360   442 D libcamera: DEBUG Camera camera.cpp:886 streams configuration: (0) 800x600-NV12
01-01 00:00:24.740   360   442 D libcamera: DEBUG HAL camera_capabilities.cpp:432 320x240-NV12 supported
01-01 00:00:24.741   360   442 D libcamera: DEBUG HAL camera_capabilities.cpp:432 324x243-NV12 supported
01-01 00:00:24.742   360   442 D libcamera: DEBUG HAL camera_capabilities.cpp:432 640x480-NV12 supported
01-01 00:00:24.742   360   442 D libcamera: DEBUG HAL camera_capabilities.cpp:432 648x486-NV12 supported
01-01 00:00:24.743   360   442 D libcamera: DEBUG HAL camera_capabilities.cpp:432 1280x720-NV12 supported
01-01 00:00:24.744   360   442 D libcamera: DEBUG HAL camera_capabilities.cpp:432 1296x972-NV12 supported
01-01 00:00:24.745   360   442 D libcamera: DEBUG HAL camera_capabilities.cpp:432 1920x1080-NV12 supported
01-01 00:00:24.745   360   442 D libcamera: DEBUG HAL camera_capabilities.cpp:432 2592x1944-NV12 supported
01-01 00:00:24.746   360   442 I libcamera:  INFO Camera camera.cpp:945 configuring streams: (0) 320x240-NV12
01-01 00:00:24.746   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 640x480 fmt SBGGR8 Score: 2140 (best 2140)
01-01 00:00:24.746   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 640x480 fmt SBGGR10 Score: 1140 (best 1140)
01-01 00:00:24.747   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 1296x972 fmt SBGGR10 Score: 1427 (best 1140)
01-01 00:00:24.747   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 1920x1080 fmt SBGGR10 Score: 1776.67 (best 1140)
01-01 00:00:24.747   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 2592x1944 fmt SBGGR10 Score: 1994 (best 1140)
01-01 00:00:24.751   360   442 I libcamera:  INFO RPI raspberrypi.cpp:677 Sensor: /base/soc/i2c0mux/i2c@1/ov5647@36 - Selected sensor format: 640x480-SBGGR10_1X10 - Selected unicam format: 640x480-pBAA
01-01 00:00:24.752   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:708 Setting ISP Output0 to 320x240-NV12
01-01 00:00:24.752   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:776 Setting ISP Output1 (internal) to 160x120-NV12
01-01 00:00:24.755   360   442 D libcamera: DEBUG IPARPI raspberrypi.cpp:1121 Applying AGC Exposure: 19967.93us (Shutter lines: 593, AGC requested 20000.00us) Gain: 1 (Gain Code: 16)
01-01 00:00:24.780   360   442 I libcamera:  INFO Camera camera.cpp:945 configuring streams: (0) 324x243-NV12
01-01 00:00:24.781   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 640x480 fmt SBGGR8 Score: 2138.25 (best 2138.25)
01-01 00:00:24.781   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 640x480 fmt SBGGR10 Score: 1138.25 (best 1138.25)
01-01 00:00:24.782   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 1296x972 fmt SBGGR10 Score: 1425.25 (best 1138.25)
01-01 00:00:24.782   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 1920x1080 fmt SBGGR10 Score: 1774.92 (best 1138.25)
01-01 00:00:24.783   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 2592x1944 fmt SBGGR10 Score: 1992.25 (best 1138.25)
01-01 00:00:24.785   360   442 I libcamera:  INFO RPI raspberrypi.cpp:677 Sensor: /base/soc/i2c0mux/i2c@1/ov5647@36 - Selected sensor format: 640x480-SBGGR10_1X10 - Selected unicam format: 640x480-pBAA
01-01 00:00:24.786   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:708 Setting ISP Output0 to 324x243-NV12
01-01 00:00:24.786   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:776 Setting ISP Output1 (internal) to 162x120-NV12
01-01 00:00:24.787   360   442 D libcamera: DEBUG IPARPI raspberrypi.cpp:1121 Applying AGC Exposure: 19967.93us (Shutter lines: 593, AGC requested 20000.00us) Gain: 1 (Gain Code: 16)
01-01 00:00:24.790   360   442 I libcamera:  INFO Camera camera.cpp:945 configuring streams: (0) 640x480-NV12
01-01 00:00:24.790   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 640x480 fmt SBGGR8 Score: 2000 (best 2000)
01-01 00:00:24.790   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 640x480 fmt SBGGR10 Score: 1000 (best 1000)
01-01 00:00:24.791   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 1296x972 fmt SBGGR10 Score: 1287 (best 1000)
01-01 00:00:24.791   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 1920x1080 fmt SBGGR10 Score: 1636.67 (best 1000)
01-01 00:00:24.791   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 2592x1944 fmt SBGGR10 Score: 1854 (best 1000)
01-01 00:00:24.793   360   442 I libcamera:  INFO RPI raspberrypi.cpp:677 Sensor: /base/soc/i2c0mux/i2c@1/ov5647@36 - Selected sensor format: 640x480-SBGGR10_1X10 - Selected unicam format: 640x480-pBAA
01-01 00:00:24.794   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:708 Setting ISP Output0 to 640x480-NV12
01-01 00:00:24.794   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:776 Setting ISP Output1 (internal) to 320x240-NV12
01-01 00:00:24.797   360   442 D libcamera: DEBUG IPARPI raspberrypi.cpp:1121 Applying AGC Exposure: 19967.93us (Shutter lines: 593, AGC requested 20000.00us) Gain: 1 (Gain Code: 16)
01-01 00:00:24.800   360   442 I libcamera:  INFO Camera camera.cpp:945 configuring streams: (0) 648x486-NV12
01-01 00:00:24.801   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 640x480 fmt SBGGR8 Score: 2028 (best 2028)
01-01 00:00:24.801   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 640x480 fmt SBGGR10 Score: 1028 (best 1028)
01-01 00:00:24.801   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 1296x972 fmt SBGGR10 Score: 1283.5 (best 1028)
01-01 00:00:24.801   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 1920x1080 fmt SBGGR10 Score: 1633.17 (best 1028)
01-01 00:00:24.801   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 2592x1944 fmt SBGGR10 Score: 1850.5 (best 1028)
01-01 00:00:24.804   360   442 I libcamera:  INFO RPI raspberrypi.cpp:677 Sensor: /base/soc/i2c0mux/i2c@1/ov5647@36 - Selected sensor format: 640x480-SBGGR10_1X10 - Selected unicam format: 640x480-pBAA
01-01 00:00:24.805   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:708 Setting ISP Output0 to 648x486-NV12
01-01 00:00:24.806   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:776 Setting ISP Output1 (internal) to 324x242-NV12
01-01 00:00:24.807   360   442 D libcamera: DEBUG IPARPI raspberrypi.cpp:1121 Applying AGC Exposure: 19967.93us (Shutter lines: 593, AGC requested 20000.00us) Gain: 1 (Gain Code: 16)
01-01 00:00:24.811   360   442 I libcamera:  INFO Camera camera.cpp:945 configuring streams: (0) 1280x720-NV12
01-01 00:00:24.811   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 640x480 fmt SBGGR8 Score: 5093.33 (best 5093.33)
01-01 00:00:24.811   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 640x480 fmt SBGGR10 Score: 4093.33 (best 4093.33)
01-01 00:00:24.812   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 1296x972 fmt SBGGR10 Score: 2400.33 (best 2400.33)
01-01 00:00:24.812   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 1920x1080 fmt SBGGR10 Score: 1250 (best 1250)
01-01 00:00:24.812   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 2592x1944 fmt SBGGR10 Score: 2967.33 (best 1250)
01-01 00:00:24.814   360   442 I libcamera:  INFO RPI raspberrypi.cpp:677 Sensor: /base/soc/i2c0mux/i2c@1/ov5647@36 - Selected sensor format: 1920x1080-SBGGR10_1X10 - Selected unicam format: 1920x1080-pBAA
01-01 00:00:24.814   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:708 Setting ISP Output0 to 1280x720-NV12
01-01 00:00:24.815   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:776 Setting ISP Output1 (internal) to 640x360-NV12
01-01 00:00:24.817   360   442 D libcamera: DEBUG IPARPI raspberrypi.cpp:1121 Applying AGC Exposure: 19998.56us (Shutter lines: 676, AGC requested 20000.00us) Gain: 1 (Gain Code: 16)
01-01 00:00:24.819   360   442 I libcamera:  INFO Camera camera.cpp:945 configuring streams: (0) 1296x972-NV12
01-01 00:00:24.820   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 640x480 fmt SBGGR8 Score: 4296 (best 4296)
01-01 00:00:24.820   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 640x480 fmt SBGGR10 Score: 3296 (best 3296)
01-01 00:00:24.821   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 1296x972 fmt SBGGR10 Score: 1000 (best 1000)
01-01 00:00:24.821   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 1920x1080 fmt SBGGR10 Score: 1349.67 (best 1000)
01-01 00:00:24.821   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 2592x1944 fmt SBGGR10 Score: 1567 (best 1000)
01-01 00:00:24.823   360   442 I libcamera:  INFO RPI raspberrypi.cpp:677 Sensor: /base/soc/i2c0mux/i2c@1/ov5647@36 - Selected sensor format: 1296x972-SBGGR10_1X10 - Selected unicam format: 1296x972-pBAA
01-01 00:00:24.824   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:708 Setting ISP Output0 to 1296x972-NV12
01-01 00:00:24.824   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:776 Setting ISP Output1 (internal) to 648x486-NV12
01-01 00:00:24.826   360   442 D libcamera: DEBUG IPARPI raspberrypi.cpp:1121 Applying AGC Exposure: 19989.25us (Shutter lines: 861, AGC requested 20000.00us) Gain: 1 (Gain Code: 16)
01-01 00:00:24.828   360   442 I libcamera:  INFO Camera camera.cpp:945 configuring streams: (0) 1920x1080-NV12
01-01 00:00:24.829   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 640x480 fmt SBGGR8 Score: 7093.33 (best 7093.33)
01-01 00:00:24.834   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 640x480 fmt SBGGR10 Score: 6093.33 (best 6093.33)
01-01 00:00:24.835   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 1296x972 fmt SBGGR10 Score: 3797.33 (best 3797.33)
01-01 00:00:24.835   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 1920x1080 fmt SBGGR10 Score: 1000 (best 1000)
01-01 00:00:24.836   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 2592x1944 fmt SBGGR10 Score: 2717.33 (best 1000)
01-01 00:00:24.838   360   442 I libcamera:  INFO RPI raspberrypi.cpp:677 Sensor: /base/soc/i2c0mux/i2c@1/ov5647@36 - Selected sensor format: 1920x1080-SBGGR10_1X10 - Selected unicam format: 1920x1080-pBAA
01-01 00:00:24.838   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:708 Setting ISP Output0 to 1920x1080-NV12
01-01 00:00:24.838   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:776 Setting ISP Output1 (internal) to 960x540-NV12
01-01 00:00:24.840   360   442 D libcamera: DEBUG IPARPI raspberrypi.cpp:1121 Applying AGC Exposure: 19998.56us (Shutter lines: 676, AGC requested 20000.00us) Gain: 1 (Gain Code: 16)
01-01 00:00:24.845   360   442 I libcamera:  INFO Camera camera.cpp:945 configuring streams: (0) 2592x1944-NV12
01-01 00:00:24.845   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 640x480 fmt SBGGR8 Score: 8832 (best 8832)
01-01 00:00:24.845   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 640x480 fmt SBGGR10 Score: 7832 (best 7832)
01-01 00:00:24.846   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 1296x972 fmt SBGGR10 Score: 5536 (best 5536)
01-01 00:00:24.846   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 1920x1080 fmt SBGGR10 Score: 4238.67 (best 4238.67)
01-01 00:00:24.846   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 2592x1944 fmt SBGGR10 Score: 1000 (best 1000)
01-01 00:00:24.848   360   442 I libcamera:  INFO RPI raspberrypi.cpp:677 Sensor: /base/soc/i2c0mux/i2c@1/ov5647@36 - Selected sensor format: 2592x1944-SBGGR10_1X10 - Selected unicam format: 2592x1944-pBAA
01-01 00:00:24.848   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:708 Setting ISP Output0 to 2592x1944-NV12
01-01 00:00:24.850   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:776 Setting ISP Output1 (internal) to 1200x900-NV12
01-01 00:00:24.851   360   442 D libcamera: DEBUG IPARPI raspberrypi.cpp:1121 Applying AGC Exposure: 19989.26us (Shutter lines: 615, AGC requested 20000.00us) Gain: 1 (Gain Code: 16)
01-01 00:00:24.853   360   442 D libcamera: DEBUG HAL camera_capabilities.cpp:539 Trying to map Android format YCbCr_420_888
01-01 00:00:24.853   360   442 D libcamera: DEBUG HAL camera_capabilities.cpp:562 Testing NV12
01-01 00:00:24.854   360   442 D libcamera: DEBUG HAL camera_capabilities.cpp:599 Mapped Android format YCbCr_420_888 to NV12
01-01 00:00:24.856   360   442 D libcamera: DEBUG Camera camera.cpp:886 streams configuration: (0) 800x600-NV12
01-01 00:00:24.857   360   442 D libcamera: DEBUG HAL camera_capabilities.cpp:432 320x240-NV12 supported
01-01 00:00:24.858   360   442 D libcamera: DEBUG HAL camera_capabilities.cpp:432 324x243-NV12 supported
01-01 00:00:24.859   360   442 D libcamera: DEBUG HAL camera_capabilities.cpp:432 640x480-NV12 supported
01-01 00:00:24.860   360   442 D libcamera: DEBUG HAL camera_capabilities.cpp:432 648x486-NV12 supported
01-01 00:00:24.862   360   442 D libcamera: DEBUG HAL camera_capabilities.cpp:432 1280x720-NV12 supported
01-01 00:00:24.863   360   442 D libcamera: DEBUG HAL camera_capabilities.cpp:432 1296x972-NV12 supported
01-01 00:00:24.864   360   442 D libcamera: DEBUG HAL camera_capabilities.cpp:432 1920x1080-NV12 supported
01-01 00:00:24.865   360   442 D libcamera: DEBUG HAL camera_capabilities.cpp:432 2592x1944-NV12 supported
01-01 00:00:24.866   360   442 I libcamera:  INFO Camera camera.cpp:945 configuring streams: (0) 320x240-NV12
01-01 00:00:24.867   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 640x480 fmt SBGGR8 Score: 2140 (best 2140)
01-01 00:00:24.867   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 640x480 fmt SBGGR10 Score: 1140 (best 1140)
01-01 00:00:24.867   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 1296x972 fmt SBGGR10 Score: 1427 (best 1140)
01-01 00:00:24.868   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 1920x1080 fmt SBGGR10 Score: 1776.67 (best 1140)
01-01 00:00:24.869   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 2592x1944 fmt SBGGR10 Score: 1994 (best 1140)
01-01 00:00:24.871   360   442 I libcamera:  INFO RPI raspberrypi.cpp:677 Sensor: /base/soc/i2c0mux/i2c@1/ov5647@36 - Selected sensor format: 640x480-SBGGR10_1X10 - Selected unicam format: 640x480-pBAA
01-01 00:00:24.872   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:708 Setting ISP Output0 to 320x240-NV12
01-01 00:00:24.872   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:776 Setting ISP Output1 (internal) to 160x120-NV12
01-01 00:00:24.874   360   442 D libcamera: DEBUG IPARPI raspberrypi.cpp:1121 Applying AGC Exposure: 19967.93us (Shutter lines: 593, AGC requested 20000.00us) Gain: 1 (Gain Code: 16)
01-01 00:00:24.878   360   442 I libcamera:  INFO Camera camera.cpp:945 configuring streams: (0) 324x243-NV12
01-01 00:00:24.879   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 640x480 fmt SBGGR8 Score: 2138.25 (best 2138.25)
01-01 00:00:24.879   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 640x480 fmt SBGGR10 Score: 1138.25 (best 1138.25)
01-01 00:00:24.879   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 1296x972 fmt SBGGR10 Score: 1425.25 (best 1138.25)
01-01 00:00:24.880   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 1920x1080 fmt SBGGR10 Score: 1774.92 (best 1138.25)
01-01 00:00:24.880   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 2592x1944 fmt SBGGR10 Score: 1992.25 (best 1138.25)
01-01 00:00:24.884   360   442 I libcamera:  INFO RPI raspberrypi.cpp:677 Sensor: /base/soc/i2c0mux/i2c@1/ov5647@36 - Selected sensor format: 640x480-SBGGR10_1X10 - Selected unicam format: 640x480-pBAA
01-01 00:00:24.884   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:708 Setting ISP Output0 to 324x243-NV12
01-01 00:00:24.885   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:776 Setting ISP Output1 (internal) to 162x120-NV12
01-01 00:00:24.886   360   442 D libcamera: DEBUG IPARPI raspberrypi.cpp:1121 Applying AGC Exposure: 19967.93us (Shutter lines: 593, AGC requested 20000.00us) Gain: 1 (Gain Code: 16)
01-01 00:00:24.889   360   442 I libcamera:  INFO Camera camera.cpp:945 configuring streams: (0) 640x480-NV12
01-01 00:00:24.889   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 640x480 fmt SBGGR8 Score: 2000 (best 2000)
01-01 00:00:24.889   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 640x480 fmt SBGGR10 Score: 1000 (best 1000)
01-01 00:00:24.889   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 1296x972 fmt SBGGR10 Score: 1287 (best 1000)
01-01 00:00:24.890   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 1920x1080 fmt SBGGR10 Score: 1636.67 (best 1000)
01-01 00:00:24.890   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 2592x1944 fmt SBGGR10 Score: 1854 (best 1000)
01-01 00:00:24.892   360   442 I libcamera:  INFO RPI raspberrypi.cpp:677 Sensor: /base/soc/i2c0mux/i2c@1/ov5647@36 - Selected sensor format: 640x480-SBGGR10_1X10 - Selected unicam format: 640x480-pBAA
01-01 00:00:24.893   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:708 Setting ISP Output0 to 640x480-NV12
01-01 00:00:24.893   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:776 Setting ISP Output1 (internal) to 320x240-NV12
01-01 00:00:24.894   360   442 D libcamera: DEBUG IPARPI raspberrypi.cpp:1121 Applying AGC Exposure: 19967.93us (Shutter lines: 593, AGC requested 20000.00us) Gain: 1 (Gain Code: 16)
01-01 00:00:24.897   360   442 I libcamera:  INFO Camera camera.cpp:945 configuring streams: (0) 648x486-NV12
01-01 00:00:24.897   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 640x480 fmt SBGGR8 Score: 2028 (best 2028)
01-01 00:00:24.898   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 640x480 fmt SBGGR10 Score: 1028 (best 1028)
01-01 00:00:24.898   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 1296x972 fmt SBGGR10 Score: 1283.5 (best 1028)
01-01 00:00:24.898   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 1920x1080 fmt SBGGR10 Score: 1633.17 (best 1028)
01-01 00:00:24.899   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 2592x1944 fmt SBGGR10 Score: 1850.5 (best 1028)
01-01 00:00:24.901   360   442 I libcamera:  INFO RPI raspberrypi.cpp:677 Sensor: /base/soc/i2c0mux/i2c@1/ov5647@36 - Selected sensor format: 640x480-SBGGR10_1X10 - Selected unicam format: 640x480-pBAA
01-01 00:00:24.902   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:708 Setting ISP Output0 to 648x486-NV12
01-01 00:00:24.902   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:776 Setting ISP Output1 (internal) to 324x242-NV12
01-01 00:00:24.904   360   442 D libcamera: DEBUG IPARPI raspberrypi.cpp:1121 Applying AGC Exposure: 19967.93us (Shutter lines: 593, AGC requested 20000.00us) Gain: 1 (Gain Code: 16)
01-01 00:00:24.908   360   442 I libcamera:  INFO Camera camera.cpp:945 configuring streams: (0) 1280x720-NV12
01-01 00:00:24.908   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 640x480 fmt SBGGR8 Score: 5093.33 (best 5093.33)
01-01 00:00:24.908   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 640x480 fmt SBGGR10 Score: 4093.33 (best 4093.33)
01-01 00:00:24.909   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 1296x972 fmt SBGGR10 Score: 2400.33 (best 2400.33)
01-01 00:00:24.909   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 1920x1080 fmt SBGGR10 Score: 1250 (best 1250)
01-01 00:00:24.909   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 2592x1944 fmt SBGGR10 Score: 2967.33 (best 1250)
01-01 00:00:24.910   360   442 I libcamera:  INFO RPI raspberrypi.cpp:677 Sensor: /base/soc/i2c0mux/i2c@1/ov5647@36 - Selected sensor format: 1920x1080-SBGGR10_1X10 - Selected unicam format: 1920x1080-pBAA
01-01 00:00:24.911   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:708 Setting ISP Output0 to 1280x720-NV12
01-01 00:00:24.911   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:776 Setting ISP Output1 (internal) to 640x360-NV12
01-01 00:00:24.912   360   442 D libcamera: DEBUG IPARPI raspberrypi.cpp:1121 Applying AGC Exposure: 19998.56us (Shutter lines: 676, AGC requested 20000.00us) Gain: 1 (Gain Code: 16)
01-01 00:00:24.915   360   442 I libcamera:  INFO Camera camera.cpp:945 configuring streams: (0) 1296x972-NV12
01-01 00:00:24.915   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 640x480 fmt SBGGR8 Score: 4296 (best 4296)
01-01 00:00:24.915   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 640x480 fmt SBGGR10 Score: 3296 (best 3296)
01-01 00:00:24.916   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 1296x972 fmt SBGGR10 Score: 1000 (best 1000)
01-01 00:00:24.916   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 1920x1080 fmt SBGGR10 Score: 1349.67 (best 1000)
01-01 00:00:24.916   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 2592x1944 fmt SBGGR10 Score: 1567 (best 1000)
01-01 00:00:24.917   360   442 I libcamera:  INFO RPI raspberrypi.cpp:677 Sensor: /base/soc/i2c0mux/i2c@1/ov5647@36 - Selected sensor format: 1296x972-SBGGR10_1X10 - Selected unicam format: 1296x972-pBAA
01-01 00:00:24.918   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:708 Setting ISP Output0 to 1296x972-NV12
01-01 00:00:24.918   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:776 Setting ISP Output1 (internal) to 648x486-NV12
01-01 00:00:24.919   360   442 D libcamera: DEBUG IPARPI raspberrypi.cpp:1121 Applying AGC Exposure: 19989.25us (Shutter lines: 861, AGC requested 20000.00us) Gain: 1 (Gain Code: 16)
01-01 00:00:24.921   360   442 I libcamera:  INFO Camera camera.cpp:945 configuring streams: (0) 1920x1080-NV12
01-01 00:00:24.922   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 640x480 fmt SBGGR8 Score: 7093.33 (best 7093.33)
01-01 00:00:24.922   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 640x480 fmt SBGGR10 Score: 6093.33 (best 6093.33)
01-01 00:00:24.922   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 1296x972 fmt SBGGR10 Score: 3797.33 (best 3797.33)
01-01 00:00:24.922   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 1920x1080 fmt SBGGR10 Score: 1000 (best 1000)
01-01 00:00:24.922   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 2592x1944 fmt SBGGR10 Score: 2717.33 (best 1000)
01-01 00:00:24.923   360   442 I libcamera:  INFO RPI raspberrypi.cpp:677 Sensor: /base/soc/i2c0mux/i2c@1/ov5647@36 - Selected sensor format: 1920x1080-SBGGR10_1X10 - Selected unicam format: 1920x1080-pBAA
01-01 00:00:24.924   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:708 Setting ISP Output0 to 1920x1080-NV12
01-01 00:00:24.924   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:776 Setting ISP Output1 (internal) to 960x540-NV12
01-01 00:00:24.926   360   442 D libcamera: DEBUG IPARPI raspberrypi.cpp:1121 Applying AGC Exposure: 19998.56us (Shutter lines: 676, AGC requested 20000.00us) Gain: 1 (Gain Code: 16)
01-01 00:00:24.929   360   442 I libcamera:  INFO Camera camera.cpp:945 configuring streams: (0) 2592x1944-NV12
01-01 00:00:24.929   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 640x480 fmt SBGGR8 Score: 8832 (best 8832)
01-01 00:00:24.929   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 640x480 fmt SBGGR10 Score: 7832 (best 7832)
01-01 00:00:24.929   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 1296x972 fmt SBGGR10 Score: 5536 (best 5536)
01-01 00:00:24.929   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 1920x1080 fmt SBGGR10 Score: 4238.67 (best 4238.67)
01-01 00:00:24.930   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 2592x1944 fmt SBGGR10 Score: 1000 (best 1000)
01-01 00:00:24.931   360   442 I libcamera:  INFO RPI raspberrypi.cpp:677 Sensor: /base/soc/i2c0mux/i2c@1/ov5647@36 - Selected sensor format: 2592x1944-SBGGR10_1X10 - Selected unicam format: 2592x1944-pBAA
01-01 00:00:24.931   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:708 Setting ISP Output0 to 2592x1944-NV12
01-01 00:00:24.932   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:776 Setting ISP Output1 (internal) to 1200x900-NV12
01-01 00:00:24.934   360   442 D libcamera: DEBUG IPARPI raspberrypi.cpp:1121 Applying AGC Exposure: 19989.26us (Shutter lines: 615, AGC requested 20000.00us) Gain: 1 (Gain Code: 16)
01-01 00:00:24.936   360   442 D libcamera: DEBUG HAL camera_capabilities.cpp:539 Trying to map Android format RAW10
01-01 00:00:24.936   360   442 D libcamera: DEBUG HAL camera_capabilities.cpp:562 Testing SBGGR10_CSI2P
01-01 00:00:24.936   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 640x480 fmt SBGGR8 Score: 8832 (best 8832)
01-01 00:00:24.936   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 640x480 fmt SBGGR10 Score: 7832 (best 7832)
01-01 00:00:24.936   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 1296x972 fmt SBGGR10 Score: 5536 (best 5536)
01-01 00:00:24.936   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 1920x1080 fmt SBGGR10 Score: 4238.67 (best 4238.67)
01-01 00:00:24.937   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 2592x1944 fmt SBGGR10 Score: 1000 (best 1000)
01-01 00:00:24.937   360   442 D libcamera: DEBUG HAL camera_capabilities.cpp:599 Mapped Android format RAW10 to SBGGR10_CSI2P
01-01 00:00:24.937   360   442 D libcamera: DEBUG HAL camera_capabilities.cpp:539 Trying to map Android format RAW12
01-01 00:00:24.937   360   442 D libcamera: DEBUG HAL camera_capabilities.cpp:562 Testing SBGGR12_CSI2P
01-01 00:00:24.937   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 640x480 fmt SBGGR8 Score: 8832 (best 8832)
01-01 00:00:24.938   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 640x480 fmt SBGGR10 Score: 7832 (best 7832)
01-01 00:00:24.938   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 1296x972 fmt SBGGR10 Score: 5536 (best 5536)
01-01 00:00:24.938   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 1920x1080 fmt SBGGR10 Score: 4238.67 (best 4238.67)
01-01 00:00:24.938   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 2592x1944 fmt SBGGR10 Score: 1000 (best 1000)
01-01 00:00:24.938   360   442 D libcamera: DEBUG HAL camera_capabilities.cpp:562 Testing SGBRG12_CSI2P
01-01 00:00:24.938   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 640x480 fmt SBGGR8 Score: 8832 (best 8832)
01-01 00:00:24.939   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 640x480 fmt SBGGR10 Score: 7832 (best 7832)
01-01 00:00:24.939   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 1296x972 fmt SBGGR10 Score: 5536 (best 5536)
01-01 00:00:24.939   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 1920x1080 fmt SBGGR10 Score: 4238.67 (best 4238.67)
01-01 00:00:24.939   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 2592x1944 fmt SBGGR10 Score: 1000 (best 1000)
01-01 00:00:24.939   360   442 D libcamera: DEBUG HAL camera_capabilities.cpp:562 Testing SGRBG12_CSI2P
01-01 00:00:24.940   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 640x480 fmt SBGGR8 Score: 8832 (best 8832)
01-01 00:00:24.940   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 640x480 fmt SBGGR10 Score: 7832 (best 7832)
01-01 00:00:24.940   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 1296x972 fmt SBGGR10 Score: 5536 (best 5536)
01-01 00:00:24.940   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 1920x1080 fmt SBGGR10 Score: 4238.67 (best 4238.67)
01-01 00:00:24.940   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 2592x1944 fmt SBGGR10 Score: 1000 (best 1000)
01-01 00:00:24.941   360   442 D libcamera: DEBUG HAL camera_capabilities.cpp:562 Testing SRGGB12_CSI2P
01-01 00:00:24.941   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 640x480 fmt SBGGR8 Score: 8832 (best 8832)
01-01 00:00:24.941   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 640x480 fmt SBGGR10 Score: 7832 (best 7832)
01-01 00:00:24.941   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 1296x972 fmt SBGGR10 Score: 5536 (best 5536)
01-01 00:00:24.941   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 1920x1080 fmt SBGGR10 Score: 4238.67 (best 4238.67)
01-01 00:00:24.941   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 2592x1944 fmt SBGGR10 Score: 1000 (best 1000)
01-01 00:00:24.942   360   442 D libcamera: DEBUG HAL camera_capabilities.cpp:713 Collected stream configuration map: 
01-01 00:00:24.942   360   442 D libcamera: DEBUG HAL camera_capabilities.cpp:715 { 320x240 - 0x00000022 }
01-01 00:00:24.942   360   442 D libcamera: DEBUG HAL camera_capabilities.cpp:715 { 324x243 - 0x00000022 }
01-01 00:00:24.942   360   442 D libcamera: DEBUG HAL camera_capabilities.cpp:715 { 640x480 - 0x00000022 }
01-01 00:00:24.942   360   442 D libcamera: DEBUG HAL camera_capabilities.cpp:715 { 648x486 - 0x00000022 }
01-01 00:00:24.942   360   442 D libcamera: DEBUG HAL camera_capabilities.cpp:715 { 1280x720 - 0x00000022 }
01-01 00:00:24.943   360   442 D libcamera: DEBUG HAL camera_capabilities.cpp:715 { 1296x972 - 0x00000022 }
01-01 00:00:24.943   360   442 D libcamera: DEBUG HAL camera_capabilities.cpp:715 { 1920x1080 - 0x00000022 }
01-01 00:00:24.943   360   442 D libcamera: DEBUG HAL camera_capabilities.cpp:715 { 2592x1944 - 0x00000022 }
01-01 00:00:24.943   360   442 D libcamera: DEBUG HAL camera_capabilities.cpp:715 { 320x240 - 0x00000023 }
01-01 00:00:24.943   360   442 D libcamera: DEBUG HAL camera_capabilities.cpp:715 { 320x240 - 0x00000021 }
01-01 00:00:24.943   360   442 D libcamera: DEBUG HAL camera_capabilities.cpp:715 { 324x243 - 0x00000023 }
01-01 00:00:24.944   360   442 D libcamera: DEBUG HAL camera_capabilities.cpp:715 { 324x243 - 0x00000021 }
01-01 00:00:24.944   360   442 D libcamera: DEBUG HAL camera_capabilities.cpp:715 { 640x480 - 0x00000023 }
01-01 00:00:24.944   360   442 D libcamera: DEBUG HAL camera_capabilities.cpp:715 { 640x480 - 0x00000021 }
01-01 00:00:24.944   360   442 D libcamera: DEBUG HAL camera_capabilities.cpp:715 { 648x486 - 0x00000023 }
01-01 00:00:24.944   360   442 D libcamera: DEBUG HAL camera_capabilities.cpp:715 { 648x486 - 0x00000021 }
01-01 00:00:24.944   360   442 D libcamera: DEBUG HAL camera_capabilities.cpp:715 { 1280x720 - 0x00000023 }
01-01 00:00:24.945   360   442 D libcamera: DEBUG HAL camera_capabilities.cpp:715 { 1280x720 - 0x00000021 }
01-01 00:00:24.945   360   442 D libcamera: DEBUG HAL camera_capabilities.cpp:715 { 1296x972 - 0x00000023 }
01-01 00:00:24.945   360   442 D libcamera: DEBUG HAL camera_capabilities.cpp:715 { 1296x972 - 0x00000021 }
01-01 00:00:24.945   360   442 D libcamera: DEBUG HAL camera_capabilities.cpp:715 { 1920x1080 - 0x00000023 }
01-01 00:00:24.945   360   442 D libcamera: DEBUG HAL camera_capabilities.cpp:715 { 1920x1080 - 0x00000021 }
01-01 00:00:24.945   360   442 D libcamera: DEBUG HAL camera_capabilities.cpp:715 { 2592x1944 - 0x00000023 }
01-01 00:00:24.946   360   442 D libcamera: DEBUG HAL camera_capabilities.cpp:715 { 2592x1944 - 0x00000021 }
01-01 00:00:24.947   360   442 D libcamera: DEBUG Camera camera.cpp:886 streams configuration: (0) 800x600-NV12
01-01 00:00:24.948   360   442 I libcamera:  INFO Camera camera.cpp:945 configuring streams: (0) 800x600-NV12
01-01 00:00:24.948   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 640x480 fmt SBGGR8 Score: 2560 (best 2560)
01-01 00:00:24.948   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 640x480 fmt SBGGR10 Score: 1560 (best 1560)
01-01 00:00:24.948   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 1296x972 fmt SBGGR10 Score: 1217 (best 1217)
01-01 00:00:24.949   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 1920x1080 fmt SBGGR10 Score: 1566.67 (best 1217)
01-01 00:00:24.949   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 2592x1944 fmt SBGGR10 Score: 1784 (best 1217)
01-01 00:00:24.950   360   442 I libcamera:  INFO RPI raspberrypi.cpp:677 Sensor: /base/soc/i2c0mux/i2c@1/ov5647@36 - Selected sensor format: 1296x972-SBGGR10_1X10 - Selected unicam format: 1296x972-pBAA
01-01 00:00:24.950   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:708 Setting ISP Output0 to 800x600-NV12
01-01 00:00:24.951   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:776 Setting ISP Output1 (internal) to 400x300-NV12
01-01 00:00:24.952   360   442 D libcamera: DEBUG IPARPI raspberrypi.cpp:1121 Applying AGC Exposure: 19989.25us (Shutter lines: 861, AGC requested 20000.00us) Gain: 1 (Gain Code: 16)
01-01 00:00:24.954   360   442 D libcamera: DEBUG HAL camera_capabilities.cpp:1305 Output Stream: 0x00000022 (320x240)[33333333]@30
01-01 00:00:24.954   360   442 D libcamera: DEBUG HAL camera_capabilities.cpp:1305 Output Stream: 0x00000022 (324x243)[33333333]@30
01-01 00:00:24.954   360   442 D libcamera: DEBUG HAL camera_capabilities.cpp:1305 Output Stream: 0x00000022 (640x480)[33333333]@30
01-01 00:00:24.954   360   442 D libcamera: DEBUG HAL camera_capabilities.cpp:1305 Output Stream: 0x00000022 (648x486)[33333333]@30
01-01 00:00:24.954   360   442 D libcamera: DEBUG HAL camera_capabilities.cpp:1305 Output Stream: 0x00000022 (1280x720)[33333333]@30
01-01 00:00:24.954   360   442 D libcamera: DEBUG HAL camera_capabilities.cpp:1305 Output Stream: 0x00000022 (1296x972)[33333333]@30
01-01 00:00:24.955   360   442 D libcamera: DEBUG HAL camera_capabilities.cpp:1305 Output Stream: 0x00000022 (1920x1080)[33333333]@30
01-01 00:00:24.955   360   442 D libcamera: DEBUG HAL camera_capabilities.cpp:1305 Output Stream: 0x00000022 (2592x1944)[33333333]@30
01-01 00:00:24.955   360   442 D libcamera: DEBUG HAL camera_capabilities.cpp:1305 Output Stream: 0x00000023 (320x240)[33333333]@30
01-01 00:00:24.955   360   442 D libcamera: DEBUG HAL camera_capabilities.cpp:1305 Output Stream: 0x00000021 (320x240)[33333333]@30
01-01 00:00:24.955   360   442 D libcamera: DEBUG HAL camera_capabilities.cpp:1305 Output Stream: 0x00000023 (324x243)[33333333]@30
01-01 00:00:24.955   360   442 D libcamera: DEBUG HAL camera_capabilities.cpp:1305 Output Stream: 0x00000021 (324x243)[33333333]@30
01-01 00:00:24.956   360   442 D libcamera: DEBUG HAL camera_capabilities.cpp:1305 Output Stream: 0x00000023 (640x480)[33333333]@30
01-01 00:00:24.956   360   442 D libcamera: DEBUG HAL camera_capabilities.cpp:1305 Output Stream: 0x00000021 (640x480)[33333333]@30
01-01 00:00:24.956   360   442 D libcamera: DEBUG HAL camera_capabilities.cpp:1305 Output Stream: 0x00000023 (648x486)[33333333]@30
01-01 00:00:24.956   360   442 D libcamera: DEBUG HAL camera_capabilities.cpp:1305 Output Stream: 0x00000021 (648x486)[33333333]@30
01-01 00:00:24.956   360   442 D libcamera: DEBUG HAL camera_capabilities.cpp:1305 Output Stream: 0x00000023 (1280x720)[33333333]@30
01-01 00:00:24.957   360   442 D libcamera: DEBUG HAL camera_capabilities.cpp:1305 Output Stream: 0x00000021 (1280x720)[33333333]@30
01-01 00:00:24.957   360   442 D libcamera: DEBUG HAL camera_capabilities.cpp:1305 Output Stream: 0x00000023 (1296x972)[33333333]@30
01-01 00:00:24.957   360   442 D libcamera: DEBUG HAL camera_capabilities.cpp:1305 Output Stream: 0x00000021 (1296x972)[33333333]@30
01-01 00:00:24.957   360   442 D libcamera: DEBUG HAL camera_capabilities.cpp:1305 Output Stream: 0x00000023 (1920x1080)[33333333]@30
01-01 00:00:24.957   360   442 D libcamera: DEBUG HAL camera_capabilities.cpp:1305 Output Stream: 0x00000021 (1920x1080)[33333333]@30
01-01 00:00:24.958   360   442 D libcamera: DEBUG HAL camera_capabilities.cpp:1305 Output Stream: 0x00000023 (2592x1944)[33333333]@30
01-01 00:00:24.958   360   442 D libcamera: DEBUG HAL camera_capabilities.cpp:1305 Output Stream: 0x00000021 (2592x1944)[33333333]@30
01-01 00:00:24.958   360   442 I libcamera:  INFO CameraMetadata camera_metadata.cpp:109 Resized: old entry capacity 64, old data capacity 1024, new entry capacity 64, new data capacity 2048
01-01 00:00:24.958   360   442 I libcamera:  INFO HAL camera_capabilities.cpp:224 Manual sensor capability unavailable: missing AE mode off
01-01 00:00:24.958   360   442 I libcamera:  INFO HAL camera_capabilities.cpp:264 Manual post processing capability unavailable: missing AWB mode off
01-01 00:00:24.958   360   442 I libcamera:  INFO HAL camera_capabilities.cpp:309 Burst capture capability unavailable: missing AE lock
01-01 00:00:24.959   360   442 I libcamera:  INFO HAL camera_capabilities.cpp:1381 Hardware level: LIMITED
01-01 00:00:24.959   360   442 I libcamera:  INFO CameraMetadata camera_metadata.cpp:109 Resized: old entry capacity 64, old data capacity 2048, new entry capacity 64, new data capacity 4096
01-01 00:00:24.959   360   442 I libcamera:  INFO HAL camera_capabilities.cpp:1404 Static metadata resized: 54 entries and 2056 bytes used
01-01 00:00:24.959   360   442 D libcamera: DEBUG HAL camera_hal_manager.cpp:196 Camera ID: 0 added successfully.
01-01 00:00:24.959   360   442 D libcamera: DEBUG Camera camera_manager.cpp:161 Pipeline handler "PipelineHandlerRPi" matched
01-01 00:00:24.960   360   360 I [email protected]: Loaded "libcamera camera HALv3 module" camera module


10-07 14:37:45.097   360   360 D libcamera: DEBUG HAL camera3_hal.cpp:75 Open camera 0
10-07 14:37:45.097   360   360 I libcamera:  INFO HAL camera_hal_manager.cpp:95 Open camera '0'
10-07 14:37:45.502   360   459 D libcamera: DEBUG Camera camera.cpp:886 streams configuration: empty
10-07 14:37:45.505   360   459 I libcamera:  INFO HAL camera_device.cpp:550 '/base/soc/i2c0mux/i2c@1/ov5647@36': Stream #0, direction: 0, width: 2592, height: 1944, format: 0x00000023, rotation: 0 (NV12)
10-07 14:37:45.506   360   459 I libcamera:  INFO HAL camera_device.cpp:550 '/base/soc/i2c0mux/i2c@1/ov5647@36': Stream #1, direction: 0, width: 1296, height: 972, format: 0x00000022, rotation: 0 (NV12)
10-07 14:37:45.506   360   459 D libcamera: DEBUG HAL camera_device.cpp:125 Insert 2592x1944-NV12
10-07 14:37:45.508   360   459 D libcamera: DEBUG HAL camera_device.cpp:147 Insert 1296x972-NV12
10-07 14:37:45.512   360   459 I libcamera:  INFO Camera camera.cpp:945 configuring streams: (0) 2592x1944-NV12 (1) 1296x972-NV12
10-07 14:37:45.513   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 640x480 fmt SBGGR8 Score: 8832 (best 8832)
10-07 14:37:45.513   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 640x480 fmt SBGGR10 Score: 7832 (best 7832)
10-07 14:37:45.513   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 1296x972 fmt SBGGR10 Score: 5536 (best 5536)
10-07 14:37:45.513   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 1920x1080 fmt SBGGR10 Score: 4238.67 (best 4238.67)
10-07 14:37:45.514   360   442 I libcamera:  INFO RPI raspberrypi.cpp:165 Format: 2592x1944 fmt SBGGR10 Score: 1000 (best 1000)
10-07 14:37:45.515   360   442 I libcamera:  INFO RPI raspberrypi.cpp:677 Sensor: /base/soc/i2c0mux/i2c@1/ov5647@36 - Selected sensor format: 2592x1944-SBGGR10_1X10 - Selected unicam format: 2592x1944-pBAA
10-07 14:37:45.516   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:708 Setting ISP Output0 to 2592x1944-NV12
10-07 14:37:45.517   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:708 Setting ISP Output1 to 1296x972-NV12
10-07 14:37:45.527   360   442 D libcamera: DEBUG IPARPI raspberrypi.cpp:1121 Applying AGC Exposure: 19989.26us (Shutter lines: 615, AGC requested 20000.00us) Gain: 1 (Gain Code: 16)
10-07 14:37:45.875   360   459 D libcamera: DEBUG Request request.cpp:91 Created request - cookie: 12970367415358303648
10-07 14:37:45.876   360   459 D libcamera: DEBUG HAL camera_device.cpp:899 '/base/soc/i2c0mux/i2c@1/ov5647@36': Queueing request 12970367415358303648 with 1 streams
10-07 14:37:45.876   360   459 D libcamera: DEBUG Buffer framebuffer.cpp:249 Buffer is not contiguous
10-07 14:37:45.876   360   459 D libcamera: DEBUG HAL camera_device.cpp:947 '/base/soc/i2c0mux/i2c@1/ov5647@36': 0 - (1296x972)[0x00000022] -> (1296x972)[NV12] (direct)
10-07 14:37:45.877   360   459 D libcamera: DEBUG Camera camera.cpp:1084 Starting capture
10-07 14:37:46.058   360   442 D libcamera: DEBUG V4L2 v4l2_videodevice.cpp:1177 /dev/video0[15:cap]: 3 buffers requested.
10-07 14:37:46.058   360   442 D libcamera: DEBUG Buffer framebuffer.cpp:249 Buffer is not contiguous
10-07 14:37:46.059   360   442 D libcamera: DEBUG Buffer framebuffer.cpp:249 Buffer is not contiguous
10-07 14:37:46.059   360   442 D libcamera: DEBUG Buffer framebuffer.cpp:249 Buffer is not contiguous
10-07 14:37:46.060   360   442 D libcamera: DEBUG V4L2 v4l2_videodevice.cpp:1177 /dev/video0[15:cap]: 0 buffers requested.
10-07 14:37:46.060   360   442 D libcamera: DEBUG V4L2 v4l2_videodevice.cpp:1177 /dev/video0[15:cap]: 3 buffers requested.
10-07 14:37:46.060   360   442 D libcamera: DEBUG V4L2 v4l2_videodevice.cpp:1444 /dev/video0[15:cap]: Prepared to import 3 buffers
10-07 14:37:46.062   360   442 D libcamera: DEBUG V4L2 v4l2_videodevice.cpp:1177 /dev/video13[16:out]: 3 buffers requested.
10-07 14:37:46.062   360   442 D libcamera: DEBUG V4L2 v4l2_videodevice.cpp:1444 /dev/video13[16:out]: Prepared to import 3 buffers
10-07 14:37:46.249   360   442 D libcamera: DEBUG V4L2 v4l2_videodevice.cpp:1177 /dev/video14[17:cap]: 3 buffers requested.
10-07 14:37:46.250   360   442 D libcamera: DEBUG Buffer framebuffer.cpp:249 Buffer is not contiguous
10-07 14:37:46.250   360   442 D libcamera: DEBUG Buffer framebuffer.cpp:249 Buffer is not contiguous
10-07 14:37:46.250   360   442 D libcamera: DEBUG Buffer framebuffer.cpp:249 Buffer is not contiguous
10-07 14:37:46.251   360   442 D libcamera: DEBUG V4L2 v4l2_videodevice.cpp:1177 /dev/video14[17:cap]: 0 buffers requested.
10-07 14:37:46.253   360   442 D libcamera: DEBUG V4L2 v4l2_videodevice.cpp:1177 /dev/video14[17:cap]: 3 buffers requested.
10-07 14:37:46.254   360   442 D libcamera: DEBUG V4L2 v4l2_videodevice.cpp:1444 /dev/video14[17:cap]: Prepared to import 3 buffers
10-07 14:37:46.283   360   442 D libcamera: DEBUG V4L2 v4l2_videodevice.cpp:1177 /dev/video15[18:cap]: 3 buffers requested.
10-07 14:37:46.283   360   442 D libcamera: DEBUG Buffer framebuffer.cpp:249 Buffer is not contiguous
10-07 14:37:46.283   360   442 D libcamera: DEBUG Buffer framebuffer.cpp:249 Buffer is not contiguous
10-07 14:37:46.284   360   442 D libcamera: DEBUG Buffer framebuffer.cpp:249 Buffer is not contiguous
10-07 14:37:46.284   360   442 D libcamera: DEBUG V4L2 v4l2_videodevice.cpp:1177 /dev/video15[18:cap]: 0 buffers requested.
10-07 14:37:46.287   360   442 D libcamera: DEBUG V4L2 v4l2_videodevice.cpp:1177 /dev/video15[18:cap]: 3 buffers requested.
10-07 14:37:46.287   360   442 D libcamera: DEBUG V4L2 v4l2_videodevice.cpp:1444 /dev/video15[18:cap]: Prepared to import 3 buffers
10-07 14:37:46.294   360   442 D libcamera: DEBUG V4L2 v4l2_videodevice.cpp:1177 /dev/video16[19:cap]: 3 buffers requested.
10-07 14:37:46.294   360   442 D libcamera: DEBUG Buffer framebuffer.cpp:249 Buffer is not contiguous
10-07 14:37:46.295   360   442 D libcamera: DEBUG Buffer framebuffer.cpp:249 Buffer is not contiguous
10-07 14:37:46.295   360   442 D libcamera: DEBUG Buffer framebuffer.cpp:249 Buffer is not contiguous
10-07 14:37:46.295   360   442 D libcamera: DEBUG V4L2 v4l2_videodevice.cpp:1177 /dev/video16[19:cap]: 0 buffers requested.
10-07 14:37:46.296   360   442 D libcamera: DEBUG V4L2 v4l2_videodevice.cpp:1177 /dev/video16[19:cap]: 3 buffers requested.
10-07 14:37:46.296   360   442 D libcamera: DEBUG V4L2 v4l2_videodevice.cpp:1444 /dev/video16[19:cap]: Prepared to import 3 buffers
10-07 14:37:46.296   360   442 D libcamera: DEBUG Buffer framebuffer.cpp:249 Buffer is not contiguous
10-07 14:37:46.297   360   442 D libcamera: DEBUG Buffer framebuffer.cpp:249 Buffer is not contiguous
10-07 14:37:46.297   360   442 D libcamera: DEBUG Buffer framebuffer.cpp:249 Buffer is not contiguous
10-07 14:37:46.298   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:447 ev 1 fixed_shutter 0.00us fixed_analogue_gain 0
10-07 14:37:46.299   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:480 exposure_mode normal constraint_mode normal metering_mode centre-weighted
10-07 14:37:46.299   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:779 Output written, total exposure requested is 0.00us
10-07 14:37:46.299   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:781 Camera exposure update: shutter time 1000.00us analogue gain 1
10-07 14:37:46.300   360  1602 D libcamera: DEBUG RPiAlsc alsc.cpp:273 AWB results found, using 4000
10-07 14:37:46.300   360  1602 D libcamera: DEBUG RPiAlsc alsc.cpp:413 ct is 4000, interpolating between 3000 and 5000
10-07 14:37:46.300   360  1602 D libcamera: DEBUG RPiAlsc alsc.cpp:413 ct is 4000, interpolating between 3000 and 5000
10-07 14:37:46.300   360  1602 D libcamera: DEBUG IPARPI raspberrypi.cpp:1121 Applying AGC Exposure: 975.09us (Shutter lines: 30, AGC requested 1000.00us) Gain: 1 (Gain Code: 16)
10-07 14:37:46.301   360  1602 D libcamera: DEBUG IPARPI raspberrypi.cpp:273 Drop 8 frames on startup
10-07 14:37:46.303   360   442 D libcamera: DEBUG RPISTREAM rpi_stream.cpp:226 Queuing buffer 0 for Unicam Image
10-07 14:37:46.304   360   442 D libcamera: DEBUG V4L2 v4l2_videodevice.cpp:1593 /dev/video0[15:cap]: Queueing buffer 0
10-07 14:37:46.304   360   442 D libcamera: DEBUG RPISTREAM rpi_stream.cpp:226 Queuing buffer 1 for Unicam Image
10-07 14:37:46.304   360   442 D libcamera: DEBUG V4L2 v4l2_videodevice.cpp:1593 /dev/video0[15:cap]: Queueing buffer 1
10-07 14:37:46.304   360   442 D libcamera: DEBUG RPISTREAM rpi_stream.cpp:226 Queuing buffer 2 for Unicam Image
10-07 14:37:46.307   360   442 D libcamera: DEBUG V4L2 v4l2_videodevice.cpp:1593 /dev/video0[15:cap]: Queueing buffer 2
10-07 14:37:46.308   360   442 D libcamera: DEBUG RPISTREAM rpi_stream.cpp:226 Queuing buffer 0 for ISP Output0
10-07 14:37:46.308   360   442 D libcamera: DEBUG V4L2 v4l2_videodevice.cpp:1593 /dev/video14[17:cap]: Queueing buffer 0
10-07 14:37:46.308   360   442 D libcamera: DEBUG RPISTREAM rpi_stream.cpp:226 Queuing buffer 1 for ISP Output0
10-07 14:37:46.309   360   442 D libcamera: DEBUG V4L2 v4l2_videodevice.cpp:1593 /dev/video14[17:cap]: Queueing buffer 1
10-07 14:37:46.310   360   442 D libcamera: DEBUG RPISTREAM rpi_stream.cpp:226 Queuing buffer 2 for ISP Output0
10-07 14:37:46.310   360   442 D libcamera: DEBUG V4L2 v4l2_videodevice.cpp:1593 /dev/video14[17:cap]: Queueing buffer 2
10-07 14:37:46.310   360   442 I libcamera:  INFO RPISTREAM rpi_stream.cpp:122 No buffers available for ISP Output0
10-07 14:37:46.310   360   442 I libcamera:  INFO RPISTREAM rpi_stream.cpp:122 No buffers available for ISP Output0
10-07 14:37:46.310   360   442 I libcamera:  INFO RPISTREAM rpi_stream.cpp:122 No buffers available for ISP Output0
10-07 14:37:46.311   360   442 I libcamera:  INFO RPISTREAM rpi_stream.cpp:122 No buffers available for ISP Output0
10-07 14:37:46.311   360   442 I libcamera:  INFO RPISTREAM rpi_stream.cpp:122 No buffers available for ISP Output0
10-07 14:37:46.311   360   442 D libcamera: DEBUG RPISTREAM rpi_stream.cpp:226 Queuing buffer 0 for ISP Output1
10-07 14:37:46.311   360   442 D libcamera: DEBUG V4L2 v4l2_videodevice.cpp:1593 /dev/video15[18:cap]: Queueing buffer 0
10-07 14:37:46.311   360   442 D libcamera: DEBUG RPISTREAM rpi_stream.cpp:226 Queuing buffer 1 for ISP Output1
10-07 14:37:46.312   360   442 D libcamera: DEBUG V4L2 v4l2_videodevice.cpp:1593 /dev/video15[18:cap]: Queueing buffer 1
10-07 14:37:46.312   360   442 D libcamera: DEBUG RPISTREAM rpi_stream.cpp:226 Queuing buffer 2 for ISP Output1
10-07 14:37:46.312   360   442 D libcamera: DEBUG V4L2 v4l2_videodevice.cpp:1593 /dev/video15[18:cap]: Queueing buffer 2
10-07 14:37:46.312   360   442 I libcamera:  INFO RPISTREAM rpi_stream.cpp:122 No buffers available for ISP Output1
10-07 14:37:46.313   360   442 I libcamera:  INFO RPISTREAM rpi_stream.cpp:122 No buffers available for ISP Output1
10-07 14:37:46.313   360   442 I libcamera:  INFO RPISTREAM rpi_stream.cpp:122 No buffers available for ISP Output1
10-07 14:37:46.313   360   442 I libcamera:  INFO RPISTREAM rpi_stream.cpp:122 No buffers available for ISP Output1
10-07 14:37:46.313   360   442 I libcamera:  INFO RPISTREAM rpi_stream.cpp:122 No buffers available for ISP Output1
10-07 14:37:46.313   360   442 D libcamera: DEBUG RPISTREAM rpi_stream.cpp:226 Queuing buffer 0 for ISP Stats
10-07 14:37:46.314   360   442 D libcamera: DEBUG V4L2 v4l2_videodevice.cpp:1593 /dev/video16[19:cap]: Queueing buffer 0
10-07 14:37:46.314   360   442 D libcamera: DEBUG RPISTREAM rpi_stream.cpp:226 Queuing buffer 1 for ISP Stats
10-07 14:37:46.314   360   442 D libcamera: DEBUG V4L2 v4l2_videodevice.cpp:1593 /dev/video16[19:cap]: Queueing buffer 1
10-07 14:37:46.314   360   442 D libcamera: DEBUG RPISTREAM rpi_stream.cpp:226 Queuing buffer 2 for ISP Stats
10-07 14:37:46.315   360   442 D libcamera: DEBUG V4L2 v4l2_videodevice.cpp:1593 /dev/video16[19:cap]: Queueing buffer 2
10-07 14:37:46.393   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1281 frame start 0
10-07 14:37:46.393   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:237 frame 0 started
10-07 14:37:46.393   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:955 queueRequestDevice: New request.
10-07 14:37:46.393   360   442 I libcamera:  INFO RPISTREAM rpi_stream.cpp:122 No buffers available for ISP Output0
10-07 14:37:46.427   360   442 D libcamera: DEBUG V4L2 v4l2_videodevice.cpp:1661 /dev/video0[15:cap]: Dequeuing buffer 0
10-07 14:37:46.427   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1481 Stream Unicam Image buffer dequeue, buffer id 0, timestamp: 81025009000
10-07 14:37:46.428   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:217 Reading Analogue Gain to 16 at index 0
10-07 14:37:46.428   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:217 Reading Exposure to 30 at index 0
10-07 14:37:46.428   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:217 Reading Vertical Blanking to 24 at index 0
10-07 14:37:46.428   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1832 Could not find matching embedded buffer
10-07 14:37:46.429   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1839 Returning bayer frame without a match
10-07 14:37:46.429   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1776 Signalling signalIspPrepare: Bayer buffer id: 0
10-07 14:37:46.429   360  1602 I libcamera:  INFO IPARPI raspberrypi.cpp:626 Request ctrl: ScalerCrop = (0x0)/2592x1944
10-07 14:37:46.429   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1281 frame start 1
10-07 14:37:46.429   360  1602 D libcamera: DEBUG IPARPI raspberrypi.cpp:1038 Metadata - Exposure: 975.09us Frame length: 1968 Gain: 1 Aperture: 0 Lens: 0 Flash: 0
10-07 14:37:46.429   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:237 frame 1 started
10-07 14:37:46.429   360  1602 D libcamera: DEBUG RPiDpc dpc.cpp:44 strength 1
10-07 14:37:46.429   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:285 Queue is empty, auto queue no-op.
10-07 14:37:46.430   360  1602 D libcamera: DEBUG RPiNoise noise.cpp:64 constant 0 slope 4.25
10-07 14:37:46.430   360  1602 D libcamera: DEBUG RPiGeq geq.cpp:68 offset 401 slope 0.05619 (analogue gain 1 lux 400)
10-07 14:37:46.430   360  1602 D libcamera: DEBUG RPiSdn sdn.cpp:49 Noise profile: constant 0 slope 4.25
10-07 14:37:46.430   360  1602 D libcamera: DEBUG RPiSdn sdn.cpp:58 programmed constant 0 slope 13.6 strength 0.75
10-07 14:37:46.431   360  1602 D libcamera: DEBUG RPiAwb awb.cpp:268 frame_count 1 speed 1
10-07 14:37:46.431   360  1602 D libcamera: DEBUG RPiAwb awb.cpp:288 Using AWB gains r 1.27095 g 1 b 1.47244
10-07 14:37:46.431   360  1602 D libcamera: DEBUG RPiAlsc alsc.cpp:332 frame_count 1 speed 1
10-07 14:37:46.431   360  1602 D libcamera: DEBUG RPiCcm ccm.cpp:151 colour temperature 4000K
10-07 14:37:46.431   360  1602 D libcamera: DEBUG RPiCcm ccm.cpp:153 CCM: 1.82464 -0.449828 -0.37482     -0.454665 1.61834 -0.163677     0.0217996 -0.939713 1.91791
10-07 14:37:46.432   360  1602 D libcamera: DEBUG IPARPI raspberrypi.cpp:1068 Applying WB R: 1.27095 B: 1.47244
10-07 14:37:46.441   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1398 Input re-queue to ISP, buffer id 0, timestamp: 81025009000
10-07 14:37:46.441   360   442 D libcamera: DEBUG RPISTREAM rpi_stream.cpp:226 Queuing buffer -1 for ISP Input
10-07 14:37:46.443   360   442 D libcamera: DEBUG V4L2 v4l2_videodevice.cpp:1593 /dev/video13[16:out]: Queueing buffer 0
10-07 14:37:46.448   360   459 D libcamera: DEBUG Request request.cpp:91 Created request - cookie: 12970367415358302064
10-07 14:37:46.448   360   459 D libcamera: DEBUG HAL camera_device.cpp:899 '/base/soc/i2c0mux/i2c@1/ov5647@36': Queueing request 12970367415358302064 with 1 streams
10-07 14:37:46.449   360   459 D libcamera: DEBUG Buffer framebuffer.cpp:249 Buffer is not contiguous
10-07 14:37:46.449   360   459 D libcamera: DEBUG HAL camera_device.cpp:947 '/base/soc/i2c0mux/i2c@1/ov5647@36': 0 - (1296x972)[0x00000022] -> (1296x972)[NV12] (direct)
10-07 14:37:46.450   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:955 queueRequestDevice: New request.
10-07 14:37:46.452   360   442 I libcamera:  INFO RPISTREAM rpi_stream.cpp:122 No buffers available for ISP Output0
10-07 14:37:46.469   360   459 D libcamera: DEBUG Request request.cpp:91 Created request - cookie: 12970367415358302592
10-07 14:37:46.469   360   459 D libcamera: DEBUG HAL camera_device.cpp:899 '/base/soc/i2c0mux/i2c@1/ov5647@36': Queueing request 12970367415358302592 with 1 streams
10-07 14:37:46.469   360   459 D libcamera: DEBUG Buffer framebuffer.cpp:249 Buffer is not contiguous
10-07 14:37:46.470   360   459 D libcamera: DEBUG HAL camera_device.cpp:947 '/base/soc/i2c0mux/i2c@1/ov5647@36': 0 - (1296x972)[0x00000022] -> (1296x972)[NV12] (direct)
10-07 14:37:46.471   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:955 queueRequestDevice: New request.
10-07 14:37:46.472   360   442 I libcamera:  INFO RPISTREAM rpi_stream.cpp:122 No buffers available for ISP Output0
10-07 14:37:46.472   360   442 D libcamera: DEBUG V4L2 v4l2_videodevice.cpp:1661 /dev/video13[16:out]: Dequeuing buffer 0
10-07 14:37:46.473   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1509 Stream ISP Input buffer complete, buffer id 0, timestamp: 81025009000
10-07 14:37:46.473   360   442 D libcamera: DEBUG RPISTREAM rpi_stream.cpp:226 Queuing buffer 0 for Unicam Image
10-07 14:37:46.473   360   442 D libcamera: DEBUG V4L2 v4l2_videodevice.cpp:1593 /dev/video0[15:cap]: Queueing buffer 0
10-07 14:37:46.474   360   442 D libcamera: DEBUG V4L2 v4l2_videodevice.cpp:1661 /dev/video14[17:cap]: Dequeuing buffer 0
10-07 14:37:46.474   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1537 Stream ISP Output0 buffer complete, buffer id 0, timestamp: 81025009000
10-07 14:37:46.475   360   442 D libcamera: DEBUG RPISTREAM rpi_stream.cpp:226 Queuing buffer 0 for ISP Output0
10-07 14:37:46.475   360   442 D libcamera: DEBUG V4L2 v4l2_videodevice.cpp:1593 /dev/video14[17:cap]: Queueing buffer 0
10-07 14:37:46.476   360   442 D libcamera: DEBUG V4L2 v4l2_videodevice.cpp:1661 /dev/video15[18:cap]: Dequeuing buffer 0
10-07 14:37:46.476   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1537 Stream ISP Output1 buffer complete, buffer id 0, timestamp: 81025009000
10-07 14:37:46.477   360   442 D libcamera: DEBUG RPISTREAM rpi_stream.cpp:226 Queuing buffer 0 for ISP Output1
10-07 14:37:46.477   360   442 D libcamera: DEBUG V4L2 v4l2_videodevice.cpp:1593 /dev/video15[18:cap]: Queueing buffer 0
10-07 14:37:46.477   360   442 D libcamera: DEBUG V4L2 v4l2_videodevice.cpp:1661 /dev/video16[19:cap]: Dequeuing buffer 0
10-07 14:37:46.478   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1537 Stream ISP Stats buffer complete, buffer id 0, timestamp: 81025009000
10-07 14:37:46.478   360   442 D libcamera: DEBUG RPISTREAM rpi_stream.cpp:226 Queuing buffer 0 for ISP Stats
10-07 14:37:46.479   360   442 D libcamera: DEBUG V4L2 v4l2_videodevice.cpp:1593 /dev/video16[19:cap]: Queueing buffer 0
10-07 14:37:46.479   360   442 I libcamera:  INFO RPI raspberrypi.cpp:1683 Dropping frame at the request of the IPA (7 left)
10-07 14:37:46.491   360   442 D libcamera: DEBUG V4L2 v4l2_videodevice.cpp:1661 /dev/video0[15:cap]: Dequeuing buffer 1
10-07 14:37:46.491   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1481 Stream Unicam Image buffer dequeue, buffer id 1, timestamp: 81088986000
10-07 14:37:46.492   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:217 Reading Analogue Gain to 16 at index 0
10-07 14:37:46.492   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:217 Reading Exposure to 30 at index 0
10-07 14:37:46.493   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:217 Reading Vertical Blanking to 24 at index 0
10-07 14:37:46.493   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1832 Could not find matching embedded buffer
10-07 14:37:46.493   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1839 Returning bayer frame without a match
10-07 14:37:46.494   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1776 Signalling signalIspPrepare: Bayer buffer id: 1
10-07 14:37:46.494   360  1602 I libcamera:  INFO IPARPI raspberrypi.cpp:626 Request ctrl: ScalerCrop = (0x0)/2592x1944
10-07 14:37:46.494   360  1602 D libcamera: DEBUG IPARPI raspberrypi.cpp:1038 Metadata - Exposure: 975.09us Frame length: 1968 Gain: 1 Aperture: 0 Lens: 0 Flash: 0
10-07 14:37:46.494   360  1602 D libcamera: DEBUG RPiDpc dpc.cpp:44 strength 1
10-07 14:37:46.494   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1281 frame start 2
10-07 14:37:46.495   360  1602 D libcamera: DEBUG RPiNoise noise.cpp:64 constant 0 slope 4.25
10-07 14:37:46.495   360  1602 D libcamera: DEBUG RPiGeq geq.cpp:68 offset 401 slope 0.05619 (analogue gain 1 lux 400)
10-07 14:37:46.495   360  1602 D libcamera: DEBUG RPiSdn sdn.cpp:49 Noise profile: constant 0 slope 4.25
10-07 14:37:46.495   360  1602 D libcamera: DEBUG RPiSdn sdn.cpp:58 programmed constant 0 slope 13.6 strength 0.75
10-07 14:37:46.495   360  1602 D libcamera: DEBUG RPiAwb awb.cpp:268 frame_count 2 speed 1
10-07 14:37:46.496   360  1602 D libcamera: DEBUG RPiAwb awb.cpp:288 Using AWB gains r 1.27095 g 1 b 1.47244
10-07 14:37:46.496   360  1602 D libcamera: DEBUG RPiAlsc alsc.cpp:332 frame_count 2 speed 1
10-07 14:37:46.496   360  1602 D libcamera: DEBUG RPiCcm ccm.cpp:151 colour temperature 4000K
10-07 14:37:46.496   360  1602 D libcamera: DEBUG RPiCcm ccm.cpp:153 CCM: 1.82464 -0.449828 -0.37482     -0.454665 1.61834 -0.163677     0.0217996 -0.939713 1.91791
10-07 14:37:46.496   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:237 frame 2 started
10-07 14:37:46.497   360  1602 D libcamera: DEBUG IPARPI raspberrypi.cpp:1068 Applying WB R: 1.27095 B: 1.47244
10-07 14:37:46.497   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:285 Queue is empty, auto queue no-op.
10-07 14:37:46.498   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1398 Input re-queue to ISP, buffer id 1, timestamp: 81088986000
10-07 14:37:46.498   360   442 D libcamera: DEBUG RPISTREAM rpi_stream.cpp:226 Queuing buffer -1 for ISP Input
10-07 14:37:46.499   360   442 D libcamera: DEBUG V4L2 v4l2_videodevice.cpp:1593 /dev/video13[16:out]: Queueing buffer 1
10-07 14:37:46.527   360   442 D libcamera: DEBUG V4L2 v4l2_videodevice.cpp:1661 /dev/video13[16:out]: Dequeuing buffer 1
10-07 14:37:46.527   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1509 Stream ISP Input buffer complete, buffer id 1, timestamp: 81088986000
10-07 14:37:46.528   360   442 D libcamera: DEBUG RPISTREAM rpi_stream.cpp:226 Queuing buffer 1 for Unicam Image
10-07 14:37:46.528   360   442 D libcamera: DEBUG V4L2 v4l2_videodevice.cpp:1593 /dev/video0[15:cap]: Queueing buffer 1
10-07 14:37:46.528   360   442 D libcamera: DEBUG V4L2 v4l2_videodevice.cpp:1661 /dev/video14[17:cap]: Dequeuing buffer 1
10-07 14:37:46.529   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1537 Stream ISP Output0 buffer complete, buffer id 1, timestamp: 81088986000
10-07 14:37:46.529   360   442 D libcamera: DEBUG RPISTREAM rpi_stream.cpp:226 Queuing buffer 1 for ISP Output0
10-07 14:37:46.529   360   442 D libcamera: DEBUG V4L2 v4l2_videodevice.cpp:1593 /dev/video14[17:cap]: Queueing buffer 1
10-07 14:37:46.530   360   442 D libcamera: DEBUG V4L2 v4l2_videodevice.cpp:1661 /dev/video15[18:cap]: Dequeuing buffer 1
10-07 14:37:46.530   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1537 Stream ISP Output1 buffer complete, buffer id 1, timestamp: 81088986000
10-07 14:37:46.531   360   442 D libcamera: DEBUG RPISTREAM rpi_stream.cpp:226 Queuing buffer 1 for ISP Output1
10-07 14:37:46.531   360   442 D libcamera: DEBUG V4L2 v4l2_videodevice.cpp:1593 /dev/video15[18:cap]: Queueing buffer 1
10-07 14:37:46.531   360   442 D libcamera: DEBUG V4L2 v4l2_videodevice.cpp:1661 /dev/video16[19:cap]: Dequeuing buffer 1
10-07 14:37:46.532   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1537 Stream ISP Stats buffer complete, buffer id 1, timestamp: 81088986000
10-07 14:37:46.532   360   442 D libcamera: DEBUG RPISTREAM rpi_stream.cpp:226 Queuing buffer 1 for ISP Stats
10-07 14:37:46.533   360   442 D libcamera: DEBUG V4L2 v4l2_videodevice.cpp:1593 /dev/video16[19:cap]: Queueing buffer 1
10-07 14:37:46.533   360   442 I libcamera:  INFO RPI raspberrypi.cpp:1683 Dropping frame at the request of the IPA (6 left)
10-07 14:37:46.555   360   442 D libcamera: DEBUG V4L2 v4l2_videodevice.cpp:1661 /dev/video0[15:cap]: Dequeuing buffer 2
10-07 14:37:46.556   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1481 Stream Unicam Image buffer dequeue, buffer id 2, timestamp: 81152940000
10-07 14:37:46.556   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:217 Reading Analogue Gain to 16 at index 0
10-07 14:37:46.556   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:217 Reading Exposure to 30 at index 0
10-07 14:37:46.557   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:217 Reading Vertical Blanking to 24 at index 0
10-07 14:37:46.558   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1832 Could not find matching embedded buffer
10-07 14:37:46.558   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1839 Returning bayer frame without a match
10-07 14:37:46.558   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1776 Signalling signalIspPrepare: Bayer buffer id: 2
10-07 14:37:46.559   360  1602 I libcamera:  INFO IPARPI raspberrypi.cpp:626 Request ctrl: ScalerCrop = (0x0)/2592x1944
10-07 14:37:46.559   360  1602 D libcamera: DEBUG IPARPI raspberrypi.cpp:1038 Metadata - Exposure: 975.09us Frame length: 1968 Gain: 1 Aperture: 0 Lens: 0 Flash: 0
10-07 14:37:46.559   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1281 frame start 3
10-07 14:37:46.559   360  1602 D libcamera: DEBUG RPiDpc dpc.cpp:44 strength 1
10-07 14:37:46.560   360  1602 D libcamera: DEBUG RPiNoise noise.cpp:64 constant 0 slope 4.25
10-07 14:37:46.560   360  1602 D libcamera: DEBUG RPiGeq geq.cpp:68 offset 401 slope 0.05619 (analogue gain 1 lux 400)
10-07 14:37:46.560   360  1602 D libcamera: DEBUG RPiSdn sdn.cpp:49 Noise profile: constant 0 slope 4.25
10-07 14:37:46.560   360  1602 D libcamera: DEBUG RPiSdn sdn.cpp:58 programmed constant 0 slope 13.6 strength 0.75
10-07 14:37:46.560   360  1602 D libcamera: DEBUG RPiAwb awb.cpp:268 frame_count 3 speed 1
10-07 14:37:46.560   360  1602 D libcamera: DEBUG RPiAwb awb.cpp:288 Using AWB gains r 1.27095 g 1 b 1.47244
10-07 14:37:46.561   360  1602 D libcamera: DEBUG RPiAlsc alsc.cpp:332 frame_count 3 speed 1
10-07 14:37:46.561   360  1602 D libcamera: DEBUG RPiCcm ccm.cpp:151 colour temperature 4000K
10-07 14:37:46.561   360  1602 D libcamera: DEBUG RPiCcm ccm.cpp:153 CCM: 1.82464 -0.449828 -0.37482     -0.454665 1.61834 -0.163677     0.0217996 -0.939713 1.91791
10-07 14:37:46.561   360  1602 D libcamera: DEBUG IPARPI raspberrypi.cpp:1068 Applying WB R: 1.27095 B: 1.47244
10-07 14:37:46.561   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:237 frame 3 started
10-07 14:37:46.562   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:285 Queue is empty, auto queue no-op.
10-07 14:37:46.564   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1398 Input re-queue to ISP, buffer id 2, timestamp: 81152940000
10-07 14:37:46.565   360   442 D libcamera: DEBUG RPISTREAM rpi_stream.cpp:226 Queuing buffer -1 for ISP Input
10-07 14:37:46.565   360   442 D libcamera: DEBUG V4L2 v4l2_videodevice.cpp:1593 /dev/video13[16:out]: Queueing buffer 2
10-07 14:37:46.594   360   442 D libcamera: DEBUG V4L2 v4l2_videodevice.cpp:1661 /dev/video13[16:out]: Dequeuing buffer 2
10-07 14:37:46.594   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1509 Stream ISP Input buffer complete, buffer id 2, timestamp: 81152940000
10-07 14:37:46.594   360   442 D libcamera: DEBUG RPISTREAM rpi_stream.cpp:226 Queuing buffer 2 for Unicam Image
10-07 14:37:46.594   360   442 D libcamera: DEBUG V4L2 v4l2_videodevice.cpp:1593 /dev/video0[15:cap]: Queueing buffer 2
10-07 14:37:46.595   360   442 D libcamera: DEBUG V4L2 v4l2_videodevice.cpp:1661 /dev/video14[17:cap]: Dequeuing buffer 2
10-07 14:37:46.595   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1537 Stream ISP Output0 buffer complete, buffer id 2, timestamp: 81152940000
10-07 14:37:46.595   360   442 D libcamera: DEBUG RPISTREAM rpi_stream.cpp:226 Queuing buffer 2 for ISP Output0
10-07 14:37:46.595   360   442 D libcamera: DEBUG V4L2 v4l2_videodevice.cpp:1593 /dev/video14[17:cap]: Queueing buffer 2
10-07 14:37:46.595   360   442 D libcamera: DEBUG V4L2 v4l2_videodevice.cpp:1661 /dev/video15[18:cap]: Dequeuing buffer 2
10-07 14:37:46.596   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1537 Stream ISP Output1 buffer complete, buffer id 2, timestamp: 81152940000
10-07 14:37:46.596   360   442 D libcamera: DEBUG RPISTREAM rpi_stream.cpp:226 Queuing buffer 2 for ISP Output1
10-07 14:37:46.596   360   442 D libcamera: DEBUG V4L2 v4l2_videodevice.cpp:1593 /dev/video15[18:cap]: Queueing buffer 2
10-07 14:37:46.597   360   442 D libcamera: DEBUG V4L2 v4l2_videodevice.cpp:1661 /dev/video16[19:cap]: Dequeuing buffer 2
10-07 14:37:46.597   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1537 Stream ISP Stats buffer complete, buffer id 2, timestamp: 81152940000
10-07 14:37:46.598   360  1602 D libcamera: DEBUG RPiLux lux.cpp:89 : estimated lux 626.441
10-07 14:37:46.598   360  1602 D libcamera: DEBUG RPiAwb awb.cpp:299 frame_phase 1
10-07 14:37:46.598   360  1602 D libcamera: DEBUG RPiAwb awb.cpp:309 Awb lux value is 626.441
10-07 14:37:46.599   360  1602 D libcamera: DEBUG RPiAwb awb.cpp:240 Starting AWB calculation
10-07 14:37:46.599   360   455 D libcamera: DEBUG RPiAwb awb.cpp:628 Valid zones: 0
10-07 14:37:46.600   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:447 ev 1 fixed_shutter 0.00us fixed_analogue_gain 0
10-07 14:37:46.600   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:480 exposure_mode normal constraint_mode normal metering_mode centre-weighted
10-07 14:37:46.600   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:578 Initial Y 0.000499534 target 0.203915 gives gain 10
10-07 14:37:46.601   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:578 Initial Y 0.00499534 target 0.203915 gives gain 100
10-07 14:37:46.601   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:578 Initial Y 0.0499534 target 0.203915 gives gain 400.2
10-07 14:37:46.601   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:578 Initial Y 0.199913 target 0.203915 gives gain 406.179
10-07 14:37:46.602   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:578 Initial Y 0.2029 target 0.203915 gives gain 406.209
10-07 14:37:46.602   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:589 Constraint has target_Y 0.625 giving gain 159.932
10-07 14:37:46.602   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:601 Final gain 406.209 (target_Y 0.203915 ev 1 base_ev 1.25)
10-07 14:37:46.603   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:635 Target total_exposure 396088.60us
10-07 14:37:46.603   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:645 after AWB, target dg 1 gain 406.209 target_Y 0.203915
10-07 14:37:46.603   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:658 Digital gain 1 desaturate? 0
10-07 14:37:46.603   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:660 Target total_exposure_no_dg 396088.60us
10-07 14:37:46.604   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:700 After filtering, total_exposure 396088.60us no dg 396088.60us
10-07 14:37:46.604   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:745 Divided up shutter and gain are 66014.77us and 6
10-07 14:37:46.604   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:779 Output written, total exposure requested is 396088.60us
10-07 14:37:46.605   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:781 Camera exposure update: shutter time 66014.77us analogue gain 6
10-07 14:37:46.605   360  1602 D libcamera: DEBUG RPiAlsc alsc.cpp:361 frame_phase 12
10-07 14:37:46.605   360  1602 D libcamera: DEBUG RPiAlsc alsc.cpp:296 Starting ALSC calculation
10-07 14:37:46.606   360  1602 D libcamera: DEBUG RPiAlsc alsc.cpp:273 AWB results found, using 4000
10-07 14:37:46.606   360  1602 D libcamera: DEBUG RPiContrast contrast.cpp:105 Move histogram point 5.11985 to 983.04
10-07 14:37:46.606   360   456 D libcamera: DEBUG RPiAlsc alsc.cpp:413 ct is 4000, interpolating between 3000 and 5000
10-07 14:37:46.606   360   456 D libcamera: DEBUG RPiAlsc alsc.cpp:413 ct is 4000, interpolating between 3000 and 5000
10-07 14:37:46.606   360  1602 D libcamera: DEBUG RPiContrast contrast.cpp:110 Final values 983.04 -> 983.04
10-07 14:37:46.607   360  1602 D libcamera: DEBUG RPiContrast contrast.cpp:123 Move histogram point 486.402 to 62259.2
10-07 14:37:46.607   360   456 D libcamera: DEBUG RPiAlsc alsc.cpp:666 Stop after 1 iterations
10-07 14:37:46.607   360   456 D libcamera: DEBUG RPiAlsc alsc.cpp:666 Stop after 1 iterations
10-07 14:37:46.607   360  1602 D libcamera: DEBUG RPiContrast contrast.cpp:128 Final values 60259.2 -> 62259.2
10-07 14:37:46.608   360  1602 D libcamera: DEBUG IPARPI raspberrypi.cpp:1121 Applying AGC Exposure: 66013.30us (Shutter lines: 2031, AGC requested 66014.77us) Gain: 6 (Gain Code: 96)
10-07 14:37:46.608   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:179 Queuing Vertical Blanking to 91 at index 4
10-07 14:37:46.608   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:179 Queuing Exposure to 2031 at index 4
10-07 14:37:46.609   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:179 Queuing Analogue Gain to 96 at index 4
10-07 14:37:46.609   360   442 D libcamera: DEBUG RPISTREAM rpi_stream.cpp:226 Queuing buffer 2 for ISP Stats
10-07 14:37:46.609   360   442 D libcamera: DEBUG V4L2 v4l2_videodevice.cpp:1593 /dev/video16[19:cap]: Queueing buffer 2
10-07 14:37:46.609   360   442 I libcamera:  INFO RPI raspberrypi.cpp:1683 Dropping frame at the request of the IPA (5 left)
10-07 14:37:46.619   360   442 D libcamera: DEBUG V4L2 v4l2_videodevice.cpp:1661 /dev/video0[15:cap]: Dequeuing buffer 0
10-07 14:37:46.619   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1481 Stream Unicam Image buffer dequeue, buffer id 0, timestamp: 81216906000
10-07 14:37:46.619   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:217 Reading Analogue Gain to 16 at index 1
10-07 14:37:46.619   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:217 Reading Exposure to 30 at index 1
10-07 14:37:46.620   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:217 Reading Vertical Blanking to 24 at index 1
10-07 14:37:46.620   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1832 Could not find matching embedded buffer
10-07 14:37:46.620   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1839 Returning bayer frame without a match
10-07 14:37:46.620   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1776 Signalling signalIspPrepare: Bayer buffer id: 0
10-07 14:37:46.621   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1281 frame start 4
10-07 14:37:46.621   360  1602 I libcamera:  INFO IPARPI raspberrypi.cpp:626 Request ctrl: ScalerCrop = (0x0)/2592x1944
10-07 14:37:46.621   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:237 frame 4 started
10-07 14:37:46.621   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:272 Setting Analogue Gain to 96 at index 4
10-07 14:37:46.621   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:272 Setting Exposure to 2031 at index 4
10-07 14:37:46.621   360  1602 D libcamera: DEBUG IPARPI raspberrypi.cpp:1038 Metadata - Exposure: 975.09us Frame length: 1968 Gain: 1 Aperture: 0 Lens: 0 Flash: 0
10-07 14:37:46.621   360  1602 D libcamera: DEBUG RPiDpc dpc.cpp:44 strength 1
10-07 14:37:46.622   360  1602 D libcamera: DEBUG RPiNoise noise.cpp:64 constant 0 slope 4.25
10-07 14:37:46.622   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:272 Setting Vertical Blanking to 91 at index 4
10-07 14:37:46.622   360  1602 D libcamera: DEBUG RPiGeq geq.cpp:68 offset 401 slope 0.05619 (analogue gain 1 lux 626.441)
10-07 14:37:46.623   360  1602 D libcamera: DEBUG RPiSdn sdn.cpp:49 Noise profile: constant 0 slope 4.25
10-07 14:37:46.623   360  1602 D libcamera: DEBUG RPiSdn sdn.cpp:58 programmed constant 0 slope 13.6 strength 0.75
10-07 14:37:46.624   360  1602 D libcamera: DEBUG RPiAwb awb.cpp:268 frame_count 4 speed 1
10-07 14:37:46.624   360  1602 D libcamera: DEBUG RPiAwb awb.cpp:229 Fetch AWB results
10-07 14:37:46.624   360  1602 D libcamera: DEBUG RPiAwb awb.cpp:288 Using AWB gains r 1.27095 g 1 b 1.47244
10-07 14:37:46.624   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:352 Want total exposure 396088.60us
10-07 14:37:46.625   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:358 Actual exposure 975.09us
10-07 14:37:46.625   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:359 Use digital_gain 4
10-07 14:37:46.625   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:360 Effective exposure 3900.34us
10-07 14:37:46.626   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:430 Lock count updated to 0
10-07 14:37:46.626   360  1602 D libcamera: DEBUG RPiAlsc alsc.cpp:332 frame_count 4 speed 1
10-07 14:37:46.626   360  1602 D libcamera: DEBUG RPiAlsc alsc.cpp:259 Fetch ALSC results
10-07 14:37:46.627   360  1602 D libcamera: DEBUG RPiCcm ccm.cpp:151 colour temperature 4000K
10-07 14:37:46.627   360  1602 D libcamera: DEBUG RPiCcm ccm.cpp:153 CCM: 1.82464 -0.449828 -0.37482     -0.454665 1.61834 -0.163677     0.0217996 -0.939713 1.91791
10-07 14:37:46.628   360  1602 D libcamera: DEBUG IPARPI raspberrypi.cpp:1068 Applying WB R: 1.27095 B: 1.47244
10-07 14:37:46.631   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1398 Input re-queue to ISP, buffer id 0, timestamp: 81216906000
10-07 14:37:46.631   360   442 D libcamera: DEBUG RPISTREAM rpi_stream.cpp:226 Queuing buffer -1 for ISP Input
10-07 14:37:46.631   360   442 D libcamera: DEBUG V4L2 v4l2_videodevice.cpp:1593 /dev/video13[16:out]: Queueing buffer 0
10-07 14:37:46.659   360   442 D libcamera: DEBUG V4L2 v4l2_videodevice.cpp:1661 /dev/video13[16:out]: Dequeuing buffer 0
10-07 14:37:46.659   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1509 Stream ISP Input buffer complete, buffer id 0, timestamp: 81216906000
10-07 14:37:46.659   360   442 D libcamera: DEBUG RPISTREAM rpi_stream.cpp:226 Queuing buffer 0 for Unicam Image
10-07 14:37:46.659   360   442 D libcamera: DEBUG V4L2 v4l2_videodevice.cpp:1593 /dev/video0[15:cap]: Queueing buffer 0
10-07 14:37:46.660   360   442 D libcamera: DEBUG V4L2 v4l2_videodevice.cpp:1661 /dev/video14[17:cap]: Dequeuing buffer 0
10-07 14:37:46.660   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1537 Stream ISP Output0 buffer complete, buffer id 0, timestamp: 81216906000
10-07 14:37:46.660   360   442 D libcamera: DEBUG RPISTREAM rpi_stream.cpp:226 Queuing buffer 0 for ISP Output0
10-07 14:37:46.660   360   442 D libcamera: DEBUG V4L2 v4l2_videodevice.cpp:1593 /dev/video14[17:cap]: Queueing buffer 0
10-07 14:37:46.661   360   442 D libcamera: DEBUG V4L2 v4l2_videodevice.cpp:1661 /dev/video15[18:cap]: Dequeuing buffer 0
10-07 14:37:46.661   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1537 Stream ISP Output1 buffer complete, buffer id 0, timestamp: 81216906000
10-07 14:37:46.661   360   442 D libcamera: DEBUG RPISTREAM rpi_stream.cpp:226 Queuing buffer 0 for ISP Output1
10-07 14:37:46.661   360   442 D libcamera: DEBUG V4L2 v4l2_videodevice.cpp:1593 /dev/video15[18:cap]: Queueing buffer 0
10-07 14:37:46.662   360   442 D libcamera: DEBUG V4L2 v4l2_videodevice.cpp:1661 /dev/video16[19:cap]: Dequeuing buffer 0
10-07 14:37:46.662   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1537 Stream ISP Stats buffer complete, buffer id 0, timestamp: 81216906000
10-07 14:37:46.662   360  1602 D libcamera: DEBUG RPiLux lux.cpp:89 : estimated lux 626.45
10-07 14:37:46.662   360  1602 D libcamera: DEBUG RPiAwb awb.cpp:299 frame_phase 1
10-07 14:37:46.663   360  1602 D libcamera: DEBUG RPiAwb awb.cpp:309 Awb lux value is 626.45
10-07 14:37:46.663   360  1602 D libcamera: DEBUG RPiAwb awb.cpp:240 Starting AWB calculation
10-07 14:37:46.663   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:447 ev 1 fixed_shutter 0.00us fixed_analogue_gain 0
10-07 14:37:46.663   360   455 D libcamera: DEBUG RPiAwb awb.cpp:628 Valid zones: 0
10-07 14:37:46.663   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:480 exposure_mode normal constraint_mode normal metering_mode centre-weighted
10-07 14:37:46.663   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:578 Initial Y 0.000831982 target 0.203915 gives gain 10
10-07 14:37:46.664   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:578 Initial Y 0.00831982 target 0.203915 gives gain 100
10-07 14:37:46.664   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:578 Initial Y 0.0831982 target 0.203915 gives gain 242.185
10-07 14:37:46.664   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:578 Initial Y 0.201493 target 0.203915 gives gain 243.885
10-07 14:37:46.664   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:589 Constraint has target_Y 0.625 giving gain 159.823
10-07 14:37:46.664   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:601 Final gain 243.885 (target_Y 0.203915 ev 1 base_ev 1.25)
10-07 14:37:46.664   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:635 Target total_exposure 237809.06us
10-07 14:37:46.665   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:645 after AWB, target dg 1 gain 243.885 target_Y 0.203915
10-07 14:37:46.665   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:658 Digital gain 1 desaturate? 0
10-07 14:37:46.665   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:660 Target total_exposure_no_dg 237809.06us
10-07 14:37:46.665   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:700 After filtering, total_exposure 237809.06us no dg 237809.06us
10-07 14:37:46.665   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:745 Divided up shutter and gain are 59452.26us and 4
10-07 14:37:46.666   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:779 Output written, total exposure requested is 237809.06us
10-07 14:37:46.666   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:781 Camera exposure update: shutter time 59452.26us analogue gain 4
10-07 14:37:46.666   360  1602 D libcamera: DEBUG RPiAlsc alsc.cpp:361 frame_phase 1
10-07 14:37:46.666   360  1602 D libcamera: DEBUG RPiAlsc alsc.cpp:296 Starting ALSC calculation
10-07 14:37:46.666   360  1602 D libcamera: DEBUG RPiAlsc alsc.cpp:273 AWB results found, using 4000
10-07 14:37:46.667   360  1602 D libcamera: DEBUG RPiContrast contrast.cpp:105 Move histogram point 5.11988 to 983.04
10-07 14:37:46.667   360   456 D libcamera: DEBUG RPiAlsc alsc.cpp:413 ct is 4000, interpolating between 3000 and 5000
10-07 14:37:46.667   360  1602 D libcamera: DEBUG RPiContrast contrast.cpp:110 Final values 983.04 -> 983.04
10-07 14:37:46.667   360   456 D libcamera: DEBUG RPiAlsc alsc.cpp:413 ct is 4000, interpolating between 3000 and 5000
10-07 14:37:46.667   360  1602 D libcamera: DEBUG RPiContrast contrast.cpp:123 Move histogram point 486.405 to 62259.2
10-07 14:37:46.667   360  1602 D libcamera: DEBUG RPiContrast contrast.cpp:128 Final values 60259.2 -> 62259.2
10-07 14:37:46.667   360   456 D libcamera: DEBUG RPiAlsc alsc.cpp:666 Stop after 1 iterations
10-07 14:37:46.667   360   456 D libcamera: DEBUG RPiAlsc alsc.cpp:666 Stop after 1 iterations
10-07 14:37:46.668   360  1602 D libcamera: DEBUG IPARPI raspberrypi.cpp:1121 Applying AGC Exposure: 59447.73us (Shutter lines: 1829, AGC requested 59452.26us) Gain: 4 (Gain Code: 64)
10-07 14:37:46.668   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:179 Queuing Vertical Blanking to 24 at index 5
10-07 14:37:46.668   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:179 Queuing Exposure to 1829 at index 5
10-07 14:37:46.668   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:179 Queuing Analogue Gain to 64 at index 5
10-07 14:37:46.669   360   442 D libcamera: DEBUG RPISTREAM rpi_stream.cpp:226 Queuing buffer 0 for ISP Stats
10-07 14:37:46.669   360   442 D libcamera: DEBUG V4L2 v4l2_videodevice.cpp:1593 /dev/video16[19:cap]: Queueing buffer 0
10-07 14:37:46.669   360   442 I libcamera:  INFO RPI raspberrypi.cpp:1683 Dropping frame at the request of the IPA (4 left)
10-07 14:37:46.683   360   442 D libcamera: DEBUG V4L2 v4l2_videodevice.cpp:1661 /dev/video0[15:cap]: Dequeuing buffer 1
10-07 14:37:46.683   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1481 Stream Unicam Image buffer dequeue, buffer id 1, timestamp: 81280874000
10-07 14:37:46.683   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:217 Reading Analogue Gain to 16 at index 2
10-07 14:37:46.683   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:217 Reading Exposure to 30 at index 2
10-07 14:37:46.684   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:217 Reading Vertical Blanking to 24 at index 2
10-07 14:37:46.684   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1832 Could not find matching embedded buffer
10-07 14:37:46.684   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1839 Returning bayer frame without a match
10-07 14:37:46.684   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1776 Signalling signalIspPrepare: Bayer buffer id: 1
10-07 14:37:46.684   360  1602 I libcamera:  INFO IPARPI raspberrypi.cpp:626 Request ctrl: ScalerCrop = (0x0)/2592x1944
10-07 14:37:46.684   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1281 frame start 5
10-07 14:37:46.685   360  1602 D libcamera: DEBUG IPARPI raspberrypi.cpp:1038 Metadata - Exposure: 975.09us Frame length: 1968 Gain: 1 Aperture: 0 Lens: 0 Flash: 0
10-07 14:37:46.685   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:237 frame 5 started
10-07 14:37:46.685   360  1602 D libcamera: DEBUG RPiDpc dpc.cpp:44 strength 1
10-07 14:37:46.685   360  1602 D libcamera: DEBUG RPiNoise noise.cpp:64 constant 0 slope 4.25
10-07 14:37:46.685   360  1602 D libcamera: DEBUG RPiGeq geq.cpp:68 offset 401 slope 0.05619 (analogue gain 1 lux 626.45)
10-07 14:37:46.685   360  1602 D libcamera: DEBUG RPiSdn sdn.cpp:49 Noise profile: constant 0 slope 4.25
10-07 14:37:46.685   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:272 Setting Analogue Gain to 64 at index 5
10-07 14:37:46.686   360  1602 D libcamera: DEBUG RPiSdn sdn.cpp:58 programmed constant 0 slope 13.6 strength 0.75
10-07 14:37:46.686   360  1602 D libcamera: DEBUG RPiAwb awb.cpp:268 frame_count 5 speed 1
10-07 14:37:46.686   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:272 Setting Exposure to 1829 at index 5
10-07 14:37:46.686   360  1602 D libcamera: DEBUG RPiAwb awb.cpp:229 Fetch AWB results
10-07 14:37:46.686   360  1602 D libcamera: DEBUG RPiAwb awb.cpp:288 Using AWB gains r 1.27095 g 1 b 1.47244
10-07 14:37:46.686   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:352 Want total exposure 237809.06us
10-07 14:37:46.686   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:358 Actual exposure 975.09us
10-07 14:37:46.687   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:359 Use digital_gain 4
10-07 14:37:46.687   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:360 Effective exposure 3900.34us
10-07 14:37:46.687   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:430 Lock count updated to 0
10-07 14:37:46.687   360  1602 D libcamera: DEBUG RPiAlsc alsc.cpp:332 frame_count 5 speed 1
10-07 14:37:46.687   360  1602 D libcamera: DEBUG RPiAlsc alsc.cpp:259 Fetch ALSC results
10-07 14:37:46.688   360  1602 D libcamera: DEBUG RPiCcm ccm.cpp:151 colour temperature 4000K
10-07 14:37:46.688   360  1602 D libcamera: DEBUG RPiCcm ccm.cpp:153 CCM: 1.82464 -0.449828 -0.37482     -0.454665 1.61834 -0.163677     0.0217996 -0.939713 1.91791
10-07 14:37:46.688   360  1602 D libcamera: DEBUG IPARPI raspberrypi.cpp:1068 Applying WB R: 1.27095 B: 1.47244
10-07 14:37:46.688   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:272 Setting Vertical Blanking to 24 at index 5
10-07 14:37:46.692   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1398 Input re-queue to ISP, buffer id 1, timestamp: 81280874000
10-07 14:37:46.692   360   442 D libcamera: DEBUG RPISTREAM rpi_stream.cpp:226 Queuing buffer -1 for ISP Input
10-07 14:37:46.692   360   442 D libcamera: DEBUG V4L2 v4l2_videodevice.cpp:1593 /dev/video13[16:out]: Queueing buffer 1
10-07 14:37:46.721   360   442 D libcamera: DEBUG V4L2 v4l2_videodevice.cpp:1661 /dev/video13[16:out]: Dequeuing buffer 1
10-07 14:37:46.722   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1509 Stream ISP Input buffer complete, buffer id 1, timestamp: 81280874000
10-07 14:37:46.722   360   442 D libcamera: DEBUG RPISTREAM rpi_stream.cpp:226 Queuing buffer 1 for Unicam Image
10-07 14:37:46.722   360   442 D libcamera: DEBUG V4L2 v4l2_videodevice.cpp:1593 /dev/video0[15:cap]: Queueing buffer 1
10-07 14:37:46.723   360   442 D libcamera: DEBUG V4L2 v4l2_videodevice.cpp:1661 /dev/video14[17:cap]: Dequeuing buffer 1
10-07 14:37:46.724   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1537 Stream ISP Output0 buffer complete, buffer id 1, timestamp: 81280874000
10-07 14:37:46.724   360   442 D libcamera: DEBUG RPISTREAM rpi_stream.cpp:226 Queuing buffer 1 for ISP Output0
10-07 14:37:46.724   360   442 D libcamera: DEBUG V4L2 v4l2_videodevice.cpp:1593 /dev/video14[17:cap]: Queueing buffer 1
10-07 14:37:46.725   360   442 D libcamera: DEBUG V4L2 v4l2_videodevice.cpp:1661 /dev/video15[18:cap]: Dequeuing buffer 1
10-07 14:37:46.725   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1537 Stream ISP Output1 buffer complete, buffer id 1, timestamp: 81280874000
10-07 14:37:46.726   360   442 D libcamera: DEBUG RPISTREAM rpi_stream.cpp:226 Queuing buffer 1 for ISP Output1
10-07 14:37:46.726   360   442 D libcamera: DEBUG V4L2 v4l2_videodevice.cpp:1593 /dev/video15[18:cap]: Queueing buffer 1
10-07 14:37:46.726   360   442 D libcamera: DEBUG RPISTREAM rpi_stream.cpp:226 Queuing buffer 1048579 for ISP Output1
10-07 14:37:46.727   360   442 E libcamera: ERROR RPISTREAM rpi_stream.cpp:231 Failed to queue buffer for ISP Output1
10-07 14:37:46.727   360   442 D libcamera: DEBUG RPISTREAM rpi_stream.cpp:226 Queuing buffer 1048580 for ISP Output1
10-07 14:37:46.727   360   442 E libcamera: ERROR RPISTREAM rpi_stream.cpp:231 Failed to queue buffer for ISP Output1
10-07 14:37:46.727   360   442 D libcamera: DEBUG RPISTREAM rpi_stream.cpp:226 Queuing buffer 1048581 for ISP Output1
10-07 14:37:46.728   360   442 E libcamera: ERROR RPISTREAM rpi_stream.cpp:231 Failed to queue buffer for ISP Output1
10-07 14:37:46.728   360   442 D libcamera: DEBUG V4L2 v4l2_videodevice.cpp:1661 /dev/video16[19:cap]: Dequeuing buffer 1
10-07 14:37:46.728   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1537 Stream ISP Stats buffer complete, buffer id 1, timestamp: 81280874000
10-07 14:37:46.729   360  1602 D libcamera: DEBUG RPiLux lux.cpp:89 : estimated lux 626.446
10-07 14:37:46.729   360  1602 D libcamera: DEBUG RPiAwb awb.cpp:299 frame_phase 1
10-07 14:37:46.730   360  1602 D libcamera: DEBUG RPiAwb awb.cpp:309 Awb lux value is 626.446
10-07 14:37:46.730   360  1602 D libcamera: DEBUG RPiAwb awb.cpp:240 Starting AWB calculation
10-07 14:37:46.730   360   455 D libcamera: DEBUG RPiAwb awb.cpp:628 Valid zones: 0
10-07 14:37:46.731   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:447 ev 1 fixed_shutter 0.00us fixed_analogue_gain 0
10-07 14:37:46.731   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:480 exposure_mode normal constraint_mode normal metering_mode centre-weighted
10-07 14:37:46.731   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:578 Initial Y 0.000625198 target 0.203915 gives gain 10
10-07 14:37:46.732   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:578 Initial Y 0.00625198 target 0.203915 gives gain 100
10-07 14:37:46.732   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:578 Initial Y 0.0625198 target 0.203915 gives gain 321.026
10-07 14:37:46.732   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:578 Initial Y 0.200705 target 0.203915 gives gain 324.544
10-07 14:37:46.733   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:578 Initial Y 0.202904 target 0.203915 gives gain 324.562
10-07 14:37:46.733   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:589 Constraint has target_Y 0.625 giving gain 159.864
10-07 14:37:46.733   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:601 Final gain 324.562 (target_Y 0.203915 ev 1 base_ev 1.25)
10-07 14:37:46.734   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:635 Target total_exposure 316475.31us
10-07 14:37:46.734   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:645 after AWB, target dg 1 gain 324.562 target_Y 0.203915
10-07 14:37:46.734   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:658 Digital gain 1 desaturate? 0
10-07 14:37:46.735   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:660 Target total_exposure_no_dg 316475.31us
10-07 14:37:46.735   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:700 After filtering, total_exposure 316475.31us no dg 316475.31us
10-07 14:37:46.735   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:745 Divided up shutter and gain are 60000.00us and 5.27459
10-07 14:37:46.736   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:779 Output written, total exposure requested is 316475.31us
10-07 14:37:46.736   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:781 Camera exposure update: shutter time 60000.00us analogue gain 5.27459
10-07 14:37:46.736   360  1602 D libcamera: DEBUG RPiAlsc alsc.cpp:361 frame_phase 1
10-07 14:37:46.737   360  1602 D libcamera: DEBUG RPiAlsc alsc.cpp:296 Starting ALSC calculation
10-07 14:37:46.737   360  1602 D libcamera: DEBUG RPiAlsc alsc.cpp:273 AWB results found, using 4000
10-07 14:37:46.737   360  1602 D libcamera: DEBUG RPiContrast contrast.cpp:105 Move histogram point 5.11987 to 983.04
10-07 14:37:46.737   360   456 D libcamera: DEBUG RPiAlsc alsc.cpp:413 ct is 4000, interpolating between 3000 and 5000
10-07 14:37:46.738   360  1602 D libcamera: DEBUG RPiContrast contrast.cpp:110 Final values 983.04 -> 983.04
10-07 14:37:46.738   360   456 D libcamera: DEBUG RPiAlsc alsc.cpp:413 ct is 4000, interpolating between 3000 and 5000
10-07 14:37:46.738   360  1602 D libcamera: DEBUG RPiContrast contrast.cpp:123 Move histogram point 486.404 to 62259.2
10-07 14:37:46.738   360   456 D libcamera: DEBUG RPiAlsc alsc.cpp:666 Stop after 1 iterations
10-07 14:37:46.738   360  1602 D libcamera: DEBUG RPiContrast contrast.cpp:128 Final values 60259.2 -> 62259.2
10-07 14:37:46.738   360   456 D libcamera: DEBUG RPiAlsc alsc.cpp:666 Stop after 1 iterations
10-07 14:37:46.739   360  1602 D libcamera: DEBUG IPARPI raspberrypi.cpp:1121 Applying AGC Exposure: 59967.77us (Shutter lines: 1845, AGC requested 60000.00us) Gain: 5.27459 (Gain Code: 84)
10-07 14:37:46.740   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:179 Queuing Vertical Blanking to 24 at index 6
10-07 14:37:46.741   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:179 Queuing Exposure to 1845 at index 6
10-07 14:37:46.742   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:179 Queuing Analogue Gain to 84 at index 6
10-07 14:37:46.743   360   442 D libcamera: DEBUG RPISTREAM rpi_stream.cpp:226 Queuing buffer 1 for ISP Stats
10-07 14:37:46.744   360   442 D libcamera: DEBUG V4L2 v4l2_videodevice.cpp:1593 /dev/video16[19:cap]: Queueing buffer 1
10-07 14:37:46.744   360   442 I libcamera:  INFO RPI raspberrypi.cpp:1683 Dropping frame at the request of the IPA (3 left)
10-07 14:37:46.747   360   442 D libcamera: DEBUG V4L2 v4l2_videodevice.cpp:1661 /dev/video0[15:cap]: Dequeuing buffer 2
10-07 14:37:46.747   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1481 Stream Unicam Image buffer dequeue, buffer id 2, timestamp: 81344844000
10-07 14:37:46.748   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:217 Reading Analogue Gain to 16 at index 3
10-07 14:37:46.748   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:217 Reading Exposure to 30 at index 3
10-07 14:37:46.749   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:217 Reading Vertical Blanking to 24 at index 3
10-07 14:37:46.749   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1832 Could not find matching embedded buffer
10-07 14:37:46.750   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1839 Returning bayer frame without a match
10-07 14:37:46.751   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1776 Signalling signalIspPrepare: Bayer buffer id: 2
10-07 14:37:46.751   360  1602 I libcamera:  INFO IPARPI raspberrypi.cpp:626 Request ctrl: ScalerCrop = (0x0)/2592x1944
10-07 14:37:46.752   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1281 frame start 6
10-07 14:37:46.752   360  1602 D libcamera: DEBUG IPARPI raspberrypi.cpp:1038 Metadata - Exposure: 975.09us Frame length: 1968 Gain: 1 Aperture: 0 Lens: 0 Flash: 0
10-07 14:37:46.753   360  1602 D libcamera: DEBUG RPiDpc dpc.cpp:44 strength 1
10-07 14:37:46.753   360  1602 D libcamera: DEBUG RPiNoise noise.cpp:64 constant 0 slope 4.25
10-07 14:37:46.753   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:237 frame 6 started
10-07 14:37:46.754   360  1602 D libcamera: DEBUG RPiGeq geq.cpp:68 offset 401 slope 0.05619 (analogue gain 1 lux 626.446)
10-07 14:37:46.754   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:272 Setting Analogue Gain to 84 at index 6
10-07 14:37:46.754   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:272 Setting Exposure to 1845 at index 6
10-07 14:37:46.755   360  1602 D libcamera: DEBUG RPiSdn sdn.cpp:49 Noise profile: constant 0 slope 4.25
10-07 14:37:46.755   360  1602 D libcamera: DEBUG RPiSdn sdn.cpp:58 programmed constant 0 slope 13.6 strength 0.75
10-07 14:37:46.756   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:272 Setting Vertical Blanking to 24 at index 6
10-07 14:37:46.756   360  1602 D libcamera: DEBUG RPiAwb awb.cpp:268 frame_count 6 speed 1
10-07 14:37:46.756   360  1602 D libcamera: DEBUG RPiAwb awb.cpp:229 Fetch AWB results
10-07 14:37:46.756   360  1602 D libcamera: DEBUG RPiAwb awb.cpp:288 Using AWB gains r 1.27095 g 1 b 1.47244
10-07 14:37:46.757   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:352 Want total exposure 316475.31us
10-07 14:37:46.757   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:358 Actual exposure 975.09us
10-07 14:37:46.758   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:359 Use digital_gain 4
10-07 14:37:46.758   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:360 Effective exposure 3900.34us
10-07 14:37:46.759   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:430 Lock count updated to 0
10-07 14:37:46.759   360  1602 D libcamera: DEBUG RPiAlsc alsc.cpp:332 frame_count 6 speed 1
10-07 14:37:46.760   360  1602 D libcamera: DEBUG RPiAlsc alsc.cpp:259 Fetch ALSC results
10-07 14:37:46.760   360  1602 D libcamera: DEBUG RPiCcm ccm.cpp:151 colour temperature 4000K
10-07 14:37:46.761   360  1602 D libcamera: DEBUG RPiCcm ccm.cpp:153 CCM: 1.82464 -0.449828 -0.37482     -0.454665 1.61834 -0.163677     0.0217996 -0.939713 1.91791
10-07 14:37:46.761   360  1602 D libcamera: DEBUG IPARPI raspberrypi.cpp:1068 Applying WB R: 1.27095 B: 1.47244
10-07 14:37:46.763   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1398 Input re-queue to ISP, buffer id 2, timestamp: 81344844000
10-07 14:37:46.763   360   442 D libcamera: DEBUG RPISTREAM rpi_stream.cpp:226 Queuing buffer -1 for ISP Input
10-07 14:37:46.763   360   442 D libcamera: DEBUG V4L2 v4l2_videodevice.cpp:1593 /dev/video13[16:out]: Queueing buffer 2
10-07 14:37:46.791   360   442 D libcamera: DEBUG V4L2 v4l2_videodevice.cpp:1661 /dev/video13[16:out]: Dequeuing buffer 2
10-07 14:37:46.791   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1509 Stream ISP Input buffer complete, buffer id 2, timestamp: 81344844000
10-07 14:37:46.791   360   442 D libcamera: DEBUG RPISTREAM rpi_stream.cpp:226 Queuing buffer 2 for Unicam Image
10-07 14:37:46.791   360   442 D libcamera: DEBUG V4L2 v4l2_videodevice.cpp:1593 /dev/video0[15:cap]: Queueing buffer 2
10-07 14:37:46.792   360   442 D libcamera: DEBUG V4L2 v4l2_videodevice.cpp:1661 /dev/video14[17:cap]: Dequeuing buffer 2
10-07 14:37:46.792   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1537 Stream ISP Output0 buffer complete, buffer id 2, timestamp: 81344844000
10-07 14:37:46.792   360   442 D libcamera: DEBUG RPISTREAM rpi_stream.cpp:226 Queuing buffer 2 for ISP Output0
10-07 14:37:46.792   360   442 D libcamera: DEBUG V4L2 v4l2_videodevice.cpp:1593 /dev/video14[17:cap]: Queueing buffer 2
10-07 14:37:46.792   360   442 D libcamera: DEBUG V4L2 v4l2_videodevice.cpp:1661 /dev/video15[18:cap]: Dequeuing buffer 2
10-07 14:37:46.793   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1537 Stream ISP Output1 buffer complete, buffer id 2, timestamp: 81344844000
10-07 14:37:46.793   360   442 D libcamera: DEBUG V4L2 v4l2_videodevice.cpp:1661 /dev/video16[19:cap]: Dequeuing buffer 2
10-07 14:37:46.793   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1537 Stream ISP Stats buffer complete, buffer id 2, timestamp: 81344844000
10-07 14:37:46.793   360  1602 D libcamera: DEBUG RPiLux lux.cpp:89 : estimated lux 626.451
10-07 14:37:46.794   360  1602 D libcamera: DEBUG RPiAwb awb.cpp:299 frame_phase 1
10-07 14:37:46.794   360  1602 D libcamera: DEBUG RPiAwb awb.cpp:309 Awb lux value is 626.451
10-07 14:37:46.794   360  1602 D libcamera: DEBUG RPiAwb awb.cpp:240 Starting AWB calculation
10-07 14:37:46.794   360   455 D libcamera: DEBUG RPiAwb awb.cpp:628 Valid zones: 0
10-07 14:37:46.795   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:447 ev 1 fixed_shutter 0.00us fixed_analogue_gain 0
10-07 14:37:46.795   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:480 exposure_mode normal constraint_mode normal metering_mode centre-weighted
10-07 14:37:46.795   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:578 Initial Y 0.000587058 target 0.203915 gives gain 10
10-07 14:37:46.795   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:578 Initial Y 0.00587058 target 0.203915 gives gain 100
10-07 14:37:46.795   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:578 Initial Y 0.0587058 target 0.203915 gives gain 341.534
10-07 14:37:46.796   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:578 Initial Y 0.2005 target 0.203915 gives gain 345.628
10-07 14:37:46.796   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:578 Initial Y 0.202903 target 0.203915 gives gain 345.648
10-07 14:37:46.796   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:589 Constraint has target_Y 0.625 giving gain 159.809
10-07 14:37:46.796   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:601 Final gain 345.648 (target_Y 0.203915 ev 1 base_ev 1.25)
10-07 14:37:46.796   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:635 Target total_exposure 337036.36us
10-07 14:37:46.797   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:645 after AWB, target dg 1 gain 345.648 target_Y 0.203915
10-07 14:37:46.797   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:658 Digital gain 1 desaturate? 0
10-07 14:37:46.797   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:660 Target total_exposure_no_dg 337036.36us
10-07 14:37:46.797   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:700 After filtering, total_exposure 337036.36us no dg 337036.36us
10-07 14:37:46.797   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:745 Divided up shutter and gain are 60000.00us and 5.61727
10-07 14:37:46.798   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:779 Output written, total exposure requested is 337036.36us
10-07 14:37:46.798   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:781 Camera exposure update: shutter time 60000.00us analogue gain 5.61727
10-07 14:37:46.798   360  1602 D libcamera: DEBUG RPiAlsc alsc.cpp:361 frame_phase 1
10-07 14:37:46.798   360  1602 D libcamera: DEBUG RPiAlsc alsc.cpp:296 Starting ALSC calculation
10-07 14:37:46.798   360  1602 D libcamera: DEBUG RPiAlsc alsc.cpp:273 AWB results found, using 4000
10-07 14:37:46.799   360  1602 D libcamera: DEBUG RPiContrast contrast.cpp:105 Move histogram point 5.11989 to 983.04
10-07 14:37:46.799   360   456 D libcamera: DEBUG RPiAlsc alsc.cpp:413 ct is 4000, interpolating between 3000 and 5000
10-07 14:37:46.799   360  1602 D libcamera: DEBUG RPiContrast contrast.cpp:110 Final values 983.04 -> 983.04
10-07 14:37:46.799   360   456 D libcamera: DEBUG RPiAlsc alsc.cpp:413 ct is 4000, interpolating between 3000 and 5000
10-07 14:37:46.799   360  1602 D libcamera: DEBUG RPiContrast contrast.cpp:123 Move histogram point 486.406 to 62259.2
10-07 14:37:46.799   360   456 D libcamera: DEBUG RPiAlsc alsc.cpp:666 Stop after 1 iterations
10-07 14:37:46.799   360  1602 D libcamera: DEBUG RPiContrast contrast.cpp:128 Final values 60259.2 -> 62259.2
10-07 14:37:46.799   360   456 D libcamera: DEBUG RPiAlsc alsc.cpp:666 Stop after 1 iterations
10-07 14:37:46.799   360  1602 D libcamera: DEBUG IPARPI raspberrypi.cpp:1121 Applying AGC Exposure: 59967.77us (Shutter lines: 1845, AGC requested 60000.00us) Gain: 5.61727 (Gain Code: 89)
10-07 14:37:46.800   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:179 Queuing Vertical Blanking to 24 at index 7
10-07 14:37:46.800   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:179 Queuing Exposure to 1845 at index 7
10-07 14:37:46.800   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:179 Queuing Analogue Gain to 89 at index 7
10-07 14:37:46.801   360   442 D libcamera: DEBUG RPISTREAM rpi_stream.cpp:226 Queuing buffer 2 for ISP Stats
10-07 14:37:46.801   360   442 D libcamera: DEBUG V4L2 v4l2_videodevice.cpp:1593 /dev/video16[19:cap]: Queueing buffer 2
10-07 14:37:46.801   360   442 I libcamera:  INFO RPI raspberrypi.cpp:1683 Dropping frame at the request of the IPA (2 left)
10-07 14:37:46.813   360   442 D libcamera: DEBUG V4L2 v4l2_videodevice.cpp:1661 /dev/video0[15:cap]: Dequeuing buffer 0
10-07 14:37:46.813   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1481 Stream Unicam Image buffer dequeue, buffer id 0, timestamp: 81410989000
10-07 14:37:46.813   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:217 Reading Analogue Gain to 96 at index 4
10-07 14:37:46.814   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:217 Reading Exposure to 2031 at index 4
10-07 14:37:46.814   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:217 Reading Vertical Blanking to 91 at index 4
10-07 14:37:46.814   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1832 Could not find matching embedded buffer
10-07 14:37:46.814   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1839 Returning bayer frame without a match
10-07 14:37:46.814   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1776 Signalling signalIspPrepare: Bayer buffer id: 0
10-07 14:37:46.815   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1281 frame start 7
10-07 14:37:46.815   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:237 frame 7 started
10-07 14:37:46.815   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:272 Setting Analogue Gain to 89 at index 7
10-07 14:37:46.815   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:272 Setting Exposure to 1845 at index 7
10-07 14:37:46.815   360  1602 I libcamera:  INFO IPARPI raspberrypi.cpp:626 Request ctrl: ScalerCrop = (0x0)/2592x1944
10-07 14:37:46.815   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:272 Setting Vertical Blanking to 24 at index 7
10-07 14:37:46.816   360  1602 D libcamera: DEBUG IPARPI raspberrypi.cpp:1038 Metadata - Exposure: 66013.30us Frame length: 2035 Gain: 6 Aperture: 0 Lens: 0 Flash: 0
10-07 14:37:46.816   360  1602 D libcamera: DEBUG RPiDpc dpc.cpp:44 strength 1
10-07 14:37:46.816   360  1602 D libcamera: DEBUG RPiNoise noise.cpp:64 constant 0 slope 10.4103
10-07 14:37:46.817   360  1602 D libcamera: DEBUG RPiGeq geq.cpp:68 offset 2406 slope 0.33714 (analogue gain 6 lux 626.451)
10-07 14:37:46.817   360  1602 D libcamera: DEBUG RPiSdn sdn.cpp:49 Noise profile: constant 0 slope 10.4103
10-07 14:37:46.818   360  1602 D libcamera: DEBUG RPiSdn sdn.cpp:58 programmed constant 0 slope 33.3131 strength 0.75
10-07 14:37:46.818   360  1602 D libcamera: DEBUG RPiAwb awb.cpp:268 frame_count 7 speed 1
10-07 14:37:46.818   360  1602 D libcamera: DEBUG RPiAwb awb.cpp:229 Fetch AWB results
10-07 14:37:46.818   360  1602 D libcamera: DEBUG RPiAwb awb.cpp:288 Using AWB gains r 1.27095 g 1 b 1.47244
10-07 14:37:46.818   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:352 Want total exposure 337036.36us
10-07 14:37:46.819   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:358 Actual exposure 396079.82us
10-07 14:37:46.819   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:359 Use digital_gain 1
10-07 14:37:46.819   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:360 Effective exposure 396079.82us
10-07 14:37:46.819   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:430 Lock count updated to 0
10-07 14:37:46.819   360  1602 D libcamera: DEBUG RPiAlsc alsc.cpp:332 frame_count 7 speed 1
10-07 14:37:46.820   360  1602 D libcamera: DEBUG RPiAlsc alsc.cpp:259 Fetch ALSC results
10-07 14:37:46.820   360  1602 D libcamera: DEBUG RPiCcm ccm.cpp:151 colour temperature 4000K
10-07 14:37:46.820   360  1602 D libcamera: DEBUG RPiCcm ccm.cpp:153 CCM: 1.82464 -0.449828 -0.37482     -0.454665 1.61834 -0.163677     0.0217996 -0.939713 1.91791
10-07 14:37:46.820   360  1602 D libcamera: DEBUG IPARPI raspberrypi.cpp:1068 Applying WB R: 1.27095 B: 1.47244
10-07 14:37:46.822   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1398 Input re-queue to ISP, buffer id 0, timestamp: 81410989000
10-07 14:37:46.822   360   442 D libcamera: DEBUG RPISTREAM rpi_stream.cpp:226 Queuing buffer -1 for ISP Input
10-07 14:37:46.823   360   442 D libcamera: DEBUG V4L2 v4l2_videodevice.cpp:1593 /dev/video13[16:out]: Queueing buffer 0
10-07 14:37:46.850   360   442 D libcamera: DEBUG V4L2 v4l2_videodevice.cpp:1661 /dev/video13[16:out]: Dequeuing buffer 0
10-07 14:37:46.851   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1509 Stream ISP Input buffer complete, buffer id 0, timestamp: 81410989000
10-07 14:37:46.851   360   442 D libcamera: DEBUG RPISTREAM rpi_stream.cpp:226 Queuing buffer 0 for Unicam Image
10-07 14:37:46.851   360   442 D libcamera: DEBUG V4L2 v4l2_videodevice.cpp:1593 /dev/video0[15:cap]: Queueing buffer 0
10-07 14:37:46.851   360   442 D libcamera: DEBUG V4L2 v4l2_videodevice.cpp:1661 /dev/video14[17:cap]: Dequeuing buffer 0
10-07 14:37:46.851   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1537 Stream ISP Output0 buffer complete, buffer id 0, timestamp: 81410989000
10-07 14:37:46.852   360   442 D libcamera: DEBUG RPISTREAM rpi_stream.cpp:226 Queuing buffer 0 for ISP Output0
10-07 14:37:46.852   360   442 D libcamera: DEBUG V4L2 v4l2_videodevice.cpp:1593 /dev/video14[17:cap]: Queueing buffer 0
10-07 14:37:46.852   360   442 D libcamera: DEBUG V4L2 v4l2_videodevice.cpp:1661 /dev/video15[18:cap]: Dequeuing buffer 0
10-07 14:37:46.852   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1537 Stream ISP Output1 buffer complete, buffer id 0, timestamp: 81410989000
10-07 14:37:46.853   360   442 D libcamera: DEBUG V4L2 v4l2_videodevice.cpp:1661 /dev/video16[19:cap]: Dequeuing buffer 0
10-07 14:37:46.853   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1537 Stream ISP Stats buffer complete, buffer id 0, timestamp: 81410989000
10-07 14:37:46.853   360  1602 D libcamera: DEBUG RPiLux lux.cpp:89 : estimated lux 164.332
10-07 14:37:46.854   360  1602 D libcamera: DEBUG RPiAwb awb.cpp:299 frame_phase 1
10-07 14:37:46.854   360  1602 D libcamera: DEBUG RPiAwb awb.cpp:309 Awb lux value is 164.332
10-07 14:37:46.854   360  1602 D libcamera: DEBUG RPiAwb awb.cpp:240 Starting AWB calculation
10-07 14:37:46.854   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:447 ev 1 fixed_shutter 0.00us fixed_analogue_gain 0
10-07 14:37:46.854   360   455 D libcamera: DEBUG RPiAwb awb.cpp:628 Valid zones: 189
10-07 14:37:46.854   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:480 exposure_mode normal constraint_mode normal metering_mode centre-weighted
10-07 14:37:46.855   360   455 D libcamera: DEBUG RPiAwb awb.cpp:566 (2000,0.78217)
10-07 14:37:46.855   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:578 Initial Y 0.389813 target 0.201027 gives gain 0.514382
10-07 14:37:46.855   360   455 D libcamera: DEBUG RPiAwb awb.cpp:566 (3000,0.101103)
10-07 14:37:46.855   360   455 D libcamera: DEBUG RPiAwb awb.cpp:566 (6000,0.40441)
10-07 14:37:46.855   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:589 Constraint has target_Y 0.625 giving gain 0.627815
10-07 14:37:46.855   360   455 D libcamera: DEBUG RPiAwb awb.cpp:566 (13000,0.40441)
10-07 14:37:46.855   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:593 Lower bound constraint adopted
10-07 14:37:46.855   360   455 D libcamera: DEBUG RPiAwb awb.cpp:444 t: 2500 gain_r 0.971912 gain_b 2.22074 delta2_sum 37.8 prior 0.441636 final 37.3584
10-07 14:37:46.855   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:601 Final gain 0.627815 (target_Y 0.625 ev 1 base_ev 1.25)
10-07 14:37:46.856   360   455 D libcamera: DEBUG RPiAwb awb.cpp:444 t: 2550 gain_r 0.985521 gain_b 2.17257 delta2_sum 37.7394 prior 0.407583 final 37.3319
10-07 14:37:46.856   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:635 Target total_exposure 248664.83us
10-07 14:37:46.856   360   455 D libcamera: DEBUG RPiAwb awb.cpp:444 t: 2601 gain_r 0.9998 gain_b 2.12555 delta2_sum 36.9411 prior 0.372848 final 36.5682
10-07 14:37:46.856   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:645 after AWB, target dg 1 gain 0.627815 target_Y 0.625
10-07 14:37:46.856   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:658 Digital gain 2.5 desaturate? 1
10-07 14:37:46.856   360   455 D libcamera: DEBUG RPiAwb awb.cpp:444 t: 2653.02 gain_r 1.0148 gain_b 2.07964 delta2_sum 35.1704 prior 0.337419 final 34.8329
10-07 14:37:46.856   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:660 Target total_exposure_no_dg 99465.93us
10-07 14:37:46.856   360   455 D libcamera: DEBUG RPiAwb awb.cpp:444 t: 2706.08 gain_r 1.03057 gain_b 2.0348 delta2_sum 32.8311 prior 0.301282 final 32.5298
10-07 14:37:46.856   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:700 After filtering, total_exposure 248664.83us no dg 99465.93us
10-07 14:37:46.856   360   455 D libcamera: DEBUG RPiAwb awb.cpp:444 t: 2760.2 gain_r 1.04716 gain_b 1.99102 delta2_sum 30.5062 prior 0.264421 final 30.2417
10-07 14:37:46.857   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:745 Divided up shutter and gain are 30000.00us and 3.31553
10-07 14:37:46.857   360   455 D libcamera: DEBUG RPiAwb awb.cpp:444 t: 2815.41 gain_r 1.06095 gain_b 1.9569 delta2_sum 28.6845 prior 0.226823 final 28.4577
10-07 14:37:46.857   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:779 Output written, total exposure requested is 248664.83us
10-07 14:37:46.857   360   455 D libcamera: DEBUG RPiAwb awb.cpp:444 t: 2871.71 gain_r 1.0622 gain_b 1.95322 delta2_sum 28.4941 prior 0.188474 final 28.3056
10-07 14:37:46.857   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:781 Camera exposure update: shutter time 30000.00us analogue gain 3.31553
10-07 14:37:46.857   360   455 D libcamera: DEBUG RPiAwb awb.cpp:444 t: 2929.15 gain_r 1.066 gain_b 1.94115 delta2_sum 27.8711 prior 0.149357 final 27.7218
10-07 14:37:46.857   360  1602 D libcamera: DEBUG RPiAlsc alsc.cpp:361 frame_phase 1
10-07 14:37:46.857   360   455 D libcamera: DEBUG RPiAwb awb.cpp:444 t: 2987.73 gain_r 1.07714 gain_b 1.90595 delta2_sum 26.0077 prior 0.109458 final 25.8982
10-07 14:37:46.857   360  1602 D libcamera: DEBUG RPiAlsc alsc.cpp:296 Starting ALSC calculation
10-07 14:37:46.857   360  1602 D libcamera: DEBUG RPiAlsc alsc.cpp:273 AWB results found, using 4000
10-07 14:37:46.857   360   455 D libcamera: DEBUG RPiAwb awb.cpp:444 t: 3047.49 gain_r 1.08875 gain_b 1.87135 delta2_sum 24.1761 prior 0.105904 final 24.0702
10-07 14:37:46.858   360   455 D libcamera: DEBUG RPiAwb awb.cpp:444 t: 3108.44 gain_r 1.10086 gain_b 1.83732 delta2_sum 22.3716 prior 0.112066 final 22.2596
10-07 14:37:46.858   360  1602 D libcamera: DEBUG RPiContrast contrast.cpp:105 Move histogram point 2283 to 983.04
10-07 14:37:46.858   360   455 D libcamera: DEBUG RPiAwb awb.cpp:444 t: 3170.6 gain_r 1.11349 gain_b 1.80386 delta2_sum 20.6117 prior 0.118351 final 20.4933
10-07 14:37:46.858   360  1602 D libcamera: DEBUG RPiContrast contrast.cpp:110 Final values 1483.04 -> 983.04
10-07 14:37:46.858   360   455 D libcamera: DEBUG RPiAwb awb.cpp:444 t: 3234.02 gain_r 1.12667 gain_b 1.77097 delta2_sum 18.9486 prior 0.124762 final 18.8239
10-07 14:37:46.858   360  1602 D libcamera: DEBUG RPiContrast contrast.cpp:123 Move histogram point 61804.7 to 62259.2
10-07 14:37:46.858   360  1602 D libcamera: DEBUG RPiContrast contrast.cpp:128 Final values 61804.7 -> 62259.2
10-07 14:37:46.858   360   455 D libcamera: DEBUG RPiAwb awb.cpp:444 t: 3298.7 gain_r 1.14044 gain_b 1.73863 delta2_sum 17.3711 prior 0.131302 final 17.2398
10-07 14:37:46.859   360   455 D libcamera: DEBUG RPiAwb awb.cpp:444 t: 3364.67 gain_r 1.15484 gain_b 1.70684 delta2_sum 15.7071 prior 0.137972 final 15.5691
10-07 14:37:46.859   360  1602 D libcamera: DEBUG IPARPI raspberrypi.cpp:1121 Applying AGC Exposure: 29967.63us (Shutter lines: 922, AGC requested 30000.00us) Gain: 3.31553 (Gain Code: 53)
10-07 14:37:46.859   360   455 D libcamera: DEBUG RPiAwb awb.cpp:444 t: 3431.96 gain_r 1.1699 gain_b 1.67559 delta2_sum 14.0629 prior 0.144775 final 13.9181
10-07 14:37:46.859   360   456 D libcamera: DEBUG RPiAlsc alsc.cpp:413 ct is 4000, interpolating between 3000 and 5000
10-07 14:37:46.859   360   455 D libcamera: DEBUG RPiAwb awb.cpp:444 t: 3500.6 gain_r 1.18568 gain_b 1.64488 delta2_sum 12.5078 prior 0.151715 final 12.356
10-07 14:37:46.859   360   456 D libcamera: DEBUG RPiAlsc alsc.cpp:413 ct is 4000, interpolating between 3000 and 5000
10-07 14:37:46.859   360   455 D libcamera: DEBUG RPiAwb awb.cpp:444 t: 3570.62 gain_r 1.20222 gain_b 1.61468 delta2_sum 11.0443 prior 0.158793 final 10.8855
10-07 14:37:46.859   360   455 D libcamera: DEBUG RPiAwb awb.cpp:444 t: 3642.03 gain_r 1.21593 gain_b 1.58734 delta2_sum 9.94739 prior 0.166013 final 9.78138
10-07 14:37:46.860   360   456 D libcamera: DEBUG RPiAlsc alsc.cpp:666 Stop after 14 iterations
10-07 14:37:46.860   360   455 D libcamera: DEBUG RPiAwb awb.cpp:444 t: 3714.87 gain_r 1.22674 gain_b 1.56253 delta2_sum 9.16279 prior 0.173378 final 8.98942
10-07 14:37:46.860   360   455 D libcamera: DEBUG RPiAwb awb.cpp:444 t: 3789.17 gain_r 1.23796 gain_b 1.53801 delta2_sum 8.48055 prior 0.180889 final 8.29966
10-07 14:37:46.860   360   456 D libcamera: DEBUG RPiAlsc alsc.cpp:666 Stop after 4 iterations
10-07 14:37:46.860   360   455 D libcamera: DEBUG RPiAwb awb.cpp:444 t: 3864.95 gain_r 1.24962 gain_b 1.51378 delta2_sum 7.89848 prior 0.188551 final 7.70992
10-07 14:37:46.860   360   455 D libcamera: DEBUG RPiAwb awb.cpp:444 t: 3942.25 gain_r 1.26174 gain_b 1.48984 delta2_sum 7.41461 prior 0.196366 final 7.21824
10-07 14:37:46.860   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:179 Queuing Vertical Blanking to 24 at index 8
10-07 14:37:46.860   360   455 D libcamera: DEBUG RPiAwb awb.cpp:444 t: 4021.09 gain_r 1.27435 gain_b 1.46619 delta2_sum 7.02726 prior 0.204338 final 6.82292
10-07 14:37:46.860   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:179 Queuing Exposure to 922 at index 8
10-07 14:37:46.861   360   455 D libcamera: DEBUG RPiAwb awb.cpp:444 t: 4101.51 gain_r 1.28748 gain_b 1.44283 delta2_sum 6.73506 prior 0.212469 final 6.52259
10-07 14:37:46.861   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:179 Queuing Analogue Gain to 53 at index 8
10-07 14:37:46.861   360   442 D libcamera: DEBUG RPISTREAM rpi_stream.cpp:226 Queuing buffer 0 for ISP Stats
10-07 14:37:46.861   360   455 D libcamera: DEBUG RPiAwb awb.cpp:444 t: 4183.55 gain_r 1.30114 gain_b 1.41975 delta2_sum 6.53695 prior 0.220762 final 6.31619
10-07 14:37:46.861   360   442 D libcamera: DEBUG V4L2 v4l2_videodevice.cpp:1593 /dev/video16[19:cap]: Queueing buffer 0
10-07 14:37:46.861   360   455 D libcamera: DEBUG RPiAwb awb.cpp:444 t: 4267.22 gain_r 1.31539 gain_b 1.39696 delta2_sum 6.43228 prior 0.229221 final 6.20306
10-07 14:37:46.861   360   455 D libcamera: DEBUG RPiAwb awb.cpp:444 t: 4352.56 gain_r 1.33024 gain_b 1.37446 delta2_sum 6.42081 prior 0.23785 final 6.18296
10-07 14:37:46.861   360   442 I libcamera:  INFO RPI raspberrypi.cpp:1683 Dropping frame at the request of the IPA (1 left)
10-07 14:37:46.861   360   455 D libcamera: DEBUG RPiAwb awb.cpp:444 t: 4439.61 gain_r 1.34574 gain_b 1.35224 delta2_sum 6.5028 prior 0.246651 final 6.25615
10-07 14:37:46.862   360   455 D libcamera: DEBUG RPiAwb awb.cpp:444 t: 4528.4 gain_r 1.36193 gain_b 1.3303 delta2_sum 6.67904 prior 0.255628 final 6.42341
10-07 14:37:46.862   360   455 D libcamera: DEBUG RPiAwb awb.cpp:444 t: 4618.97 gain_r 1.37193 gain_b 1.31448 delta2_sum 6.92178 prior 0.264785 final 6.657
10-07 14:37:46.862   360   455 D libcamera: DEBUG RPiAwb awb.cpp:444 t: 4711.35 gain_r 1.38123 gain_b 1.29959 delta2_sum 7.20533 prior 0.274125 final 6.9312
10-07 14:37:46.862   360   455 D libcamera: DEBUG RPiAwb awb.cpp:444 t: 4805.58 gain_r 1.39085 gain_b 1.28474 delta2_sum 7.53112 prior 0.283651 final 7.24747
10-07 14:37:46.862   360   455 D libcamera: DEBUG RPiAwb awb.cpp:444 t: 4901.69 gain_r 1.4008 gain_b 1.26994 delta2_sum 7.89992 prior 0.293368 final 7.60655
10-07 14:37:46.863   360   455 D libcamera: DEBUG RPiAwb awb.cpp:444 t: 4999.72 gain_r 1.4111 gain_b 1.25519 delta2_sum 8.31262 prior 0.30328 final 8.00934
10-07 14:37:46.863   360   455 D libcamera: DEBUG RPiAwb awb.cpp:444 t: 5099.72 gain_r 1.42176 gain_b 1.24049 delta2_sum 8.77022 prior 0.313389 final 8.45684
10-07 14:37:46.863   360   455 D libcamera: DEBUG RPiAwb awb.cpp:444 t: 5201.71 gain_r 1.43281 gain_b 1.22585 delta2_sum 9.27387 prior 0.323701 final 8.95017
10-07 14:37:46.863   360   455 D libcamera: DEBUG RPiAwb awb.cpp:444 t: 5305.75 gain_r 1.44425 gain_b 1.21127 delta2_sum 9.82486 prior 0.334219 final 9.49064
10-07 14:37:46.863   360   455 D libcamera: DEBUG RPiAwb awb.cpp:444 t: 5411.86 gain_r 1.45611 gain_b 1.19675 delta2_sum 10.4247 prior 0.344948 final 10.0797
10-07 14:37:46.864   360   455 D libcamera: DEBUG RPiAwb awb.cpp:444 t: 5520.1 gain_r 1.46841 gain_b 1.18229 delta2_sum 11.075 prior 0.355891 final 10.7191
10-07 14:37:46.864   360   455 D libcamera: DEBUG RPiAwb awb.cpp:444 t: 5630.5 gain_r 1.48117 gain_b 1.1679 delta2_sum 11.7778 prior 0.367053 final 11.4108
10-07 14:37:46.864   360   455 D libcamera: DEBUG RPiAwb awb.cpp:444 t: 5743.11 gain_r 1.49133 gain_b 1.15635 delta2_sum 12.3863 prior 0.378438 final 12.0078
10-07 14:37:46.864   360   455 D libcamera: DEBUG RPiAwb awb.cpp:444 t: 5857.97 gain_r 1.49688 gain_b 1.14913 delta2_sum 12.7893 prior 0.390051 final 12.3993
10-07 14:37:46.864   360   455 D libcamera: DEBUG RPiAwb awb.cpp:444 t: 5975.13 gain_r 1.50259 gain_b 1.14185 delta2_sum 13.2087 prior 0.401896 final 12.8068
10-07 14:37:46.865   360   455 D libcamera: DEBUG RPiAwb awb.cpp:444 t: 6094.64 gain_r 1.50846 gain_b 1.13452 delta2_sum 13.6451 prior 0.40441 final 13.2407
10-07 14:37:46.865   360   455 D libcamera: DEBUG RPiAwb awb.cpp:444 t: 6216.53 gain_r 1.51449 gain_b 1.12715 delta2_sum 14.0989 prior 0.40441 final 13.6945
10-07 14:37:46.865   360   455 D libcamera: DEBUG RPiAwb awb.cpp:444 t: 6340.86 gain_r 1.5207 gain_b 1.11972 delta2_sum 14.5708 prior 0.40441 final 14.1664
10-07 14:37:46.865   360   455 D libcamera: DEBUG RPiAwb awb.cpp:444 t: 6467.68 gain_r 1.52708 gain_b 1.11224 delta2_sum 15.0615 prior 0.40441 final 14.6571
10-07 14:37:46.865   360   455 D libcamera: DEBUG RPiAwb awb.cpp:444 t: 6597.03 gain_r 1.53364 gain_b 1.10472 delta2_sum 15.5717 prior 0.40441 final 15.1673
10-07 14:37:46.866   360   455 D libcamera: DEBUG RPiAwb awb.cpp:444 t: 6728.97 gain_r 1.5404 gain_b 1.09715 delta2_sum 16.102 prior 0.40441 final 15.6975
10-07 14:37:46.866   360   455 D libcamera: DEBUG RPiAwb awb.cpp:444 t: 6863.55 gain_r 1.54735 gain_b 1.08953 delta2_sum 16.6532 prior 0.40441 final 16.2487
10-07 14:37:46.866   360   455 D libcamera: DEBUG RPiAwb awb.cpp:444 t: 7000.82 gain_r 1.5545 gain_b 1.08188 delta2_sum 17.2261 prior 0.40441 final 16.8217
10-07 14:37:46.866   360   455 D libcamera: DEBUG RPiAwb awb.cpp:444 t: 7140.84 gain_r 1.56187 gain_b 1.07417 delta2_sum 17.8216 prior 0.40441 final 17.4171
10-07 14:37:46.866   360   455 D libcamera: DEBUG RPiAwb awb.cpp:444 t: 7283.65 gain_r 1.56945 gain_b 1.06643 delta2_sum 18.4405 prior 0.40441 final 18.0361
10-07 14:37:46.867   360   455 D libcamera: DEBUG RPiAwb awb.cpp:444 t: 7429.33 gain_r 1.57727 gain_b 1.05865 delta2_sum 19.0839 prior 0.40441 final 18.6795
10-07 14:37:46.867   360   455 D libcamera: DEBUG RPiAwb awb.cpp:444 t: 7577.91 gain_r 1.58532 gain_b 1.05082 delta2_sum 19.7528 prior 0.40441 final 19.3484
10-07 14:37:46.867   360   455 D libcamera: DEBUG RPiAwb awb.cpp:444 t: 7729.47 gain_r 1.59361 gain_b 1.04296 delta2_sum 20.4483 prior 0.40441 final 20.0439
10-07 14:37:46.867   360   455 D libcamera: DEBUG RPiAwb awb.cpp:444 t: 7884.06 gain_r 1.60217 gain_b 1.03506 delta2_sum 21.1716 prior 0.40441 final 20.7671
10-07 14:37:46.867   360   455 D libcamera: DEBUG RPiAwb awb.cpp:444 t: 8000 gain_r 1.60864 gain_b 1.02921 delta2_sum 21.7232 prior 0.40441 final 21.3188
10-07 14:37:46.868   360   455 D libcamera: DEBUG RPiAwb awb.cpp:459 Coarse search found CT 4352.56
10-07 14:37:46.868   360   455 D libcamera: DEBUG RPiAwb awb.cpp:468 After quadratic refinement, coarse search has CT 4328.75
10-07 14:37:46.868   360   455 D libcamera: DEBUG RPiAwb awb.cpp:571 After coarse search: r 0.754112 b 0.72429 (gains r 1.32606 b 1.38066)
10-07 14:37:46.868   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4207.55 r 0.731238 b 0.682345: 3.79593
10-07 14:37:46.868   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4207.55 r 0.738853 b 0.687862: 4.2603
10-07 14:37:46.869   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4207.55 r 0.746469 b 0.693378: 4.76926
10-07 14:37:46.869   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4207.55 r 0.754085 b 0.698894: 5.32014
10-07 14:37:46.869   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4207.55 r 0.761701 b 0.70441: 5.91041
10-07 14:37:46.869   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4207.55 r 0.769317 b 0.709926: 6.53769
10-07 14:37:46.869   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4207.55 r 0.776933 b 0.715443: 7.19972
10-07 14:37:46.870   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4207.55 r 0.784549 b 0.720959: 7.89438
10-07 14:37:46.870   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4207.55 r 0.792165 b 0.726475: 8.61966
10-07 14:37:46.870   360   455 D libcamera: DEBUG RPiAwb awb.cpp:541 Finally 4207.55 r 0.731238 b 0.682345: 3.79593
10-07 14:37:46.870   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4216.2 r 0.730376 b 0.683534: 3.77511
10-07 14:37:46.870   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4216.2 r 0.737992 b 0.689051: 4.24117
10-07 14:37:46.871   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4216.2 r 0.745608 b 0.694567: 4.7518
10-07 14:37:46.871   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4216.2 r 0.753224 b 0.700083: 5.30432
10-07 14:37:46.871   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4216.2 r 0.76084 b 0.705599: 5.8962
10-07 14:37:46.871   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4216.2 r 0.768456 b 0.711115: 6.52506
10-07 14:37:46.871   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4216.2 r 0.776072 b 0.716632: 7.18864
10-07 14:37:46.871   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4216.2 r 0.783688 b 0.722148: 7.88482
10-07 14:37:46.872   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4216.2 r 0.791304 b 0.727664: 8.61159
10-07 14:37:46.872   360   455 D libcamera: DEBUG RPiAwb awb.cpp:541 Finally 4216.2 r 0.730376 b 0.683534: 3.77511 BEST
10-07 14:37:46.872   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4224.86 r 0.729515 b 0.684723: 3.75562
10-07 14:37:46.872   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4224.86 r 0.737131 b 0.690239: 4.2233
10-07 14:37:46.872   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4224.86 r 0.744747 b 0.695756: 4.73552
10-07 14:37:46.873   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4224.86 r 0.752363 b 0.701272: 5.28962
10-07 14:37:46.873   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4224.86 r 0.759979 b 0.706788: 5.88305
10-07 14:37:46.873   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4224.86 r 0.767595 b 0.712304: 6.51343
10-07 14:37:46.873   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4224.86 r 0.775211 b 0.71782: 7.17851
10-07 14:37:46.873   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4224.86 r 0.782827 b 0.723337: 7.87616
10-07 14:37:46.874   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4224.86 r 0.790443 b 0.728853: 8.60436
10-07 14:37:46.874   360   455 D libcamera: DEBUG RPiAwb awb.cpp:541 Finally 4224.86 r 0.729515 b 0.684723: 3.75562 BEST
10-07 14:37:46.874   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4233.52 r 0.728654 b 0.685912: 3.73744
10-07 14:37:46.874   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4233.52 r 0.73627 b 0.691428: 4.20667
10-07 14:37:46.874   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4233.52 r 0.743886 b 0.696945: 4.72043
10-07 14:37:46.875   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4233.52 r 0.751502 b 0.702461: 5.27604
10-07 14:37:46.875   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4233.52 r 0.759118 b 0.707977: 5.87096
10-07 14:37:46.875   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4233.52 r 0.766734 b 0.713493: 6.50281
10-07 14:37:46.875   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4233.52 r 0.77435 b 0.719009: 7.16932
10-07 14:37:46.875   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4233.52 r 0.781966 b 0.724526: 7.86838
10-07 14:37:46.875   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4233.52 r 0.789581 b 0.730042: 8.59798
10-07 14:37:46.876   360   455 D libcamera: DEBUG RPiAwb awb.cpp:541 Finally 4233.52 r 0.728654 b 0.685912: 3.73744 BEST
10-07 14:37:46.876   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4242.18 r 0.727793 b 0.687101: 3.72057
10-07 14:37:46.876   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4242.18 r 0.735409 b 0.692617: 4.19128
10-07 14:37:46.876   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4242.18 r 0.743025 b 0.698133: 4.7065
10-07 14:37:46.876   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4242.18 r 0.750641 b 0.70365: 5.26356
10-07 14:37:46.877   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4242.18 r 0.758257 b 0.709166: 5.85991
10-07 14:37:46.877   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4242.18 r 0.765873 b 0.714682: 6.49317
10-07 14:37:46.877   360   442 D libcamera: DEBUG V4L2 v4l2_videodevice.cpp:1661 /dev/video0[15:cap]: Dequeuing buffer 1
10-07 14:37:46.877   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4242.18 r 0.773489 b 0.720198: 7.16107
10-07 14:37:46.877   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1481 Stream Unicam Image buffer dequeue, buffer id 1, timestamp: 81474956000
10-07 14:37:46.877   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4242.18 r 0.781104 b 0.725714: 7.8615
10-07 14:37:46.877   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:217 Reading Analogue Gain to 64 at index 5
10-07 14:37:46.877   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4242.18 r 0.78872 b 0.731231: 8.59243
10-07 14:37:46.878   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:217 Reading Exposure to 1829 at index 5
10-07 14:37:46.878   360   455 D libcamera: DEBUG RPiAwb awb.cpp:541 Finally 4242.18 r 0.727793 b 0.687101: 3.72057 BEST
10-07 14:37:46.878   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:217 Reading Vertical Blanking to 24 at index 5
10-07 14:37:46.878   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4250.83 r 0.726932 b 0.68829: 3.70501
10-07 14:37:46.878   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1832 Could not find matching embedded buffer
10-07 14:37:46.878   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4250.83 r 0.734548 b 0.693806: 4.17712
10-07 14:37:46.878   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1839 Returning bayer frame without a match
10-07 14:37:46.878   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4250.83 r 0.742164 b 0.699322: 4.69374
10-07 14:37:46.878   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1776 Signalling signalIspPrepare: Bayer buffer id: 1
10-07 14:37:46.878   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4250.83 r 0.74978 b 0.704839: 5.25218
10-07 14:37:46.879   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4250.83 r 0.757396 b 0.710355: 5.8499
10-07 14:37:46.879   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1281 frame start 8
10-07 14:37:46.879   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:237 frame 8 started
10-07 14:37:46.879   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4250.83 r 0.765011 b 0.715871: 6.48451
10-07 14:37:46.879   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:272 Setting Analogue Gain to 53 at index 8
10-07 14:37:46.879   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4250.83 r 0.772627 b 0.721387: 7.15375
10-07 14:37:46.879   360  1602 I libcamera:  INFO IPARPI raspberrypi.cpp:626 Request ctrl: ScalerCrop = (0x0)/2592x1944
10-07 14:37:46.879   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:272 Setting Exposure to 922 at index 8
10-07 14:37:46.879   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4250.83 r 0.780243 b 0.726903: 7.85549
10-07 14:37:46.879   360  1602 D libcamera: DEBUG IPARPI raspberrypi.cpp:1038 Metadata - Exposure: 59447.73us Frame length: 1968 Gain: 4 Aperture: 0 Lens: 0 Flash: 0
10-07 14:37:46.879   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4250.83 r 0.787859 b 0.73242: 8.58771
10-07 14:37:46.879   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:272 Setting Vertical Blanking to 24 at index 8
10-07 14:37:46.879   360  1602 D libcamera: DEBUG RPiDpc dpc.cpp:44 strength 1
10-07 14:37:46.880   360   455 D libcamera: DEBUG RPiAwb awb.cpp:541 Finally 4250.83 r 0.726932 b 0.68829: 3.70501 BEST
10-07 14:37:46.880   360  1602 D libcamera: DEBUG RPiNoise noise.cpp:64 constant 0 slope 8.5
10-07 14:37:46.880   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4259.49 r 0.726071 b 0.689479: 3.69074
10-07 14:37:46.880   360  1602 D libcamera: DEBUG RPiGeq geq.cpp:68 offset 1604 slope 0.22476 (analogue gain 4 lux 164.332)
10-07 14:37:46.880   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4259.49 r 0.733687 b 0.694995: 4.16419
10-07 14:37:46.880   360  1602 D libcamera: DEBUG RPiSdn sdn.cpp:49 Noise profile: constant 0 slope 8.5
10-07 14:37:46.880   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4259.49 r 0.741303 b 0.700511: 4.68214
10-07 14:37:46.880   360  1602 D libcamera: DEBUG RPiSdn sdn.cpp:58 programmed constant 0 slope 27.2 strength 0.75
10-07 14:37:46.880   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4259.49 r 0.748919 b 0.706027: 5.2419
10-07 14:37:46.880   360  1602 D libcamera: DEBUG RPiAwb awb.cpp:268 frame_count 8 speed 1
10-07 14:37:46.881   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4259.49 r 0.756534 b 0.711544: 5.84093
10-07 14:37:46.881   360  1602 D libcamera: DEBUG RPiAwb awb.cpp:288 Using AWB gains r 1.27095 g 1 b 1.47244
10-07 14:37:46.881   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4259.49 r 0.76415 b 0.71706: 6.47684
10-07 14:37:46.881   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:352 Want total exposure 248664.83us
10-07 14:37:46.881   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4259.49 r 0.771766 b 0.722576: 7.14736
10-07 14:37:46.881   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:358 Actual exposure 237790.90us
10-07 14:37:46.881   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4259.49 r 0.779382 b 0.728092: 7.85035
10-07 14:37:46.881   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:359 Use digital_gain 1.04573
10-07 14:37:46.881   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4259.49 r 0.786998 b 0.733608: 8.58382
10-07 14:37:46.881   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:360 Effective exposure 248664.83us
10-07 14:37:46.881   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:430 Lock count updated to 0
10-07 14:37:46.881   360   455 D libcamera: DEBUG RPiAwb awb.cpp:541 Finally 4259.49 r 0.726071 b 0.689479: 3.69074 BEST
10-07 14:37:46.882   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4268.15 r 0.72521 b 0.690668: 3.67776
10-07 14:37:46.882   360  1602 D libcamera: DEBUG RPiAlsc alsc.cpp:332 frame_count 8 speed 1
10-07 14:37:46.882   360  1602 D libcamera: DEBUG RPiAlsc alsc.cpp:259 Fetch ALSC results
10-07 14:37:46.882   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4268.15 r 0.732826 b 0.696184: 4.15248
10-07 14:37:46.882   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4268.15 r 0.740442 b 0.7017: 4.67169
10-07 14:37:46.882   360  1602 D libcamera: DEBUG RPiCcm ccm.cpp:151 colour temperature 4000K
10-07 14:37:46.883   360  1602 D libcamera: DEBUG RPiCcm ccm.cpp:153 CCM: 1.82464 -0.449828 -0.37482     -0.454665 1.61834 -0.163677     0.0217996 -0.939713 1.91791
10-07 14:37:46.883   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4268.15 r 0.748057 b 0.707216: 5.23271
10-07 14:37:46.883   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4268.15 r 0.755673 b 0.712733: 5.83299
10-07 14:37:46.883   360  1602 D libcamera: DEBUG IPARPI raspberrypi.cpp:1068 Applying WB R: 1.27095 B: 1.47244
10-07 14:37:46.883   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4268.15 r 0.763289 b 0.718249: 6.47013
10-07 14:37:46.883   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4268.15 r 0.770905 b 0.723765: 7.14188
10-07 14:37:46.883   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4268.15 r 0.778521 b 0.729281: 7.84609
10-07 14:37:46.884   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4268.15 r 0.786137 b 0.734797: 8.58075
10-07 14:37:46.884   360   455 D libcamera: DEBUG RPiAwb awb.cpp:541 Finally 4268.15 r 0.72521 b 0.690668: 3.67776 BEST
10-07 14:37:46.884   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4276.81 r 0.724349 b 0.691857: 3.66605
10-07 14:37:46.884   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4276.81 r 0.731964 b 0.697373: 4.14197
10-07 14:37:46.884   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4276.81 r 0.73958 b 0.702889: 4.66239
10-07 14:37:46.884   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4276.81 r 0.747196 b 0.708405: 5.2246
10-07 14:37:46.885   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4276.81 r 0.754812 b 0.713921: 5.82607
10-07 14:37:46.885   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4276.81 r 0.762428 b 0.719438: 6.4644
10-07 14:37:46.885   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4276.81 r 0.770044 b 0.724954: 7.13731
10-07 14:37:46.885   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4276.81 r 0.77766 b 0.73047: 7.84268
10-07 14:37:46.885   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4276.81 r 0.785276 b 0.735986: 8.57849
10-07 14:37:46.886   360   455 D libcamera: DEBUG RPiAwb awb.cpp:541 Finally 4276.81 r 0.724349 b 0.691857: 3.66605 BEST
10-07 14:37:46.886   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4285.46 r 0.723487 b 0.693046: 3.65563
10-07 14:37:46.886   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4285.46 r 0.731103 b 0.698562: 4.13267
10-07 14:37:46.886   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4285.46 r 0.738719 b 0.704078: 4.65422
10-07 14:37:46.886   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4285.46 r 0.746335 b 0.709594: 5.21757
10-07 14:37:46.887   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4285.46 r 0.753951 b 0.71511: 5.82017
10-07 14:37:46.887   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4285.46 r 0.761567 b 0.720627: 6.45962
10-07 14:37:46.887   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4285.46 r 0.769183 b 0.726143: 7.13366
10-07 14:37:46.888   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4285.46 r 0.776799 b 0.731659: 7.84014
10-07 14:37:46.888   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4285.46 r 0.784415 b 0.737175: 8.57704
10-07 14:37:46.888   360   455 D libcamera: DEBUG RPiAwb awb.cpp:541 Finally 4285.46 r 0.723487 b 0.693046: 3.65563 BEST
10-07 14:37:46.888   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4294.12 r 0.722626 b 0.694234: 3.64646
10-07 14:37:46.888   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4294.12 r 0.730242 b 0.699751: 4.12457
10-07 14:37:46.889   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1398 Input re-queue to ISP, buffer id 1, timestamp: 81474956000
10-07 14:37:46.889   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4294.12 r 0.737858 b 0.705267: 4.64718
10-07 14:37:46.889   360   442 D libcamera: DEBUG RPISTREAM rpi_stream.cpp:226 Queuing buffer -1 for ISP Input
10-07 14:37:46.889   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4294.12 r 0.745474 b 0.710783: 5.2116
10-07 14:37:46.889   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4294.12 r 0.75309 b 0.716299: 5.81528
10-07 14:37:46.889   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4294.12 r 0.760706 b 0.721815: 6.4558
10-07 14:37:46.889   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4294.12 r 0.768322 b 0.727332: 7.1309
10-07 14:37:46.889   360   442 D libcamera: DEBUG V4L2 v4l2_videodevice.cpp:1593 /dev/video13[16:out]: Queueing buffer 1
10-07 14:37:46.890   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4294.12 r 0.775938 b 0.732848: 7.83844
10-07 14:37:46.890   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4294.12 r 0.783554 b 0.738364: 8.57639
10-07 14:37:46.890   360   455 D libcamera: DEBUG RPiAwb awb.cpp:541 Finally 4294.12 r 0.722626 b 0.694234: 3.64646 BEST
10-07 14:37:46.890   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4302.78 r 0.721765 b 0.695423: 3.63856
10-07 14:37:46.891   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4302.78 r 0.729381 b 0.70094: 4.11765
10-07 14:37:46.891   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4302.78 r 0.736997 b 0.706456: 4.64127
10-07 14:37:46.891   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4302.78 r 0.744613 b 0.711972: 5.2067
10-07 14:37:46.891   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4302.78 r 0.752229 b 0.717488: 5.81139
10-07 14:37:46.892   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4302.78 r 0.759845 b 0.723004: 6.45293
10-07 14:37:46.892   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4302.78 r 0.767461 b 0.728521: 7.12904
10-07 14:37:46.892   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4302.78 r 0.775077 b 0.734037: 7.83759
10-07 14:37:46.892   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4302.78 r 0.782692 b 0.739553: 8.57655
10-07 14:37:46.892   360   455 D libcamera: DEBUG RPiAwb awb.cpp:541 Finally 4302.78 r 0.721765 b 0.695423: 3.63856 BEST
10-07 14:37:46.893   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4311.44 r 0.720904 b 0.696612: 3.6319
10-07 14:37:46.893   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4311.44 r 0.72852 b 0.702128: 4.11192
10-07 14:37:46.893   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4311.44 r 0.736136 b 0.707645: 4.63648
10-07 14:37:46.893   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4311.44 r 0.743752 b 0.713161: 5.20286
10-07 14:37:46.893   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4311.44 r 0.751368 b 0.718677: 5.8085
10-07 14:37:46.894   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4311.44 r 0.758984 b 0.724193: 6.451
10-07 14:37:46.894   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4311.44 r 0.7666 b 0.729709: 7.12808
10-07 14:37:46.894   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4311.44 r 0.774215 b 0.735226: 7.83758
10-07 14:37:46.894   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4311.44 r 0.781831 b 0.740742: 8.5775
10-07 14:37:46.894   360   455 D libcamera: DEBUG RPiAwb awb.cpp:541 Finally 4311.44 r 0.720904 b 0.696612: 3.6319 BEST
10-07 14:37:46.895   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4320.09 r 0.720043 b 0.697801: 3.6265
10-07 14:37:46.895   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4320.09 r 0.727659 b 0.703317: 4.10737
10-07 14:37:46.895   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4320.09 r 0.735275 b 0.708834: 4.6328
10-07 14:37:46.895   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4320.09 r 0.742891 b 0.71435: 5.20006
10-07 14:37:46.895   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4320.09 r 0.750507 b 0.719866: 5.80661
10-07 14:37:46.895   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4320.09 r 0.758123 b 0.725382: 6.45001
10-07 14:37:46.896   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4320.09 r 0.765738 b 0.730898: 7.12799
10-07 14:37:46.896   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4320.09 r 0.773354 b 0.736415: 7.83841
10-07 14:37:46.896   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4320.09 r 0.78097 b 0.741931: 8.57924
10-07 14:37:46.896   360   455 D libcamera: DEBUG RPiAwb awb.cpp:541 Finally 4320.09 r 0.720043 b 0.697801: 3.6265 BEST
10-07 14:37:46.896   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4328.75 r 0.719182 b 0.69899: 3.62233
10-07 14:37:46.897   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4328.75 r 0.726798 b 0.704506: 4.10398
10-07 14:37:46.897   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4328.75 r 0.734414 b 0.710022: 4.63022
10-07 14:37:46.897   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4328.75 r 0.74203 b 0.715539: 5.19832
10-07 14:37:46.897   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4328.75 r 0.749645 b 0.721055: 5.8057
10-07 14:37:46.897   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4328.75 r 0.757261 b 0.726571: 6.44995
10-07 14:37:46.898   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4328.75 r 0.764877 b 0.732087: 7.12879
10-07 14:37:46.898   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4328.75 r 0.772493 b 0.737603: 7.84007
10-07 14:37:46.898   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4328.75 r 0.780109 b 0.74312: 8.58176
10-07 14:37:46.898   360   455 D libcamera: DEBUG RPiAwb awb.cpp:541 Finally 4328.75 r 0.719182 b 0.69899: 3.62233 BEST
10-07 14:37:46.898   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4337.41 r 0.718321 b 0.700179: 3.61939
10-07 14:37:46.899   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4337.41 r 0.725937 b 0.705695: 4.10177
10-07 14:37:46.899   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4337.41 r 0.733553 b 0.711211: 4.62875
10-07 14:37:46.899   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4337.41 r 0.741168 b 0.716728: 5.19761
10-07 14:37:46.899   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4337.41 r 0.748784 b 0.722244: 5.80577
10-07 14:37:46.899   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4337.41 r 0.7564 b 0.72776: 6.45082
10-07 14:37:46.899   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4337.41 r 0.764016 b 0.733276: 7.13047
10-07 14:37:46.900   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4337.41 r 0.771632 b 0.738792: 7.84256
10-07 14:37:46.900   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4337.41 r 0.779248 b 0.744309: 8.58506
10-07 14:37:46.900   360   455 D libcamera: DEBUG RPiAwb awb.cpp:541 Finally 4337.41 r 0.718321 b 0.700179: 3.61939 BEST
10-07 14:37:46.900   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4346.07 r 0.71746 b 0.701368: 3.61768
10-07 14:37:46.900   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4346.07 r 0.725076 b 0.706884: 4.10071
10-07 14:37:46.901   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4346.07 r 0.732691 b 0.7124: 4.62837
10-07 14:37:46.901   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4346.07 r 0.740307 b 0.717916: 5.19793
10-07 14:37:46.901   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4346.07 r 0.747923 b 0.723433: 5.80682
10-07 14:37:46.901   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4346.07 r 0.755539 b 0.728949: 6.45261
10-07 14:37:46.901   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4346.07 r 0.763155 b 0.734465: 7.13302
10-07 14:37:46.902   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4346.07 r 0.770771 b 0.739981: 7.84587
10-07 14:37:46.902   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4346.07 r 0.778387 b 0.745497: 8.58914
10-07 14:37:46.902   360   455 D libcamera: DEBUG RPiAwb awb.cpp:541 Finally 4346.07 r 0.71746 b 0.701368: 3.61768 BEST
10-07 14:37:46.902   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4354.72 r 0.716598 b 0.702557: 3.61719
10-07 14:37:46.902   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4354.72 r 0.724214 b 0.708073: 4.1008
10-07 14:37:46.903   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4354.72 r 0.73183 b 0.713589: 4.62908
10-07 14:37:46.903   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4354.72 r 0.739446 b 0.719105: 5.19929
10-07 14:37:46.903   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4354.72 r 0.747062 b 0.724622: 5.80885
10-07 14:37:46.903   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4354.72 r 0.754678 b 0.730138: 6.45532
10-07 14:37:46.903   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4354.72 r 0.762294 b 0.735654: 7.13643
10-07 14:37:46.903   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4354.72 r 0.76991 b 0.74117: 7.85
10-07 14:37:46.904   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4354.72 r 0.777526 b 0.746686: 8.59399
10-07 14:37:46.904   360   455 D libcamera: DEBUG RPiAwb awb.cpp:541 Finally 4354.72 r 0.716598 b 0.702557: 3.61719 BEST
10-07 14:37:46.904   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4363.38 r 0.715737 b 0.703746: 3.61791
10-07 14:37:46.904   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4363.38 r 0.723353 b 0.709262: 4.10204
10-07 14:37:46.904   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4363.38 r 0.730969 b 0.714778: 4.63087
10-07 14:37:46.905   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4363.38 r 0.738585 b 0.720294: 5.20166
10-07 14:37:46.905   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4363.38 r 0.746201 b 0.72581: 5.81183
10-07 14:37:46.905   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4363.38 r 0.753817 b 0.731327: 6.45894
10-07 14:37:46.905   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4363.38 r 0.761433 b 0.736843: 7.1407
10-07 14:37:46.905   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4363.38 r 0.769049 b 0.742359: 7.85494
10-07 14:37:46.906   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4363.38 r 0.776665 b 0.747875: 8.59961
10-07 14:37:46.906   360   455 D libcamera: DEBUG RPiAwb awb.cpp:541 Finally 4363.38 r 0.715737 b 0.703746: 3.61791
10-07 14:37:46.906   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4372.04 r 0.714876 b 0.704935: 3.61984
10-07 14:37:46.906   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4372.04 r 0.722492 b 0.710451: 4.10442
10-07 14:37:46.907   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4372.04 r 0.730108 b 0.715967: 4.63374
10-07 14:37:46.907   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4372.04 r 0.737724 b 0.721483: 5.20506
10-07 14:37:46.907   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4372.04 r 0.74534 b 0.726999: 5.81578
10-07 14:37:46.907   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4372.04 r 0.752956 b 0.732516: 6.46347
10-07 14:37:46.907   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4372.04 r 0.760572 b 0.738032: 7.14583
10-07 14:37:46.908   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4372.04 r 0.768188 b 0.743548: 7.86068
10-07 14:37:46.908   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4372.04 r 0.775804 b 0.749064: 8.60599
10-07 14:37:46.908   360   455 D libcamera: DEBUG RPiAwb awb.cpp:541 Finally 4372.04 r 0.714876 b 0.704935: 3.61984
10-07 14:37:46.908   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4380.7 r 0.714015 b 0.706123: 3.62297
10-07 14:37:46.908   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4380.7 r 0.721631 b 0.71164: 4.10793
10-07 14:37:46.909   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4380.7 r 0.729247 b 0.717156: 4.63768
10-07 14:37:46.909   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4380.7 r 0.736863 b 0.722672: 5.20946
10-07 14:37:46.909   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4380.7 r 0.744479 b 0.728188: 5.82069
10-07 14:37:46.909   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4380.7 r 0.752095 b 0.733704: 6.4689
10-07 14:37:46.909   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4380.7 r 0.759711 b 0.739221: 7.15181
10-07 14:37:46.910   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4380.7 r 0.767327 b 0.744737: 7.86723
10-07 14:37:46.910   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4380.7 r 0.774942 b 0.750253: 8.61312
10-07 14:37:46.910   360   455 D libcamera: DEBUG RPiAwb awb.cpp:541 Finally 4380.7 r 0.714015 b 0.706123: 3.62297
10-07 14:37:46.910   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4389.35 r 0.713154 b 0.707312: 3.6273
10-07 14:37:46.910   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4389.35 r 0.72077 b 0.712829: 4.11257
10-07 14:37:46.911   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4389.35 r 0.728386 b 0.718345: 4.64269
10-07 14:37:46.911   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4389.35 r 0.736002 b 0.723861: 5.21488
10-07 14:37:46.911   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4389.35 r 0.743618 b 0.729377: 5.82654
10-07 14:37:46.911   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4389.35 r 0.751234 b 0.734893: 6.47523
10-07 14:37:46.911   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4389.35 r 0.758849 b 0.74041: 7.15864
10-07 14:37:46.911   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4389.35 r 0.766465 b 0.745926: 7.87458
10-07 14:37:46.912   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4389.35 r 0.774081 b 0.751442: 8.62101
10-07 14:37:46.912   360   455 D libcamera: DEBUG RPiAwb awb.cpp:541 Finally 4389.35 r 0.713154 b 0.707312: 3.6273
10-07 14:37:46.912   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4398.01 r 0.712293 b 0.708501: 3.63281
10-07 14:37:46.912   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4398.01 r 0.719909 b 0.714017: 4.11834
10-07 14:37:46.912   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4398.01 r 0.727525 b 0.719534: 4.64876
10-07 14:37:46.913   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4398.01 r 0.735141 b 0.72505: 5.2213
10-07 14:37:46.913   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4398.01 r 0.742757 b 0.730566: 5.83335
10-07 14:37:46.913   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4398.01 r 0.750372 b 0.736082: 6.48246
10-07 14:37:46.913   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4398.01 r 0.757988 b 0.741598: 7.16631
10-07 14:37:46.913   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4398.01 r 0.765604 b 0.747115: 7.88273
10-07 14:37:46.914   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4398.01 r 0.77322 b 0.752631: 8.62965
10-07 14:37:46.914   360   455 D libcamera: DEBUG RPiAwb awb.cpp:541 Finally 4398.01 r 0.712293 b 0.708501: 3.63281
10-07 14:37:46.914   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4406.67 r 0.711432 b 0.70969: 3.63951
10-07 14:37:46.914   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4406.67 r 0.719048 b 0.715206: 4.12523
10-07 14:37:46.914   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4406.67 r 0.726664 b 0.720723: 4.65588
10-07 14:37:46.915   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4406.67 r 0.73428 b 0.726239: 5.22871
10-07 14:37:46.915   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4406.67 r 0.741895 b 0.731755: 5.84109
10-07 14:37:46.915   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4406.67 r 0.749511 b 0.737271: 6.49057
10-07 14:37:46.915   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4406.67 r 0.757127 b 0.742787: 7.17482
10-07 14:37:46.915   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4406.67 r 0.764743 b 0.748304: 7.89166
10-07 14:37:46.916   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4406.67 r 0.772359 b 0.75382: 8.63904
10-07 14:37:46.916   360   455 D libcamera: DEBUG RPiAwb awb.cpp:541 Finally 4406.67 r 0.711432 b 0.70969: 3.63951
10-07 14:37:46.916   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4415.33 r 0.710571 b 0.710879: 3.64739
10-07 14:37:46.916   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4415.33 r 0.718187 b 0.716395: 4.13323
10-07 14:37:46.916   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4415.33 r 0.725802 b 0.721911: 4.66406
10-07 14:37:46.916   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4415.33 r 0.733418 b 0.727428: 5.23712
10-07 14:37:46.917   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4415.33 r 0.741034 b 0.732944: 5.84977
10-07 14:37:46.917   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4415.33 r 0.74865 b 0.73846: 6.49956
10-07 14:37:46.917   360   442 D libcamera: DEBUG V4L2 v4l2_videodevice.cpp:1661 /dev/video13[16:out]: Dequeuing buffer 1
10-07 14:37:46.917   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4415.33 r 0.756266 b 0.743976: 7.18416
10-07 14:37:46.917   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1509 Stream ISP Input buffer complete, buffer id 1, timestamp: 81474956000
10-07 14:37:46.917   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4415.33 r 0.763882 b 0.749492: 7.90138
10-07 14:37:46.917   360   442 D libcamera: DEBUG RPISTREAM rpi_stream.cpp:226 Queuing buffer 1 for Unicam Image
10-07 14:37:46.918   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4415.33 r 0.771498 b 0.755009: 8.64917
10-07 14:37:46.918   360   442 D libcamera: DEBUG V4L2 v4l2_videodevice.cpp:1593 /dev/video0[15:cap]: Queueing buffer 1
10-07 14:37:46.918   360   455 D libcamera: DEBUG RPiAwb awb.cpp:541 Finally 4415.33 r 0.710571 b 0.710879: 3.64739
10-07 14:37:46.918   360   442 D libcamera: DEBUG V4L2 v4l2_videodevice.cpp:1661 /dev/video14[17:cap]: Dequeuing buffer 1
10-07 14:37:46.918   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4423.98 r 0.70971 b 0.712068: 3.65645
10-07 14:37:46.918   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1537 Stream ISP Output0 buffer complete, buffer id 1, timestamp: 81474956000
10-07 14:37:46.918   360   442 D libcamera: DEBUG RPISTREAM rpi_stream.cpp:226 Queuing buffer 1 for ISP Output0
10-07 14:37:46.919   360   442 D libcamera: DEBUG V4L2 v4l2_videodevice.cpp:1593 /dev/video14[17:cap]: Queueing buffer 1
10-07 14:37:46.918   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4423.98 r 0.717325 b 0.717584: 4.14234
10-07 14:37:46.919   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4423.98 r 0.724941 b 0.7231: 4.67329
10-07 14:37:46.919   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4423.98 r 0.732557 b 0.728617: 5.24651
10-07 14:37:46.919   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4423.98 r 0.740173 b 0.734133: 5.85938
10-07 14:37:46.919   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4423.98 r 0.747789 b 0.739649: 6.50943
10-07 14:37:46.920   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4423.98 r 0.755405 b 0.745165: 7.19433
10-07 14:37:46.920   360   442 D libcamera: DEBUG V4L2 v4l2_videodevice.cpp:1661 /dev/video15[18:cap]: Dequeuing buffer 1
10-07 14:37:46.920   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4423.98 r 0.763021 b 0.750681: 7.91189
10-07 14:37:46.920   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1537 Stream ISP Output1 buffer complete, buffer id 1, timestamp: 81474956000
10-07 14:37:46.920   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4423.98 r 0.770637 b 0.756198: 8.66003
10-07 14:37:46.920   360   442 D libcamera: DEBUG V4L2 v4l2_videodevice.cpp:1661 /dev/video16[19:cap]: Dequeuing buffer 1
10-07 14:37:46.920   360   455 D libcamera: DEBUG RPiAwb awb.cpp:541 Finally 4423.98 r 0.70971 b 0.712068: 3.65645
10-07 14:37:46.920   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1537 Stream ISP Stats buffer complete, buffer id 1, timestamp: 81474956000
10-07 14:37:46.920   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4432.64 r 0.708848 b 0.713257: 3.66667
10-07 14:37:46.920   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4432.64 r 0.716464 b 0.718773: 4.15255
10-07 14:37:46.921   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4432.64 r 0.72408 b 0.724289: 4.68355
10-07 14:37:46.921   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4432.64 r 0.731696 b 0.729805: 5.25689
10-07 14:37:46.921   360  1602 D libcamera: DEBUG RPiLux lux.cpp:89 : estimated lux 164.242
10-07 14:37:46.921   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4432.64 r 0.739312 b 0.735322: 5.86992
10-07 14:37:46.921   360  1602 D libcamera: DEBUG RPiAwb awb.cpp:299 frame_phase 1
10-07 14:37:46.921   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4432.64 r 0.746928 b 0.740838: 6.52018
10-07 14:37:46.921   360  1602 D libcamera: DEBUG RPiAwb awb.cpp:309 Awb lux value is 164.242
10-07 14:37:46.921   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4432.64 r 0.754544 b 0.746354: 7.20533
10-07 14:37:46.922   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:447 ev 1 fixed_shutter 0.00us fixed_analogue_gain 0
10-07 14:37:46.922   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4432.64 r 0.76216 b 0.75187: 7.92317
10-07 14:37:46.922   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:480 exposure_mode normal constraint_mode normal metering_mode centre-weighted
10-07 14:37:46.922   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4432.64 r 0.769776 b 0.757386: 8.67163
10-07 14:37:46.922   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:578 Initial Y 0.233311 target 0.201027 gives gain 0.857947
10-07 14:37:46.922   360   455 D libcamera: DEBUG RPiAwb awb.cpp:541 Finally 4432.64 r 0.708848 b 0.713257: 3.66667
10-07 14:37:46.922   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:589 Constraint has target_Y 0.625 giving gain 1.03483
10-07 14:37:46.922   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4441.3 r 0.707987 b 0.714446: 3.67806
10-07 14:37:46.922   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:593 Lower bound constraint adopted
10-07 14:37:46.922   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4441.3 r 0.715603 b 0.719962: 4.16386
10-07 14:37:46.922   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:601 Final gain 1.03483 (target_Y 0.625 ev 1 base_ev 1.25)
10-07 14:37:46.923   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4441.3 r 0.723219 b 0.725478: 4.69485
10-07 14:37:46.923   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:635 Target total_exposure 246073.04us
10-07 14:37:46.923   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4441.3 r 0.730835 b 0.730994: 5.26824
10-07 14:37:46.923   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:645 after AWB, target dg 1 gain 1.03483 target_Y 0.625
10-07 14:37:46.923   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4441.3 r 0.738451 b 0.736511: 5.88138
10-07 14:37:46.923   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:658 Digital gain 1 desaturate? 0
10-07 14:37:46.923   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4441.3 r 0.746067 b 0.742027: 6.5318
10-07 14:37:46.923   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:660 Target total_exposure_no_dg 246073.04us
10-07 14:37:46.923   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4441.3 r 0.753683 b 0.747543: 7.21715
10-07 14:37:46.924   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4441.3 r 0.761299 b 0.753059: 7.93523
10-07 14:37:46.924   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4441.3 r 0.768915 b 0.758575: 8.68395
10-07 14:37:46.924   360   455 D libcamera: DEBUG RPiAwb awb.cpp:541 Finally 4441.3 r 0.707987 b 0.714446: 3.67806
10-07 14:37:46.924   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4449.96 r 0.707126 b 0.715635: 3.6906
10-07 14:37:46.924   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4449.96 r 0.714742 b 0.721151: 4.17626
10-07 14:37:46.925   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4449.96 r 0.722358 b 0.726667: 4.70719
10-07 14:37:46.925   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4449.96 r 0.729974 b 0.732183: 5.28057
10-07 14:37:46.925   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4449.96 r 0.73759 b 0.737699: 5.89377
10-07 14:37:46.925   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4449.96 r 0.745206 b 0.743216: 6.54429
10-07 14:37:46.925   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4449.96 r 0.752822 b 0.748732: 7.22979
10-07 14:37:46.925   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4449.96 r 0.760438 b 0.754248: 7.94805
10-07 14:37:46.923   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:700 After filtering, total_exposure 246073.04us no dg 246073.04us
10-07 14:37:46.926   360   455 D libcamera: DEBUG RPiAwb awb.cpp:522 At t 4449.96 r 0.768053 b 0.759764: 8.69701
10-07 14:37:46.926   360   455 D libcamera: DEBUG RPiAwb awb.cpp:541 Finally 4449.96 r 0.707126 b 0.715635: 3.6906
10-07 14:37:46.926   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:745 Divided up shutter and gain are 60000.00us and 4.10122
10-07 14:37:46.926   360   455 D libcamera: DEBUG RPiAwb awb.cpp:551 Fine search found t 4354.72 r 0.716598 b 0.702557
10-07 14:37:46.926   360   455 D libcamera: DEBUG RPiAwb awb.cpp:581 After fine search: r 0.716598 b 0.702557 (gains r 1.39548 b 1.42337)
10-07 14:37:46.926   360   455 D libcamera: DEBUG RPiAwb awb.cpp:634 CT found is 4354.72 with gains r 1.46526 and b 1.49454
10-07 14:37:46.927   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:779 Output written, total exposure requested is 246073.04us
10-07 14:37:46.927   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:781 Camera exposure update: shutter time 60000.00us analogue gain 4.10122
10-07 14:37:46.927   360  1602 D libcamera: DEBUG RPiAlsc alsc.cpp:361 frame_phase 1
10-07 14:37:46.927   360  1602 D libcamera: DEBUG RPiAlsc alsc.cpp:296 Starting ALSC calculation
10-07 14:37:46.928   360  1602 D libcamera: DEBUG RPiAlsc alsc.cpp:273 AWB results found, using 4000
10-07 14:37:46.929   360  1602 D libcamera: DEBUG RPiContrast contrast.cpp:105 Move histogram point 1257.28 to 983.04
10-07 14:37:46.929   360   456 D libcamera: DEBUG RPiAlsc alsc.cpp:413 ct is 4000, interpolating between 3000 and 5000
10-07 14:37:46.929   360  1602 D libcamera: DEBUG RPiContrast contrast.cpp:110 Final values 1257.28 -> 983.04
10-07 14:37:46.929   360   456 D libcamera: DEBUG RPiAlsc alsc.cpp:413 ct is 4000, interpolating between 3000 and 5000
10-07 14:37:46.929   360  1602 D libcamera: DEBUG RPiContrast contrast.cpp:123 Move histogram point 37032.2 to 62259.2
10-07 14:37:46.930   360  1602 D libcamera: DEBUG RPiContrast contrast.cpp:128 Final values 60259.2 -> 62259.2
10-07 14:37:46.930   360   456 D libcamera: DEBUG RPiAlsc alsc.cpp:666 Stop after 8 iterations
10-07 14:37:46.930   360  1602 D libcamera: DEBUG IPARPI raspberrypi.cpp:1121 Applying AGC Exposure: 59967.77us (Shutter lines: 1845, AGC requested 60000.00us) Gain: 4.10122 (Gain Code: 65)
10-07 14:37:46.930   360   456 D libcamera: DEBUG RPiAlsc alsc.cpp:666 Stop after 4 iterations
10-07 14:37:46.930   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:179 Queuing Vertical Blanking to 24 at index 9
10-07 14:37:46.931   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:179 Queuing Exposure to 1845 at index 9
10-07 14:37:46.931   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:179 Queuing Analogue Gain to 65 at index 9
10-07 14:37:46.931   360   442 D libcamera: DEBUG RPISTREAM rpi_stream.cpp:226 Queuing buffer 1 for ISP Stats
10-07 14:37:46.931   360   442 D libcamera: DEBUG V4L2 v4l2_videodevice.cpp:1593 /dev/video16[19:cap]: Queueing buffer 1
10-07 14:37:46.931   360   442 I libcamera:  INFO RPI raspberrypi.cpp:1683 Dropping frame at the request of the IPA (0 left)
10-07 14:37:46.941   360   442 D libcamera: DEBUG V4L2 v4l2_videodevice.cpp:1661 /dev/video0[15:cap]: Dequeuing buffer 2
10-07 14:37:46.941   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1481 Stream Unicam Image buffer dequeue, buffer id 2, timestamp: 81538924000
10-07 14:37:46.941   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:217 Reading Analogue Gain to 84 at index 6
10-07 14:37:46.941   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:217 Reading Exposure to 1845 at index 6
10-07 14:37:46.942   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:217 Reading Vertical Blanking to 24 at index 6
10-07 14:37:46.942   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1832 Could not find matching embedded buffer
10-07 14:37:46.942   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1839 Returning bayer frame without a match
10-07 14:37:46.942   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1776 Signalling signalIspPrepare: Bayer buffer id: 2
10-07 14:37:46.942   360  1602 I libcamera:  INFO IPARPI raspberrypi.cpp:626 Request ctrl: ScalerCrop = (0x0)/2592x1944
10-07 14:37:46.943   360  1602 D libcamera: DEBUG IPARPI raspberrypi.cpp:1038 Metadata - Exposure: 59967.77us Frame length: 1968 Gain: 5.25 Aperture: 0 Lens: 0 Flash: 0
10-07 14:37:46.943   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1281 frame start 9
10-07 14:37:46.943   360  1602 D libcamera: DEBUG RPiDpc dpc.cpp:44 strength 1
10-07 14:37:46.943   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:237 frame 9 started
10-07 14:37:46.943   360  1602 D libcamera: DEBUG RPiNoise noise.cpp:64 constant 0 slope 9.73797
10-07 14:37:46.943   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:272 Setting Analogue Gain to 65 at index 9
10-07 14:37:46.943   360  1602 D libcamera: DEBUG RPiGeq geq.cpp:68 offset 2105 slope 0.294997 (analogue gain 5.25 lux 164.242)
10-07 14:37:46.944   360  1602 D libcamera: DEBUG RPiSdn sdn.cpp:49 Noise profile: constant 0 slope 9.73797
10-07 14:37:46.944   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:272 Setting Exposure to 1845 at index 9
10-07 14:37:46.944   360  1602 D libcamera: DEBUG RPiSdn sdn.cpp:58 programmed constant 0 slope 31.1615 strength 0.75
10-07 14:37:46.944   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:272 Setting Vertical Blanking to 24 at index 9
10-07 14:37:46.944   360  1602 D libcamera: DEBUG RPiAwb awb.cpp:268 frame_count 9 speed 1
10-07 14:37:46.944   360  1602 D libcamera: DEBUG RPiAwb awb.cpp:229 Fetch AWB results
10-07 14:37:46.944   360  1602 D libcamera: DEBUG RPiAwb awb.cpp:288 Using AWB gains r 1.46526 g 1 b 1.49454
10-07 14:37:46.945   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:352 Want total exposure 246073.04us
10-07 14:37:46.945   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:358 Actual exposure 314830.80us
10-07 14:37:46.945   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:359 Use digital_gain 1
10-07 14:37:46.945   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:360 Effective exposure 314830.80us
10-07 14:37:46.945   360  1602 D libcamera: DEBUG RPiAgc agc.cpp:430 Lock count updated to 0
10-07 14:37:46.946   360  1602 D libcamera: DEBUG RPiAlsc alsc.cpp:332 frame_count 9 speed 1
10-07 14:37:46.946   360  1602 D libcamera: DEBUG RPiAlsc alsc.cpp:259 Fetch ALSC results
10-07 14:37:46.946   360  1602 D libcamera: DEBUG RPiCcm ccm.cpp:151 colour temperature 4354.72K
10-07 14:37:46.946   360  1602 D libcamera: DEBUG RPiCcm ccm.cpp:153 CCM: 1.84317 -0.460821 -0.382354     -0.445676 1.66244 -0.216759     0.0338557 -0.883459 1.8496
10-07 14:37:46.946   360  1602 D libcamera: DEBUG IPARPI raspberrypi.cpp:1068 Applying WB R: 1.46526 B: 1.49454
10-07 14:37:46.950   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1398 Input re-queue to ISP, buffer id 2, timestamp: 81538924000
10-07 14:37:46.950   360   442 D libcamera: DEBUG RPISTREAM rpi_stream.cpp:226 Queuing buffer -1 for ISP Input
10-07 14:37:46.950   360   442 D libcamera: DEBUG V4L2 v4l2_videodevice.cpp:1593 /dev/video13[16:out]: Queueing buffer 2
10-07 14:37:47.005   360   442 D libcamera: DEBUG V4L2 v4l2_videodevice.cpp:1661 /dev/video0[15:cap]: Dequeuing buffer 0
10-07 14:37:47.005   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1481 Stream Unicam Image buffer dequeue, buffer id 0, timestamp: 81602897000
10-07 14:37:47.006   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:217 Reading Analogue Gain to 89 at index 7
10-07 14:37:47.006   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:217 Reading Exposure to 1845 at index 7
10-07 14:37:47.006   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:217 Reading Vertical Blanking to 24 at index 7
10-07 14:37:47.007   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1281 frame start 10
10-07 14:37:47.007   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:237 frame 10 started
10-07 14:37:47.007   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:285 Queue is empty, auto queue no-op.
10-07 14:37:47.069   360   442 D libcamera: DEBUG V4L2 v4l2_videodevice.cpp:1661 /dev/video0[15:cap]: Dequeuing buffer 1
10-07 14:37:47.069   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1481 Stream Unicam Image buffer dequeue, buffer id 1, timestamp: 81666857000
10-07 14:37:47.070   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:217 Reading Analogue Gain to 53 at index 8
10-07 14:37:47.070   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:217 Reading Exposure to 922 at index 8
10-07 14:37:47.070   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:217 Reading Vertical Blanking to 24 at index 8
10-07 14:37:47.071   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1281 frame start 11
10-07 14:37:47.071   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:237 frame 11 started
10-07 14:37:47.071   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:285 Queue is empty, auto queue no-op.
10-07 14:37:47.133   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1281 frame start 12
10-07 14:37:47.134   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:237 frame 12 started
10-07 14:37:47.134   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:285 Queue is empty, auto queue no-op.
10-07 14:37:47.197   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1281 frame start 13
10-07 14:37:47.198   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:237 frame 13 started
10-07 14:37:47.198   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:285 Queue is empty, auto queue no-op.
10-07 14:37:47.261   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1281 frame start 14
10-07 14:37:47.262   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:237 frame 14 started
10-07 14:37:47.262   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:285 Queue is empty, auto queue no-op.
10-07 14:37:47.325   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1281 frame start 15
10-07 14:37:47.326   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:237 frame 15 started
10-07 14:37:47.326   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:285 Queue is empty, auto queue no-op.
10-07 14:37:47.389   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1281 frame start 16
10-07 14:37:47.390   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:237 frame 16 started
10-07 14:37:47.390   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:285 Queue is empty, auto queue no-op.
10-07 14:37:47.454   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1281 frame start 17
10-07 14:37:47.454   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:237 frame 17 started
10-07 14:37:47.455   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:285 Queue is empty, auto queue no-op.
10-07 14:37:47.517   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1281 frame start 18
10-07 14:37:47.517   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:237 frame 18 started
10-07 14:37:47.518   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:285 Queue is empty, auto queue no-op.
10-07 14:37:47.581   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1281 frame start 19
10-07 14:37:47.581   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:237 frame 19 started
10-07 14:37:47.582   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:285 Queue is empty, auto queue no-op.
10-07 14:37:47.645   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1281 frame start 20
10-07 14:37:47.645   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:237 frame 20 started
10-07 14:37:47.646   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:285 Queue is empty, auto queue no-op.
10-07 14:37:47.709   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1281 frame start 21
10-07 14:37:47.709   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:237 frame 21 started
10-07 14:37:47.709   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:285 Queue is empty, auto queue no-op.
10-07 14:37:47.773   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1281 frame start 22
10-07 14:37:47.773   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:237 frame 22 started
10-07 14:37:47.773   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:285 Queue is empty, auto queue no-op.
10-07 14:37:47.837   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1281 frame start 23
10-07 14:37:47.837   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:237 frame 23 started
10-07 14:37:47.837   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:285 Queue is empty, auto queue no-op.
10-07 14:37:47.901   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1281 frame start 24
10-07 14:37:47.901   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:237 frame 24 started
10-07 14:37:47.901   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:285 Queue is empty, auto queue no-op.
10-07 14:37:47.965   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1281 frame start 25
10-07 14:37:47.965   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:237 frame 25 started
10-07 14:37:47.965   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:285 Queue is empty, auto queue no-op.
10-07 14:37:48.029   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1281 frame start 26
10-07 14:37:48.029   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:237 frame 26 started
10-07 14:37:48.029   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:285 Queue is empty, auto queue no-op.
10-07 14:37:48.093   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1281 frame start 27
10-07 14:37:48.093   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:237 frame 27 started
10-07 14:37:48.093   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:285 Queue is empty, auto queue no-op.
10-07 14:37:48.157   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1281 frame start 28
10-07 14:37:48.157   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:237 frame 28 started
10-07 14:37:48.157   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:285 Queue is empty, auto queue no-op.
10-07 14:37:48.221   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1281 frame start 29
10-07 14:37:48.221   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:237 frame 29 started
10-07 14:37:48.221   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:285 Queue is empty, auto queue no-op.
10-07 14:37:48.285   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1281 frame start 30
10-07 14:37:48.285   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:237 frame 30 started
10-07 14:37:48.285   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:285 Queue is empty, auto queue no-op.
10-07 14:37:48.349   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1281 frame start 31
10-07 14:37:48.349   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:237 frame 31 started
10-07 14:37:48.349   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:285 Queue is empty, auto queue no-op.
10-07 14:37:48.413   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1281 frame start 32
10-07 14:37:48.413   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:237 frame 32 started
10-07 14:37:48.413   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:285 Queue is empty, auto queue no-op.
10-07 14:37:48.477   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1281 frame start 33
10-07 14:37:48.477   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:237 frame 33 started
10-07 14:37:48.477   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:285 Queue is empty, auto queue no-op.
10-07 14:37:48.541   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1281 frame start 34
10-07 14:37:48.541   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:237 frame 34 started
10-07 14:37:48.541   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:285 Queue is empty, auto queue no-op.
10-07 14:37:48.605   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1281 frame start 35
10-07 14:37:48.605   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:237 frame 35 started
10-07 14:37:48.605   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:285 Queue is empty, auto queue no-op.
10-07 14:37:48.669   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1281 frame start 36
10-07 14:37:48.669   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:237 frame 36 started
10-07 14:37:48.669   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:285 Queue is empty, auto queue no-op.
10-07 14:37:48.733   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1281 frame start 37
10-07 14:37:48.733   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:237 frame 37 started
10-07 14:37:48.733   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:285 Queue is empty, auto queue no-op.
10-07 14:37:48.797   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1281 frame start 38
10-07 14:37:48.797   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:237 frame 38 started
10-07 14:37:48.797   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:285 Queue is empty, auto queue no-op.
10-07 14:37:48.877   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1281 frame start 39
10-07 14:37:48.877   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:237 frame 39 started
10-07 14:37:48.877   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:285 Queue is empty, auto queue no-op.
10-07 14:37:48.924   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1281 frame start 40
10-07 14:37:48.925   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:237 frame 40 started
10-07 14:37:48.925   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:285 Queue is empty, auto queue no-op.
10-07 14:37:48.988   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1281 frame start 41
10-07 14:37:48.989   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:237 frame 41 started
10-07 14:37:48.989   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:285 Queue is empty, auto queue no-op.
10-07 14:37:49.052   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1281 frame start 42
10-07 14:37:49.053   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:237 frame 42 started
10-07 14:37:49.053   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:285 Queue is empty, auto queue no-op.
10-07 14:37:49.116   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1281 frame start 43
10-07 14:37:49.117   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:237 frame 43 started
10-07 14:37:49.117   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:285 Queue is empty, auto queue no-op.
10-07 14:37:49.180   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1281 frame start 44
10-07 14:37:49.181   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:237 frame 44 started
10-07 14:37:49.181   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:285 Queue is empty, auto queue no-op.
10-07 14:37:49.244   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1281 frame start 45
10-07 14:37:49.245   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:237 frame 45 started
10-07 14:37:49.245   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:285 Queue is empty, auto queue no-op.
10-07 14:37:49.308   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1281 frame start 46
10-07 14:37:49.309   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:237 frame 46 started
10-07 14:37:49.309   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:285 Queue is empty, auto queue no-op.
10-07 14:37:49.372   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1281 frame start 47
10-07 14:37:49.372   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:237 frame 47 started
10-07 14:37:49.373   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:285 Queue is empty, auto queue no-op.
10-07 14:37:49.436   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1281 frame start 48
10-07 14:37:49.436   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:237 frame 48 started
10-07 14:37:49.437   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:285 Queue is empty, auto queue no-op.
10-07 14:37:49.500   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1281 frame start 49
10-07 14:37:49.500   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:237 frame 49 started
10-07 14:37:49.501   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:285 Queue is empty, auto queue no-op.
10-07 14:37:49.564   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1281 frame start 50
10-07 14:37:49.564   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:237 frame 50 started
10-07 14:37:49.565   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:285 Queue is empty, auto queue no-op.
10-07 14:37:49.628   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1281 frame start 51
10-07 14:37:49.628   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:237 frame 51 started
10-07 14:37:49.629   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:285 Queue is empty, auto queue no-op.
10-07 14:37:49.692   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1281 frame start 52
10-07 14:37:49.692   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:237 frame 52 started
10-07 14:37:49.692   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:285 Queue is empty, auto queue no-op.
10-07 14:37:49.756   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1281 frame start 53
10-07 14:37:49.756   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:237 frame 53 started
10-07 14:37:49.756   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:285 Queue is empty, auto queue no-op.
10-07 14:37:49.820   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1281 frame start 54
10-07 14:37:49.820   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:237 frame 54 started
10-07 14:37:49.820   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:285 Queue is empty, auto queue no-op.
10-07 14:37:49.884   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1281 frame start 55
10-07 14:37:49.884   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:237 frame 55 started
10-07 14:37:49.884   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:285 Queue is empty, auto queue no-op.
10-07 14:37:49.948   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1281 frame start 56
10-07 14:37:49.948   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:237 frame 56 started
10-07 14:37:49.948   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:285 Queue is empty, auto queue no-op.
10-07 14:37:50.012   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1281 frame start 57
10-07 14:37:50.012   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:237 frame 57 started
10-07 14:37:50.012   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:285 Queue is empty, auto queue no-op.
10-07 14:37:50.076   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1281 frame start 58
10-07 14:37:50.076   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:237 frame 58 started
10-07 14:37:50.076   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:285 Queue is empty, auto queue no-op.
10-07 14:37:50.140   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1281 frame start 59
10-07 14:37:50.140   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:237 frame 59 started
10-07 14:37:50.140   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:285 Queue is empty, auto queue no-op.
10-07 14:37:50.204   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1281 frame start 60
10-07 14:37:50.204   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:237 frame 60 started
10-07 14:37:50.204   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:285 Queue is empty, auto queue no-op.
10-07 14:37:50.268   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1281 frame start 61
10-07 14:37:50.268   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:237 frame 61 started
10-07 14:37:50.268   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:285 Queue is empty, auto queue no-op.
10-07 14:37:50.332   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1281 frame start 62
10-07 14:37:50.332   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:237 frame 62 started
10-07 14:37:50.332   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:285 Queue is empty, auto queue no-op.
10-07 14:37:50.396   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1281 frame start 63
10-07 14:37:50.396   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:237 frame 63 started
10-07 14:37:50.396   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:285 Queue is empty, auto queue no-op.
10-07 14:37:50.460   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1281 frame start 64
10-07 14:37:50.460   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:237 frame 64 started
10-07 14:37:50.460   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:285 Queue is empty, auto queue no-op.
10-07 14:37:50.524   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1281 frame start 65
10-07 14:37:50.524   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:237 frame 65 started
10-07 14:37:50.524   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:285 Queue is empty, auto queue no-op.
10-07 14:37:50.588   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1281 frame start 66
10-07 14:37:50.588   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:237 frame 66 started
10-07 14:37:50.588   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:285 Queue is empty, auto queue no-op.
10-07 14:37:50.652   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1281 frame start 67
10-07 14:37:50.652   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:237 frame 67 started
10-07 14:37:50.652   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:285 Queue is empty, auto queue no-op.
10-07 14:37:50.716   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1281 frame start 68
10-07 14:37:50.716   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:237 frame 68 started
10-07 14:37:50.716   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:285 Queue is empty, auto queue no-op.
10-07 14:37:50.780   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1281 frame start 69
10-07 14:37:50.780   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:237 frame 69 started
10-07 14:37:50.780   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:285 Queue is empty, auto queue no-op.
10-07 14:37:50.844   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1281 frame start 70
10-07 14:37:50.844   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:237 frame 70 started
10-07 14:37:50.844   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:285 Queue is empty, auto queue no-op.
10-07 14:37:50.908   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1281 frame start 71
10-07 14:37:50.908   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:237 frame 71 started
10-07 14:37:50.908   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:285 Queue is empty, auto queue no-op.
10-07 14:37:50.971   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1281 frame start 72
10-07 14:37:50.972   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:237 frame 72 started
10-07 14:37:50.972   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:285 Queue is empty, auto queue no-op.
10-07 14:37:51.035   360   442 D libcamera: DEBUG RPI raspberrypi.cpp:1281 frame start 73
10-07 14:37:51.036   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:237 frame 73 started
10-07 14:37:51.036   360   442 D libcamera: DEBUG DelayedControls delayed_controls.cpp:285 Queue is empty, auto queue no-op.

Zero sequence expected for first frame error on Rpi4

OS:
Linux camerapi8 5.15.61-v8+ #1579 SMP PREEMPT Fri Aug 26 11:16:44 BST 2022 aarch64 GNU/Linux

libcamera:


[1:17:14.018313530] [15880]  INFO Camera camera_manager.cpp:293 libcamera v0.0.0+3865-3fad116f
[1:17:14.032367040] [15881]  INFO RPI raspberrypi.cpp:1374 Registered camera /base/soc/i2c0mux/i2c@1/ov5647@36 to Unicam device /dev/media4 and ISP device /dev/media2
[1:17:14.033062467] [15880]  INFO Camera camera.cpp:1035 configuring streams: (0) 1296x972-YUV420
[1:17:14.033441180] [15881]  INFO RPI raspberrypi.cpp:761 Sensor: /base/soc/i2c0mux/i2c@1/ov5647@36 - Selected sensor format: 1296x972-SGBRG10_1X10 - Selected unicam format: 1296x972-pGAA

Error:

Stream configuration adjusted
[0:34:20.004970168] [13509]  INFO Camera camera.cpp:1035 configuring streams: (0) 2592x1944-YUV420 (1) 2592x1944-SGRBG10_CSI2P
[0:34:20.005919105] [13510]  INFO RPI raspberrypi.cpp:761 Sensor: /base/soc/i2c0mux/i2c@1/ov5647@36 - Selected sensor format: 2592x1944-SGRBG10_1X10 - Selected unicam format: 2592x1944-pgAA
TfStage: no low resolution stream
TfStage: Main stream is 2592x1944
 detected
[0:34:20.250307291] [13510]  WARN V4L2 v4l2_videodevice.cpp:1803 /dev/video0[15:cap]: Zero sequence expected for first frame (got 1)

App:
libcamera-apps / libcamera-detect
The program gets stuck at this point, but hasn't crashed.

Use libcamera in docker container

Hello,

I try to use libcamera in docker container, but I got below error messages

root@29f288ba1870:/# gst-device-monitor-1.0
Probing devices...

(gst-device-monitor-1.0:9): GStreamer-CRITICAL **: 07:38:52.786: Trying to stop a GstDeviceProvider libcameraprovider0 which is already stopped
Failed to start device monitor!

root@29f288ba1870:/# gst-device-monitor-1.0 Video
Probing devices...

[1:29:45.684751100] [13]  INFO Camera camera_manager.cpp:293 libcamera v0.0.0+3369-8ff5a8d5
No devices found!

Here is dockerfile used:

FROM ubuntu:20.04

ENV DEBIAN_FRONTEND noninteractive

RUN apt-get update && apt-get --no-install-recommends install -y python3-pip git
RUN apt-get install -y cmake libgnutls28-dev openssl libboost-dev
RUN pip3 install pyyaml ninja meson jinja2 ply
RUN apt-get install -y libgstreamer1.0-0 libgstreamer1.0-dev gstreamer1.0-dev gstreamer1.0-libav gstreamer1.0-tools gstreamer1.0-x gstreamer1.0-plugins-base-apps libgstreamer-plugins-base1.0-dev
    
RUN apt-get install -y libgnutls28-dev openssl libudev-dev libboost-dev qtbase5-dev libqt5core5a libqt5gui5 libqt5widgets5 \
    && pip3 install pyyaml ply jinja2
RUN git clone https://git.libcamera.org/libcamera/libcamera.git \
    && cd libcamera \
    && meson build --buildtype=release -Dpipelines=raspberrypi -Dipas=raspberrypi -Dv4l2=true -Dgstreamer=enabled -Dtest=false -Dlc-compliance=disabled -Dcam=disabled -Dqcam=disabled -Ddocumentation=disabled \
    && ninja -C build install
RUN cp /usr/local/lib/aarch64-linux-gnu/gstreamer-1.0/* /usr/lib/aarch64-linux-gnu/gstreamer-1.0/

CMD [ "gst-device-monitor-1.0", "Video"]

Command used to run the container:
docker run -it --rm --privileged --device /dev/vchiq:/dev/vchiq --device /dev/dri:/dev/dri -v /dev/bus/usb:/dev/bus/usb -v /dev/video0:/dev/video0 -v /dev/video1:/dev/video1 libcamera bash

The libcamera work fine on the host with Raspberry Pi OS, but failed inside container.
Any advise to make libcamera work in docker container? Thank you.

Best regards

Cam utility is not listing the camera in RPI 3B+

Hi

In RDK-C RPI camera image, Added "dtoverlay=imx219" in /boot/config.txt file and rebooted the system.

Once system rebooted , tried to list out available camera in RPI system with 'cam -l' utility.

But it is not listing the camera. After the some prints binary is hanged.

Used latest libcamera revision : 8b02645 (20Jul2022)

Please find below log:
root@raspberrypi3-rdk-camera:~# LIBCAMERA_LOG_LEVELS=*:DEBUG cam -l
[0:15:04.685612102] [3456] DEBUG IPAModule ipa_module.cpp:329 ipa_ipu3.so: IPA module /usr/lib/libcamera/ipa_ipu3.so is signed
[0:15:04.686569081] [3456] DEBUG IPAManager ipa_manager.cpp:240 Loaded IPA module '/usr/lib/libcamera/ipa_ipu3.so'
[0:15:04.687005384] [3456] DEBUG IPAModule ipa_module.cpp:329 ipa_rkisp1.so: IPA module /usr/lib/libcamera/ipa_rkisp1.so is signed
[0:15:04.687380175] [3456] DEBUG IPAManager ipa_manager.cpp:240 Loaded IPA module '/usr/lib/libcamera/ipa_rkisp1.so'
[0:15:04.687923977] [3456] DEBUG IPAModule ipa_module.cpp:329 ipa_rpi.so: IPA module /usr/lib/libcamera/ipa_rpi.so is signed
[0:15:04.688536894] [3456] DEBUG IPAManager ipa_manager.cpp:240 Loaded IPA module '/usr/lib/libcamera/ipa_rpi.so'
[0:15:04.688908821] [3456] DEBUG IPAModule ipa_module.cpp:329 ipa_vimc.so: IPA module /usr/lib/libcamera/ipa_vimc.so is signed
[0:15:04.689244290] [3456] DEBUG IPAManager ipa_manager.cpp:240 Loaded IPA module '/usr/lib/libcamera/ipa_vimc.so'
[0:15:04.689602311] [3456] INFO Camera camera_manager.cpp:293 libcamera v0.0.0
[0:15:04.690210644] [3457] DEBUG Camera camera_manager.cpp:106 Starting camera manager
[0:15:04.704325644] [3457] DEBUG DeviceEnumerator device_enumerator.cpp:224 New media device "bcm2835-codec" created from /dev/media2
[0:15:04.704540644] [3457] DEBUG DeviceEnumerator device_enumerator_udev.cpp:95 Defer media device /dev/media2 due to 3 missing dependencies
[0:15:04.708609342] [3457] DEBUG DeviceEnumerator device_enumerator_udev.cpp:320 All dependencies for media device /dev/media2 found
[0:15:04.708753040] [3457] DEBUG DeviceEnumerator device_enumerator.cpp:252 Added device /dev/media2: bcm2835-codec

Binary is hanged after this print.

#################################################################################################

But able to list out camera in RPI system with oldest libcamera revision

Used libcamera revision : 58d487b(30Oct2020)

Working log:
Working_old_libcamera_log.txt

Any dependency or configurations are needed to list out camera in latest libcamera source code.

A fresh install needs to run ldconfig manually

It would seem that installing libcamera from clean requires a manual invocation of ldconfig to update the ld paths.
I'd expect this to be handled by the install phase, so perhaps something is missing.

Make error compiling mjpg-streamer-libcamera

When building mjpg-streamer-libcamera required to install an Arducam 16 MP IMX519 AF Camera for benefit of Octoprint, I get the following make errors:
The build platform in my case: Octopi nightly build <on Raspbian 11 64 bit Pi 4B/8GB

make[3]: Entering directory '/home/pi/mjpg-streamer-libcamera/mjpg-streamer-experimental/_build'
[ 55%] Building CXX object plugins/input_libcamera/CMakeFiles/input_libcamera.dir/input_libcamera.cpp.o
In file included from /home/pi/mjpg-streamer-libcamera/mjpg-streamer-experimental/plugins/input_libcamera/LibCamera.h:20,
                 from /home/pi/mjpg-streamer-libcamera/mjpg-streamer-experimental/plugins/input_libcamera/input_libcamera.cpp:31:
/usr/include/libcamera/libcamera/controls.h: In instantiation of ‘void libcamera::ControlList::set(const libcamera::Control<T>&, const std::initializer_list<_Up>&) [with T = libcamera::Span<const long long int, 2>; V = long long int]’:
/home/pi/mjpg-streamer-libcamera/mjpg-streamer-experimental/plugins/input_libcamera/input_libcamera.cpp:259:77:   required from here
/usr/include/libcamera/libcamera/controls.h:403:14: error: no matching function for call to ‘libcamera::ControlValue::set<libcamera::Span<const long long int, 2> >(libcamera::Span<const long long int, 4294967295>)’
  403 |   val->set<T>(Span<const typename std::remove_cv_t<V>>{ value.begin(), value.size() });
      |   ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/libcamera/libcamera/controls.h:178:7: note: candidate: ‘template<class T, typename std::enable_if<((! libcamera::details::is_span<U>::value) && (! std::is_same<std::__cxx11::basic_string<char>, typename std::remove_cv< <template-parameter-1-1> >::type>::value)), std::nullptr_t>::type <anonymous> > void libcamera::ControlValue::set(const T&)’
  178 |  void set(const T &value)
      |       ^~~
/usr/include/libcamera/libcamera/controls.h:178:7: note:   template argument deduction/substitution failed:
/usr/include/libcamera/libcamera/controls.h:177:30: error: no type named ‘type’ in ‘struct std::enable_if<false, std::nullptr_t>’
  177 |            std::nullptr_t> = nullptr>
      |                              ^~~~~~~
/usr/include/libcamera/libcamera/controls.h:190:7: note: candidate: ‘template<class T, typename std::enable_if<(libcamera::details::is_span<U>::value || std::is_same<std::__cxx11::basic_string<char>, typename std::remove_cv< <template-parameter-1-1> >::type>::value), std::nullptr_t>::type <anonymous> > void libcamera::ControlValue::set(const T&)’
  190 |  void set(const T &value)
      |       ^~~
/usr/include/libcamera/libcamera/controls.h:190:7: note:   template argument deduction/substitution failed:
/usr/include/libcamera/libcamera/controls.h:403:14: note:   cannot convert ‘libcamera::Span<const long long int, 4294967295>((& value)->std::initializer_list<long long int>::begin(), (& value)->std::initializer_list<long long int>::size())’ (type ‘libcamera::Span<const long long int, 4294967295>’) to type ‘const libcamera::Span<const long long int, 2>&’
  403 |   val->set<T>(Span<const typename std::remove_cv_t<V>>{ value.begin(), value.size() });
      |   ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[3]: *** [plugins/input_libcamera/CMakeFiles/input_libcamera.dir/build.make:82: plugins/input_libcamera/CMakeFiles/input_libcamera.dir/input_libcamera.cpp.o] Error 1

==============
Looks to me like there is an issue with libcamera/controls.h (but don't hit me if this is incorrect, I'm just guessing)
If you need further info to chase this down, please provide me instructions to get it and I'll help as much as I can.

RPi pipeline handler expects V4L2_PIX_FMT_SRGGB10P

Creating an issue here to prevent thread pollution over at
raspberrypi/linux#3220

From @6by9

Is there some magic required to run qcam?
I've compiled your kbingham/rpi branch, it runs, select imx219 0-0010, hit OK, and it crashes

qt5ct: using qt5ct plugin
[0:09:55.710525042] INFO Camera camera_manager.cpp:94 libcamera v0.0.0+708-893f2dde
Using camera imx219 0-0010
[0:10:12.339871854] INFO Camera camera.cpp:666 configuring streams: (0) 320x240-0x56595559
[0:10:12.340219534]  ERR RPI raspberrypi.cpp:188 Failed to set format on Video device: 1920x1080-0x41414270
Failed to configure camera
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 705, resource id: 20973393, major code: 40 (TranslateCoords), minor code: 0

/dev/video0 is set to 1920x1080 raw10 BGGR

Gstreamer seems not to be hitting issues when doing things like video transcode (filesrc ! matroskademux ! h264parse ! v4l2h264dec ! v4l2h264enc). That may be because it intercepts ctrl-c and does some cleanup.
v4l2convert doesn't support raw10, and throws a minor grump with raw8 from ov5647. I'm putting that down to a Gstreamer quirk rather than anything else.

Move timestamp from buffers to the request

The pipeline handlers should determine which buffer provides the correct timestamp for the request completion, (or provide it's own). This should be stored in the request for later retrieval by applications.

RFU: Check for pixelformat availability before accessing to avoid crash

RFU - Request for upstream :)

@kbingham ,

Hi Kieran,

Could you please send this patch to ML if relevant for other.

Currently I'm trying to run uvccamera pipeline on Android and got crash at cfg.pixelFormat = pixelFormats.front();

--- a/src/libcamera/pipeline/uvcvideo/uvcvideo.cpp
+++ b/src/libcamera/pipeline/uvcvideo/uvcvideo.cpp
@@ -122,6 +122,9 @@ CameraConfiguration::Status UVCCameraConfiguration::validate()
        const Size size = cfg.size;
 
        const std::vector<PixelFormat> pixelFormats = formats.pixelformats();
+       if (pixelFormats.empty())
+               return Invalid;
+
        auto iter = std::find(pixelFormats.begin(), pixelFormats.end(), pixelFormat);
        if (iter == pixelFormats.end()) {
                cfg.pixelFormat = pixelFormats.front();

Using as android HAL experience

Hi guys. I really appreciate your work on this library.
I want to use it in the GloDroid project as main Camera HAL.
Can you share your experience building this library with AOSP?

Libcamera-jpeg - ERROR: *** failed to start camera **

Hi,

I have followed the steps to update my PI to use libcamera but having issue using the lbcamera-jpeg app. After startup, lbcamera-jpeg managed to save images but afterwards it consistently fails. I am using the imx477 camera.

The error message from the app when it failed:

[0:01:38.231903305] [672] ERROR V4L2 v4l2_videodevice.cpp:1563 /dev/video1[12:cap]: Failed to start streaming: Input/output error ERROR: *** failed to start camera ***
The error from dmesg:

[ 87.514779] i2c-bcm2835 fe205000.i2c: i2c transfer timed out [ 87.514800] imx477 10-001a: Failed to write reg 0x0136. error = -5 [ 87.514813] imx477 10-001a: imx477_start_streaming failed to set common settings [ 87.514833] unicam fe801000.csi: stream on failed in subdev [ 98.234519] i2c-bcm2835 fe205000.i2c: i2c transfer timed out [ 98.234535] imx477 10-001a: Failed to write reg 0x0136. error = -5 [ 98.234542] imx477 10-001a: imx477_start_streaming failed to set common settings [ 98.234555] unicam fe801000.csi: stream on failed in subdev
Any ideas?

Regards
Paul

DELETE_COPY_ASSIGN

Add a macro implementation of this to ensure errors are not introduced (which have already happened)

Release Tags

Could you folks make an initial release with a tag? I was wondering 0.0.1.

The release tags are useful for downstream processing in Distros.

uvc-gadget for libcamera

It would be a very interesting exercise for someone to either update/port uvc-gadget to use libcamera, or to rewrite uvc-gadget from scratch making use of the c++ class library helpers for linux media available in libcamera.

Meson subproject

libcamera needs to be better equipped to handle being built as a subproject. (to allow simple-cam to pull it in as a subproject for a start)

Capturing to avi format with libav codec writes wrong fps to file

Hi there I am aiming to record 1 hr videos at 500x375) from a raspberry pi (running 64-bit bullseye).

Using this command line in a bash script:

libcamera-vid -t $filmDuration --framerate 5 --width 500 --height 375 --nopreview -- --codec libav --libav-format avi -o "$(date +%Y%m%d_%H%M.avi)" --tuning-file /usr/share/libcamera/ipa/raspberrypi/imx219_noir.json

This records the footage as needed but the file information incorrectly has 600.000fps which prevents use of this video with other software.

This figure is not accurate apparent both from watching, them having the correct number of frames for 3600 seconds at 5 fps and software that interprets the 600fps as true quickly running out of frames.

Am I missing something here or is this unintended behaviour? I found that by changing the container to mp4 the information was correct but any interruption of the recording would corrupt the video missing moov files.

Any help would be greatly appreciated.

Raspberry Pi {pipeline handler/unicam} doesn't propogate stream on failures

With an either faulty or incorrectly connected IMX219 (RPi Camera v2) the failure case is not handled well.

When the
In the event that the IMX219 can not be communicated with (perhaps loose cable, or faulty camera module) I experienced the following:

pi@mercury:~/libcamera/build $ ./src/cam/cam -c1 -C10
[0:42:32.319261681] [1863] INFO IPAManager ipa_manager.cpp:136 libcamera is not installed. Adding '/home/pi/libcamera/build/src/ipa' to the IPA search path
[0:42:32.358534577] [1863] INFO Camera camera_manager.cpp:293 libcamera v0.0.11+1169-d012ba5e-dirty (2020-11-24T11:02:20+00:00)
[0:42:32.389278693] [1864] INFO Configuration configuration.cpp:168 Read from /usr/local/etc/libcamera/camera_sensor.json
[0:42:32.510824486] [1864] INFO IPAProxy ipa_proxy.cpp:122 libcamera is not installed. Loading IPA configuration from '/home/pi/libcamera/src/ipa/raspberrypi/data'
Using camera /base/soc/i2c0mux/i2c@1/imx219@10
[0:42:32.516979928] [1863] INFO Camera camera.cpp:830 configuring streams: (0) 800x600-ARGB8888
[0:42:32.517628886] [1864] INFO RPI raspberrypi.cpp:118 Mode: 3280x2464 fmt RG10 Score: 2592.49 (best 2592.49)
[0:42:32.517743011] [1864] INFO RPI raspberrypi.cpp:118 Mode: 1920x1080 fmt RG10 Score: 2066.67 (best 2066.67)
[0:42:32.517791825] [1864] INFO RPI raspberrypi.cpp:118 Mode: 1640x1232 fmt RG10 Score: 1874.49 (best 1874.49)
[0:42:32.517838304] [1864] INFO RPI raspberrypi.cpp:118 Mode: 640x480 fmt RG10 Score: 2060 (best 1874.49)
[0:42:32.517886840] [1864] INFO RPI raspberrypi.cpp:118 Mode: 3280x2464 fmt pRAA Score: 2092.49 (best 1874.49)
[0:42:32.517976614] [1864] INFO RPI raspberrypi.cpp:118 Mode: 1920x1080 fmt pRAA Score: 1566.67 (best 1566.67)
[0:42:32.518053685] [1864] INFO RPI raspberrypi.cpp:118 Mode: 1640x1232 fmt pRAA Score: 1374.49 (best 1374.49)
[0:42:32.518123072] [1864] INFO RPI raspberrypi.cpp:118 Mode: 640x480 fmt pRAA Score: 1560 (best 1374.49)
[0:42:32.518200847] [1864] INFO RPI raspberrypi.cpp:118 Mode: 3280x2464 fmt RGGB Score: 3592.49 (best 1374.49)
[0:42:32.518269751] [1864] INFO RPI raspberrypi.cpp:118 Mode: 1920x1080 fmt RGGB Score: 3066.67 (best 1374.49)
[0:42:32.518336805] [1864] INFO RPI raspberrypi.cpp:118 Mode: 1640x1232 fmt RGGB Score: 2874.49 (best 1374.49)
[0:42:32.518402969] [1864] INFO RPI raspberrypi.cpp:118 Mode: 640x480 fmt RGGB Score: 3060 (best 1374.49)
[0:42:32.518500280] [1864] INFO RPI raspberrypi.cpp:593 Sensor: /base/soc/i2c0mux/i2c@1/imx219@10 - Selected mode: 1640x1232-pRAA
[0:42:32.581852448] [1864] INFO RPI_S_W staggered_ctrl.cpp:36 Init ctrl 0x00980911 with delay 2
[0:42:32.581967314] [1864] INFO RPI_S_W staggered_ctrl.cpp:36 Init ctrl 0x009e0903 with delay 1
[0:42:32.608911682] [1864] INFO RPISTREAM rpi_stream.cpp:120 No buffers available for ISP Output0
[0:42:32.609001012] [1864] INFO RPISTREAM rpi_stream.cpp:120 No buffers available for ISP Output0
Capture 10 frames

Which just hangs, and of course never receives frames.

dmesg shows:

[ 2553.661661] i2c-bcm2835 fe205000.i2c: i2c transfer timed out
[ 2553.661675] imx219 10-0010: Failed to write reg 0x0164. error = -5
[ 2553.661680] imx219 10-0010: imx219_start_streaming failed to set mode
[ 2553.661722] unicam fe801000.csi: stream on failed in subdev

And that failure should have been propogated up to report the failure.

Then pressing ctrl-c on the 'hung' cam capture, adds this to the kernel logs:

[ 2782.702834] ------------[ cut here ]------------
[ 2782.702845] fw-clk-core already disabled
[ 2782.702902] WARNING: CPU: 1 PID: 1864 at drivers/clk/clk.c:958 clk_core_disable+0x244/0x280
[ 2782.702907] Modules linked in: aes_neon_blk crypto_simd cryptd rfcomm bnep hci_uart btbcm bluetooth ecdh_generic ecc fuse 8021q garp stp llc imx219 joydev brcmfmac brcmutil vc4 sha256_generic libsha256 cec sg v3d drm_kms_helper bcm2835_unicam bcm2835_codec(C) cfg80211 gpu_sched v4l2_dv_timings bcm2835_v4l2(C) bcm2835_isp(C) videobuf2_vmalloc v4l2_fwnode bcm2835_mmal_vchiq(C) v4l2_mem2mem drm videobuf2_dma_contig videobuf2_memops videobuf2_v4l2 i2c_mux_pinctrl rfkill snd_soc_core videobuf2_common drm_panel_orientation_quirks raspberrypi_ts snd_bcm2835(C) snd_compress snd_pcm_dmaengine raspberrypi_hwmon input_polldev i2c_mux dwc2 snd_pcm videodev i2c_bcm2835 mc vc_sm_cma(C) snd_timer snd rpivid_mem syscopyarea sysfillrect sysimgblt fb_sys_fops rpi_backlight uio_pdrv_genirq backlight uio i2c_dev ip_tables x_tables ipv6
[ 2782.703057] CPU: 1 PID: 1864 Comm: cam Tainted: G C 5.4.72-v8+ #1356
[ 2782.703063] Hardware name: Raspberry Pi 4 Model B Rev 1.1 (DT)
[ 2782.703071] pstate: 60000085 (nZCv daIf -PAN -UAO)
[ 2782.703080] pc : clk_core_disable+0x244/0x280
[ 2782.703089] lr : clk_core_disable+0x244/0x280
[ 2782.703093] sp : ffffffc012ce39d0
[ 2782.703099] x29: ffffffc012ce39d0 x28: 0000000040045613
[ 2782.703109] x27: 0000000000000000 x26: 0000000000000000
[ 2782.703117] x25: ffffffc012ce3c78 x24: ffffff80f1340780
[ 2782.703126] x23: ffffff80dd15bb80 x22: ffffff80f1340530
[ 2782.703134] x21: ffffff80f0bc5600 x20: ffffff80f5c36100
[ 2782.703141] x19: ffffff80f5c36100 x18: 0000000000000000
[ 2782.703149] x17: 0000000000000000 x16: 0000000000000000
[ 2782.703156] x15: 0000000000000000 x14: 0000000000000000
[ 2782.703163] x13: 0000000000000000 x12: ffffffc010fd5000
[ 2782.703171] x11: ffffffc010ed1000 x10: ffffffc010fd5958
[ 2782.703178] x9 : 0000000000000000 x8 : 0000000000000003
[ 2782.703186] x7 : 0000000000000173 x6 : ffffffc010fd5000
[ 2782.703194] x5 : 0000000000000001 x4 : 0000000000000001
[ 2782.703201] x3 : ffffff80f79a4150 x2 : 0000000000000007
[ 2782.703208] x1 : 0000000000000000 x0 : 0000000000000000
[ 2782.703216] Call trace:
[ 2782.703225] clk_core_disable+0x244/0x280
[ 2782.703233] clk_core_disable_lock+0x2c/0x40
[ 2782.703240] clk_disable+0x30/0x40
[ 2782.703258] unicam_stop_streaming+0x94/0x158 [bcm2835_unicam]
[ 2782.703275] __vb2_queue_cancel+0x3c/0x280 [videobuf2_common]
[ 2782.703290] vb2_core_streamoff+0x34/0xc8 [videobuf2_common]
[ 2782.703304] vb2_streamoff+0x34/0x78 [videobuf2_v4l2]
[ 2782.703317] vb2_ioctl_streamoff+0x58/0x64 [videobuf2_v4l2]
[ 2782.703358] v4l_streamoff+0x40/0x50 [videodev]
[ 2782.703397] __video_do_ioctl+0x18c/0x3f0 [videodev]
[ 2782.703437] video_usercopy+0x214/0x748 [videodev]
[ 2782.703476] video_ioctl2+0x40/0x78 [videodev]
[ 2782.703514] v4l2_ioctl+0x68/0x90 [videodev]
[ 2782.703525] do_vfs_ioctl+0x6dc/0xaf8
[ 2782.703534] ksys_ioctl+0x88/0xb8
[ 2782.703542] __arm64_sys_ioctl+0x2c/0xc8
[ 2782.703553] el0_svc_common.constprop.0+0x7c/0x1a8
[ 2782.703562] el0_svc_handler+0x38/0xa8
[ 2782.703569] el0_svc+0x8/0x204
[ 2782.703575] ---[ end trace ed3c627fa6775dd7 ]---
[ 2782.703593] ------------[ cut here ]------------
[ 2782.703601] fw-clk-core already unprepared
[ 2782.703639] WARNING: CPU: 1 PID: 1864 at drivers/clk/clk.c:816 clk_core_unprepare+0x230/0x250
[ 2782.703643] Modules linked in: aes_neon_blk crypto_simd cryptd rfcomm bnep hci_uart btbcm bluetooth ecdh_generic ecc fuse 8021q garp stp llc imx219 joydev brcmfmac brcmutil vc4 sha256_generic libsha256 cec sg v3d drm_kms_helper bcm2835_unicam bcm2835_codec(C) cfg80211 gpu_sched v4l2_dv_timings bcm2835_v4l2(C) bcm2835_isp(C) videobuf2_vmalloc v4l2_fwnode bcm2835_mmal_vchiq(C) v4l2_mem2mem drm videobuf2_dma_contig videobuf2_memops videobuf2_v4l2 i2c_mux_pinctrl rfkill snd_soc_core videobuf2_common drm_panel_orientation_quirks raspberrypi_ts snd_bcm2835(C) snd_compress snd_pcm_dmaengine raspberrypi_hwmon input_polldev i2c_mux dwc2 snd_pcm videodev i2c_bcm2835 mc vc_sm_cma(C) snd_timer snd rpivid_mem syscopyarea sysfillrect sysimgblt fb_sys_fops rpi_backlight uio_pdrv_genirq backlight uio i2c_dev ip_tables x_tables ipv6
[ 2782.703766] CPU: 1 PID: 1864 Comm: cam Tainted: G WC 5.4.72-v8+ #1356
[ 2782.703771] Hardware name: Raspberry Pi 4 Model B Rev 1.1 (DT)
[ 2782.703778] pstate: 60000005 (nZCv daif -PAN -UAO)
[ 2782.703786] pc : clk_core_unprepare+0x230/0x250
[ 2782.703794] lr : clk_core_unprepare+0x230/0x250
[ 2782.703798] sp : ffffffc012ce3a00
[ 2782.703803] x29: ffffffc012ce3a00 x28: 0000000040045613
[ 2782.703812] x27: 0000000000000000 x26: 0000000000000000
[ 2782.703820] x25: ffffffc012ce3c78 x24: ffffff80f1340780
[ 2782.703828] x23: ffffff80dd15bb80 x22: ffffff80f1340530
[ 2782.703836] x21: ffffff80f0bc5600 x20: ffffff80f1340000
[ 2782.703844] x19: ffffff80f5c36100 x18: 0000000000000000
[ 2782.703851] x17: 0000000000000000 x16: 0000000000000000
[ 2782.703859] x15: 0000000000000000 x14: 0000000000000000
[ 2782.703866] x13: 0000000000000000 x12: ffffffc010fd5000
[ 2782.703874] x11: ffffffc010ed1000 x10: ffffffc010fd5958
[ 2782.703881] x9 : 0000000000000000 x8 : 0000000000000003
[ 2782.703889] x7 : 00000000000001a1 x6 : 0000000000000000
[ 2782.703897] x5 : 0000000000000001 x4 : 0000000000000001
[ 2782.703904] x3 : ffffff80f79a4150 x2 : 0000000000000007
[ 2782.703912] x1 : 0000000000000000 x0 : 0000000000000000
[ 2782.703919] Call trace:
[ 2782.703927] clk_core_unprepare+0x230/0x250
[ 2782.703935] clk_unprepare+0x38/0x48
[ 2782.703946] unicam_stop_streaming+0x9c/0x158 [bcm2835_unicam]
[ 2782.703962] __vb2_queue_cancel+0x3c/0x280 [videobuf2_common]
[ 2782.703976] vb2_core_streamoff+0x34/0xc8 [videobuf2_common]
[ 2782.703988] vb2_streamoff+0x34/0x78 [videobuf2_v4l2]
[ 2782.704000] vb2_ioctl_streamoff+0x58/0x64 [videobuf2_v4l2]
[ 2782.704038] v4l_streamoff+0x40/0x50 [videodev]
[ 2782.704076] __video_do_ioctl+0x18c/0x3f0 [videodev]
[ 2782.704113] video_usercopy+0x214/0x748 [videodev]
[ 2782.704151] video_ioctl2+0x40/0x78 [videodev]
[ 2782.704188] v4l2_ioctl+0x68/0x90 [videodev]
[ 2782.704198] do_vfs_ioctl+0x6dc/0xaf8
[ 2782.704206] ksys_ioctl+0x88/0xb8
[ 2782.704214] __arm64_sys_ioctl+0x2c/0xc8
[ 2782.704224] el0_svc_common.constprop.0+0x7c/0x1a8
[ 2782.704232] el0_svc_handler+0x38/0xa8
[ 2782.704239] el0_svc+0x8/0x204
[ 2782.704245] ---[ end trace ed3c627fa6775dd8 ]---
[ 2782.704252] ------------[ cut here ]------------
[ 2782.704257] cam1 already disabled
[ 2782.704289] WARNING: CPU: 1 PID: 1864 at drivers/clk/clk.c:958 clk_core_disable+0x244/0x280
[ 2782.704293] Modules linked in: aes_neon_blk crypto_simd cryptd rfcomm bnep hci_uart btbcm bluetooth ecdh_generic ecc fuse 8021q garp stp llc imx219 joydev brcmfmac brcmutil vc4 sha256_generic libsha256 cec sg v3d drm_kms_helper bcm2835_unicam bcm2835_codec(C) cfg80211 gpu_sched v4l2_dv_timings bcm2835_v4l2(C) bcm2835_isp(C) videobuf2_vmalloc v4l2_fwnode bcm2835_mmal_vchiq(C) v4l2_mem2mem drm videobuf2_dma_contig videobuf2_memops videobuf2_v4l2 i2c_mux_pinctrl rfkill snd_soc_core videobuf2_common drm_panel_orientation_quirks raspberrypi_ts snd_bcm2835(C) snd_compress snd_pcm_dmaengine raspberrypi_hwmon input_polldev i2c_mux dwc2 snd_pcm videodev i2c_bcm2835 mc vc_sm_cma(C) snd_timer snd rpivid_mem syscopyarea sysfillrect sysimgblt fb_sys_fops rpi_backlight uio_pdrv_genirq backlight uio i2c_dev ip_tables x_tables ipv6
[ 2782.704415] CPU: 1 PID: 1864 Comm: cam Tainted: G WC 5.4.72-v8+ #1356
[ 2782.704420] Hardware name: Raspberry Pi 4 Model B Rev 1.1 (DT)
[ 2782.704427] pstate: 60000085 (nZCv daIf -PAN -UAO)
[ 2782.704435] pc : clk_core_disable+0x244/0x280
[ 2782.704442] lr : clk_core_disable+0x244/0x280
[ 2782.704446] sp : ffffffc012ce39d0
[ 2782.704451] x29: ffffffc012ce39d0 x28: 0000000040045613
[ 2782.704459] x27: 0000000000000000 x26: 0000000000000000
[ 2782.704467] x25: ffffffc012ce3c78 x24: ffffff80f1340780
[ 2782.704474] x23: ffffff80dd15bb80 x22: ffffff80f1340530
[ 2782.704482] x21: ffffff80f0bc5500 x20: ffffff80f5f95100
[ 2782.704489] x19: ffffff80f5f95100 x18: 0000000000000000
[ 2782.704497] x17: 0000000000000000 x16: 0000000000000000
[ 2782.704504] x15: 0000000000000000 x14: 0000000000000000
[ 2782.704511] x13: 0000000000000000 x12: ffffffc010fd5000
[ 2782.704518] x11: ffffffc010ed1000 x10: ffffffc010fd5958
[ 2782.704526] x9 : 0000000000000000 x8 : 0000000000000003
[ 2782.704534] x7 : 00000000000001ce x6 : ffffffc010fd5000
[ 2782.704541] x5 : 0000000000000001 x4 : 0000000000000001
[ 2782.704548] x3 : ffffff80f79a4150 x2 : 0000000000000007
[ 2782.704556] x1 : 0000000000000000 x0 : 0000000000000000
[ 2782.704562] Call trace:
[ 2782.704570] clk_core_disable+0x244/0x280
[ 2782.704578] clk_core_disable_lock+0x2c/0x40
[ 2782.704585] clk_disable+0x30/0x40
[ 2782.704596] unicam_stop_streaming+0xa8/0x158 [bcm2835_unicam]
[ 2782.704611] __vb2_queue_cancel+0x3c/0x280 [videobuf2_common]
[ 2782.704625] vb2_core_streamoff+0x34/0xc8 [videobuf2_common]
[ 2782.704638] vb2_streamoff+0x34/0x78 [videobuf2_v4l2]
[ 2782.704650] vb2_ioctl_streamoff+0x58/0x64 [videobuf2_v4l2]
[ 2782.704688] v4l_streamoff+0x40/0x50 [videodev]
[ 2782.704725] __video_do_ioctl+0x18c/0x3f0 [videodev]
[ 2782.704763] video_usercopy+0x214/0x748 [videodev]
[ 2782.704801] video_ioctl2+0x40/0x78 [videodev]
[ 2782.704838] v4l2_ioctl+0x68/0x90 [videodev]
[ 2782.704848] do_vfs_ioctl+0x6dc/0xaf8
[ 2782.704856] ksys_ioctl+0x88/0xb8
[ 2782.704864] __arm64_sys_ioctl+0x2c/0xc8
[ 2782.704874] el0_svc_common.constprop.0+0x7c/0x1a8
[ 2782.704882] el0_svc_handler+0x38/0xa8
[ 2782.704889] el0_svc+0x8/0x204
[ 2782.704894] ---[ end trace ed3c627fa6775dd9 ]---
[ 2782.704962] ------------[ cut here ]------------
[ 2782.704974] cam1 already unprepared
[ 2782.705016] WARNING: CPU: 1 PID: 1864 at drivers/clk/clk.c:816 clk_core_unprepare+0x230/0x250
[ 2782.705024] Modules linked in: aes_neon_blk crypto_simd cryptd rfcomm bnep hci_uart btbcm bluetooth ecdh_generic ecc fuse 8021q garp stp llc imx219 joydev brcmfmac brcmutil vc4 sha256_generic libsha256 cec sg v3d drm_kms_helper bcm2835_unicam bcm2835_codec(C) cfg80211 gpu_sched v4l2_dv_timings bcm2835_v4l2(C) bcm2835_isp(C) videobuf2_vmalloc v4l2_fwnode bcm2835_mmal_vchiq(C) v4l2_mem2mem drm videobuf2_dma_contig videobuf2_memops videobuf2_v4l2 i2c_mux_pinctrl rfkill snd_soc_core videobuf2_common drm_panel_orientation_quirks raspberrypi_ts snd_bcm2835(C) snd_compress snd_pcm_dmaengine raspberrypi_hwmon input_polldev i2c_mux dwc2 snd_pcm videodev i2c_bcm2835 mc vc_sm_cma(C) snd_timer snd rpivid_mem syscopyarea sysfillrect sysimgblt fb_sys_fops rpi_backlight uio_pdrv_genirq backlight uio i2c_dev ip_tables x_tables ipv6
[ 2782.705254] CPU: 1 PID: 1864 Comm: cam Tainted: G WC 5.4.72-v8+ #1356
[ 2782.705262] Hardware name: Raspberry Pi 4 Model B Rev 1.1 (DT)
[ 2782.705273] pstate: 60000005 (nZCv daif -PAN -UAO)
[ 2782.705284] pc : clk_core_unprepare+0x230/0x250
[ 2782.705296] lr : clk_core_unprepare+0x230/0x250
[ 2782.705304] sp : ffffffc012ce3a00
[ 2782.705313] x29: ffffffc012ce3a00 x28: 0000000040045613
[ 2782.705329] x27: 0000000000000000 x26: 0000000000000000
[ 2782.705346] x25: ffffffc012ce3c78 x24: ffffff80f1340780
[ 2782.705362] x23: ffffff80dd15bb80 x22: ffffff80f1340530
[ 2782.705378] x21: ffffff80f0bc5500 x20: ffffff80f1340000
[ 2782.705394] x19: ffffff80f5f95100 x18: 0000000000000000
[ 2782.705413] x17: 0000000000000000 x16: 0000000000000000
[ 2782.705428] x15: 0000000000000000 x14: 0000000000000000
[ 2782.705438] x13: 0000000000000000 x12: ffffffc010fd5000
[ 2782.705445] x11: ffffffc010ed1000 x10: ffffffc010fd5958
[ 2782.705453] x9 : 0000000000000000 x8 : 0000000000000003
[ 2782.705461] x7 : 00000000000001fc x6 : 0000000000000000
[ 2782.705468] x5 : 0000000000000001 x4 : 0000000000000001
[ 2782.705476] x3 : ffffff80f79a4150 x2 : 0000000000000007
[ 2782.705483] x1 : 0000000000000000 x0 : 0000000000000000
[ 2782.705490] Call trace:
[ 2782.705498] clk_core_unprepare+0x230/0x250
[ 2782.705506] clk_unprepare+0x38/0x48
[ 2782.705517] unicam_stop_streaming+0xb0/0x158 [bcm2835_unicam]
[ 2782.705533] __vb2_queue_cancel+0x3c/0x280 [videobuf2_common]
[ 2782.705548] vb2_core_streamoff+0x34/0xc8 [videobuf2_common]
[ 2782.705561] vb2_streamoff+0x34/0x78 [videobuf2_v4l2]
[ 2782.705573] vb2_ioctl_streamoff+0x58/0x64 [videobuf2_v4l2]
[ 2782.705612] v4l_streamoff+0x40/0x50 [videodev]
[ 2782.705650] __video_do_ioctl+0x18c/0x3f0 [videodev]
[ 2782.705688] video_usercopy+0x214/0x748 [videodev]
[ 2782.705726] video_ioctl2+0x40/0x78 [videodev]
[ 2782.705763] v4l2_ioctl+0x68/0x90 [videodev]
[ 2782.705782] do_vfs_ioctl+0x6dc/0xaf8
[ 2782.705790] ksys_ioctl+0x88/0xb8
[ 2782.705798] __arm64_sys_ioctl+0x2c/0xc8
[ 2782.705809] el0_svc_common.constprop.0+0x7c/0x1a8
[ 2782.705817] el0_svc_handler+0x38/0xa8
[ 2782.705824] el0_svc+0x8/0x204
[ 2782.705829] ---[ end trace ed3c627fa6775dda ]---

My initial suspicion is that the unicam driver is not propagating the stream-on failure up ?

QCam: Control Panel

Expand qcam to identify available controls and expose them as sliders or such which can be adjusted in real-time for visualisation

Configuring internal frame queue

I'm using libcamera to grab frames on demand in some custom code, and it seems as though there is a 5-frame FILO queue that any given frame has to pass through before reaching my code, so that the result of any commanded acquisition is not seen until 5 acquisitions later. Is there any way to configure this so that the result of a commanded acquisition is seen by the caller immediately?

MappedFrameBuffer / FrameBuffer integration

MMAP is expensive, It would be nicer if the mappings for a buffer could be associated with a FrameBuffer.

There were discussions regarding 'who' should do the mappings, and there was push back against that being the FrameBuffer because it might be a responsibility of the applciation not libcamera.

However, while we need to maintain mappings in libcamera, I still believe the association of that should persist alongside the FrameBuffer - and where FrameBuffers are re-used, the mappings should be re-usable.

Pipeline Validation Tool

Add an initial framework to test/ to create a form of validation tool that will operate like the v4l2-compliance type tools.
Test lots of runtime type actions that will invoke the pipelines in particular ways.

Authentication error with ninja -C build install

`Following from:
https://libcamera.org/getting-started.html
and
https://www.raspberrypi.com/documentation/accessories/camera.html#libcamera-and-libcamera-apps
Skip over Getting Started to install dependencies first
Check for C++
ubuntu@ubuntu:~$ g++ --version
g++ (Ubuntu 11.2.0-19ubuntu1) 11.2.0

ubuntu@ubuntu:$ pip3 install --user meson
ubuntu@ubuntu:
$ pip3 install --user --upgrade meson

ubuntu@ubuntu:~/libcamera$ pip3 install ninja

Being unclear as to which of the optional dependencies may be needed
install then all. Respond “y” when asked.
ubuntu@ubuntu:$ sudo apt install libyaml-dev python3-yaml python3-ply python3-jinja2
ubuntu@ubuntu:
/libcamera$ sudo apt install libgnutls28-dev
ubuntu@ubuntu:/libcamera$ sudo apt install libdw-dev libunwind-dev
ubuntu@ubuntu:
/libcamera$ sudo apt install libudev-dev
ubuntu@ubuntu:/libcamera$ sudo apt install python3-sphinx doxygen graphviz texlive-latex-extra
ubuntu@ubuntu:
/libcamera$ sudo apt install libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev
ubuntu@ubuntu:/libcamera$ sudo apt install libevent-dev
ubuntu@ubuntu:
/libcamera$ sudo apt install libdrm-dev
ubuntu@ubuntu:/libcamera$ sudo apt install libjpeg-dev
ubuntu@ubuntu:
/libcamera$ sudo apt install libsdl2-dev
ubuntu@ubuntu:/libcamera$ sudo apt install qtbase5-dev libqt5core5a libqt5gui5 libqt5widgets5 qttools5-dev-tools libtiff-dev
ubuntu@ubuntu:
/libcamera$ sudo apt install liblttng-ust-dev python3-jinja2 lttng-tools

Configure /boot/firmware/config.txt
ubuntu@ubuntu:~$ cd /boot/firmware/
ubuntu@ubuntu:/boot/firmware$ sudo nano config.txt
camera_auto_detect=0 [change existing line =1 > =0]
dtoverlay=imx219 [add new line at bottom for Picamera driver]
start_x=1 [may also be needed at end to enable camera]

Now to the Getting Started part:
ubuntu@ubuntu:$ git clone https://git.libcamera.org/libcamera/libcamera.git
ubuntu@ubuntu:
$ cd libcamera
ubuntu@ubuntu:/libcamera$ meson build
ubuntu@ubuntu:
/libcamera$ ninja -C build install
very long install...then -
[424/425] Installing files.
Installation failed due to insufficient permissions.
Attempting to use polkit to gain elevated privileges...
==== AUTHENTICATING FOR org.freedesktop.policykit.exec ===
Authentication is needed to run `/usr/bin/python3' as the super user
Authenticating as: Ubuntu (ubuntu)
Password:
polkit-agent-helper-1: error response to PolicyKit daemon: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: No session for cookie
==== AUTHENTICATION FAILED ===
Error executing command as another user: Not authorized

This incident has been reported.
FAILED: meson-internal__install
/home/ubuntu/.local/bin/meson install --no-rebuild
ninja: build stopped: subcommand failed.`

What's going on here and how to fix it?
Thanks!
Jim Phelan
PS pardon the weird formatting. Don't know why it's making strikeouts.

Adaptation layers needs integration tests

While we have unit tests for the core of libcamera, this does not cover the android, gstreamer, or V4L2 adaptation layers.

Testing the Android layer would require mocking up some interface calls as if the test were 'android' ideally without requiring a full CTS/Android Test suite to run.

Gstreamer may require some gstreamer coded pipeline to be tested/executed.

V4L2 Adaptation layer actually already calls v4l2-compliance when possible.

Need help with pinephone cameras bring-up (Android)

I've successfully enabled all components required to run libcamera on Android (pre-12 master branch).
But during probing cameras it appears that some of mandatory controls aren't available.
Linux guys somehow uses these cameras. Are those controls really mandatory?

Please help. Here is the log:

08-21 15:51:46.601   388   388 I libcamera:  INFO HAL camera3_hal.cpp:61 Initialising Android camera HAL
08-21 15:51:46.601   388   388 E libcamera: ERROR HALConfig camera_hal_config.cpp:361 Failed to open configuration file /vendor/etc/libcamera/camera_hal.yaml: No such file or directory
08-21 15:51:46.602   388   388 W libcamera:  WARN IPAManager ipa_manager.cpp:149 No IPA found in '/usr/local/lib/libcamera'
08-21 15:51:46.602   388   388 I libcamera:  INFO Camera camera_manager.cpp:294 libcamera v0.0.0
08-21 15:51:46.602   388   473 D libcamera: DEBUG Camera camera_manager.cpp:107 Starting camera manager
08-21 15:51:46.603   388   473 D libcamera: DEBUG DeviceEnumerator device_enumerator.cpp:224 New media device "cedrus" created from /dev/media0
08-21 15:51:46.604   388   473 D libcamera: DEBUG DeviceEnumerator device_enumerator.cpp:252 Added device /dev/media0: cedrus
08-21 15:51:46.604   388   473 D libcamera: DEBUG DeviceEnumerator device_enumerator.cpp:224 New media device "sun6i-csi" created from /dev/media1
08-21 15:51:46.605   388   473 D libcamera: DEBUG DeviceEnumerator device_enumerator.cpp:252 Added device /dev/media1: sun6i-csi
08-21 15:51:46.605   388   473 D libcamera: DEBUG Camera camera_manager.cpp:150 Found registered pipeline handler 'SimplePipelineHandler'
08-21 15:51:46.605   388   473 D libcamera: DEBUG DeviceEnumerator device_enumerator.cpp:312 Successful match for media device "sun6i-csi"
08-21 15:51:46.605   388   473 D libcamera: DEBUG SimplePipeline simple.cpp:306 Found capture device sun6i-csi
08-21 15:51:47.164   388   473 D libcamera: DEBUG V4L2 v4l2_videodevice.cpp:578 /dev/video2[10:cap]: Opened device platform:csi: sun6i-video: sun6i-csi
08-21 15:51:47.164   388   473 D libcamera: DEBUG V4L2 v4l2_device.cpp:610 'gc2145 4-003c': Control: Exposure (0x00980911)
08-21 15:51:47.165   388   473 D libcamera: DEBUG V4L2 v4l2_device.cpp:610 'gc2145 4-003c': Control: Horizontal Flip (0x00980914)
08-21 15:51:47.165   388   473 D libcamera: DEBUG V4L2 v4l2_device.cpp:610 'gc2145 4-003c': Control: Vertical Flip (0x00980915)
08-21 15:51:47.165   388   473 D libcamera: DEBUG V4L2 v4l2_device.cpp:610 'gc2145 4-003c': Control: Auto Exposure (0x009a0901)
08-21 15:51:47.165   388   473 D libcamera: DEBUG V4L2 v4l2_device.cpp:610 'gc2145 4-003c': Control: Auto Exposure, Bias (0x009a0913)
08-21 15:51:47.165   388   473 D libcamera: DEBUG V4L2 v4l2_device.cpp:610 'gc2145 4-003c': Control: Analogue Gain (0x009e0903)
08-21 15:51:47.165   388   473 D libcamera: DEBUG V4L2 v4l2_device.cpp:610 'gc2145 4-003c': Control: Test Pattern (0x009f0903)
08-21 15:51:47.165   388   473 D libcamera: DEBUG V4L2 v4l2_device.cpp:610 'gc2145 4-003c': Control: Digital Gain (0x009f0905)
08-21 15:51:47.165   388   473 D libcamera: DEBUG CameraSensor camera_sensor.cpp:182 'gc2145 4-003c': Optional V4L2 control 0x009a0923 not supported
08-21 15:51:47.166   388   473 W libcamera:  WARN CameraSensor camera_sensor.cpp:197 'gc2145 4-003c': Recommended V4L2 control 0x009a0922 not supported
08-21 15:51:47.166   388   473 E libcamera: ERROR V4L2 v4l2_subdevice.cpp:286 'gc2145 4-003c': Unable to get rectangle 2 on pad 0: Inappropriate ioctl for device
08-21 15:51:47.166   388   473 W libcamera:  WARN CameraSensor camera_sensor.cpp:224 'gc2145 4-003c': The PixelArraySize property has been defaulted to 1600x1200
08-21 15:51:47.166   388   473 E libcamera: ERROR V4L2 v4l2_subdevice.cpp:286 'gc2145 4-003c': Unable to get rectangle 1 on pad 0: Inappropriate ioctl for device
08-21 15:51:47.166   388   473 W libcamera:  WARN CameraSensor camera_sensor.cpp:235 'gc2145 4-003c': The PixelArrayActiveAreas property has been defaulted to (0x0)/1600x1200
08-21 15:51:47.166   388   473 E libcamera: ERROR V4L2 v4l2_subdevice.cpp:286 'gc2145 4-003c': Unable to get rectangle 0 on pad 0: Inappropriate ioctl for device
08-21 15:51:47.166   388   473 W libcamera:  WARN CameraSensor camera_sensor.cpp:243 'gc2145 4-003c': Failed to retrieve the sensor crop rectangle
08-21 15:51:47.166   388   473 W libcamera:  WARN CameraSensor camera_sensor.cpp:249 'gc2145 4-003c': The sensor kernel driver needs to be fixed
08-21 15:51:47.166   388   473 W libcamera:  WARN CameraSensor camera_sensor.cpp:251 'gc2145 4-003c': See Documentation/sensor_driver_requirements.rst in the libcamera sources for more information
08-21 15:51:47.166   388   473 E libcamera: ERROR CameraSensor camera_sensor.cpp:272 'gc2145 4-003c': Mandatory V4L2 control 0x009e0902 not available
08-21 15:51:47.166   388   473 E libcamera: ERROR CameraSensor camera_sensor.cpp:272 'gc2145 4-003c': Mandatory V4L2 control 0x009f0902 not available
08-21 15:51:47.167   388   473 E libcamera: ERROR CameraSensor camera_sensor.cpp:272 'gc2145 4-003c': Mandatory V4L2 control 0x009e0901 not available
08-21 15:51:47.167   388   473 E libcamera: ERROR CameraSensor camera_sensor.cpp:280 'gc2145 4-003c': The sensor kernel driver needs to be fixed
08-21 15:51:47.167   388   473 E libcamera: ERROR CameraSensor camera_sensor.cpp:282 'gc2145 4-003c': See Documentation/sensor_driver_requirements.rst in the libcamera sources for more information
08-21 15:51:47.167   388   473 E libcamera: ERROR SimplePipeline simple.cpp:1009 No valid pipeline for sensor 'gc2145 4-003c', skipping
08-21 15:51:47.167   388   473 D libcamera: DEBUG SimplePipeline simple.cpp:306 Found capture device sun6i-csi
08-21 15:51:47.167   388   473 D libcamera: DEBUG V4L2 v4l2_device.cpp:610 'ov5640 4-004c': Control: Contrast (0x00980901)
08-21 15:51:47.167   388   473 D libcamera: DEBUG V4L2 v4l2_device.cpp:610 'ov5640 4-004c': Control: Saturation (0x00980902)
08-21 15:51:47.167   388   473 D libcamera: DEBUG V4L2 v4l2_device.cpp:610 'ov5640 4-004c': Control: Hue (0x00980903)
08-21 15:51:47.167   388   473 D libcamera: DEBUG V4L2 v4l2_device.cpp:610 'ov5640 4-004c': Control: White Balance, Automatic (0x0098090c)
08-21 15:51:47.167   388   473 D libcamera: DEBUG V4L2 v4l2_device.cpp:610 'ov5640 4-004c': Control: Red Balance (0x0098090e)
08-21 15:51:47.168   388   473 D libcamera: DEBUG V4L2 v4l2_device.cpp:610 'ov5640 4-004c': Control: Blue Balance (0x0098090f)
08-21 15:51:47.168   388   473 D libcamera: DEBUG V4L2 v4l2_device.cpp:610 'ov5640 4-004c': Control: Exposure (0x00980911)
08-21 15:51:47.168   388   473 D libcamera: DEBUG V4L2 v4l2_device.cpp:610 'ov5640 4-004c': Control: Gain, Automatic (0x00980912)
08-21 15:51:47.168   388   473 D libcamera: DEBUG V4L2 v4l2_device.cpp:610 'ov5640 4-004c': Control: Gain (0x00980913)
08-21 15:51:47.168   388   473 D libcamera: DEBUG V4L2 v4l2_device.cpp:610 'ov5640 4-004c': Control: Horizontal Flip (0x00980914)
08-21 15:51:47.168   388   473 D libcamera: DEBUG V4L2 v4l2_device.cpp:610 'ov5640 4-004c': Control: Vertical Flip (0x00980915)
08-21 15:51:47.168   388   473 D libcamera: DEBUG V4L2 v4l2_device.cpp:610 'ov5640 4-004c': Control: Power Line Frequency (0x00980918)
08-21 15:51:47.168   388   473 D libcamera: DEBUG V4L2 v4l2_device.cpp:610 'ov5640 4-004c': Control: Auto Exposure (0x009a0901)
08-21 15:51:47.168   388   473 D libcamera: DEBUG V4L2 v4l2_device.cpp:610 'ov5640 4-004c': Control: Pixel Rate (0x009f0902)
08-21 15:51:47.169   388   473 D libcamera: DEBUG V4L2 v4l2_device.cpp:610 'ov5640 4-004c': Control: Test Pattern (0x009f0903)
08-21 15:51:47.169   388   473 D libcamera: DEBUG CameraSensor camera_sensor.cpp:182 'ov5640 4-004c': Optional V4L2 control 0x009a0923 not supported
08-21 15:51:47.169   388   473 W libcamera:  WARN CameraSensor camera_sensor.cpp:197 'ov5640 4-004c': Recommended V4L2 control 0x009a0922 not supported
08-21 15:51:47.169   388   473 E libcamera: ERROR V4L2 v4l2_subdevice.cpp:286 'ov5640 4-004c': Unable to get rectangle 2 on pad 0: Inappropriate ioctl for device
08-21 15:51:47.169   388   473 W libcamera:  WARN CameraSensor camera_sensor.cpp:224 'ov5640 4-004c': The PixelArraySize property has been defaulted to 2592x1944
08-21 15:51:47.169   388   473 E libcamera: ERROR V4L2 v4l2_subdevice.cpp:286 'ov5640 4-004c': Unable to get rectangle 1 on pad 0: Inappropriate ioctl for device
08-21 15:51:47.169   388   473 W libcamera:  WARN CameraSensor camera_sensor.cpp:235 'ov5640 4-004c': The PixelArrayActiveAr

v4l2-compat: V4L2_MEMORY_DMABUF?

Could the v4l2-compat layer support buffers with type V4L2_MEMORY_DMABUF? I want to pass these buffers to bcm2835-v4l2-codec and spare one mmap buffer copy to another mmap buffer.

sample code for using libcamera

Hello,
Is there a sample code of how to use libcamera? or can you supply one?
Just a basic main function that:

  • start default the camera.
  • capture one photo into pixel memory array.
  • close the camera.

libcamera-apps code is really good and should do that, but it has a complicated pipeline for showing the preview or handling various output modes.
That would greatly help.
Many thanks for this great repo.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.