L4T 35.4.1 Camera abnormal

Hi
After we update version form 35.2.1 to 35.4.1,
The camera preview can not work normally, after i close camera app and restart camera app(10s later);
I make some test:
1,camera work normally, after power on.(30/30) 100% normal
2,camera work abnormally(capture timeout), after close camera app and restart camera app.(30/30) 100% abnormal

these problem do not cause in version 35.2.1.

if you need some log, please tell me how to capture. Thanks.

we use
gst-launch-1.0 nvarguscamerasrc sensor-id=0 ! ‘video/x-raw(memory:NVMM), width=3840, height=2160, format=(string)NV12, framerate=(fraction)29/1’ ! nv3dsink -e
to preview camera.

first time preview log:
whn@orin-1:~$ gst-launch-1.0 nvarguscamerasrc sensor-id=0 ! ‘video/x-raw(memory:NVMM), width=3840, height=2160, format=(string)NV12, framerate=(fraction)29/1’ ! nv3dsink -e
Setting pipeline to PAUSED …
Pipeline is live and does not need PREROLL …
Setting pipeline to PLAYING …
New clock: GstSystemClock
GST_ARGUS: Creating output stream
CONSUMER: Waiting until producer is connected…
GST_ARGUS: Available Sensor modes :
GST_ARGUS: 3840 x 2160 FR = 28.999999 fps Duration = 34482760 ; Analog Gain range min 2.900000, max 11.600000; Exposure Range min 6000000, max 21000000;

GST_ARGUS: 3840 x 2160 FR = 28.999999 fps Duration = 34482760 ; Analog Gain range min 2.900000, max 11.600000; Exposure Range min 6000000, max 21000000;

GST_ARGUS: 3840 x 2160 FR = 28.999999 fps Duration = 34482760 ; Analog Gain range min 2.900000, max 11.600000; Exposure Range min 6000000, max 21000000;

GST_ARGUS: Running with following settings:
Camera index = 0
Camera mode = 2
Output Stream W = 3840 H = 2160
seconds to Run = 0
Frame Rate = 28.999999
GST_ARGUS: Setup Complete, Starting captures for 0 seconds
GST_ARGUS: Starting repeat capture requests.
CONSUMER: Producer has connected; continuing.
WARNING: from element /GstPipeline:pipeline0/GstNv3dSink:nv3dsink0: Pipeline construction is invalid, please add queues.
Additional debug info:
gstbasesink.c(1209): gst_base_sink_query_latency (): /GstPipeline:pipeline0/GstNv3dSink:nv3dsink0:
Not enough buffering available for the processing deadline of 0:00:00.015000000, add enough queues to buffer 0:00:00.015000000 additional data. Shortening processing latency to 0:00:00.000000000.
X connection to :1 broken (explicit kill or server shutdown).
WARNING Argus: 7 client objects still exist during shutdown:
281472292385120 (0xffff44001f48)
281473648851632 (0xffff4c000f50)
281473663012704 (0xffff4c000ce0)
281473663012864 (0xffff4c001160)
281473663013056 (0xffff4c001050)
281473663018736 (0xffff4c002f90)
281473663027112 (0xffff4c0030a8)

Preview Ok

close app and restart:

whn@orin-1:~$ gst-launch-1.0 nvarguscamerasrc sensor-id=0 ! ‘video/x-raw(memory:NVMM), width=3840, height=2160, format=(string)NV12, framerate=(fraction)29/1’ ! nv3dsink -e
Setting pipeline to PAUSED …
Pipeline is live and does not need PREROLL …
Setting pipeline to PLAYING …
New clock: GstSystemClock
GST_ARGUS: Creating output stream
CONSUMER: Waiting until producer is connected…
GST_ARGUS: Available Sensor modes :
GST_ARGUS: 3840 x 2160 FR = 28.999999 fps Duration = 34482760 ; Analog Gain range min 2.900000, max 11.600000; Exposure Range min 6000000, max 21000000;

GST_ARGUS: 3840 x 2160 FR = 28.999999 fps Duration = 34482760 ; Analog Gain range min 2.900000, max 11.600000; Exposure Range min 6000000, max 21000000;

GST_ARGUS: 3840 x 2160 FR = 28.999999 fps Duration = 34482760 ; Analog Gain range min 2.900000, max 11.600000; Exposure Range min 6000000, max 21000000;

GST_ARGUS: Running with following settings:
Camera index = 0
Camera mode = 2
Output Stream W = 3840 H = 2160
seconds to Run = 0
Frame Rate = 28.999999
GST_ARGUS: Setup Complete, Starting captures for 0 seconds
GST_ARGUS: Starting repeat capture requests.
CONSUMER: Producer has connected; continuing.
WARNING: from element /GstPipeline:pipeline0/GstNv3dSink:nv3dsink0: Pipeline construction is invalid, please add queues.
Additional debug info:
gstbasesink.c(1209): gst_base_sink_query_latency (): /GstPipeline:pipeline0/GstNv3dSink:nv3dsink0:
Not enough buffering available for the processing deadline of 0:00:00.015000000, add enough queues to buffer 0:00:00.015000000 additional data. Shortening processing latency to 0:00:00.000000000.
CONSUMER: ERROR OCCURRED
ERROR: from element /GstPipeline:pipeline0/GstNvArgusCameraSrc:nvarguscamerasrc0: TIMEOUT
Additional debug info:
Argus Error Status
EOS on shutdown enabled – waiting for EOS after Error
Waiting for EOS…
Got EOS from element “pipeline0”.
EOS received - stopping pipeline…
Execution ended after 0:00:06.635542592
Setting pipeline to NULL …
GST_ARGUS: Cleaning up
Freeing pipeline …

Capture Timeout

hello whn,

did you meant camera preview it works only for the first time system boot-up?
and… you see panic when you’re terminate the camera application?

only for the first time system boot-up.
yes,

you see panic when you’re terminate the camera application
no panic ,only WARNING message.

hello whn,

may I also know which sensor module it is? is it the Jetson Partner Supported Cameras?
I’ve verified with reference camera on the developer kit and I don’t see such failure. i.e. AGX Orin/ r35.4.1/ OV5693
please examine your sensor driver. you may see-also Verifying the V4L2 Sensor Driver.
thanks

Hi Jerry
We use 3* (AR0820 3840*2160 20fps) connect to MAX96712 ,CPHY mode。
With v4l2-ctrl ,we check raw image it works normally,

hello whn,

please setup a terminal to keep gather the kernel messages, i.e. $ dmesg --follow
please reproduce the issue again, and share the complete logs for reference.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.