How to let nvarguscamerasrc support MONO Y10 format?

This is not answering the original question with nvarguscamerasrc, but what you could try would be:

  • capturing Y10 frames from V4L into stdout
  • converting Y10 to GRAY16_LE with a converter such as here (it was for bayer, but adapting the code to your case would be straight forward).
  • Then use gstreamer with input caps GRAY16_LE for displaying or more…
v4l2-ctl -d /dev/video0 --set-ctrl=bypass_mode=0,sensor_mode=0 --set-fmt-video=width=1280,height=800,pixelformat=Y10 --stream-mmap --stream-to=- | ./Y10_16 1280 800 | gst-launch-1.0 filesrc location=/dev/stdin blocksize=$(expr 1280 \* 800 \* 2) do-timestamp=1 ! queue ! video/x-raw,format=GRAY16_LE,width=1280,height=800,framerate=120/1 ! videoconvert ! xvimagesink sync=0

Where Y10_16 is the converter you’ve built.
Not sure if 120 fps wil be acheived. Boost with jetson_clocks.