Mini 16MP camera artifacts on Raspberry Pi Zero after driver update

Hi, I need help with the Arducam Mini 16MP camera (UC-0913 Rev A R). It produces corrupted pictures with artifacts right in the middle of the image. I also have the 16MP Autofocus (non-mini) camera and that one works flawlessly on the exact same Pis, so it looks specific to the mini model.

What I’ve tried so far:

  • Started on a Pi Zero W using the UC-665 cable with a joiner.
  • Suspected a bad cable, so I plugged the camera directly into a Pi 3B+ — same artifacts.
  • Swapped the SD card, reinstalled everything from scratch, changed the power supply and the cable, and tested two different mini cameras.
  • Every mini camera I’ve tested shows the exact same problem.
  • On the Pi 3B+ I needed roughly 50 tries to get an image that was usable at all, and the artifacts were still there in the corners.

Capture command is just libcamera-still -o out.jpg.

Bad image (picture of a white wall, Pi Zero): https://www.mars105.net/c7c2a610e20d7003e2e4f75bc46dac7412d18ff8/bad.jpg
Pi Zero connection: https://www.mars105.net/c7c2a610e20d7003e2e4f75bc46dac7412d18ff8/pi_zero_connection.jpg
Pi 3B+ connection: https://www.mars105.net/c7c2a610e20d7003e2e4f75bc46dac7412d18ff8/pi_3b_connection.jpg

Anyone seen this before? Is this a hardware or software thing?

Thanks for the detailed report and the photos. A couple of things so we can narrow this down:

  1. Please post the output of uname -a so we know the exact kernel/system version on both boards.
  2. If possible, take a video while using the camera, or take several pictures in different conditions/directions — a single shot is hard to judge.
  3. In the meantime, take a look at this FAQ thread, it covers a lot of the common libcamera/IMX519 issues: Libcamera & IMX519 FAQ - #12 by wong

Also, was the camera connector on the Pi 3B+ ever used before, or is it a fresh board?

Here are the versions:

Pi 3B+: 5.10.103-v7+ armv7l
Pi Zero: 5.10.103+ armv6l

Both are freshly installed Raspberry Pi OS with the camera stack set up from scratch. The Pi 3B+ was almost never used and its camera connector had never been used before (it was still sealed with tape), so a worn connector seems unlikely.

More images:
Bad image from the Pi 3B+ with the mini: https://www.mars105.net/c7c2a610e20d7003e2e4f75bc46dac7412d18ff8/pi_3b_bad.jpg
Best image I could get from the Pi 3B+ with the mini (after many tries): https://www.mars105.net/c7c2a610e20d7003e2e4f75bc46dac7412d18ff8/pi_3b_best.jpg
Good image on the same Pi 3B+ with the non-mini camera: https://www.mars105.net/c7c2a610e20d7003e2e4f75bc46dac7412d18ff8/pi_3b_non_mini_good.jpg
Better but still corrupted: https://www.mars105.net/c7c2a610e20d7003e2e4f75bc46dac7412d18ff8/bad2.jpg

My own guess: this is related to the bus speed used. On the Pi Zero especially, the hardware connection with the camera can vary a lot between setups, so I suspect the timing margin is marginal. Would it be possible to expose a kernel parameter to adjust the bus speed so I can test different values on my side?

We tried to reproduce this. On a Pi 4 we couldn’t reproduce it, but on a Pi 3 (and Pi Zero) we can — the same effect you’re seeing. So it does look like a driver issue that affects the Pi 3 / Pi Zero but not the Pi 4, and it’s most likely tied to the bus speed used.

About the kernel parameter: adding parameters like that can change a lot of other things, and it probably won’t be modified in the near future, so I’d rather not send you down that path yet.

Instead, I’ve sent you a test driver package (imx519_low_speed_mini.tar.gz) through private message. Please check your messages and try the update. Steps:

  1. Copy the compressed package to the Raspberry Pi
  2. Unzip: tar xzvf imx519_low_speed_mini.tar.gz
  3. Change directory and install:
    cd Release
    ./install_driver.sh

Then capture again with libcamera-still -o out.jpg and let us know how it looks on both boards.

Got the package, installed it on both boards and retested.

Good news: on the Pi 3B+ it works fine now. I took multiple pictures in different conditions and there are no artifacts at all.

