B0267 camera blank libcamera window on Bullseye Pi 4, works on Buster

Hi, I can’t get the B0267 camera working on Bullseye by following the tutorial. Here’s the weird part: dmesg | grep arducam does detect the camera and even shows the firmware version, but when I run libcamera-still or libcamera-hello I just get a blank window. If I run dmesg | grep arducam again while the libcamera window is open, I see “reading register 0x107 failed”.

My setup:

  • Product SKU: B0267 (1MP*4 Quadrascopic OV9281 Global Shutter Monochrome Camera Bundle Kit)
  • Raspberry Pi 4 Model B, 8GB RAM
  • OS: Bullseye 64-Bit, Kernel 5.15

The exact same camera setup works fine when I swap the SD card for Buster with the older drivers. What am I missing on Bullseye?

Two more things:

  1. The B0267 currently sends the output as a 1x4 horizontally stitched image. Is it possible to get the output as a 2x2 square instead?
  2. Can you share example Python scripts for grabbing images from the B0267?

Hi, thanks for the detailed report. A couple of questions to narrow this down:

  • Which tutorial did you follow exactly, and did you install the Arducam driver package for Bullseye?
  • What does dmesg | grep arducam print on a clean boot before you launch any libcamera app?
  • Can you also share the output of uname -a and libcamera-hello --version?

The “reading register 0x107 failed” message is usually an I2C communication problem between the sensor and the Pi, so I want to confirm the driver is actually loaded against the right device tree before we go further.

I followed this tutorial: https://www.arducam.com/docs/cameras-for-raspberry-pi/synchronized-stereo-camera-hat/camarray-arducam-1mp-monochrome-quadrascopic-camera-bundle-kit-2/

Product page I ordered from: https://www.arducam.com/product/arducam-1mp4-quadrascopic-camera-bundle-kit-for-raspberry-pi-nvidia-jetson-nano-xavier-nx-four-ov9281-global-shutter-monochrome-camera-modules-and-camarray-camera-hat/

On a clean boot dmesg | grep arducam shows the camera being detected and prints the firmware version, so it looks like it’s probing OK. Then I run libcamera-still (or libcamera-hello) and the preview window opens but it’s completely blank. While that window is still open, running dmesg | grep arducam again gives me the “reading register 0x107 failed” message.

uname -a says Linux raspberrypi 5.15.x aarch64, so 64-bit kernel.

On Buster with the older drivers everything works, so I’ve been falling back to that for now. But I really need Bullseye eventually, plus that Python OpenCV example script if you have one.

Thanks, that matches what I suspected. Here’s the important context:

The B0267 (1MP*4 Quadrascopic OV9281 bundle) was designed for the Buster system using the Arducam OBISP driver. At the moment it cannot be used on Bullseye the same way, because the old version of the camera uses a different device tree. That’s why the sensor probes (you see the firmware version) but streaming fails with the register 0x107 read error — libcamera isn’t talking to the sensor through the correct device tree path.

So the Buster setup working and Bullseye not working is actually expected behavior right now, not something you did wrong. The workaround for the moment is to keep using Buster with the older drivers.

We do plan to launch a new version of this camera adapted to Bullseye. Regarding the Python OpenCV example script: I have a script being prepared for the new firmware, and I’ll keep you posted.

Ok that explains a lot, at least I’m not going crazy. I’ll keep running Buster for now.

Two follow-ups:

  1. Still waiting on that Python script for grabbing images from the B0267 — any update?
  2. Back to my earlier question: the B0267 currently sends output as a 1x4 horizontal stitch. Is a 2x2 square output possible at all?

Environment is the same as before: SKU B0267, Pi 4 Model B 8GB, Bullseye 64-Bit Kernel 5.15, and Buster with older drivers works. Same commands (dmesg | grep arducam, libcamera-still, libcamera-hello) and the same “reading register 0x107 failed” result on Bullseye.

Sorry for the late reply on the follow-up.

On the Python script: we ran into a problem recently when compiling it, which slowed things down. The cameras in our warehouse have already been updated to the new firmware, and the script I’m compiling is intended for that new firmware. Because the old version of the camera adopts a different device tree, we need to adapt to the device tree in order to write the Python OpenCV script properly. Right now we’re compiling the script for you while simultaneously testing the Python script used for other cameras.

On the 1x4 vs 2x2 question: just to set expectations, the B0267 hardware only supports 1x4 output — it can’t output as a 2x2 square. So that’s a hardware limitation rather than a software setting.

I’ll notify you as soon as I have progress on the script.

Understood on the 1x4 limitation, thanks for confirming — good to know I shouldn’t keep chasing a 2x2 config.

Just to recap where I am so it’s all in one place:

  • SKU B0267, Pi 4 Model B 8GB, Bullseye 64-Bit Kernel 5.15
  • Followed the tutorial and used the product page references you linked
  • dmesg | grep arducam detects the camera and shows firmware version, but libcamera-still / libcamera-hello open a blank window
  • dmesg | grep arducam while the libcamera window is active gives “reading register 0x107 failed”
  • Swapped SD to Buster OS with older drivers — works there, so I’ve been staying on Buster

Still waiting on the Python OpenCV example script, no rush but want to keep it on the radar.

No problem keeping it on the radar. Here’s where things stand:

  • The Bullseye problem is expected for now: the B0267 uses the Arducam OBISP driver designed for Buster, and the old version of the camera uses a different device tree, so it can’t be used on Bullseye at present. If you need Bullseye support sooner, custom work can be requested via [email protected], and we’re also planning a new version of the camera adapted to Bullseye.
  • The 1x4 output is a hardware limitation of the B0267 — it cannot output as a 2x2 square.
  • The Python OpenCV example script is still being written/compiled, with the device tree adaptation being the main blocker on our side.

I’ve sent the current script package and notes through private message — please check there and try it once I confirm it’s finalized. I’ll let you know as soon as we have progress on the script.