Having trouble with the B0388 16MP synchronized quad camera kit on a Raspberry Pi. It works intermittently and is pretty unstable. In dmesg I’m seeing imx519 messages, and libcamera/Picamera2 throw an ‘Embedded data buffer parsing failed’ error. I followed the getting-started PDF (https://www.arducam.com/downloads/synchronized-quad-camera-kit-getting-started.pdf) and all libcamera components are installed. Reinstalled several times, same result.
Thanks for the logs. That embedded data error usually comes from libcamera trying to parse the sensor’s embedded data and failing. Can you confirm whether you installed libcamera from the Arducam site rather than just the stock Raspberry Pi package? The Arducam build is different — see libcamera and rpicam-apps - Arducam Wiki . A mismatch there is the usual cause for the cam_helper.cpp:249 error.
I also checked i2cdetect -l, edited /boot/config.txt, and tried enabling Glamor and GL (Full KMS) in raspi-config and rebooted. One thing I’ve seen mentioned is that the 16MP driver doesn’t work on kernel 6.1.19, so I’m using a fresh Bullseye image with default kernel 5.15.84 and haven’t run full upgrade.
Your setup looks right, but let’s make sure the Arducam libcamera is actually the one being used. Reinstall/verify it from the Arducam guide: libcamera and rpicam-apps - Arducam Wiki , then run:
export LIBCAMERA_NOTPARSE_EMBEDDED_DATA=1
That variable disables parsing of the embedded data buffer, which is what’s tripping cam_helper.cpp:249. Run it in the same shell before your libcamera/Picamera2 command.
Sorry, we are unable to set a flag to hide the INFO message. The export LIBCAMERA_NOTPARSE_EMBEDDED_DATA=1 command is the supported workaround for the embedded data error, but there’s no supported flag to suppress the INFO-level V4L2 ‘Zero sequence expected for first frame (got 2)’ message from v4l2_videodevice.cpp:1820. It’s informational and shouldn’t affect capture.
Understood. export LIBCAMERA_NOTPARSE_EMBEDDED_DATA=1 quiets the embedded data error and the INFO message doesn’t seem to affect anything, so I’m fine with it. You can close this.
Thanks for confirming. To wrap up: use the Arducam libcamera build, keep kernel 5.15.84 for the imx519 driver, and run export LIBCAMERA_NOTPARSE_EMBEDDED_DATA=1 in the same shell before launching libcamera/Picamera2. That disables the embedded data parsing that caused the cam_helper.cpp:249 error. The remaining V4L2 INFO message about ‘Zero sequence expected for first frame (got 2)’ cannot be hidden via a flag, but it is not harmful.