Dark spot on right side of images from 64MP camera on Raspberry Pi 4

Hi, I need help figuring out if this is a defect or something I’m doing wrong. I got two pan/tilt kits with the 64MP camera modules (SKU B0399B0283), and on ONE of the camera modules there’s a darker spot on the right side of every single image, about half way down. The other module from the second kit looks totally clean.

Setup: Raspberry Pi 4 (4GB), module connected directly to the Pi, running the 64MP camera with the standard manual (https://www.arducam.com/downloads/arducam_64mp_pi_camera_manual.pdf). I followed the instructions, but I honestly never got it to work properly. I haven’t tried any troubleshooting yet because I couldn’t find anything about this in the manual.

Pictures of the dark spot: out hosted at ImgBB — ImgBB and out2 hosted at ImgBB — ImgBB
Video taken with the 64MP module on the Pi 4: https://cdn.arducam.com/forum/7e1c42e3d807e3815b972d93bc6dfc23/issue.mp4

Is this a sensor problem?

Thanks for the details and for the images/video, that helps a lot. Before we jump to any conclusions, I’d like to confirm the module is running the way we expect.

A couple of questions:

  1. Can you confirm the camera is plugged straight into the Pi’s CSI port (nothing in between, no extension cable)?
  2. What exact command are you using to grab the images?
  3. Can you post a few more stills, ideally a plain bright surface so the spot is easy to see?

Also, please run the camera directly on the Pi and check if you see the same issue. Just to rule out anything in the pan/tilt path.

Yes, it’s directly on the CSI port of the Pi 4, no extension or adapter. I’m grabbing stills with libcamera-still (also tried libcamera-vid for the video). Command is basically:

libcamera-still -o test.jpg --width 4624 --height 3472

I pointed it at a wall and a white piece of paper. Spot is always in the same place, right side, half way down. It doesn’t move no matter what I point the camera at. Adding two more shots: out2 hosted at ImgBB — ImgBB

It was already connected straight to the Pi when I noticed it, so nothing changed when I ran it directly.

OK, so the spot is fixed in position in the frame regardless of the scene - that points at something in the optical path or on the sensor itself rather than lighting.

Two tests that will narrow it down a lot:

  1. Swap test - take the module from the good kit and put it in the same Pi/port, then take the module with the spot and move it to the other Pi/port if you’re using both. This tells us if the spot follows the module or stays with the Pi.

  2. Have a close look at the sensor window and the lens for dust, smudges or anything loose on the glass. If you can, blow it off gently with a blower (no cloth, no solvent).

Can you try both and let me know what changes?

Did the swap test. This is pretty clear now:

  • Module with the spot → moved to the other Pi’s port: spot is still there, same place, right side half way down.
  • Good module → in the original Pi and port: image is clean, no spot at all.

So the spot follows the module, not the Pi or the port. I also checked the lens and sensor glass with a light, cleaned the lens carefully, but the spot doesn’t budge. It looks like it’s under/behind the surface, not something I can wipe off.

One more thing I should mention: the dark spot shows up in every format I try, including lower resolutions, so it’s not something that only appears at full 64MP. Everything else works - focus, pan/tilt, the good module is perfectly fine.

Thanks - that’s a really useful result. Spot stays with the module across ports, unaffected by cleaning, and appears in all resolutions. That strongly suggests a hardware/sensor defect on that one module rather than a software or connection issue.

Before we settle on that, let’s rule out firmware just to be thorough. I’ve sent you the latest firmware package and the flashing steps through private message - please check your messages and try the update on the affected module. After updating, take a couple of stills at the same resolution and post them here.

Got the package, thanks. Updated the firmware on the affected module, rebooted, and grabbed new stills:

libcamera-still -o after_fw.jpg --width 4624 --height 3472

The spot is exactly the same. Same position, same darkness, nothing changed. So it doesn’t look like firmware either.

Yeah, that matches what I expected given the swap test. Quick recap of where we are:

  • The dark spot is fixed in position (right side, half way down) in every image, independent of the scene.
  • It follows the specific camera module across Pi boards and CSI ports.
  • The second module is clean in the same setup.
  • Cleaning the lens/sensor glass had no effect.
  • A firmware update made no difference.

So everything points to a hardware issue with that one 64MP module - most likely something on the sensor surface or in the IR filter/lens stack that isn’t user-removable, which is why you can’t clean it away.

At this point I’ve got the diagnostics I need (swap test result, the extra stills and the video). I’m taking this back to our team to confirm the sensor defect before we go any further - I don’t have a confirmed fix or workaround for you yet, so please hold off on any further attempts. If you can post one last still on a plain white background at full resolution, that’ll give us the cleanest reference image for the report.

Here’s a full-res shot against a white wall: out2 hosted at ImgBB — ImgBB. Spot is visible just like before. Thanks for working through this with me - let me know what you find out.