tx2 camera image broken

Hello I am developing a camera kernel driver on TX2.
However, there is a phenomenon that the camera image is broken at present.
I think it’s probably due to the length of the frame, but I do not know exactly.
If you know how to do this, I would appreciate it.

thank you.

hello withmarine,

it looks like some power noise on diagonal and image overlapping in the bottom of image.
I would suggest you take another picture, to have clear background and focus on a color chart.

could you please also dump the raw files and analysis that?
example to dump the raw, you’re able to view that by 3rdparty tools (such as 7yuv)

v4l2-ctl -d /dev/video0 --set-fmt-video=width=1920,height=1080,pixelformat=RG10 --set-ctrl bypass_mode=0 --stream-mmap --stream-count=1 --stream-to=test.raw

Thank you for the reply.
The noise was resolved by resetting the camera.
However, it does not occur when only one image is created, but it occurs from the second one.
I will upload the original file. This file is 2 frame and my command is

"v4l2-ctl --set-fmt-video=width=1824,height=940,pixelformat=YUYV --set-ctrl bypass_mode=0 --stream-mmap --stream-count=2 -d /dev/video0 --stream-to=ov491.raw"

this is my raw file. two frame

https://drive.google.com/file/d/1P8wDqibEXsFQdqRw3RPBHEdMbyqvIQ6C/view?usp=sharing

this is another raw file. ten frame.

https://drive.google.com/file/d/1WwR6lYM9ZdsT02T_hSUCKkBvinPjC0r4/view?usp=sharing

hello withmarine,

this looks similar issues we meet on R28.2
may I have your confirmation that which JetPack release you’re working on?
thanks

yes My JetPack version is L4T 28.2 (JetPack 3.2).
thanks

hello withmarine,

since you’re working with VI driver, there are necessary fixes for TX2/R28.2.
please try to apply these two kernel fixes in the attachment (20180605_topic1036251_.7z)
for verification, please dumping several raw files, viewing the raw files to confirm each raw files looks correctly.
thanks
20180605_topic1036251_.7z (2.22 KB)

thank you jerryChang.
it’s working now.