Libcamera-still 64MP camera very blurry, slow and dim regardless of image size

Hey folks, I picked up a 64MP camera module and I can’t get a usable picture out of it. It does work, it captures, but every image comes out really blurry, the capture is slow, and it’s super dim. Doesn’t seem to matter what resolution I use, the result is basically the same. Anyone seen this before?

Welcome! Happy to dig into this with you. A few quick things so I understand your setup: which 64MP module is it exactly, and what board/OS are you running it on (Raspberry Pi model, and the OS release)? Also, can you paste the exact command you’re using to capture?

It’s the 64MP camera module. I tried a really small capture size to see if that helped at all:

libcamera-still -t 5000 --viewfinder-width 120 --viewfinder-height 80 -o 64mp.jpg

Still blurry, still dim, still feels slow.

Thanks, that helps. So even dropping the viewfinder down to 120x80 gives you the same blurry/dim output, which is a useful data point. Did you also try the cheese webcam app on it? I’d like to know if the problem follows the capture method or is specific to libcamera-still.

Yeah I tried cheese too, at a low resolution, something like 640x480. Same symptoms there, blurry and dark. So it’s not just libcamera-still.

OK, that’s important. If the symptoms (blurry, slow, dim) show up both in libcamera-still at various resolutions AND in cheese at 640x480, then this isn’t a resolution setting or a single app problem. A few things I’d want to rule out: is the lens actually focused and the protective film removed? Is the camera ribbon seated fully and the right way? Is anything covering the sensor or is there liquid in the lens?

Film is off, ribbon looks seated properly to me. Lens doesn’t look foggy or dirty as far as I can tell. I’ve reseated it once already just in case.

Fair enough. At this point I need some concrete evidence rather than guessing, since the symptoms span multiple capture methods. Two things:

  1. Please share a few of the blurry images you captured so I can look at the actual output.
  2. Please generate a bug report file so I can inspect the camera stack. Run:

camera-bug-report -t 5 -o bug.txt -c “libcamera-still -t 1000 -o test.jpg”

That will produce a bug.txt file with the diagnostics I need.

Sure, I can do that. Just to confirm, the bug.txt gets created in whatever folder I run that command from, right?

Yes, it’s written to the working directory you run it from. If you’d rather not post the sample photos publicly, you can send me the images and the bug.txt link in a private message and I’ll take a look. Go ahead and attach whatever you can share here plus send the rest privately, and I’ll dig into what’s actually causing it.

Quick recap so far: symptoms are blurry + slow + dim, and they show up with libcamera-still at large and tiny resolutions (e.g. --viewfinder-width 120 --viewfinder-height 80) as well as with cheese at ~640x480. That points away from a single app or resolution issue, so the next step is evidence based: sample images of the blurry output plus a bug report generated with camera-bug-report -t 5 -o bug.txt -c "libcamera-still -t 1000 -o test.jpg". Once I have those I can pinpoint the root cause instead of guessing. Not resolved yet.