AGX Orin capture video steam error

Hi nvidia team:
Can anyone help me to solve this issue.
I tried increasing serdes clock but not helping.

I’m trying to use AGX Orin (JetPack GA & customer board) to capture mipi csi video steam, it’s a 4lane 1080p yuv422 from max96712 port b.

Here I have attached my trace log
kworker/5:5-221 [005] … 6838.968324: rtcpu_nvcsi_intr: tstamp:214355680512 class:GLOBAL type:PHY_INTR0 phy:1 cil:1 st:0 vc:0 status:0x00000044
kworker/5:5-221 [005] … 6838.968324: rtcpu_nvcsi_intr: tstamp:214355681442 class:GLOBAL type:PHY_INTR0 phy:1 cil:1 st:0 vc:0 status:0x00000044
kworker/5:5-221 [005] … 6838.968324: rtcpu_nvcsi_intr: tstamp:214355682361 class:GLOBAL type:PHY_INTR0 phy:1 cil:1 st:0 vc:0 status:0x00000044
kworker/5:5-221 [005] … 6838.968325: rtcpu_nvcsi_intr: tstamp:214355683287 class:GLOBAL type:PHY_INTR0 phy:1 cil:1 st:0 vc:0 status:0x00000044
kworker/5:5-221 [005] … 6838.968325: rtcpu_nvcsi_intr: tstamp:214355684217 class:GLOBAL type:PHY_INTR0 phy:1 cil:1 st:0 vc:0 status:0x00000044
kworker/5:5-221 [005] … 6838.968325: rtcpu_nvcsi_intr: tstamp:214355685145 class:GLOBAL type:PHY_INTR0 phy:1 cil:1 st:0 vc:0 status:0x00000044
kworker/5:5-221 [005] … 6838.968326: rtcpu_nvcsi_intr: tstamp:214355686066 class:GLOBAL type:PHY_INTR0 phy:1 cil:1 st:0 vc:0 status:0x00000044
kworker/5:5-221 [005] … 6838.968326: rtcpu_nvcsi_intr: tstamp:214355686993 class:GLOBAL type:PHY_INTR0 phy:1 cil:1 st:0 vc:0 status:0x00000044
kworker/5:5-221 [005] … 6838.968326: rtcpu_nvcsi_intr: tstamp:214355687920 class:GLOBAL type:PHY_INTR0 phy:1 cil:1 st:0 vc:0 status:0x00000044
kworker/5:5-221 [005] … 6838.968327: rtcpu_nvcsi_intr: tstamp:214355688851 class:GLOBAL type:PHY_INTR0 phy:1 cil:1 st:0 vc:0 status:0x00000044
kworker/5:5-221 [005] … 6838.968327: rtcpu_nvcsi_intr: tstamp:214355689769 class:GLOBAL type:PHY_INTR0 phy:1 cil:1 st:0 vc:0 status:0x00000044
kworker/5:5-221 [005] … 6838.968328: rtcpu_nvcsi_intr: tstamp:214355690698 class:GLOBAL type:PHY_INTR0 phy:1 cil:1 st:0 vc:0 status:0x00000044
kworker/5:5-221 [005] … 6838.968328: rtcpu_nvcsi_intr: tstamp:214355691627 class:GLOBAL type:PHY_INTR0 phy:1 cil:1 st:0 vc:0 status:0x00000044
kworker/5:5-221 [005] … 6838.968329: rtcpu_nvcsi_intr: tstamp:214355692557 class:GLOBAL type:PHY_INTR0 phy:1 cil:1 st:0 vc:0 status:0x00000044
kworker/5:5-221 [005] … 6838.968330: rtcpu_nvcsi_intr: tstamp:214355693474 class:GLOBAL type:PHY_INTR0 phy:1 cil:1 st:0 vc:0 status:0x00000044
kworker/5:5-221 [005] … 6838.968330: rtcpu_nvcsi_intr: tstamp:214355694402 class:GLOBAL type:PHY_INTR0 phy:1 cil:1 st:0 vc:0 status:0x00000044
kworker/5:5-221 [005] … 6838.968331: rtcpu_nvcsi_intr: tstamp:214355695332 class:GLOBAL type:PHY_INTR0 phy:1 cil:1 st:0 vc:0 status:0x00000044
kworker/5:5-221 [005] … 6838.968331: rtcpu_nvcsi_intr: tstamp:214355696251 class:GLOBAL type:PHY_INTR0 phy:1 cil:1 st:0 vc:0 status:0x00000044
kworker/5:5-221 [005] … 6838.968331: rtcpu_nvcsi_intr: tstamp:214355697177 class:GLOBAL type:PHY_INTR0 phy:1 cil:1 st:0 vc:0 status:0x00000044
kworker/5:5-221 [005] … 6838.968332: rtcpu_nvcsi_intr: tstamp:214355698107 class:GLOBAL type:PHY_INTR0 phy:1 cil:1 st:0 vc:0 status:0x00000044
kworker/5:5-221 [005] … 6838.968332: rtcpu_nvcsi_intr: tstamp:214355699037 class:GLOBAL type:PHY_INTR0 phy:1 cil:1 st:0 vc:0 status:0x00000044
kworker/5:5-221 [005] … 6838.968333: rtcpu_nvcsi_intr: tstamp:214355699956 class:GLOBAL type:PHY_INTR0 phy:1 cil:1 st:0 vc:0 status:0x00000044
kworker/5:5-221 [005] … 6838.968333: rtcpu_nvcsi_intr: tstamp:214355700883 class:GLOBAL type:PHY_INTR0 phy:1 cil:1 st:0 vc:0 status:0x00000044
kworker/5:5-221 [005] … 6838.968334: rtcpu_nvcsi_intr: tstamp:214355701813 class:GLOBAL type:PHY_INTR0 phy:1 cil:1 st:0 vc:0 status:0x00000044
kworker/5:5-221 [005] … 6838.968334: rtcpu_nvcsi_intr: tstamp:214355702731 class:GLOBAL type:PHY_INTR0 phy:1 cil:1 st:0 vc:0 status:0x00000044
kworker/5:5-221 [005] … 6838.968334: rtcpu_nvcsi_intr: tstamp:214355703659 class:GLOBAL type:PHY_INTR0 phy:1 cil:1 st:0 vc:0 status:0x00000044
kworker/5:5-221 [005] … 6838.968335: rtcpu_nvcsi_intr: tstamp:214355704589 class:GLOBAL type:PHY_INTR0 phy:1 cil:1 st:0 vc:0 status:0x00000044
kworker/5:5-221 [005] … 6838.968335: rtcpu_nvcsi_intr: tstamp:214355705516 class:GLOBAL type:PHY_INTR0 phy:1 cil:1 st:0 vc:0 status:0x00000044
kworker/5:5-221 [005] … 6838.968336: rtcpu_nvcsi_intr: tstamp:214355706437 class:GLOBAL type:PHY_INTR0 phy:1 cil:1 st:0 vc:0 status:0x00000044
kworker/5:5-221 [005] … 6838.968336: rtcpu_nvcsi_intr: tstamp:214355707364 class:GLOBAL type:PHY_INTR0 phy:1 cil:1 st:0 vc:0 status:0x00000044
kworker/5:5-221 [005] … 6838.968336: rtcpu_nvcsi_intr: tstamp:214355708292 class:GLOBAL type:PHY_INTR0 phy:1 cil:1 st:0 vc:0 status:0x00000044
kworker/5:5-221 [005] … 6838.968337: rtcpu_nvcsi_intr: tstamp:214355709222 class:GLOBAL type:PHY_INTR0 phy:1 cil:1 st:0 vc:0 status:0x00000044
kworker/5:5-221 [005] … 6838.968337: rtcpu_nvcsi_intr: tstamp:214355710140 class:GLOBAL type:PHY_INTR0 phy:1 cil:1 st:0 vc:0 status:0x00000044
kworker/5:5-221 [005] … 6838.968337: rtcpu_nvcsi_intr: tstamp:214355711067 class:GLOBAL type:PHY_INTR0 phy:1 cil:1 st:0 vc:0 status:0x00000044
kworker/5:5-221 [005] … 6838.968338: rtcpu_nvcsi_intr: tstamp:214355711997 class:GLOBAL type:PHY_INTR0 phy:1 cil:1 st:0 vc:0 status:0x00000044
kworker/5:5-221 [005] … 6838.968338: rtcpu_nvcsi_intr: tstamp:214355712927 class:GLOBAL type:PHY_INTR0 phy:1 cil:1 st:0 vc:0 status:0x00000044
kworker/5:5-221 [005] … 6838.968339: rtcpu_nvcsi_intr: tstamp:214355713842 class:GLOBAL type:PHY_INTR0 phy:1 cil:1 st:0 vc:0 status:0x00000044
kworker/5:5-221 [005] … 6838.968339: rtcpu_nvcsi_intr: tstamp:214355714773 class:GLOBAL type:PHY_INTR0 phy:1 cil:1 st:0 vc:0 status:0x00000044
kworker/5:5-221 [005] … 6838.968339: rtcpu_nvcsi_intr: tstamp:214355715703 class:GLOBAL type:PHY_INTR0 phy:1 cil:1 st:0 vc:0 status:0x00000044
kworker/5:5-221 [005] … 6838.968340: rtcpu_nvcsi_intr: tstamp:214355716631 class:GLOBAL type:PHY_INTR0 phy:1 cil:1 st:0 vc:0 status:0x00000044
kworker/5:5-221 [005] … 6838.968340: rtcpu_nvcsi_intr: tstamp:214355717549 class:GLOBAL type:PHY_INTR0 phy:1 cil:1 st:0 vc:0 status:0x00000044
kworker/5:5-221 [005] … 6838.968341: rtcpu_nvcsi_intr: tstamp:214355718478 class:GLOBAL type:PHY_INTR0 phy:1 cil:1 st:0 vc:0 status:0x00000044
kworker/5:5-221 [005] … 6838.968341: rtcpu_nvcsi_intr: tstamp:214355719406 class:GLOBAL type:PHY_INTR0 phy:1 cil:1 st:0 vc:0 status:0x00000044

1 Like

look up this link about nx:Camera failed with virtual channel enabled
The trace log tell the start of transmission multi bit error. What is the same dts for but disable the VC for the first device?

 kworker/0:2-11757 [000] ....   859.195848: rtcpu_nvcsi_intr: tstamp:27177142594 class:GLOBAL type:PHY_INTR0 phy:0 cil:1 st:0 vc:0 status:0x00000044

is it same with orin?

serdes_pix_clk_hz = (deserializer output data rate in hertz) * (number of CSI lanes) / (bits per pixel).
serdes_pix_clk_hz = 1.5G (one lane data rate)* 4(lane)/8 = 805306368
and I have set serdes_pix_clk_hz = “805306368” in dts files.

The error tell the SOT(Start Of Transfer) multiple bits error.
That could be the settle time cause the issue. You can try discontinuous/continuous clocks
And make sure the MIPI timing like attached.

hi ShaneCCC:
I have change discontinuous_clk = “no” to discontinuous_clk = “yes” and generate dtb files. still capture video stream error.
and trace log still status:0x00000044.

Hi ShaneCCC:
it’s ok now ,thanks!

What I mean is configure the sensor output as discontinuous mode not just configure the device tree only.

Thanks

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.