Bad news: on the Pi Zero the artifacts are still there, right in the center of the image. The corners actually seem better than before, but the center is still corrupted.

New image from the Pi Zero after the driver update: https://www.mars105.net/c7c2a610e20d7003e2e4f75bc46dac7412d18ff8/pi_zero_drv_update_bad.jpg

So the low-speed driver fixed the Pi 3B+ but not the Pi Zero. Anything else I can try?

Thanks, that’s a useful result — Pi 3B+ fixed and Pi Zero still not, both with the low-speed driver, points to the Pi Zero path specifically.

Can you do a few more captures on the Pi Zero and post the results? Please take several shots (not just one direction) — different targets, lighting and orientation, ideally 5-10 images, and also confirm again the kernel on the Zero (uname -a) is still 5.10.103+ armv6l after the driver install.

If you can grab a short video while it’s running that would help too. We’ll keep testing on our side with the same low-speed package.

Did a longer session on the Pi Zero — took quite a few shots in different conditions and it’s always the same: artifacts in the center, no matter the target or lighting.

uname -a on the Zero after the driver install is still: Linux raspberrypi 5.10.103+ #1529 … armv6l

The Pi 3B+ keeps being clean, so the difference is really between the two boards, not the camera — the same mini camera behaves differently depending on which Pi it’s on, and the non-mini camera is fine on both.

Worst of the bunch from the Zero after the update: https://www.mars105.net/c7c2a610e20d7003e2e4f75bc46dac7412d18ff8/pi_zero_drv_update_bad.jpg (center is clearly corrupted)

Anything else you’d like me to test, or is this something you can only fix in the driver?

Thanks for the extra testing, that’s exactly the comparison we needed.

Status from our side: the low-speed mini driver resolves the artifacts on the Pi 3B+, but we can still see them on the Pi Zero, matching what you’re getting. We’ll conduct further testing on the Pi Zero path and get back to you in this thread.

For now, if your application can use the Pi 3B+ (or a Pi 4, where we couldn’t reproduce it), that’s the reliable combination with the Mini 16MP camera. Please don’t change anything else in your setup in the meantime — the driver package you have is the right one to keep testing with.

Two follow-up questions since I haven’t heard back after the last message (‘We will conduct further testing’, 25 March):

  1. Was a solution found for the artifact problem with the 16MP mini camera on the Pi Zero? I’m still seeing corrupted images with the driver you sent, center artifacts specifically.

  2. Is there a changelog / version history for the driver? The releases page Releases · ArduCAM/Arducam-Pivariety-V4L2-Driver · GitHub shows the last release date back in February, but the files look much more recent than that, so it’s very hard to tell what state the driver is actually in. Is there one place I can watch to be informed when a new driver is released?

Also, unrelated but I couldn’t create a support ticket on the website — the form fails with ‘Google reCAPTCHA verification failed, please try again later.’ and no captcha is ever displayed, so I couldn’t reach you that way.

One more thing: is there documentation on how to adjust the focus of the mini camera? Mine are way out of focus and I don’t want to damage them trying to figure it out.

Sorry for the long silence, and thanks for the detailed summary.

Where things stand right now:

  • Mini 16MP (UC-0913 Rev A R): artifacts on the Pi Zero are still not fixed. The low-speed driver (imx519_low_speed_mini.tar.gz) clears them completely on the Pi 3B+, and corners improved on the Zero, but the center artifacts remain. This is still open on our side and under further testing — I’m not going to claim it’s solved.
  • Workaround in the meantime: use the Mini 16MP on a Pi 3B+ (or a Pi 4, where the problem doesn’t reproduce) with the low-speed driver installed; that combination gave clean images across multiple captures. Same setup on the Pi Zero is not reliable yet.
  • Kernel parameter for bus speed: still not something we can expose right now — it can change a lot of behavior and it isn’t planned for modification in the near future.
  • Changelog: there is no dedicated changelog yet, and you’re right that the releases page dates don’t reflect the file updates. That page is still the best single place to watch for a new driver release, and I’ve passed on the request for a proper version history.
  • Focus adjustment for the mini camera: I don’t have a written procedure to hand, I’ll ask and follow up here.
  • Support form reCAPTCHA error: noted, thanks for reporting it.

If you can post any new Pi Zero captures as you test, that will help the ongoing investigation. We’ll reply in this thread as soon as there’s news on the Pi Zero fix or a new driver release.