Hi, I’ve got the Arducam 12MP2 Synchronized Stereo Camera Bundle Kit for Raspberry Pi (two 12.3MP IMX477 modules with CS lens and the CamArray Stereo Camera HAT) and honestly I never got it to work. I’m on a Raspberry Pi 3 model B+ with a fresh install of Raspberry Pi OS (legacy).
When I run raspistill -t 0 I get:
mmal: mmal_vc_component_enable: failed to enable component: ENOSPC
mmal: camera component couldn’t be enabled
mmal: main: Failed to create camera component
mmal: Failed to run camera app. Please check for firmware updates
What else should I try? Could this be a hardware issue?
OK, detection looks fine (supported=1 detected=1 is what we want). Can you run raspistill with debug enabled so we can see where it’s actually failing?
raspistill -t 0 -debug
And paste the output here. I have a suspicion about the legacy/mmal stack, but I want to see the driver-level messages first.
Ran it with debug. I also tried a bunch of other things already: I followed the advice in this thread https://forums.raspberrypi.com/viewtopic.php?t=232533 and increased the GPU memory from 128 to 518, but that did NOT help.
Here’s the debug output:
vcgencmd get_camera: supported=1 detected=1
raspistill debug output:
098285,621: assert( 0 ) failed: …/…/…/…/vefw/drivers/device/camera/imx477.c::1mx477_open Line 375 rev ede5f7d
vedbg_etx_ get_ dump_stack: dump_stack failed
008285.689: assert( open_camera_driver: camera open failed ) failed; …/…/…/…/middleware/camplus/edi/edi_camera,eiiopen_camera_driver Line 710 rev ede5f7d
vedbg_etx_get_dump_stack: dump stack failed
754: camera_open: Failed to open camera driver/perihperat ) failed; /cdba_ ctx det dump stack: dump stack failed
Iddleware/camplus/edi/cdi_camera,eiicdi_camera_open Line 547 rev ede5f7d
098285,843: assert( retcode == • ) failed: …l…l…/middleware/openma
redbg_ctx_get_dump_stack: dump stack failed
ponents/camera, e:: load_and_open_edi Line 12008 rev ede5f7d
)08292,022; assert( id->cditeNULL 22 id->cdi_handle!=NULL ) failed; …/…/cdbg_ctx
dump_stack: dump_stack failed
riddleware/openmaxil/components/camera,eiiopen_camplus Line 11343 rev ede5f7d
Looks like it’s dying at the imx477 open step. Any idea what’s going on?
That output is actually the key here. Those asserts (imx477_open Line 375, camera_open failed, open_camplus Line 11343) all point to the mmal/legacy camera driver failing to open the sensor.
Here’s the catch: the new IMX477 stereo camera cannot be used on the legacy system. The legacy Raspberry Pi OS isn’t supported for this new IMX477 stereo camera, which is exactly why raspistill/mmal fails to open the camera driver — no amount of GPU memory or config tweaking will fix that path.
So the fix isn’t on the legacy side. You need to move to the latest Raspberry Pi OS and use the libcamera-based apps instead of the legacy raspistill/mmal stack.
That did it — I reflashed with the latest Raspberry Pi OS and used the libcamera apps, and the camera works now. So it wasn’t a hardware issue after all, just the legacy stack not supporting the new IMX477 stereo camera. Thanks!
Glad it’s working. To summarize for anyone reading this thread later:
Symptom: on Raspberry Pi OS legacy, raspistill fails with mmal_vc_component_enable: failed to enable component: ENOSPC and debug shows asserts at imx477_open Line 375, camera_open failed, and open_camplus Line 11343.
vcgencmd get_camera still reports supported=1 detected=1, so detection isn’t the problem.
Cause: the new IMX477 stereo camera (12MP2 kit with CamArray Stereo HAT) is not compatible with the legacy system — the legacy mmal/raspistill path can’t open the driver.
Fix: use the latest Raspberry Pi OS (raspios_full_armhf-2022-04-07) and access the camera with the libcamera apps instead of the legacy raspistill/mmal stack.
Note that increasing GPU memory or removing dtoverlay lines won’t help here. If you’re still stuck after switching, post your libcamera command output and we’ll take a look.