Jetson AGX restriction on video resolutions

hello a.gilles,

there’s sensor mode limitation that it only support image width/height in even numbers.
so, you might consider to drop 1-line and 1-pixel of your 135x121 sensor output frames.

v4l2 standard controls should follow the VI requirements, which VI it only requires atom (64-Byte) aligned.
however, you might enable the preferred stride v4l2 CID controls for your stride adjustments.
you may enable preferred_stride controls via v4l2 standard controls,
for example,

$ v4l2-ctl -d /dev/video0 --set-fmt-video=width=2592,height=1944,pixelformat=RG10 --set-ctrl bypass_mode=0 --set-ctrl preferred_stride=256 --stream-mmap --stream-count=10

FYI,
since this change did not included into l4t-r32.1 code-line, you may upgrade your release to l4t-r32.4 for the preferred_stride implementation.
thanks