Libcamera-still errors with no cameras available on Raspberry Pi 4B with Arducam 64MP

Hi all, I can’t get my Arducam 64MP camera to work on my Raspberry Pi 4B. I set everything up like the manual says, but libcamera just tells me there are no cameras at all. I keep getting this:

libcamera v0.0.0+3572-e13ccdd5
ERROR: *** no cameras available ***

I’m running the latest Raspberry Pi OS on a 64GB SD card (flashed with Raspberry Pi Imager on Windows). Hostname is raspberrypi, user is pi. I copy-pasted the driver install commands straight out of the Arducam 64MP manual, rebooted when it asked, and set up config.txt exactly as the manual said. Still no camera detected. I tried a second 64MP camera too and got the same thing. Any idea what I’m doing wrong?

Thanks for the detailed post. Honestly, the symptom you’re describing usually doesn’t point at a broken camera. The most likely thing here is a mismatched config environment, where something in your setup isn’t lining up with what libcamera expects. But before I guess, I’d like some real data from your side.

Can you run these two commands and share the output?

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

The second one will create a bug.txt file on your Pi. Please attach that file here so I can look through it. That report will tell me a lot more than the error alone.

Ok, ran both. Here’s what I’ve got.

Environment:

  • Raspberry Pi 4B, hostname raspberrypi, user pi
  • libcamera v0.0.0+3572-e13ccdd5
  • Hardware: Arducam 64MP camera
  • OS: latest Raspberry Pi OS on a 64GB SD card

dpkg -l | grep libcamera:

ii  libcamera-apps                 0.0.7             armhf        libcamera-apps
ii  libcamera-dev                  0.0.7             armhf        libcamera

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

Made X/EGL preview window
[0:10:12.845240450] [3035]  INFO Camera camera_manager.cpp:293 libcamera v0.0.0+3572-e13ccdd5
ERROR: *** no cameras available ***
Bug report generated to bug.txt

Also here’s everything I’ve tried:

  • Fresh install of the latest Raspberry Pi OS on a 64GB SD card using Raspberry Pi Imager for Windows
  • Plugged everything in and booted up
  • Copy-pasted the driver installation commands from the manual, rebooted when prompted
  • Set up config.txt as the manual instructed → libcamera can’t detect any cameras
  • Tried the other 64MP cameras with the exact same result
  • Swapped in an old Pi Camera v1 → that one works fine, so the Pi’s camera port and the ribbon cable are definitely good

I’ve attached the bug.txt file that was generated: bug.txt

Really hoping this is fixable, I’ve been stuck on it for a while.

Thanks, that’s a really clear write-up. I went through your bug.txt and I honestly don’t see an obvious mistake in there. Your config actually looks just like mine on a setup where the camera works normally, so this isn’t a config typo kind of problem.

Since the config matches a known-good setup, let’s look at the physical side and the device nodes. A few things I need you to check:

  1. Please check the cable and the hardware connection, and send me a picture of how it’s connected.
  2. Run this and tell me what it shows:
ls /dev/video*

Specifically I want to know if /dev/video0 shows up.

  1. Did you install the additional libcamera apps and Raspberry Pi OS packages that the guide asks for, or was that a fresh OS with just the driver commands?

Since the v1 camera worked, that already tells us the port and cable are probably fine, but I want to confirm the sensor is actually being detected at the device level.

Got it working, but I have some warnings I want to ask about.

So I was digging around and noticed that /boot/config.txt ended with this:

dtoverlay=arducam_64mpdtoverlay=vc4-kms-v3d,cma-512

Looks like the two entries ended up jammed together on one line. The driver install appended dtoverlay=arducam_64mp to the end of the file, and then my copy-paste of dtoverlay=vc4-kms-v3d,cma-512 got stuck onto the end of that same line instead of going on its own line. I didn’t add dtoverlay=arducam_64mp myself by the way, the installer did that.

So I split the two onto separate lines and tested again without rebooting, but it still failed. Then I rebooted the Pi the next morning, and this time I actually heard a clicking sound, and after that I could take a picture.

My questions:

  1. Is the camera supposed to click when booting up and when taking a picture?
  2. Is this warning/error output normal, or should I worry about it?

Here’s the command and the output:

