Not getting any images from libcamera C++ API in latest 0.5.1 version

I’m running Raspberry Pi 4b (i.e. standard RPi4) with latest Raspberry Pi OS (64bit). With the new 0.5.1 libcamera driver installed via ./install_pivariety_pkgs.sh, I’m not getting any images through the libcamera C++ API. I did recompile it against the new version. The rpicam-* app still function correctly (both 0.5.1 and 0.5.0). Downgrading to libcamera 0.5.0 fixes the issue with C++ API.

Hardware Revision: d03114
Kernel Version: 6.12.34+rpt-rpi-v8
OS Codename: bookworm
ARCH: aarch64

Is there changelog or something that would help debug what goes wrong with 0.5.1, when 0.5.0 works fine?

EDIT: Using B0381 camera 2MP Global Shutter OV2311 Mono Camera Modules Pivariety (NoIR), compatible with Raspberry Pi ISP and Gstreamer Plugin-Arducam

Hi @Bercon
Thank you for bringing this issue to our attention.

Could you send us some error logs from your code?

Otherwise, it would be appreciated if you could provide us with a simple script you’re using.