Gst-launch with nvarguscamerasrc can not work when two different format sensors connect!

Hi,
my custom tx2 board connects two mipi sensor, one is ov5693 (same as devkit, stream format is BG10), the other one is FPGA (csi output, stream format is AR24)…hardware connection as belowed:

case 1: ov5693 device-tree enabled and FPGA device-tree disabled
gst-launch-1.0 with nvarguscamerasrc argument and v4l2-ctl work well.

case 2: ov5693 device-tree and FPGA device-tree all enabled
v4l2-ctl works well…
but, gst-launch-1.0 with nvarguscamerasrc argument doesn’t work
the error messages as belowed:

root@jetson-desktop:/home/jetson# gst-launch-1.0 nvarguscamerasrc sensor-id=0 sensor-mode=0 ! 'video/x-raw(memory:NVMM), width=1920, heig                                                                     ht=1080, format=(string)NV12, framerate=(fraction)30/1' ! nvoverlaysink -e
MoTTY X11 proxy: Unsupported authorisation protocol
nvbuf_utils: Could not get EGL display connection
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
GST_ARGUS: Creating output stream
MoTTY X11 proxy: Unsupported authorisation protocol
CONSUMER: Waiting until producer is connected...
GST_ARGUS: Available Sensor modes :
GST_ARGUS: 800 x 600 FR = 29.999999 fps Duration = 33333334 ; Analog Gain range min 1.000000, max 16.000000; Exposure Range min 34000, ma                                                                     x 550385000;

GST_ARGUS: 1280 x 720 FR = 29.999999 fps Duration = 33333334 ; Analog Gain range min 1.000000, max 16.000000; Exposure Range min 34000, m                                                                     ax 550385000;

GST_ARGUS: 1280 x 1024 FR = 29.999999 fps Duration = 33333334 ; Analog Gain range min 1.000000, max 16.000000; Exposure Range min 34000,                                                                      max 550385000;

GST_ARGUS: 1688 x 1050 FR = 29.999999 fps Duration = 33333334 ; Analog Gain range min 1.000000, max 16.000000; Exposure Range min 34000,                                                                      max 550385000;

GST_ARGUS: 1920 x 1080 FR = 29.999999 fps Duration = 33333334 ; Analog Gain range min 1.000000, max 16.000000; Exposure Range min 34000,                                                                      max 550385000;

GST_ARGUS: Running with following settings:
   Camera index = 0
   Camera mode  = 0
   Output Stream W = 800 H = 600
   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

(gst-launch-1.0:16837): GStreamer-CRITICAL **: 10:37:39.074: gst_mini_object_set_qdata: assertion 'object != NULL' failed
Got EOS from element "pipeline0".
Execution ended after 0:00:06.027365021
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
GST_ARGUS: Cleaning up
GST_ARGUS: Done Success
Setting pipeline to NULL ...
Freeing pipeline ...

it seems gst-launch captures csi port0 sensor defaultly if port0 actived…
Can assign any port as gst-launch capturing port?

media-ctl:

root@jetson-desktop:/home/jetson# media-ctl -p
Media controller API version 0.1.0

Media device information
------------------------
driver          tegra-vi4
model           NVIDIA Tegra Video Input Device
serial
bus info
hw revision     0x3
driver version  0.0.0

Device topology
- entity 1: 150c0000.nvcsi--2 (2 pads, 2 links)
            type V4L2 subdev subtype Unknown flags 0
            device node name /dev/v4l-subdev0
        pad0: Sink
                <- "ov5693 2-0036":0 [ENABLED]
        pad1: Source
                -> "vi-output, ov5693 2-0036":0 [ENABLED]

- entity 4: 150c0000.nvcsi--1 (2 pads, 2 links)
            type V4L2 subdev subtype Unknown flags 0
            device node name /dev/v4l-subdev1
        pad0: Sink
                <- "imx185 6-0020":0 [ENABLED]
        pad1: Source
                -> "vi-output, imx185 6-0020":0 [ENABLED]

