Error at samplecode at jetson_multimedia_api - 09_camera_jpeg_capture

Hi,

We have an IMX577 camera with an Nvidia Jetson TX2 with the latest argus drivers.
In our production code we get the same error as in the sample code “jetson_multimedia_api” - “09_camera_jpeg_capture”.

If we run the sample code form “jetson_multimedia_api” - “09_camera_jpeg_capture” and we set the duration to 100 second, after creating around 250 pictures,
it fails with the following error:

"(Argus) Error BadParameter: (propagating from src/eglstream/ImageImpl.cpp, function initialize(), line 382)
(Argus) Error BadParameter: (propagating from src/eglstream/ImageImpl.cpp, function copyToNvBuffer(), line 440)
Error generated. main.cpp, threadExecute:151 Failed to copy frame to NvBuffer.
Error generated. /home/nvidia/dev/jetson_multimedia_api/argus/samples/utils/Thread.cpp, threadFunction:132 (propagating)
(Argus) Error BadParameter: (propagating from src/eglstream/ImageImpl.cpp, function initialize(), line 382)
(Argus) Error BadParameter: (propagating from src/eglstream/ImageImpl.cpp, function copyToNvBuffer(), line 440)
Error generated. main.cpp, threadExecute:151 Failed to copy frame to NvBuffer.
Error generated. /home/nvidia/dev/jetson_multimedia_api/argus/samples/utils/Thread.cpp, threadFunction:132 (propagating)"

Could you tell, what could be the problem?

Hi,
Please try gstreamer pipeline:

gst-launch-1.0 nvarguscamerasrc ! nvoverlaysink

and 10_camera_recording. To check if it is specific to running 09_camera_jpeg_capture

Both 10_camera_recording works, gst-launch-1.0 nvarguscamerasrc ! nvoverlaysink works.

Yes it is specific to “09_camera_jpeg_capture”.

Hi,
Please provide your release version ($ head -1 /etc/nv_tegra_release).

this seems to be the solution

This seems to be a known issue, would be nice if it would be fixed at later releases.
Thank you!

R32 (release), REVISION: 3.1, GCID: 18186506, BOARD: t186ref, EABI: aarch64, DATE: Tue Dec 10 07:03:07 UTC 2019

Issue is solved.

Hi,
Please apply this prebuilt lib:
Jetson/L4T/r32.3.x patches - eLinux.org
[GSTREAMER]streaming using jpegenc halts after a short delay