Problems you were having?
Running the demo program in the above instruction for picamera, I get this:
python3 notpicamera2.py
[0:10:53.251100054] [964] INFO Camera camera_manager.cpp:293 libcamera v0.0.0+3897-c3c878a9
[0:10:53.256846721] [968] WARN CameraSensorProperties camera_sensor_properties.cpp:174 No static properties available for 'arducam_64mp'
[0:10:53.256894740] [968] WARN CameraSensorProperties camera_sensor_properties.cpp:176 Please consider updating the camera sensor properties database
Open i2c bus error: No such file or directory
[0:10:53.267545147] [968] WARN RPI raspberrypi.cpp:1280 Mismatch between Unicam and CamHelper for embedded data usage!
[0:10:53.268291499] [968] ERROR DelayedControls delayed_controls.cpp:87 Delay request for control id 0x009a090a but control is not exposed by device /dev/v4l-subdev0
[0:10:53.268420128] [968] INFO RPI raspberrypi.cpp:1404 Registered camera /base/soc/i2c0mux/[email protected]/[email protected] to Unicam device /dev/media1 and ISP device /dev/media4
Traceback (most recent call last):
File "/home/pi/.local/lib/python3.9/site-packages/picamera2/previews/qt_previews.py", line 36, in createpreview
qpicamera2 = parent.make_picamera2_widget(cam, width=parent.width, height=parent.height,
File "/home/pi/.local/lib/python3.9/site-packages/picamera2/previews/qt_previews.py", line 135, in make_picamera2_widget
from picamera2.previews.qt import QGlPicamera2
File "/home/pi/.local/lib/python3.9/site-packages/picamera2/previews/qt.py", line 1, in <module>
from .q_gl_picamera2 import EglState, QGlPicamera2
File "/home/pi/.local/lib/python3.9/site-packages/picamera2/previews/q_gl_picamera2.py", line 21, in <module>
from OpenGL.GLES2.OES.EGL_image import *
File "/usr/lib/python3/dist-packages/OpenGL/GLES2/__init__.py", line 2, in <module>
from OpenGL.raw.GLES2._types import *
File "/usr/lib/python3/dist-packages/OpenGL/raw/GLES2/_types.py", line 5, in <module>
_error_checker = _ErrorChecker( _p, _p.GLES2.glGetError )
AttributeError: 'NoneType' object has no attribute 'glGetError'
Aborted
(venv) [email protected]:~/projectfiles $
The dmesg log from your hardware?
sudo dmesg | grep error
[ 5.689996] brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43455-sdio.raspberrypi,4-model-b.bin failed with error -2
Troubleshooting attempts you’ve made?
I renamed picamera2.py to a different name and overcame the issue of it not running…
What help do you need?
How can I get the system to recongize the camera and take a picture without an error.
Thanks.
Well this is a workaround but not suitable for most of the use. I was expecting to get a camera working with current lib.
Be aware before bying this camera:
Not working for me with opencv apps
Not working with gstreamer
Not working with the last kernels.
Only working with libcamera2 whereas this is in early dev phase and most of the application are not using it.
I will then go for onother solution until this one get out of dev phase.
Just to warn people before they buy this one.
Hi,
OpenCV:
I have posted our example code for you, have you run it?
Gstreamer:
I also took screenshots that show that it works on our side.
Lastest kernel:
I do not know why you say that the camera is not working with the latest kernel. Have you tried it?
Well I want to use you camera without having to code everything.
At the moment to make a simple photobooth with Pi booth, I am not able to use you camera after hours of search. It is working out of the box with all the other raspberry camera I have.
If I do a dist Upgrade the driver is not working anymore except if something change in the last 2 weeks.
GStreamer is still crashing : I have never been able to get it working : advise saying it is a GStreamer issue is not correct as it is working on your setup. I shared my setup and it is not (both seems to be the same).You have a nice product on the paper but when it comes to daily use it is not so nice and we have to spend lot of time.
> gst-launch-1.0 libcamerasrc ! 'video/x-raw,width=1920,height=1080' ! videoconvert ! autovideosink
> Définition du pipeline à PAUSED...
> [0:02:13.949151478] [2221] INFO Camera camera_manager.cpp:293 libcamera v0.0.0+3897-c3c878a9
> [0:02:13.957144224] [2224] WARN CameraSensorProperties camera_sensor_properties.cpp:174 No static properties available for 'arducam_64mp'
> [0:02:13.957235393] [2224] WARN CameraSensorProperties camera_sensor_properties.cpp:176 Please consider updating the camera sensor properties database
> [0:02:13.983697654] [2224] WARN RPiController controller.cpp:80 This format of the tuning file will be deprecated soon! Please use the convert_tuning.py utility to update to version 2.0.
> [0:02:13.983839249] [2224] WARN RPiController controller.cpp:117 No algorithm found for "version"
> [0:02:13.983871657] [2224] WARN RPiController controller.cpp:117 No algorithm found for "target"
> [0:02:13.983902824] [2224] WARN RPiController controller.cpp:117 No algorithm found for "algorithms"
> [0:02:13.984289479] [2224] WARN RPI raspberrypi.cpp:1280 Mismatch between Unicam and CamHelper for embedded data usage!
> [0:02:13.985524833] [2224] ERROR DelayedControls delayed_controls.cpp:87 Delay request for control id 0x009a090a but control is not exposed by device /dev/v4l-subdev0
> [0:02:13.985732744] [2224] INFO RPI raspberrypi.cpp:1404 Registered camera /base/soc/i2c0mux/[email protected]/[email protected] to Unicam device /dev/media4 and ISP device /dev/media0
> Le pipeline est actif et n’a pas besoin de phase PREROLL…
> Le pipeline a terminé la phase PREROLL…
> Passage du pipeline à la phase PLAYING…
> New clock: GstSystemClock
> [0:02:14.028715469] [2225] INFO Camera camera.cpp:1035 configuring streams: (0) 1920x1080-NV21
> [0:02:14.029246348] [2224] INFO RPI raspberrypi.cpp:765 Sensor: /base/soc/i2c0mux/[email protected]/[email protected] - Selected sensor format: 1920x1080-SBGGR10_1X10 - Selected unicam format: 1920x1080-pBAA
> Caught SIGSEGV
> #0 __GI___poll (timeout=100, nfds=2, fds=0x1c2fc18)
> #1 __GI___poll (fds=0x1c2fc18, nfds=2, timeout=100)
> #2 0xb6d78988 in () at /lib/arm-linux-gnueabihf/libglib-2.0.so.0
> Spinning. Please run 'gdb gst-launch-1.0 2221' to continue debugging, Ctrl-C to quit, or Ctrl-\ to dump core.