Hello all,
I use simplified version of imx219 drivers (with removed communication and other features, e.g. to capture pre-configured streams; I used it to capture from FPGAs) to capture video from ADV7280-M. I use default modes for autodetect and capture of PAL signals provided by the official 7280-M documentation. I request those modes through scripts, right before calling gst-launch command.
ADV7280-M seems to be OK, since I can capture it on an iMX6 SOM. The output captured by TX2 is shown below. First 8 pixels of every second line start on a previous line, I belive the next 8 pixels is missing, then there is this 16-pixel long artifact at the end of these lines.
I use R32.2.3.
Does anyone know how to get rid of those artifacts?
ShaneCCC,
I tried the patch, the output image is still messed up.
In my notes I have a quotation saved from NVIDIA forums that may shed a little light on the issue, but I’m unable to utilize this knowledge.
due to VI requirements that must be atom (64-Byte) aligned; could you please hack such value in kernel driver for verification. thanks
Bytes per line reported by v4l2-ctl is 1440 (720x576 YUV 422 8 bit). 1440/64=22.5, which means the requirement is not met. This would also, in my opinion, explain the misalignment of the lines.
According to the official docu it is impossible to change bit depth or resolution on ADV7280 to make it fit the 64-byte atomization requirement.
Hello ShaneCCC,
it turns out I was debugging those patch changes in a wrong manner (I used v4l2-ctl to capture a single frame and then conversion to a png image), today I tried to set stride to 1472 again, but this time used gst-launch - the green stripes are gone. (Now I have only an issue with halved fps, but this is story for another time).