Does jetson thor support gmsl camera 1080x1280 (UYVY)?

hi nvidia :

does jetson thor(jp7.1 T5000) support gmsl camera 1080x1280 (UYVY) ?

when I set 1080x1280, picture is blur, I set 1920x1280 picture is clear, camera register setting is same.

1080x1280

1920x1080

Set the preferred_stride to 64 alignment like below command.

v4l2-ctl -c preferred_stride=1088

hi nvidia:

I set like this:

v4l2-ctl -c preferred_stride=1088 -d /dev/video6

launch cam like this:

gst-launch-1.0 v4l2src device=/dev/video6 ! ‘video/x-raw, format=UYVY,width=1080, height=1280’ ! videoconvert ! fpsdisplaysink video-sink=xvimagesink sync=false

issue is not solved

capture cmd

v4l2-ctl --stream-mmap --stream-count=1 -d /dev/video6 -c preferred_stride=1088 --stream-to 1080x1280-1.raw

Try the 256 alignment by preferred_stride=1280

hi nvidia:

capture cmd

v4l2-ctl --stream-mmap --stream-count=1 -d /dev/video6 -c preferred_stride=1280 --stream-to 1080x1280-2.raw

picture

issue is not solved

Please try 128 alignment like preferred_stride=1280

v4l2-ctl -c preferred_stride=1280
v4l2-ctl -C
v4l2-ctl --stream-mmap --stream-count=1 -d /dev/video6 --stream-to 1080x1280-2.raw

hi nvidia:

~$ v4l2-ctl -c preferred_stride=1280 -d /dev/video6
~$ v4l2-ctl -C preferred_stride -d /dev/video6
preferred_stride: 1280
~$ v4l2-ctl --stream-mmap --stream-count=1 -d /dev/video6 --stream-to 1080x1280-4.raw

picture

issue is not solved

hi nvidia:

if I set cam size to 1088x1280,

picture is good

Suppose it could be the tools(viewer) problem.

Could you try 7yuv to config the alignment to verify.

Thanks

hi nvidia:

config the alignmen with 7yuv, can not solved this issue

Adjust the align the stride should be changed. Like set align to 32/64/128 ..

32

64

128

hi nvidia:

I saw orin nx VI HW alignment is 32, what is thor VI HW alignment。

Byte alignment and the preferred_stride size - Jetson Systems / Jetson Orin NX - NVIDIA Developer Forums

Yes, suppose Thor should be the same with Orin/Xavier.

But don’t know why set the preferred_stride doesn’t help on it.

Maybe config the sensor output be 32 alignment for WAR.