- entity 7: ov5693 2-0036 (1 pad, 1 link)
            type V4L2 subdev subtype Sensor flags 0
            device node name /dev/v4l-subdev2
        pad0: Source
                [fmt:SRGGB10_1X10/2592x1944 field:none colorspace:srgb]
                -> "150c0000.nvcsi--2":0 [ENABLED]

- entity 9: vi-output, ov5693 2-0036 (1 pad, 1 link)
            type Node subtype V4L flags 0
            device node name /dev/video0
        pad0: Sink
                <- "150c0000.nvcsi--2":1 [ENABLED]

- entity 23: imx185 6-0020 (1 pad, 1 link)
             type V4L2 subdev subtype Sensor flags 0
             device node name /dev/v4l-subdev3
        pad0: Source
                [fmt:RGB888_1X24/1280x800 field:none colorspace:srgb]
                -> "150c0000.nvcsi--1":0 [ENABLED]

- entity 25: vi-output, imx185 6-0020 (1 pad, 1 link)
             type Node subtype V4L flags 0
             device node name /dev/video1
        pad0: Sink
                <- "150c0000.nvcsi--1":1 [ENABLED]

debug trace:

root@jetson-desktop:/home/jetson# cat /sys/kernel/debug/tracing/trace                                                                                                                                         # tracer: nop
#
# entries-in-buffer/entries-written: 183/183   #P:4
#
#                              _-----=> irqs-off
#                             / _----=> need-resched
#                            | / _---=> hardirq/softirq
#                            || / _--=> preempt-depth
#                            ||| /     delay
#           TASK-PID   CPU#  ||||    TIMESTAMP  FUNCTION
#              | |       |   ||||       |         |
  nvargus-daemon-30420 [004] ....  1987.004133: tegra_channel_open: vi-output, ov5693 2-0036
  nvargus-daemon-30420 [004] ....  1987.005080: tegra_channel_set_power: ov5693 2-0036 : 0x1
  nvargus-daemon-30420 [004] ....  1987.005089: camera_common_s_power: status : 0x1
  nvargus-daemon-30420 [004] ....  1987.012646: tegra_channel_set_power: 150c0000.nvcsi--2 : 0x1
  nvargus-daemon-30420 [004] ....  1987.012650: csi_s_power: enable : 0x1
  nvargus-daemon-30420 [004] ....  1987.014274: tegra_channel_close: vi-output, ov5693 2-0036
  nvargus-daemon-30420 [004] ....  1987.014277: tegra_channel_set_power: ov5693 2-0036 : 0x0
  nvargus-daemon-30420 [004] ....  1987.014284: camera_common_s_power: status : 0x0
  nvargus-daemon-30420 [005] ....  1987.019669: tegra_channel_set_power: 150c0000.nvcsi--2 : 0x0
  nvargus-daemon-30420 [005] ....  1987.019672: csi_s_power: enable : 0x0
  nvargus-daemon-30420 [005] ....  1987.019963: tegra_channel_open: vi-output, imx185 6-0020
  nvargus-daemon-30420 [005] ....  1987.019968: tegra_channel_set_power: imx185 6-0020 : 0x1
  nvargus-daemon-30420 [005] ....  1987.019994: camera_common_s_power: status : 0x1
  nvargus-daemon-30420 [005] ....  1987.020039: tegra_channel_set_power: 150c0000.nvcsi--1 : 0x1
  nvargus-daemon-30420 [005] ....  1987.020040: csi_s_power: enable : 0x1
  nvargus-daemon-30420 [005] ....  1987.020102: tegra_channel_close: vi-output, imx185 6-0020
  nvargus-daemon-30420 [005] ....  1987.020104: tegra_channel_set_power: imx185 6-0020 : 0x0
  nvargus-daemon-30420 [005] ....  1987.020122: camera_common_s_power: status : 0x0
  nvargus-daemon-30420 [005] ....  1987.020175: tegra_channel_set_power: 150c0000.nvcsi--1 : 0x0
  nvargus-daemon-30420 [005] ....  1987.020176: csi_s_power: enable : 0x0
  nvargus-daemon-30420 [005] ....  1987.022508: tegra_channel_open: vi-output, ov5693 2-0036
  nvargus-daemon-30420 [005] ....  1987.022514: tegra_channel_set_power: ov5693 2-0036 : 0x1
  nvargus-daemon-30420 [005] ....  1987.022520: camera_common_s_power: status : 0x1
  nvargus-daemon-30420 [005] ....  1987.029752: tegra_channel_set_power: 150c0000.nvcsi--2 : 0x1
  nvargus-daemon-30420 [005] ....  1987.029755: csi_s_power: enable : 0x1
  nvargus-daemon-30420 [005] ....  1987.029855: tegra_channel_close: vi-output, ov5693 2-0036
  nvargus-daemon-30420 [005] ....  1987.029857: tegra_channel_set_power: ov5693 2-0036 : 0x0
  nvargus-daemon-30420 [005] ....  1987.029863: camera_common_s_power: status : 0x0
  nvargus-daemon-30420 [005] ....  1987.034980: tegra_channel_set_power: 150c0000.nvcsi--2 : 0x0
  nvargus-daemon-30420 [005] ....  1987.034984: csi_s_power: enable : 0x0
  nvargus-daemon-30420 [005] ....  1987.035253: tegra_channel_open: vi-output, imx185 6-0020
  nvargus-daemon-30420 [005] ....  1987.035258: tegra_channel_set_power: imx185 6-0020 : 0x1
  nvargus-daemon-30420 [005] ....  1987.035284: camera_common_s_power: status : 0x1
  nvargus-daemon-30420 [005] ....  1987.035333: tegra_channel_set_power: 150c0000.nvcsi--1 : 0x1
  nvargus-daemon-30420 [005] ....  1987.035334: csi_s_power: enable : 0x1
  nvargus-daemon-30420 [005] ....  1987.035398: tegra_channel_close: vi-output, imx185 6-0020
  nvargus-daemon-30420 [005] ....  1987.035400: tegra_channel_set_power: imx185 6-0020 : 0x0
  nvargus-daemon-30420 [005] ....  1987.035419: camera_common_s_power: status : 0x0
  nvargus-daemon-30420 [005] ....  1987.035475: tegra_channel_set_power: 150c0000.nvcsi--1 : 0x0
  nvargus-daemon-30420 [005] ....  1987.035475: csi_s_power: enable : 0x0
  nvargus-daemon-30420 [000] ....  1987.055606: tegra_channel_open: vi-output, imx185 6-0020
  nvargus-daemon-30420 [000] ....  1987.055615: tegra_channel_set_power: imx185 6-0020 : 0x1
  nvargus-daemon-30420 [000] ....  1987.055642: camera_common_s_power: status : 0x1
  nvargus-daemon-30420 [000] ....  1987.055692: tegra_channel_set_power: 150c0000.nvcsi--1 : 0x1
  nvargus-daemon-30420 [000] ....  1987.055695: csi_s_power: enable : 0x1
  nvargus-daemon-30420 [000] ....  1987.055712: tegra_channel_close: vi-output, imx185 6-0020
  nvargus-daemon-30420 [000] ....  1987.055714: tegra_channel_set_power: imx185 6-0020 : 0x0
  nvargus-daemon-30420 [000] ....  1987.055732: camera_common_s_power: status : 0x0
  nvargus-daemon-30420 [000] ....  1987.055785: tegra_channel_set_power: 150c0000.nvcsi--1 : 0x0
  nvargus-daemon-30420 [000] ....  1987.055786: csi_s_power: enable : 0x0
  nvargus-daemon-30420 [000] ....  1987.056023: tegra_channel_open: vi-output, imx185 6-0020
  nvargus-daemon-30420 [000] ....  1987.056026: tegra_channel_set_power: imx185 6-0020 : 0x1
  nvargus-daemon-30420 [000] ....  1987.056045: camera_common_s_power: status : 0x1
  nvargus-daemon-30420 [000] ....  1987.056087: tegra_channel_set_power: 150c0000.nvcsi--1 : 0x1
  nvargus-daemon-30420 [000] ....  1987.056088: csi_s_power: enable : 0x1
  nvargus-daemon-30420 [000] ....  1987.056151: tegra_channel_close: vi-output, imx185 6-0020
  nvargus-daemon-30420 [000] ....  1987.056153: tegra_channel_set_power: imx185 6-0020 : 0x0
  nvargus-daemon-30420 [000] ....  1987.056170: camera_common_s_power: status : 0x0
  nvargus-daemon-30420 [000] ....  1987.056225: tegra_channel_set_power: 150c0000.nvcsi--1 : 0x0
  nvargus-daemon-30420 [000] ....  1987.056226: csi_s_power: enable : 0x0
  nvargus-daemon-30420 [000] ....  1987.056456: tegra_channel_open: vi-output, imx185 6-0020
  nvargus-daemon-30420 [000] ....  1987.056459: tegra_channel_set_power: imx185 6-0020 : 0x1
  nvargus-daemon-30420 [000] ....  1987.056478: camera_common_s_power: status : 0x1
  nvargus-daemon-30420 [000] ....  1987.056520: tegra_channel_set_power: 150c0000.nvcsi--1 : 0x1
  nvargus-daemon-30420 [000] ....  1987.056521: csi_s_power: enable : 0x1
  nvargus-daemon-30420 [000] ....  1987.057479: tegra_channel_close: vi-output, imx185 6-0020
  nvargus-daemon-30420 [000] ....  1987.057481: tegra_channel_set_power: imx185 6-0020 : 0x0
  nvargus-daemon-30420 [000] ....  1987.057499: camera_common_s_power: status : 0x0
  nvargus-daemon-30420 [000] ....  1987.057556: tegra_channel_set_power: 150c0000.nvcsi--1 : 0x0
  nvargus-daemon-30420 [000] ....  1987.057557: csi_s_power: enable : 0x0
  nvargus-daemon-30420 [000] ....  1987.062960: tegra_channel_open: vi-output, imx185 6-0020
  nvargus-daemon-30420 [000] ....  1987.062969: tegra_channel_set_power: imx185 6-0020 : 0x1
  nvargus-daemon-30420 [000] ....  1987.062996: camera_common_s_power: status : 0x1
  nvargus-daemon-30420 [000] ....  1987.063051: tegra_channel_set_power: 150c0000.nvcsi--1 : 0x1
  nvargus-daemon-30420 [000] ....  1987.063053: csi_s_power: enable : 0x1
  nvargus-daemon-30420 [000] ....  1987.063071: tegra_channel_close: vi-output, imx185 6-0020
  nvargus-daemon-30420 [000] ....  1987.063072: tegra_channel_set_power: imx185 6-0020 : 0x0
  nvargus-daemon-30420 [000] ....  1987.063091: camera_common_s_power: status : 0x0
  nvargus-daemon-30420 [000] ....  1987.063143: tegra_channel_set_power: 150c0000.nvcsi--1 : 0x0
  nvargus-daemon-30420 [000] ....  1987.063144: csi_s_power: enable : 0x0
  nvargus-daemon-30420 [000] ....  1987.063380: tegra_channel_open: vi-output, imx185 6-0020
  nvargus-daemon-30420 [000] ....  1987.063383: tegra_channel_set_power: imx185 6-0020 : 0x1
  nvargus-daemon-30420 [000] ....  1987.063402: camera_common_s_power: status : 0x1
  nvargus-daemon-30420 [000] ....  1987.063454: tegra_channel_set_power: 150c0000.nvcsi--1 : 0x1
  nvargus-daemon-30420 [000] ....  1987.063455: csi_s_power: enable : 0x1
  nvargus-daemon-30420 [000] ....  1987.063515: tegra_channel_close: vi-output, imx185 6-0020
  nvargus-daemon-30420 [000] ....  1987.063516: tegra_channel_set_power: imx185 6-0020 : 0x0
  nvargus-daemon-30420 [000] ....  1987.063589: camera_common_s_power: status : 0x0
  nvargus-daemon-30420 [000] ....  1987.063642: tegra_channel_set_power: 150c0000.nvcsi--1 : 0x0
  nvargus-daemon-30420 [000] ....  1987.063643: csi_s_power: enable : 0x0
  nvargus-daemon-30420 [000] ....  1987.063872: tegra_channel_open: vi-output, imx185 6-0020
  nvargus-daemon-30420 [000] ....  1987.063875: tegra_channel_set_power: imx185 6-0020 : 0x1
  nvargus-daemon-30420 [000] ....  1987.063894: camera_common_s_power: status : 0x1
  nvargus-daemon-30420 [000] ....  1987.063936: tegra_channel_set_power: 150c0000.nvcsi--1 : 0x1
  nvargus-daemon-30420 [000] ....  1987.063937: csi_s_power: enable : 0x1
  nvargus-daemon-30420 [000] ....  1987.064894: tegra_channel_close: vi-output, imx185 6-0020
  nvargus-daemon-30420 [000] ....  1987.064896: tegra_channel_set_power: imx185 6-0020 : 0x0
  nvargus-daemon-30420 [000] ....  1987.064914: camera_common_s_power: status : 0x0
  nvargus-daemon-30420 [000] ....  1987.064971: tegra_channel_set_power: 150c0000.nvcsi--1 : 0x0
  nvargus-daemon-30420 [000] ....  1987.064972: csi_s_power: enable : 0x0
     kworker/3:2-27849 [003] ....  1987.099579: rtos_queue_peek_from_isr_failed: tstamp:62353898742 queue:0x0b4b4500
     kworker/3:2-27849 [003] ....  1987.099584: rtcpu_start: tstamp:62353899699
     kworker/3:2-27849 [003] ....  1987.099585: rtos_queue_send_from_isr_failed: tstamp:62353907927 queue:0x0b4a7258
     kworker/3:2-27849 [003] ....  1987.099586: rtos_queue_send_from_isr_failed: tstamp:62353908037 queue:0x0b4aad68
     kworker/3:2-27849 [003] ....  1987.099586: rtos_queue_send_from_isr_failed: tstamp:62353908143 queue:0x0b4ac998
     kworker/3:2-27849 [003] ....  1987.099587: rtos_queue_send_from_isr_failed: tstamp:62353908255 queue:0x0b4ae518
     kworker/3:2-27849 [003] ....  1987.099588: rtos_queue_send_from_isr_failed: tstamp:62353908360 queue:0x0b4af2d8
     kworker/3:2-27849 [003] ....  1987.099588: rtos_queue_send_from_isr_failed: tstamp:62353908465 queue:0x0b4b0098
     kworker/3:2-27849 [003] ....  1987.099589: rtos_queue_send_from_isr_failed: tstamp:62353908570 queue:0x0b4b0e58
     kworker/3:2-27849 [003] ....  1987.099590: rtos_queue_send_from_isr_failed: tstamp:62353908675 queue:0x0b4b1c18
     kworker/3:2-27849 [003] ....  1987.099591: rtos_queue_send_failed: tstamp:62353909156 queue:0x0b4a7258
     kworker/3:2-27849 [003] ....  1987.267570: rtos_queue_peek_from_isr_failed: tstamp:62358899086 queue:0x0b4b4500
     kworker/3:2-27849 [003] ....  1987.435588: rtos_queue_peek_from_isr_failed: tstamp:62363899090 queue:0x0b4b4500
     kworker/3:2-27849 [003] ....  1987.603564: rtos_queue_peek_from_isr_failed: tstamp:62368899095 queue:0x0b4b4500
     kworker/3:2-27849 [003] ....  1987.715564: rtos_queue_peek_from_isr_failed: tstamp:62373899102 queue:0x0b4b4500
     kworker/3:2-27849 [003] ....  1987.883543: rtos_queue_peek_from_isr_failed: tstamp:62378899111 queue:0x0b4b4500
     kworker/3:2-27849 [003] ....  1988.051549: rtos_queue_peek_from_isr_failed: tstamp:62383899118 queue:0x0b4b4500
     kworker/3:2-27849 [003] ....  1988.219798: rtos_queue_peek_from_isr_failed: tstamp:62388899125 queue:0x0b4b4500
     kworker/3:2-27849 [003] ....  1988.387566: rtos_queue_peek_from_isr_failed: tstamp:62393899131 queue:0x0b4b4500
     kworker/3:2-27849 [003] ....  1988.555530: rtos_queue_peek_from_isr_failed: tstamp:62398899137 queue:0x0b4b4500
     kworker/3:2-27849 [003] ....  1988.723566: rtos_queue_peek_from_isr_failed: tstamp:62403899145 queue:0x0b4b4500
     kworker/3:2-27849 [003] ....  1988.835537: rtos_queue_peek_from_isr_failed: tstamp:62408899156 queue:0x0b4b4500
     kworker/3:2-27849 [003] ....  1989.003580: rtos_queue_peek_from_isr_failed: tstamp:62413899157 queue:0x0b4b4500
     kworker/3:2-27849 [003] ....  1989.174075: rtos_queue_peek_from_isr_failed: tstamp:62418899162 queue:0x0b4b4500
     kworker/3:2-27849 [003] ....  1989.339526: rtos_queue_peek_from_isr_failed: tstamp:62423899170 queue:0x0b4b4500
     kworker/3:2-27849 [003] ....  1989.507549: rtos_queue_peek_from_isr_failed: tstamp:62428899178 queue:0x0b4b4500
     kworker/3:2-27849 [003] ....  1989.675519: rtos_queue_peek_from_isr_failed: tstamp:62433899184 queue:0x0b4b4500
     kworker/3:2-27849 [003] ....  1989.843514: rtos_queue_peek_from_isr_failed: tstamp:62438899192 queue:0x0b4b4500
     kworker/3:2-27849 [003] ....  1989.955501: rtos_queue_peek_from_isr_failed: tstamp:62443899198 queue:0x0b4b4500
     kworker/3:2-27849 [003] ....  1990.123522: rtos_queue_peek_from_isr_failed: tstamp:62448899205 queue:0x0b4b4500
     kworker/3:2-27849 [003] ....  1990.291491: rtos_queue_peek_from_isr_failed: tstamp:62453899208 queue:0x0b4b4500
     kworker/3:2-27849 [003] ....  1990.459491: rtos_queue_peek_from_isr_failed: tstamp:62458899218 queue:0x0b4b4500
     kworker/3:2-27849 [003] ....  1990.627498: rtos_queue_peek_from_isr_failed: tstamp:62463899228 queue:0x0b4b4500
     kworker/3:2-27849 [003] ....  1990.795504: rtos_queue_peek_from_isr_failed: tstamp:62468899242 queue:0x0b4b4500
     kworker/3:2-27849 [003] ....  1990.963490: rtos_queue_peek_from_isr_failed: tstamp:62473899239 queue:0x0b4b4500
     kworker/3:2-27849 [003] ....  1991.075496: rtos_queue_peek_from_isr_failed: tstamp:62478899246 queue:0x0b4b4500
     kworker/3:2-27849 [003] ....  1991.243476: rtos_queue_peek_from_isr_failed: tstamp:62483899249 queue:0x0b4b4500
     kworker/3:2-27849 [003] ....  1991.411497: rtos_queue_peek_from_isr_failed: tstamp:62488899259 queue:0x0b4b4500
     kworker/3:2-27849 [003] ....  1991.579497: rtos_queue_peek_from_isr_failed: tstamp:62493899268 queue:0x0b4b4500
     kworker/3:2-27849 [003] ....  1991.747487: rtos_queue_peek_from_isr_failed: tstamp:62498899274 queue:0x0b4b4500
     kworker/3:2-27849 [003] ....  1991.919527: rtos_queue_peek_from_isr_failed: tstamp:62503899281 queue:0x0b4b4500
     kworker/3:2-27849 [003] ....  1992.087495: rtos_queue_peek_from_isr_failed: tstamp:62508899287 queue:0x0b4b4500
     kworker/3:2-27849 [003] ....  1992.199494: rtos_queue_peek_from_isr_failed: tstamp:62513899296 queue:0x0b4b4500
     kworker/3:2-27849 [003] ....  1992.367466: rtos_queue_peek_from_isr_failed: tstamp:62518899300 queue:0x0b4b4500
     kworker/3:2-27849 [003] ....  1992.535452: rtos_queue_peek_from_isr_failed: tstamp:62523899309 queue:0x0b4b4500
     kworker/3:2-27849 [003] ....  1992.703478: rtos_queue_peek_from_isr_failed: tstamp:62528899315 queue:0x0b4b4500
     kworker/3:2-27849 [003] ....  1992.871441: rtos_queue_peek_from_isr_failed: tstamp:62533899328 queue:0x0b4b4500
     kworker/3:2-27849 [003] ....  1992.983530: rtos_queue_send_from_isr_failed: tstamp:62538509390 queue:0x0b4a7258
     kworker/3:2-27849 [003] ....  1992.983534: rtos_queue_send_from_isr_failed: tstamp:62538509501 queue:0x0b4aad68
     kworker/3:2-27849 [003] ....  1992.983535: rtos_queue_send_from_isr_failed: tstamp:62538509610 queue:0x0b4ac998
     kworker/3:2-27849 [003] ....  1992.983535: rtos_queue_send_from_isr_failed: tstamp:62538509718 queue:0x0b4ae518
     kworker/3:2-27849 [003] ....  1992.983536: rtos_queue_send_from_isr_failed: tstamp:62538509823 queue:0x0b4af2d8
     kworker/3:2-27849 [003] ....  1992.983536: rtos_queue_send_from_isr_failed: tstamp:62538509928 queue:0x0b4b0098
     kworker/3:2-27849 [003] ....  1992.983537: rtos_queue_send_from_isr_failed: tstamp:62538510040 queue:0x0b4b0e58
     kworker/3:2-27849 [003] ....  1992.983538: rtos_queue_send_from_isr_failed: tstamp:62538510144 queue:0x0b4b1c18
     kworker/3:2-27849 [003] ....  1992.983539: rtos_queue_send_failed: tstamp:62538510584 queue:0x0b4a7258
     kworker/3:2-27849 [003] ....  1993.039442: rtos_queue_peek_from_isr_failed: tstamp:62538899340 queue:0x0b4b4500

