hi, i got problem on Orin, please give me some advise, thanks.
enviroment:
4 12M 20fps csi cameras on AGX Orin.
fps is stable when use v4l2-ctl test command, we run 4 command to test 4 cameras in the same time:
v4l2-ctl --set-fmt-video=width=4128,height=3008,pixelformat=RG12 --set-ctrl bypass_mode=0 --stream-skip=0 --stream-mmap --stream-count=10000 --stream-to=/dev/null -d /dev/video0
result:
<<<<<<<<<<<<<<<<<<<<< 19.99 fps
<<<<<<<<<<<<<<<<<<<< 19.99 fps
<<<<<<<<<<<<<<<<<<<< 19.99 fps
<<<<<<<<<<<<<<<<<<<< 19.99 fps
<<<<<<<<<<<<<<<<<<<< 19.99 fps
<<<<<<<<<<<<<<<<<<<< 19.99 fps
fps is unstable when use gstream nvargus command:
gst-launch-1.0 nvarguscamerasrc sensor-id=0 ! \
'video/x-raw(memory:NVMM),width=4128, height=3008, framerate=29/1, format=NV12' ! \
fpsdisplaysink text-overlay=0 video-sink=fakesink sync=0 -v
result:
/GstPipeline:pipeline0/GstFPSDisplaySink:fpsdisplaysink0: last-message = rendered: 2080, dropped: 0, current: 22.08, average: 18.75
/GstPipeline:pipeline0/GstFPSDisplaySink:fpsdisplaysink0: last-message = rendered: 2087, dropped: 0, current: 13.05, average: 18.72
/GstPipeline:pipeline0/GstFPSDisplaySink:fpsdisplaysink0: last-message = rendered: 2098, dropped: 0, current: 21.53, average: 18.74
/GstPipeline:pipeline0/GstFPSDisplaySink:fpsdisplaysink0: last-message = rendered: 2104, dropped: 0, current: 11.80, average: 18.71
/GstPipeline:pipeline0/GstFPSDisplaySink:fpsdisplaysink0: last-message = rendered: 2115, dropped: 0, current: 22.00, average: 18.72
/GstPipeline:pipeline0/GstFPSDisplaySink:fpsdisplaysink0: last-message = rendered: 2121, dropped: 0, current: 11.95, average: 18.69
/GstPipeline:pipeline0/GstFPSDisplaySink:fpsdisplaysink0: last-message = rendered: 2133, dropped: 0, current: 22.45, average: 18.71
/GstPipeline:pipeline0/GstFPSDisplaySink:fpsdisplaysink0: last-message = rendered: 2142, dropped: 0, current: 17.76, average: 18.70
/GstPipeline:pipeline0/GstFPSDisplaySink:fpsdisplaysink0: last-message = rendered: 2153, dropped: 0, current: 20.78, average: 18.71
/GstPipeline:pipeline0/GstFPSDisplaySink:fpsdisplaysink0: last-message = rendered: 2159, dropped: 0, current: 11.99, average: 18.68
/GstPipeline:pipeline0/GstFPSDisplaySink:fpsdisplaysink0: last-message = rendered: 2170, dropped: 0, current: 21.94, average: 18.70
/GstPipeline:pipeline0/GstFPSDisplaySink:fpsdisplaysink0: last-message = rendered: 2175, dropped: 0, current: 9.81, average: 18.66
/GstPipeline:pipeline0/GstFPSDisplaySink:fpsdisplaysink0: last-message = rendered: 2186, dropped: 0, current: 21.24, average: 18.67
/GstPipeline:pipeline0/GstFPSDisplaySink:fpsdisplaysink0: last-message = rendered: 2193, dropped: 0, current: 13.67, average: 18.65
/GstPipeline:pipeline0/GstFPSDisplaySink:fpsdisplaysink0: last-message = rendered: 2204, dropped: 0, current: 12.78, average: 18.61
/GstPipeline:pipeline0/GstFPSDisplaySink:fpsdisplaysink0: last-message = rendered: 2212, dropped: 0, current: 13.70, average: 18.58
/GstPipeline:pipeline0/GstFPSDisplaySink:fpsdisplaysink0: last-message = rendered: 2219, dropped: 0, current: 12.17, average: 18.55
but,when i just test 1 camera by gstream command ,the fps is ok;