Error message appears, attached screenshot shows most common error

Hi, I’m having a problem with my 64MP camera. It keeps failing with an error when I try to capture. I sent an email earlier showing one of the better error texts I managed to get, but the screenshot attached here is the most common one I see. Any idea what’s going on?

image001.png

Hi, thanks for posting. Schmidt from Arducam support here. So I understand it correctly - you’re getting a recurring error on the 64MP camera, and the screenshot you attached shows the most common one. You mentioned an earlier email with a different (“better”) error text as well.

To figure out what’s actually going on, I need a bit more info from your setup. Could you share:

  1. What model Pi you’re using
  2. Your OS version and kernel
  3. The output of dpkg -l | grep libcamera
  4. Whether you’ve captured any logs yet

That should give us a starting point for diagnosis.

Okay, I can grab those. I haven’t run the libcamera grep yet but I can do it now. I don’t have any logs saved so far - I didn’t know where they’d be.

Is there a specific log file you want me to send, or should I run something to generate one?

No worries, let’s generate one properly. Please run this on the Pi:

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

This will run a capture attempt and write a bug report file called bug.txt in your current directory on the Pi. Once it finishes, please send me bug.txt along with the output of dpkg -l | grep libcamera.

Also, while you’re at it, please double-check the physical connection between the camera and the Pi - reseat the ribbon cable at both ends and make sure it’s fully seated. These 64MP boards are fussy about a loose connection.

Ran it. It took a few seconds and it did create the bug.txt file. Here’s the libcamera output:

ii  libcamera-apps              1.1.2                          armhf   libcamera-apps
ii  libcamera-dev               0.0.12                         armhf   libcamera-dev
ii  libcamera0                  0.0.12                         armhf   libcamera0

I’ll send bug.txt over in a sec. I also reseated the cable and it felt okay, same error afterwards though.

Thanks, that libcamera version is helpful. Go ahead and send over bug.txt when you can - the report will include the camera detection output, the kernel messages, and the actual failure from the capture attempt, so it should tell us whether this is a connection/detection issue or something in the libcamera stack.

Just to confirm: you reseated the cable at both the Pi and the camera ends, and you still get the same error? If you have the other error text (the “better” one from your earlier email) handy, please include that too - comparing the two error states often narrows things down fast.

Yes, reseated both ends, same result. I’ll attach bug.txt. The earlier email error was different, more like a timeout style message, whereas the screenshot one is what shows up almost every time. I don’t have a link for that earlier screenshot, it was just embedded in the email.

Got it. The embedded screenshot is fine - the most common error text in the one you posted here is the main thing I want to work from anyway.

Once I have the bug.txt I can compare the detection output and the kernel logs against the capture failure you’re seeing. If the camera isn’t even being detected in the report, that points strongly at the connection/hardware side, and if it is detected but the capture fails, we’re looking at the software stack instead.

Summary of where we are:

  • You’re hitting a recurring error on the 64MP camera (the screenshot being the most common form).
  • I still need the bug.txt file and the libcamera package output together to pin down the root cause.
  • Please send bug.txt when you get a chance, and keep the cable reseated as you have it.

I’ll dig into the report as soon as it lands.