libcamera issues #27

Open
opened 2024-08-10 21:34:29 +01:00 by jordan · 0 comments
Owner

Example ustreamer log:

Aug 10 21:25:45 skycam libcamerify[13653]: [0:50:59.676658199] [14861] ERROR V4L2Compat v4l2_camera_proxy.cpp:680 Failed to clear eventfd POLLIN
Aug 10 21:25:45 skycam libcamerify[13653]: [0:50:59.676754069] [14861] ERROR Request request.cpp:472 FrameBuffer already set for stream
Aug 10 21:25:45 skycam libcamerify[13653]: [0:50:59.676795939] [14861] ERROR V4L2Compat v4l2_camera.cpp:259 Can't set buffer for request
Aug 10 21:25:45 skycam libcamerify[13653]: -- ERROR [3059.677] -- CAP: Can't release HW buffer=1 (broken frame): Cannot allocate memory

Example camera-streamer log:

[0:34:43.604260828] [11341] FATAL default ipa_base.cpp:396 assertion "it != buffers_.end()" failed in prepareIsp()

After a while, even ustreamer - which automatically restarts the capture process upon encountering these errors - will no longer be able to grab any frames from the camera sensor via libcamera.

The appropriate drivers and device tree overlays for the sensor are present; it does work for a while.

Have investigated bypassing the verification of IPA signatures to ensure a worker is not spun up to run the rpi IPAs.

Potentially related issues:

Resources:

Example `ustreamer` log: ``` Aug 10 21:25:45 skycam libcamerify[13653]: [0:50:59.676658199] [14861] ERROR V4L2Compat v4l2_camera_proxy.cpp:680 Failed to clear eventfd POLLIN Aug 10 21:25:45 skycam libcamerify[13653]: [0:50:59.676754069] [14861] ERROR Request request.cpp:472 FrameBuffer already set for stream Aug 10 21:25:45 skycam libcamerify[13653]: [0:50:59.676795939] [14861] ERROR V4L2Compat v4l2_camera.cpp:259 Can't set buffer for request Aug 10 21:25:45 skycam libcamerify[13653]: -- ERROR [3059.677] -- CAP: Can't release HW buffer=1 (broken frame): Cannot allocate memory ``` Example `camera-streamer` log: ``` [0:34:43.604260828] [11341] FATAL default ipa_base.cpp:396 assertion "it != buffers_.end()" failed in prepareIsp() ``` After a while, even `ustreamer` - which automatically restarts the capture process upon encountering these errors - will no longer be able to grab any frames from the camera sensor via `libcamera`. The appropriate drivers and device tree overlays for the sensor are present; it does work for a while. Have investigated bypassing the verification of IPA signatures to ensure a worker is not spun up to run the rpi IPAs. Potentially related issues: - https://github.com/pikvm/ustreamer/issues/139 - https://github.com/raspberrypi/libcamera/issues/50 - https://github.com/raspberrypi/libcamera/issues/115 Resources: - https://github.com/raspberrypi/linux/blob/ad2babc6596ba4f500454a4eaa607f3b49fcbcbe/arch/arm/boot/dts/overlays/README
jordan added the
hardware/pi
kind
bug
labels 2024-08-10 21:34:29 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: jordan/nix-config#27
No description provided.