3

when I try to take a picture using my Pi Camera this error message is returned:

raspistill -o image.jpg

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

How can I solve this problem? And why is this error returned?

The camera is already enabled and memory is already split by 128 in config.txt

Darth Vader
  • 4,218
  • 24
  • 47
  • 70
skatedan
  • 51
  • 1
  • 1
  • 8

1 Answers1

0

The camera may be running out of GPU memory.

Check config.txt in the /boot/ folder. The gpu_mem option should be at least 128. Alternatively, use the Memory Split option in the Advanced section of raspi-config to set this.

Darth Vader
  • 4,218
  • 24
  • 47
  • 70
11chubby11
  • 4,872
  • 5
  • 26
  • 32