pi@raspberrypi:~/Desktop $ libcamera-still -t 5000 --viewfinder-width 2312 --viewfinder-height 1736 --width 4624 --height 3472 -o 64mp.jpg --autofocus

Made X/EGL preview window
[0:05:26.235061617] [1993]  INFO Camera camera_manager.cpp:293 libcamera v0.0.0+3572-e13ccdd5
[0:05:26.292942978] [1995]  WARN CameraSensorProperties camera_sensor_properties.cpp:163 No static properties available for 'arducam_64mp'
[0:05:26.293002719] [1995]  WARN CameraSensorProperties camera_sensor_properties.cpp:165 Please consider updating the camera sensor properties database
[0:05:26.293425701] [1995] ERROR CameraSensor camera_sensor.cpp:591 'arducam_64mp 10-001a': Camera sensor does not support test pattern modes.
[0:05:26.321362150] [1995]  WARN RPI raspberrypi.cpp:1263 Mismatch between Unicam and CamHelper for embedded data usage!
[0:05:26.322079724] [1995] ERROR DelayedControls delayed_controls.cpp:87 Delay request for control id 0x009a090a but control is not exposed by device /dev/v4l-subdev0
[0:05:26.322378780] [1995]  INFO RPI raspberrypi.cpp:1386 Registered camera /base/soc/i2c0mux/i2c@1/arducam_64mp@1a to Unicam device /dev/media3 and ISP device /dev/media0
[0:05:26.323170650] [1993]  INFO Camera camera.cpp:1029 configuring streams: (0) 2312x1736-YUV420
[0:05:26.323685113] [1995]  INFO RPI raspberrypi.cpp:764 Sensor: /base/soc/i2c0mux/i2c@1/arducam_64mp@1a - Selected sensor format: 2312x1736-SBGGR10_1X10 - Selected unicam format: 2312x1736-pBAA
[0:05:31.744434098] [1993]  INFO Camera camera.cpp:1029 configuring streams: (0) 4624x3472-YUV420 (1) 4624x3472-SBGGR10_CSI2P
[0:05:31.747875469] [1995]  INFO RPI raspberrypi.cpp:764 Sensor: /base/soc/i2c0mux/i2c@1/arducam_64mp@1a - Selected sensor format: 4624x3472-SBGGR10_1X10 - Selected unicam format: 4624x3472-pBAA
Still capture image received

Other details if useful: sensor registers as arducam_64mp 10-001a at /base/soc/i2c0mux/i2c@1/arducam_64mp@1a, Unicam is /dev/media3, ISP is /dev/media0, and there’s /dev/v4l-subdev0.

Nice find, that explains a lot. A few answers for you:

On the config file: the dtoverlay=arducam_64mp line gets generated automatically after you install the 64MP camera driver, so you don’t need to add it manually. The problem was exactly what you spotted, the two entries ended up as one line:

dtoverlay=arducam_64mpdtoverlay=vc4-kms-v3d,cma-512

Those need to be on separate lines:

dtoverlay=arducam_64mp
dtoverlay=vc4-kms-v3d,cma-512

So going forward, after modifying the config file, always make sure the two lines are separated. And any change to config.txt needs a reboot before it takes effect, which is why splitting the lines and testing without rebooting still failed for you. Once you rebooted, the driver actually got loaded, which is why it started working.

On the clicking sound: yes, that’s completely expected. This camera has a motorized focus (autofocus) motor, and when the camera starts up and focuses, the motor clicks. So it’s normal to hear it click both at boot and when you take a picture.

On the warnings and errors in the output: I’ve run through this exact set before on test units. Things like:

No static properties available for 'arducam_64mp'
Camera sensor does not support test pattern modes.
Mismatch between Unicam and CamHelper for embedded data usage!
Delay request for control id 0x009a090a but control is not exposed by device /dev/v4l-subdev0

…are warnings. They don’t affect using the camera, and you can ignore them.

So to sum up: your original failure was the two dtoverlay entries ending up on a single line instead of separate lines, plus needing a reboot for it to take effect. Keep them on their own lines, reboot after any config change, and the warnings are harmless. Looks like you’re up and running now, happy shooting!

Understood. My concerns have been addressed. Thanks!