Suppose nvarguscamerasrc don’t support AR24.
But v4l2-ctl should be able support your case. If could be device tree problem.

in my case, i have to use gst-launch to capture ov5693 data, and use v4l2-ctl to capture fpga data independently…Is there any solution?

What the result by v4l2-ctl for both sensor?

it cannot real-time display ov5693 stream on screen

Have clarify below command for both sensors.

v4l2-ctl --stream-mmap -c bypass_mode=0 -d /dev/video*

Both of two sensors can be captured by v4l2-ctl

# v4l2-ctl -d /dev/video0 --set-fmt-video=width=1280,height=800,pixelformat=AR24 --stream-mmap --stream-count=5 --set-ctrl bypass_mode=0 --stream-to=stream.raw
<<<<<
root@jetson-desktop:/home/jetson#
root@jetson-desktop:/home/jetson#
root@jetson-desktop:/home/jetson# v4l2-ctl -d /dev/video1 --set-fmt-video=width=1920,height=1080,pixelformat=BG10 --stream-mmap --stream-count=5 --set-ctrl bypass_mode=0
<<<<<
root@jetson-desktop:/home/jetson#

then, i use gst-launch to capture, this command captured FPGA sensor defautly, it is not my purpose…

root@jetson-desktop:/home/jetson# gst-launch-1.0 -v nvarguscamerasrc ! 'video/x-raw(memory:NVMM), width=1920, height=1080, format=(string)NV12, framerate=(fraction)30/1' ! nvoverlaysink -e
MoTTY X11 proxy: Unsupported authorisation protocol
nvbuf_utils: Could not get EGL display connection
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
/GstPipeline:pipeline0/GstNvArgusCameraSrc:nvarguscamerasrc0.GstPad:src: caps = video/x-raw(memory:NVMM), width=(int)1920, height=(int)1080, format=(string)NV12, framerate=(fraction)30/1
/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:src: caps = video/x-raw(memory:NVMM), width=(int)1920, height=(int)1080, format=(string)NV12, framerate=(fraction)30/1
/GstPipeline:pipeline0/GstNvOverlaySink-nvoverlaysink:nvoverlaysink-nvoverlaysink0.GstPad:sink: caps = video/x-raw(memory:NVMM), width=(int)1920, height=(int)1080, format=(string)NV12, framerate=(fraction)30/1
/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:sink: caps = video/x-raw(memory:NVMM), width=(int)1920, height=(int)1080, format=(string)NV12, framerate=(fraction)30/1
GST_ARGUS: Creating output stream
MoTTY X11 proxy: Unsupported authorisation protocol
CONSUMER: Waiting until producer is connected...
GST_ARGUS: Available Sensor modes :
GST_ARGUS: 800 x 600 FR = 29.999999 fps Duration = 33333334 ; Analog Gain range min 1.000000, max 16.000000; Exposure Range min 34000, max 550385000;

GST_ARGUS: 1280 x 720 FR = 29.999999 fps Duration = 33333334 ; Analog Gain range min 1.000000, max 16.000000; Exposure Range min 34000, max 550385000;

GST_ARGUS: 1280 x 1024 FR = 29.999999 fps Duration = 33333334 ; Analog Gain range min 1.000000, max 16.000000; Exposure Range min 34000, max 550385000;

GST_ARGUS: 1688 x 1050 FR = 29.999999 fps Duration = 33333334 ; Analog Gain range min 1.000000, max 16.000000; Exposure Range min 34000, max 550385000;

GST_ARGUS: 1920 x 1080 FR = 29.999999 fps Duration = 33333334 ; Analog Gain range min 1.000000, max 16.000000; Exposure Range min 34000, max 550385000;

GST_ARGUS: Running with following settings:
   Camera index = 0
   Camera mode  = 4
   Output Stream W = 1920 H = 1080
   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

(gst-launch-1.0:10100): GStreamer-CRITICAL **: 13:43:38.262: gst_mini_object_set_qdata: assertion 'object != NULL' failed
Got EOS from element "pipeline0".
Execution ended after 0:00:06.002182980
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
GST_ARGUS: Cleaning up
GST_ARGUS: Done Success
Setting pipeline to NULL ...
Freeing pipeline ...

Remove the FPGA module in the tegra-camera-platform{}

if removed, can fpga sensor be captured by v4l2-ctl?

it solved…thank you very much!!!

Due to nvarguscaemrasrc don’t support none bayer sensor so need to remove it from the tegra-camera-platform{}

ok, i got it

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