Sample code 12_camera_vl2_cuda does not support e-CAM50 at full size

I build the sample code in the folder of /usr/src/jetson_multimedia_api/samples/12_camera_vl2_cuda/ and run the app at:

./camera_v4le_cuda -d /dev/video0 -s 2592x1944 -f UYVY -r 28 -c

The video on monitor is completely wrong (horizontal strip lines). Only the square on top left corner drew from CUDA is correct.

When change the command to:

./camera_v4le_cuda -d /dev/video0 -s 1920x1080 -f UYVY -r 65 -c

The video is properly displayed on screen.
What’s wrong with it? Is it a bug on the Jetson Nano sample code or it is something camera related?
Thanks

Hi,
You may check and confirm if your v4l2 source supports the resolution. Please refer to Jetson Nano FAQ
Q: I have a USB camera. How can I lauch it on Jetson Nano?

The resolution 2592x1944 is supported by camera v4L2.
The app from e-con system can properly display the video at 2592x1944 at 28 fps on Jetson Nano

Hi,
Please run with -n 30 and check if the saved camera.UYVY is valid.

It has saved a file named camera.UYVY.
The command below display the image properly:
display -size 2592x1944 camera.UYVY

But the image has no rectangular available on top left corner

Hi,
So for setting camera resolution to 2592x1944, the dumped YUV is good but image preview is broken. Could you attach a picture of the image preview for reference?

Below is the dumped (-n 30) picture: