Hello team,
We are trying to stream 7 cameras using deepstream pipelines.
Hardware being used includes:-
- Jetson AGX Xavier with jetpack4.6.1 [L4T 32.7.1]
- DESIGNCORE® NVIDIA® JETSON AGX ORIN FPD-LINK™ III INTERFACE CARD
- DESIGNCORE® D3RCM-IMX390-953 RUGGED CAMERA MODULE
Errors encounter
nvbuf_utils: dmabuf_fd -1 mapped entry NOT found
nvbuf_utils: Can not get HW buffer from FD… Exiting…
Pipeline Command being used
gst-launch-1.0 -e
nvarguscamerasrc sensor-id=0 tnr-strength=1 tnr-mode=2 ! ‘video/x-raw(memory:NVMM), width=1920, height=1080, framerate=30/1’ ! queue ! nvv4l2vp9enc maxperf-enable=true bitrate=2000000 ! rtpvp9pay mtu=1400 ! udpsink host=192.168.2.23 port=5000 sync=false async=false
nvarguscamerasrc sensor-id=1 tnr-strength=1 tnr-mode=2 ! ‘video/x-raw(memory:NVMM), width=1920, height=1080, framerate=30/1’ ! queue ! nvv4l2vp9enc maxperf-enable=true bitrate=2000000 ! rtpvp9pay mtu=1400 ! udpsink host=192.168.2.23 port=5001 sync=false async=false
nvarguscamerasrc sensor-id=2 tnr-strength=1 tnr-mode=2 ! ‘video/x-raw(memory:NVMM), width=1920, height=1080, framerate=30/1’ ! queue ! nvv4l2vp9enc maxperf-enable=true bitrate=2000000 ! rtpvp9pay mtu=1400 ! udpsink host=192.168.2.23 port=5002 sync=false async=false
nvarguscamerasrc sensor-id=3 tnr-strength=1 tnr-mode=2 ! ‘video/x-raw(memory:NVMM), width=1920, height=1080, framerate=30/1’ ! queue ! nvv4l2vp9enc maxperf-enable=true bitrate=2000000 ! rtpvp9pay mtu=1400 ! udpsink host=192.168.2.23 port=5003 sync=false async=false
nvarguscamerasrc sensor-id=4 tnr-strength=1 tnr-mode=2 ! ‘video/x-raw(memory:NVMM), width=1920, height=1080, framerate=30/1’ ! queue ! nvv4l2vp9enc maxperf-enable=true bitrate=2000000 ! rtpvp9pay mtu=1400 ! udpsink host=192.168.2.23 port=5004 sync=false async=false
nvarguscamerasrc sensor-id=5 tnr-strength=1 tnr-mode=2 ! ‘video/x-raw(memory:NVMM), width=1920, height=1080, framerate=30/1’ ! queue ! nvv4l2vp9enc maxperf-enable=true bitrate=2000000 ! rtpvp9pay mtu=1400 ! udpsink host=192.168.2.23 port=5005 sync=false async=false
nvarguscamerasrc sensor-id=6 tnr-strength=1 tnr-mode=2 ! ‘video/x-raw(memory:NVMM), width=1920, height=1080, framerate=30/1’ ! queue ! nvv4l2vp9enc maxperf-enable=true bitrate=2000000 ! rtpvp9pay mtu=1400 ! udpsink host=192.168.2.23 port=5006 sync=false async=false
Complete Logs
Setting pipeline to PAUSED …
Opening in BLOCKING MODE
Opening in BLOCKING MODE
Opening in BLOCKING MODE
Opening in BLOCKING MODE
Opening in BLOCKING MODE
Opening in BLOCKING MODE
Opening in BLOCKING MODE
Pipeline is live and does not need PREROLL …
NvMMLiteOpen : Block : BlockType = 9
NvMMLiteOpen : Block : BlockType = 9
===== NVMEDIA: NVENC =====
===== NVMEDIA: NVENC =====
Redistribute latency…
Redistribute latency…
Setting pipeline to PLAYING …
NvMMLiteBlockCreate : Block : BlockType = 9
NvMMLiteOpen : Block : BlockType = 9
NvMMLiteBlockCreate : Block : BlockType = 9
New clock: GstSystemClock
Redistribute latency…
NvMMLiteOpen : Block : BlockType = 9
NvMMLiteOpen : Block : BlockType = 9
===== NVMEDIA: NVENC =====
NvMMLiteOpen : Block : BlockType = 9
NvMMLiteBlockCreate : Block : BlockType = 9
Redistribute latency…
NvMMLiteOpen : Block : BlockType = 9
Redistribute latency…
Redistribute latency…
Redistribute latency…
===== NVMEDIA: NVENC =====
===== NVMEDIA: NVENC =====
NvMMLiteBlockCreate : Block : BlockType = 9
NvMMLiteBlockCreate : Block : BlockType = 9
===== NVMEDIA: NVENC =====
NvMMLiteBlockCreate : Block : BlockType = 9
===== NVMEDIA: NVENC =====
NvMMLiteBlockCreate : Block : BlockType = 9
GST_ARGUS: Creating output stream
GST_ARGUS: Creating output stream
CONSUMER: Waiting until producer is connected…
GST_ARGUS: Creating output stream
CONSUMER: Waiting until producer is connected…
GST_ARGUS: Creating output stream
CONSUMER: Waiting until producer is connected…
GST_ARGUS: Creating output stream
CONSUMER: Waiting until producer is connected…
GST_ARGUS: Creating output stream
CONSUMER: Waiting until producer is connected…
GST_ARGUS: Creating output stream
CONSUMER: Waiting until producer is connected…
CONSUMER: Waiting until producer is connected…
GST_ARGUS: Available Sensor modes :
GST_ARGUS: 1936 x 1096 FR = 29.999999 fps Duration = 33333334 ; Analog Gain range min 1.000000, max 31.622776; Exposure Range min 30000, max 33333000;
GST_ARGUS: 1936 x 1096 FR = 29.999999 fps Duration = 33333334 ; Analog Gain range min 1.000000, max 31.622776; Exposure Range min 30000, max 33333000;
GST_ARGUS: 1936 x 1096 FR = 29.999999 fps Duration = 33333334 ; Analog Gain range min 1.000000, max 31.622776; Exposure Range min 30000, max 33333000;
GST_ARGUS: 1936 x 1096 FR = 29.999999 fps Duration = 33333334 ; Analog Gain range min 2.630268, max 15.848933; Exposure Range min 2000000, max 33000000;
GST_ARGUS: Running with following settings:
Camera index = 6
Camera mode = 3
Output Stream W = 1936 H = 1096
seconds to Run = 0
Frame Rate = 29.999999
GST_ARGUS: Setup Complete, Starting captures for 0 seconds
GST_ARGUS: Starting repeat capture requests.
GST_ARGUS: Available Sensor modes :
GST_ARGUS: 1936 x 1096 FR = 29.999999 fps Duration = 33333334 ; Analog Gain range min 1.000000, max 31.622776; Exposure Range min 30000, max 33333000;
CONSUMER: Producer has connected; continuing.
GST_ARGUS: 1936 x 1096 FR = 29.999999 fps Duration = 33333334 ; Analog Gain range min 1.000000, max 31.622776; Exposure Range min 30000, max 33333000;
GST_ARGUS: 1936 x 1096 FR = 29.999999 fps Duration = 33333334 ; Analog Gain range min 1.000000, max 31.622776; Exposure Range min 30000, max 33333000;
GST_ARGUS: 1936 x 1096 FR = 29.999999 fps Duration = 33333334 ; Analog Gain range min 2.630268, max 15.848933; Exposure Range min 2000000, max 33000000;
GST_ARGUS: Running with following settings:
Camera index = 3
Camera mode = 3
Output Stream W = 1936 H = 1096
seconds to Run = 0
Frame Rate = 29.999999
GST_ARGUS: Setup Complete, Starting captures for 0 seconds
GST_ARGUS: Starting repeat capture requests.
GST_ARGUS: Available Sensor modes :
GST_ARGUS: 1936 x 1096 FR = 29.999999 fps Duration = 33333334 ; Analog Gain range min 1.000000, max 31.622776; Exposure Range min 30000, max 33333000;
GST_ARGUS: 1936 x 1096 FR = 29.999999 fps Duration = 33333334 ; Analog Gain range min 1.000000, max 31.622776; Exposure Range min 30000, max 33333000;
GST_ARGUS: 1936 x 1096 FR = 29.999999 fps Duration = 33333334 ; Analog Gain range min 1.000000, max 31.622776; Exposure Range min 30000, max 33333000;
GST_ARGUS: 1936 x 1096 FR = 29.999999 fps Duration = 33333334 ; Analog Gain range min 2.630268, max 15.848933; Exposure Range min 2000000, max 33000000;
GST_ARGUS: Running with following settings:
Camera index = 2
Camera mode = 3
Output Stream W = 1936 H = 1096
seconds to Run = 0
Frame Rate = 29.999999
GST_ARGUS: Available Sensor modes :
GST_ARGUS: Setup Complete, Starting captures for 0 seconds
GST_ARGUS: Starting repeat capture requests.
GST_ARGUS: 1936 x 1096 FR = 29.999999 fps Duration = 33333334 ; Analog Gain range min 1.000000, max 31.622776; Exposure Range min 30000, max 33333000;
GST_ARGUS: 1936 x 1096 FR = 29.999999 fps Duration = 33333334 ; Analog Gain range min 1.000000, max 31.622776; Exposure Range min 30000, max 33333000;
GST_ARGUS: 1936 x 1096 FR = 29.999999 fps Duration = 33333334 ; Analog Gain range min 1.000000, max 31.622776; Exposure Range min 30000, max 33333000;
GST_ARGUS: 1936 x 1096 FR = 29.999999 fps Duration = 33333334 ; Analog Gain range min 2.630268, max 15.848933; Exposure Range min 2000000, max 33000000;
GST_ARGUS: Running with following settings:
Camera index = 4
Camera mode = 3
Output Stream W = 1936 H = 1096
seconds to Run = 0
Frame Rate = 29.999999
GST_ARGUS: Available Sensor modes :
GST_ARGUS: Setup Complete, Starting captures for 0 seconds
GST_ARGUS: Starting repeat capture requests.
CONSUMER: Producer has connected; continuing.
CONSUMER: Producer has connected; continuing.
CONSUMER: Producer has connected; continuing.
GST_ARGUS: 1936 x 1096 FR = 29.999999 fps Duration = 33333334 ; Analog Gain range min 1.000000, max 31.622776; Exposure Range min 30000, max 33333000;
GST_ARGUS: 1936 x 1096 FR = 29.999999 fps Duration = 33333334 ; Analog Gain range min 1.000000, max 31.622776; Exposure Range min 30000, max 33333000;
GST_ARGUS: 1936 x 1096 FR = 29.999999 fps Duration = 33333334 ; Analog Gain range min 1.000000, max 31.622776; Exposure Range min 30000, max 33333000;
GST_ARGUS: 1936 x 1096 FR = 29.999999 fps Duration = 33333334 ; Analog Gain range min 2.630268, max 15.848933; Exposure Range min 2000000, max 33000000;
GST_ARGUS: Running with following settings:
Camera index = 5
Camera mode = 3
Output Stream W = 1936 H = 1096
seconds to Run = 0
Frame Rate = 29.999999
GST_ARGUS: Available Sensor modes :
GST_ARGUS: Setup Complete, Starting captures for 0 seconds
GST_ARGUS: Starting repeat capture requests.
GST_ARGUS: 1936 x 1096 FR = 29.999999 fps Duration = 33333334 ; Analog Gain range min 1.000000, max 31.622776; Exposure Range min 30000, max 33333000;
CONSUMER: Producer has connected; continuing.
GST_ARGUS: 1936 x 1096 FR = 29.999999 fps Duration = 33333334 ; Analog Gain range min 1.000000, max 31.622776; Exposure Range min 30000, max 33333000;
GST_ARGUS: 1936 x 1096 FR = 29.999999 fps Duration = 33333334 ; Analog Gain range min 1.000000, max 31.622776; Exposure Range min 30000, max 33333000;
GST_ARGUS: 1936 x 1096 FR = 29.999999 fps Duration = 33333334 ; Analog Gain range min 2.630268, max 15.848933; Exposure Range min 2000000, max 33000000;
GST_ARGUS: Running with following settings:
Camera index = 0
Camera mode = 3
Output Stream W = 1936 H = 1096
seconds to Run = 0
Frame Rate = 29.999999
GST_ARGUS: Setup Complete, Starting captures for 0 seconds
GST_ARGUS: Starting repeat capture requests.
GST_ARGUS: Available Sensor modes :
GST_ARGUS: 1936 x 1096 FR = 29.999999 fps Duration = 33333334 ; Analog Gain range min 1.000000, max 31.622776; Exposure Range min 30000, max 33333000;
CONSUMER: Producer has connected; continuing.
GST_ARGUS: 1936 x 1096 FR = 29.999999 fps Duration = 33333334 ; Analog Gain range min 1.000000, max 31.622776; Exposure Range min 30000, max 33333000;
GST_ARGUS: 1936 x 1096 FR = 29.999999 fps Duration = 33333334 ; Analog Gain range min 1.000000, max 31.622776; Exposure Range min 30000, max 33333000;
GST_ARGUS: 1936 x 1096 FR = 29.999999 fps Duration = 33333334 ; Analog Gain range min 2.630268, max 15.848933; Exposure Range min 2000000, max 33000000;
GST_ARGUS: Running with following settings:
Camera index = 1
Camera mode = 3
Output Stream W = 1936 H = 1096
seconds to Run = 0
Frame Rate = 29.999999
GST_ARGUS: Setup Complete, Starting captures for 0 seconds
GST_ARGUS: Starting repeat capture requests.
CONSUMER: Producer has connected; continuing.
nvbuf_utils: dmabuf_fd -1 mapped entry NOT found
nvbuf_utils: Can not get HW buffer from FD… Exiting…
CONSUMER: Done Success
nvbuf_utils: dmabuf_fd -1 mapped entry NOT found
nvbuf_utils: Can not get HW buffer from FD… Exiting…
CONSUMER: Done Success
nvbuf_utils: dmabuf_fd -1 mapped entry NOT found
nvbuf_utils: Can not get HW buffer from FD… Exiting…
CONSUMER: Done Success
nvbuf_utils: dmabuf_fd -1 mapped entry NOT found
nvbuf_utils: Can not get HW buffer from FD… Exiting…
CONSUMER: Done Success
nvbuf_utils: dmabuf_fd -1 mapped entry NOT found
nvbuf_utils: Can not get HW buffer from FD… Exiting…
CONSUMER: Done Success
nvbuf_utils: dmabuf_fd -1 mapped entry NOT found
nvbuf_utils: Can not get HW buffer from FD… Exiting…
CONSUMER: Done Success
nvbuf_utils: dmabuf_fd -1 mapped entry NOT found
nvbuf_utils: Can not get HW buffer from FD… Exiting…
CONSUMER: ERROR OCCURRED
ERROR: from element /GstPipeline:pipeline0/GstNvArgusCameraSrc:nvarguscamerasrc6: 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:08.014943001
Setting pipeline to PAUSED …
Setting pipeline to READY …
GST_ARGUS: Cleaning up
GST_ARGUS: Cleaning up
GST_ARGUS: Done Success
(Argus) Error Timeout: (propagating from src/rpc/socket/client/ClientSocketManager.cpp, function send(), line 137)
(Argus) Error Timeout: (propagating from src/rpc/socket/client/SocketClientDispatch.cpp, function dispatch(), line 91)
GST_ARGUS: Cleaning up
(Argus) Error Timeout: (propagating from src/rpc/socket/client/ClientSocketManager.cpp, function send(), line 137)
(Argus) Error Timeout: (propagating from src/rpc/socket/client/SocketClientDispatch.cpp, function dispatch(), line 91)
(Argus) Error Timeout: (propagating from src/rpc/socket/client/ClientSocketManager.cpp, function send(), line 137)
(Argus) Error Timeout: (propagating from src/rpc/socket/client/SocketClientDispatch.cpp, function dispatch(), line 91)
Caught SIGSEGV
#0 0x0000007fa75d75bc in futex_reltimed_wait_cancelable (private=, reltime=0x5500000000, expected=0, futex_word=0x7f80006a38)
#1 0x0000007fa75d75bc in __pthread_cond_wait_common (abstime=0x7ff4275910, mutex=0x558125ad40, cond=0x7f80006a10) at pthread_cond_wait.c:533
#2 0x0000007fa75d75bc in __pthread_cond_timedwait (cond=0x7f80006a10, mutex=0x558125ad40, abstime=0x7ff4275910) at pthread_cond_wait.c:667
#3 0x0000007fa6a9fab4 in NvOsConditionWaitTimeout ()
#4 0x0000007fa6b3406c in nvcamerautils::ConditionVariable::wait(nvcamerautils::Mutex const&, nvcamerautils::UnscaledTimeout const&) const ()
#5 0x0000007fa6f5a2d4 in ()
#6 0x0000007fa6f5cac0 in ()
#7 0x0000007fa6ee3464 in ()
#8 0x0000007fa78b5418 in ()
#9 0x0000007fa6e36ab0 in () at /usr/lib/aarch64-linux-gnu/libgstbase-1.0.so.0
#10 0x0000007fa788f750 in _gst_debug_min ()
Spinning. Please run ‘gdb gst-launch-1.0 11779’ to continue debugging, Ctrl-C to quit, or Ctrl-\ to dump core.
(Argus) Error Timeout: (propagating from src/rpc/socket/client/ClientSocketManager.cpp, function send(), line 137)
(Argus) Error Timeout: (propagating from src/rpc/socket/client/SocketClientDispatch.cpp, function dispatch(), line 91)
Segmentation fault (core dumped)
Potential Solution
Same type of error has been reported and solved in the following post for R32.5.0
I need same solution for R32.7.1.
Thanks in advance
-Shams