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