Multi-camera Jetson Xavier NX configuration, more than 6 cameras

Hi @JerryChang,

While testing the modified binaries that you provided, I have been getting the following error frequently, once it appears, I’m forced to power-cycle the board.

nvidia@nvidia-desktop:~$ DISPLAY=:0 gst-launch-1.0 nvarguscamerasrc sensor-id=0 sensor-mode=1 ! nvvidconv ! xvimagesink
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 = 29,999999 fps Duration = 33333334 ; Analog Gain range min 1,000000, max 16,000000; Exposure Range min 100000, max 22000000;

GST_ARGUS: 3840 x 2160 FR = 29,999999 fps Duration = 33333334 ; Analog Gain range min 1,000000, max 16,000000; Exposure Range min 100000, max 22000000;

GST_ARGUS: Running with following settings:
   Camera index = 0 
   Camera mode  = 1 
   Output Stream W = 3840 H = 2160 
   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: ERROR OCCURRED
ERROR: from element /GstPipeline:pipeline0/GstNvArgusCameraSrc:nvarguscamerasrc0: CANCELLED
Additional debug info:
Argus Error Status
Execution ended after 0:00:02.296718656
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
GST_ARGUS: Cleaning up
Setting pipeline to NULL ...
Freeing pipeline ...
  • By inspecting the kernel log, I can see that a timeout is reported:
fence timeout on [ffffffc3eba5c3c0] after 1500ms
  • I found the following entry for a developer having the same issue while working with JetPack4.5:

https://forums.developer.nvidia.com/t/errors-starting-6-nvarguscamerasrc-pipelines-in-r32-5-0/170477

  • Apparently, the fix is a modification also to one of the nvarguscamera-related libraries. Would it be possible for you to generate a modified version for L4T32.6.1 (JP4.6) of the libgstnvarguscamerasrc.so with the increment in the timeout as suggested in the post?

Thanks