Jetson TX1 camera driver ported from L4T 24.2 --> 24.2.1 | camera streaming error | VI CSI line width short error

Hi,

I’m testing custom driver in L4T24.2.1
This driver and sensor are already tested in 24.2 and there are no issues.

I have tested 2 resolutions in 24.2.1
->1936 x 1101 is OK
->3872 x 1101 gives streaming error

Both resolutions worked in L4T24.2

Issue details


Resolution : 3872 x 1101
Error : [VI_CSI_4_ERROR_STATUS_0] (phys addr:0x54080584) 0x00000001
TRM says this is LINE_WIDTH_SHORT_ERROR
Behavior : Streaming gives distorted and blinking pixels

Anything additional modification needed when driver is ported from 24.2 -> 24.2.1 ?

Thanks in advance,
Mathews

@Mats
Does the below command can get raw data well.

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


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

Hi mats_X1,

Have you clarified and resolved the problem?
Any result can be shared?

Thanks

Hi ShaneCCC and kayccc,

Thank You for your replies.

I can’t use v4l2-ctl tool since my application performs sensor configuration(not by driver).

Regards,
Mathews

@mats
What’s your test command/APP?
From the log is semms the width is incorrect as sensor output. I have no idea why the 24.2 didn’t have problem. However you can check the sensor spec or vendor to try other similar size setting to try.