picamera.exc.PiCameraMMALError: Failed to create MMAL component b'vc.camera_info': Function not implemented
See original GitHub issueI have picamera 1.13 installed. I had a perfectly working webcam script running until I did an apt-get upgrade today. That upgraded did this:
Get:1 http://archive.raspberrypi.org/debian bullseye/main armhf libc6-dbg armhf 2.31-13+rpt2+rpi1 [6377 kB]
Get:2 http://archive.raspberrypi.org/debian bullseye/main armhf libc-devtools armhf 2.31-13+rpt2+rpi1 [245 kB]
Get:3 http://archive.raspberrypi.org/debian bullseye/main armhf libc6-dev armhf 2.31-13+rpt2+rpi1 [1813 kB]
Get:4 http://archive.raspberrypi.org/debian bullseye/main armhf libc-dev-bin armhf 2.31-13+rpt2+rpi1 [266 kB]
Get:5 http://archive.raspberrypi.org/debian bullseye/main armhf libc6 armhf 2.31-13+rpt2+rpi1 [2297 kB]
Get:6 http://archive.raspberrypi.org/debian bullseye/main armhf libc-bin armhf 2.31-13+rpt2+rpi1 [682 kB]
Get:7 http://archive.raspberrypi.org/debian bullseye/main armhf bluez armhf 5.55-3.1+rpt1 [843 kB]
Get:8 http://archive.raspberrypi.org/debian bullseye/main armhf libc-l10n all 2.31-13+rpt2+rpi1 [863 kB]
Get:9 http://archive.raspberrypi.org/debian bullseye/main armhf locales all 2.31-13+rpt2+rpi1 [4084 kB]
Get:10 http://archive.raspberrypi.org/debian bullseye/main armhf libraspberrypi-dev armhf 1:2+git20210719~113532+97bc818-3 [180 kB]
Get:11 http://archive.raspberrypi.org/debian bullseye/main armhf libraspberrypi-doc all 1:2+git20210719~113532+97bc818-3 [1564 B]
Get:12 http://archive.raspberrypi.org/debian bullseye/main armhf libraspberrypi-bin armhf 1:2+git20210719~113532+97bc818-3 [40.8 kB]
Get:13 http://archive.raspberrypi.org/debian bullseye/main armhf libraspberrypi0 armhf 1:2+git20210719~113532+97bc818-3 [177 kB]
After rebooting, now the script does this:
mmal: mmal_component_create_core: could not find component 'vc.camera_info'
Traceback (most recent call last):
File "/home/nsayer/./cam.py", line 85, in <module>
with picamera.PiCamera(resolution='1600x1200', framerate=24) as camera:
File "/usr/lib/python3/dist-packages/picamera/camera.py", line 367, in __init__
with mo.MMALCameraInfo() as camera_info:
File "/usr/lib/python3/dist-packages/picamera/mmalobj.py", line 2346, in __init__
super(MMALCameraInfo, self).__init__()
File "/usr/lib/python3/dist-packages/picamera/mmalobj.py", line 631, in __init__
mmal_check(
File "/usr/lib/python3/dist-packages/picamera/exc.py", line 184, in mmal_check
raise PiCameraMMALError(status, prefix)
picamera.exc.PiCameraMMALError: Failed to create MMAL component b'vc.camera_info': Function not implemented
TO REITERATE: NOTHING changed other than the package upgrades noted above.
Issue Analytics
- State:
- Created 2 years ago
- Comments:11
Top Results From Across the Web
Failed to create MMAL component b'vc.camera_info': I/O ...
I'm using Raspberry Pi 3 Model B+. vcgencmd get_camera gives me supported=1 detected=1 raspistill -o test.jpg gives me the test.jpg file but also...
Read more >Failed to create MMAL component b'vc.ril.camera': Out of ...
I am using Python 3.4, PiCamera 1.13, and OpenCV 3.4. I will be happy to provide any more information is needed. Any help...
Read more >picamera Failed to create MMAL component b'vc. ...
camera_info': Function not implemented. Sat Nov 20, 2021 12:00 am. I found that the PiCamera is broken even in some buster versions of...
Read more >Fix Picamera in Python MMAL Error Raspberry Pi
There could be any number of reasons... you may have failed to configure something in raspi-config , you may have tinkered with the...
Read more >Mmal: Failed to create camera_info component
When I run the command vcgencmd get_camera, it returns that the camera is supported and detected. Can you tell me what it can...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
The workaround is to fetch these packages and downgrade to them:
libraspberrypi0_1.20210831-1_armhf.deb libraspberrypi-bin_1.20210831-1_armhf.deb libraspberrypi-dev_1.20210831-1_armhf.deb libraspberrypi-doc_1.20210831-1_armhf.deb raspberrypi-bootloader_1.20210831-1_armhf.deb
https://github.com/waveform80/picamera/issues/697#issuecomment-967601795
Picamera works fine on Pi4 32bit userland, which the Pi4 runs quite happily. With Raspberry Pi OS Bullseye release you will need to enable the legacy camera stack.