Problem with capturing images by Video4Linux

To whom it may concern,

I am writing to request for help. Our team is now porting RX(tp2854) on Xavier NX, and receiving images from 4 channels by using virtual channels at the same time. However, the error occurs while we are using Video4Linux to capture video images.

The inaccurate log datas are shown below: (L4T version: R32.4.4)

  1. a part of trace log
    vi-output, tp28-7122 [003] … 1356.381807: tegra_channel_capture_frame: eof:1366.789406944
    vi-output, tp28-7122 [005] … 1356.415065: tegra_channel_capture_frame: sof:0.0
    vi-output, tp28-7122 [005] … 1356.415067: tegra_channel_capture_frame: eof:1366.822740512
    vi-output, tp28-7122 [005] … 1356.448407: tegra_channel_capture_frame: sof:0.0
    vi-output, tp28-7122 [005] … 1356.448418: tegra_channel_capture_frame: eof:1366.856074080
    vi-output, tp28-7122 [005] … 1356.481754: tegra_channel_capture_frame: sof:0.0
    vi-output, tp28-7122 [005] … 1356.481755: tegra_channel_capture_frame: eof:1366.889407680
    vi-output, tp28-7122 [005] … 1356.515068: tegra_channel_capture_frame: sof:0.0
    vi-output, tp28-7122 [005] … 1356.515069: tegra_channel_capture_frame: eof:1366.922741312
    vi-output, tp28-7122 [005] … 1356.515088: tegra_channel_capture_frame: sof:1366.890775744
    vi-output, tp28-7122 [005] … 1356.515089: tegra_channel_capture_frame: eof:1366.922741344
    vi-output, tp28-7122 [003] … 1356.548440: tegra_channel_capture_frame: sof:0.0
    vi-output, tp28-7122 [003] … 1356.548449: tegra_channel_capture_frame: eof:1366.956074912

  2. a part of trace log
    kworker/0:1-722 [000] … 1356.574788: rtcpu_nvcsi_intr: tstamp:42717754882 class:CORRECTABLE_ERR type:STREAM_VC phy:0 cil:0 st:0 vc:3 status:0x00000004
    kworker/0:1-722 [000] … 1356.574788: rtcpu_nvcsi_intr: tstamp:42717756519 class:GLOBAL type:STREAM_VC phy:0 cil:0 st:0 vc:0 status:0x00000004
    kworker/0:1-722 [000] … 1356.574789: rtcpu_nvcsi_intr: tstamp:42717756519 class:GLOBAL type:STREAM_VC phy:0 cil:0 st:0 vc:1 status:0x00000004
    kworker/0:1-722 [000] … 1356.574789: rtcpu_nvcsi_intr: tstamp:42717756519 class:GLOBAL type:STREAM_VC phy:0 cil:0 st:0 vc:2 status:0x00000004
    kworker/0:1-722 [000] … 1356.574789: rtcpu_nvcsi_intr: tstamp:42717756519 class:GLOBAL type:STREAM_VC phy:0 cil:0 st:0 vc:3 status:0x00000004
    kworker/0:1-722 [000] … 1356.574789: rtcpu_nvcsi_intr: tstamp:42717756519 class:CORRECTABLE_ERR type:STREAM_VC phy:0 cil:0 st:0 vc:0 status:0x00000004
    kworker/0:1-722 [000] … 1356.574789: rtcpu_nvcsi_intr: tstamp:42717756519 class:CORRECTABLE_ERR type:STREAM_VC phy:0 cil:0 st:0 vc:1 status:0x00000004
    kworker/0:1-722 [000] … 1356.574789: rtcpu_nvcsi_intr: tstamp:42717756519 class:CORRECTABLE_ERR type:STREAM_VC phy:0 cil:0 st:0 vc:2 status:0x00000004
    kworker/0:1-722 [000] … 1356.574789: rtcpu_nvcsi_intr: tstamp:42717756519 class:CORRECTABLE_ERR type:STREAM_VC phy:0 cil:0 st:0 vc:3 status:0x00000004
    kworker/0:1-722 [000] … 1356.574790: rtcpu_nvcsi_intr: tstamp:42717758151 class:GLOBAL type:STREAM_VC phy:0 cil:0 st:0 vc:0 status:0x00000004
    kworker/0:1-722 [000] … 1356.574790: rtcpu_nvcsi_intr: tstamp:42717758151 class:GLOBAL type:STREAM_VC phy:0 cil:0 st:0 vc:1 status:0x00000004
    kworker/0:1-722 [000] … 1356.574790: rtcpu_nvcsi_intr: tstamp:42717758151 class:GLOBAL type:STREAM_VC phy:0 cil:0 st:0 vc:2 status:0x00000004
    kworker/0:1-722 [000] … 1356.574790: rtcpu_nvcsi_intr: tstamp:42717758151 class:CORRECTABLE_ERR type:STREAM_VC phy:0 cil:0 st:0 vc:0 status:0x00000004
    kworker/0:1-722 [000] … 1356.574790: rtcpu_nvcsi_intr: tstamp:42717758151 class:CORRECTABLE_ERR type:STREAM_VC phy:0 cil:0 st:0 vc:1 status:0x00000004
    kworker/0:1-722 [000] … 1356.574790: rtcpu_nvcsi_intr: tstamp:42717758151 class:CORRECTABLE_ERR type:STREAM_VC phy:0 cil:0 st:0 vc:2 status:0x00000004
    kworker/0:1-722 [000] … 1356.574790: rtcpu_nvcsi_intr: tstamp:42717758151 class:CORRECTABLE_ERR type:STREAM_VC phy:0 cil:0 st:0 vc:3 status:0x00000004
    kworker/0:1-722 [000] … 1356.574791: rtcpu_nvcsi_intr: tstamp:42717759610 class:GLOBAL type:STREAM_VC phy:0 cil:0 st:0 vc:0 status:0x00000004
    kworker/0:1-722 [000] … 1356.574791: rtcpu_nvcsi_intr: tstamp:42717759610 class:GLOBAL type:STREAM_VC phy:0 cil:0 st:0 vc:1 status:0x00000004
    kworker/0:1-722 [000] … 1356.574791: rtcpu_nvcsi_intr: tstamp:42717759610 class:GLOBAL type:STREAM_VC phy:0 cil:0 st:0 vc:2 status:0x00000004
    kworker/0:1-722 [000] … 1356.574791: rtcpu_nvcsi_intr: tstamp:42717759610 class:GLOBAL type:STREAM_VC phy:0 cil:0 st:0 vc:3 status:0x00000004
    kworker/0:1-722 [000] … 1356.574791: rtcpu_nvcsi_intr: tstamp:42717759610 class:CORRECTABLE_ERR type:STREAM_VC phy:0 cil:0 st:0 vc:0 status:0x00000004
    kworker/0:1-722 [000] … 1356.574791: rtcpu_nvcsi_intr: tstamp:42717759610 class:CORRECTABLE_ERR type:STREAM_VC phy:0 cil:0 st:0 vc:1 status:0x00000004
    kworker/0:1-722 [000] … 1356.574791: rtcpu_nvcsi_intr: tstamp:42717759610 class:CORRECTABLE_ERR type:STREAM_VC phy:0 cil:0 st:0 vc:2 status:0x00000004
    kworker/0:1-722 [000] … 1356.574792: rtcpu_nvcsi_intr: tstamp:42717759610 class:CORRECTABLE_ERR type:STREAM_VC phy:0 cil:0 st:0 vc:3 status:0x00000004
    kworker/0:1-722 [000] … 1356.574792: rtcpu_nvcsi_intr: tstamp:42717761241 class:GLOBAL type:STREAM_VC phy:0 cil:0 st:0 vc:0 status:0x00000004
    kworker/0:1-722 [000] … 1356.574792: rtcpu_nvcsi_intr: tstamp:42717761241 class:GLOBAL type:STREAM_VC phy:0 cil:0 st:0 vc:1 status:0x00000004
    kworker/0:1-722 [000] … 1356.574792: rtcpu_nvcsi_intr: tstamp:42717761241 class:GLOBAL type:STREAM_VC phy:0 cil:0 st:0 vc:2 status:0x00000004
    kworker/0:1-722 [000] … 1356.574792: rtcpu_nvcsi_intr: tstamp:42717761241 class:GLOBAL type:STREAM_VC phy:0 cil:0 st:0 vc:3 status:0x00000004
    kworker/0:1-722 [000] … 1356.574792: rtcpu_nvcsi_intr: tstamp:42717761241 class:CORRECTABLE_ERR type:STREAM_VC phy:0 cil:0 st:0 vc:0 status:0x00000004
    kworker/0:1-722 [000] … 1356.574793: rtcpu_nvcsi_intr: tstamp:42717761241 class:CORRECTABLE_ERR type:STREAM_VC phy:0 cil:0 st:0 vc:1 status:0x00000004
    kworker/0:1-722 [000] … 1356.574793: rtcpu_nvcsi_intr: tstamp:42717761241 class:CORRECTABLE_ERR type:STREAM_VC phy:0 cil:0 st:0 vc:2 status:0x00000004
    kworker/0:1-722 [000] … 1356.574793: rtcpu_nvcsi_intr: tstamp:42717761241 class:CORRECTABLE_ERR type:STREAM_VC phy:0 cil:0 st:0 vc:3 status:0x00000004
    kworker/0:1-722 [000] … 1356.574793: rtcpu_nvcsi_intr: tstamp:42717762867 class:GLOBAL type:STREAM_VC phy:0 cil:0 st:0 vc:0 status:0x00000004
    kworker/0:1-722 [000] … 1356.574793: rtcpu_nvcsi_intr: tstamp:42717762867 class:GLOBAL type:STREAM_VC phy:0 cil:0 st:0 vc:1 status:0x00000004
    kworker/0:1-722 [000] … 1356.574793: rtcpu_nvcsi_intr: tstamp:42717762867 class:GLOBAL type:STREAM_VC phy:0 cil:0 st:0 vc:2 status:0x00000004
    kworker/0:1-722 [000] … 1356.574793: rtcpu_nvcsi_intr: tstamp:42717762867 class:GLOBAL type:STREAM_VC phy:0 cil:0 st:0 vc:3 status:0x00000004
    kworker/0:1-722 [000] … 1356.574794: rtcpu_nvcsi_intr: tstamp:42717762867 class:CORRECTABLE_ERR type:STREAM_VC phy:0 cil:0 st:0 vc:0 status:0x00000004
    kworker/0:1-722 [000] … 1356.574794: rtcpu_nvcsi_intr: tstamp:42717762867 class:CORRECTABLE_ERR type:STREAM_VC phy:0 cil:0 st:0 vc:1 status:0x00000004
    kworker/0:1-722 [000] … 1356.574794: rtcpu_nvcsi_intr: tstamp:42717764152 class:GLOBAL type:STREAM_VC phy:0 cil:0 st:0 vc:0 status:0x00000004
    kworker/0:1-722 [000] … 1356.574794: rtcpu_nvcsi_intr: tstamp:42717764152 class:GLOBAL type:STREAM_VC phy:0 cil:0 st:0 vc:1 status:0x00000004
    kworker/0:1-722 [000] … 1356.574794: rtcpu_nvcsi_intr: tstamp:42717764152 class:GLOBAL type:STREAM_VC phy:0 cil:0 st:0 vc:2 status:0x00000004
    kworker/0:1-722 [000] … 1356.574794: rtcpu_nvcsi_intr: tstamp:42717764152 class:GLOBAL type:STREAM_VC phy:0 cil:0 st:0 vc:3 status:0x00000004
    kworker/0:1-722 [000] … 1356.574794: rtcpu_nvcsi_intr: tstamp:42717764152 class:CORRECTABLE_ERR type:STREAM_VC phy:0 cil:0 st:0 vc:0 status:0x00000004
    kworker/0:1-722 [000] … 1356.574795: rtcpu_nvcsi_intr: tstamp:42717764152 class:CORRECTABLE_ERR type:STREAM_VC phy:0 cil:0 st:0 vc:1 status:0x00000004
    kworker/0:1-722 [000] … 1356.574795: rtcpu_nvcsi_intr: tstamp:42717764152 class:CORRECTABLE_ERR type:STREAM_VC phy:0 cil:0 st:0 vc:2 status:0x00000004
    kworker/0:1-722 [000] … 1356.574795: rtcpu_nvcsi_intr: tstamp:42717764152 class:CORRECTABLE_ERR type:STREAM_VC phy:0 cil:0 st:0 vc:3 status:0x00000004
    kworker/0:1-722 [000] … 1356.574795: rtcpu_nvcsi_intr: tstamp:42717765785 class:GLOBAL type:STREAM_VC phy:0 cil:0 st:0 vc:0 status:0x00000004
    kworker/0:1-722 [000] … 1356.574795: rtcpu_nvcsi_intr: tstamp:42717765785 class:GLOBAL type:STREAM_VC phy:0 cil:0 st:0 vc:1 status:0x00000004
    kworker/0:1-722 [000] … 1356.574795: rtcpu_nvcsi_intr: tstamp:42717765785 class:GLOBAL type:STREAM_VC phy:0 cil:0 st:0 vc:2 status:0x00000004
    kworker/0:1-722 [000] … 1356.574795: rtcpu_nvcsi_intr: tstamp:42717765785 class:GLOBAL type:STREAM_VC phy:0 cil:0 st:0 vc:3 status:0x00000004
    kworker/0:1-722 [000] … 1356.574796: rtcpu_nvcsi_intr: tstamp:42717765785 class:CORRECTABLE_ERR type:STREAM_VC phy:0 cil:0 st:0 vc:0 status:0x00000004
    kworker/0:1-722 [000] … 1356.574796: rtcpu_nvcsi_intr: tstamp:42717765785 class:CORRECTABLE_ERR type:STREAM_VC phy:0 cil:0 st:0 vc:1 status:0x00000004
    kworker/0:1-722 [000] … 1356.574796: rtcpu_nvcsi_intr: tstamp:42717765785 class:CORRECTABLE_ERR type:STREAM_VC phy:0 cil:0 st:0 vc:2 status:0x00000004
    kworker/0:1-722 [000] … 1356.574796: rtcpu_nvcsi_intr: tstamp:42717767247 class:GLOBAL type:STREAM_VC phy:0 cil:0 st:0 vc:0 status:0x00000004
    kworker/0:1-722 [000] … 1356.574796: rtcpu_nvcsi_intr: tstamp:42717767247 class:GLOBAL type:STREAM_VC phy:0 cil:0 st:0 vc:2 status:0x00000004
    kworker/0:1-722 [000] … 1356.574796: rtcpu_nvcsi_intr: tstamp:42717767247 class:GLOBAL type:STREAM_VC phy:0 cil:0 st:0 vc:3 status:0x00000004
    kworker/0:1-722 [000] … 1356.574796: rtcpu_nvcsi_intr: tstamp:42717767247 class:CORRECTABLE_ERR type:STREAM_VC phy:0 cil:0 st:0 vc:0 status:0x00000004
    kworker/0:1-722 [000] … 1356.574797: rtcpu_nvcsi_intr: tstamp:42717767247 class:CORRECTABLE_ERR type:STREAM_VC phy:0 cil:0 st:0 vc:1 status:0x00000004
    kworker/0:1-722 [000] … 1356.574797: rtcpu_nvcsi_intr: tstamp:42717767247 class:CORRECTABLE_ERR type:STREAM_VC phy:0 cil:0 st:0 vc:2 status:0x00000004
    kworker/0:1-722 [000] … 1356.574797: rtcpu_nvcsi_intr: tstamp:42717767247 class:CORRECTABLE_ERR type:STREAM_VC phy:0 cil:0 st:0 vc:3 status:0x00000004
    kworker/0:1-722 [000] … 1356.574797: rtcpu_nvcsi_intr: tstamp:42717768706 class:GLOBAL type:STREAM_VC phy:0 cil:0 st:0 vc:0 status:0x00000004
    kworker/0:1-722 [000] … 1356.574797: rtcpu_nvcsi_intr: tstamp:42717768706 class:GLOBAL type:STREAM_VC phy:0 cil:0 st:0 vc:1 status:0x00000004
    kworker/0:1-722 [000] … 1356.574797: rtcpu_nvcsi_intr: tstamp:42717768706 class:GLOBAL type:STREAM_VC phy:0 cil:0 st:0 vc:2 status:0x00000004
    kworker/0:1-722 [000] … 1356.574797: rtcpu_nvcsi_intr: tstamp:42717768706 class:GLOBAL type:STREAM_VC phy:0 cil:0 st:0 vc:3 status:0x00000004
    kworker/0:1-722 [000] … 1356.574798: rtcpu_nvcsi_intr: tstamp:42717768706 class:CORRECTABLE_ERR type:STREAM_VC phy:0 cil:0 st:0 vc:0 status:0x00000004
    kworker/0:1-722 [000] … 1356.574798: rtcpu_nvcsi_intr: tstamp:42717768706 class:CORRECTABLE_ERR type:STREAM_VC phy:0 cil:0 st:0 vc:1 status:0x00000004
    kworker/0:1-722 [000] … 1356.574798: rtcpu_nvcsi_intr: tstamp:42717768706 class:CORRECTABLE_ERR type:STREAM_VC phy:0 cil:0 st:0 vc:2 status:0x00000004
    kworker/0:1-722 [000] … 1356.574798: rtcpu_nvcsi_intr: tstamp:42717770160 class:GLOBAL type:STREAM_VC phy:0 cil:0 st:0 vc:0 status:0x00000004
    kworker/0:1-722 [000] … 1356.574798: rtcpu_nvcsi_intr: tstamp:42717770160 class:GLOBAL type:STREAM_VC phy:0 cil:0 st:0 vc:2 status:0x00000004
    kworker/0:1-722 [000] … 1356.574798: rtcpu_nvcsi_intr: tstamp:42717770160 class:GLOBAL type:STREAM_VC phy:0 cil:0 st:0 vc:3 status:0x00000004
    kworker/0:1-722 [000] … 1356.574798: rtcpu_nvcsi_intr: tstamp:42717770160 class:CORRECTABLE_ERR type:STREAM_VC phy:0 cil:0 st:0 vc:0 status:0x00000004
    kworker/0:1-722 [000] … 1356.574799: rtcpu_nvcsi_intr: tstamp:42717770160 class:CORRECTABLE_ERR type:STREAM_VC phy:0 cil:0 st:0 vc:1 status:0x00000004
    kworker/0:1-722 [000] … 1356.574799: rtcpu_nvcsi_intr: tstamp:42717770160 class:CORRECTABLE_ERR type:STREAM_VC phy:0 cil:0 st:0 vc:2 status:0x00000004
    kworker/0:1-722 [000] … 1356.574799: rtcpu_nvcsi_intr: tstamp:42717770160 class:CORRECTABLE_ERR type:STREAM_VC phy:0 cil:0 st:0 vc:3 status:0x00000004
    kworker/0:1-722 [000] … 1356.574799: rtcpu_nvcsi_intr: tstamp:42717771620 class:GLOBAL type:STREAM_VC phy:0 cil:0 st:0 vc:0 status:0x00000004
    kworker/0:1-722 [000] … 1356.574799: rtcpu_nvcsi_intr: tstamp:42717771620 class:GLOBAL type:STREAM_VC phy:0 cil:0 st:0 vc:1 status:0x00000004
    kworker/0:1-722 [000] … 1356.574799: rtcpu_nvcsi_intr: tstamp:42717771620 class:GLOBAL type:STREAM_VC phy:0 cil:0 st:0 vc:2 status:0x00000004
    kworker/0:1-722 [000] … 1356.574799: rtcpu_nvcsi_intr: tstamp:42717771620 class:GLOBAL type:STREAM_VC phy:0 cil:0 st:0 vc:3 status:0x00000004
    kworker/0:1-722 [000] … 1356.574800: rtcpu_nvcsi_intr: tstamp:42717771620 class:CORRECTABLE_ERR type:STREAM_VC phy:0 cil:0 st:0 vc:0 status:0x00000004
    kworker/0:1-722 [000] … 1356.574800: rtcpu_nvcsi_intr: tstamp:42717771620 class:CORRECTABLE_ERR type:STREAM_VC phy:0 cil:0 st:0 vc:1 status:0x00000004
    kworker/0:1-722 [000] … 1356.574800: rtcpu_nvcsi_intr: tstamp:42717771620 class:CORRECTABLE_ERR type:STREAM_VC phy:0 cil:0 st:0 vc:2 status:0x00000004
    kworker/0:1-722 [000] … 1356.574800: rtcpu_nvcsi_intr: tstamp:42717771620 class:CORRECTABLE_ERR type:STREAM_VC phy:0 cil:0 st:0 vc:3 status:0x00000004
    kworker/0:1-722 [000] … 1356.574800: rtcpu_nvcsi_intr: tstamp:42717773254 class:GLOBAL type:STREAM_VC phy:0 cil:0 st:0 vc:0 status:0x00000004
    kworker/0:1-722 [000] … 1356.574800: rtcpu_nvcsi_intr: tstamp:42717773254 class:GLOBAL type:STREAM_VC phy:0 cil:0 st:0 vc:1 status:0x00000004
    kworker/0:1-722 [000] … 1356.574800: rtcpu_nvcsi_intr: tstamp:42717773254 class:GLOBAL type:STREAM_VC phy:0 cil:0 st:0 vc:3 status:0x00000004
    kworker/0:1-722 [000] … 1356.574801: rtcpu_nvcsi_intr: tstamp:42717773254 class:CORRECTABLE_ERR type:STREAM_VC phy:0 cil:0 st:0 vc:0 status:0x00000004
    kworker/0:1-722 [000] … 1356.574801: rtcpu_nvcsi_intr: tstamp:42717773254 class:CORRECTABLE_ERR type:STREAM_VC phy:0 cil:0 st:0 vc:1 status:0x00000004
    kworker/0:1-722 [000] … 1356.574801: rtcpu_nvcsi_intr: tstamp:42717773254 class:CORRECTABLE_ERR type:STREAM_VC phy:0 cil:0 st:0 vc:2 status:0x00000004
    kworker/0:1-722 [000] … 1356.574801: rtcpu_nvcsi_intr: tstamp:42717773254 class:CORRECTABLE_ERR type:STREAM_VC phy:0 cil:0 st:0 vc:3 status:0x00000004
    kworker/0:1-722 [000] … 1356.574801: rtcpu_nvcsi_intr: tstamp:42717774716 class:GLOBAL type:STREAM_VC phy:0 cil:0 st:0 vc:0 status:0x00000004
    kworker/0:1-722 [000] … 1356.574801: rtcpu_nvcsi_intr: tstamp:42717774716 class:GLOBAL type:STREAM_VC phy:0 cil:0 st:0 vc:1 status:0x00000004
    kworker/0:1-722 [000] … 1356.574802: rtcpu_nvcsi_intr: tstamp:42717774716 class:GLOBAL type:STREAM_VC phy:0 cil:0 st:0 vc:2 status:0x00000004
    kworker/0:1-722 [000] … 1356.574802: rtcpu_nvcsi_intr: tstamp:42717774716 class:GLOBAL type:STREAM_VC phy:0 cil:0 st:0 vc:3 status:0x00000004
    kworker/0:1-722 [000] … 1356.574802: rtcpu_nvcsi_intr: tstamp:42717774716 class:CORRECTABLE_ERR type:STREAM_VC phy:0 cil:0 st:0 vc:0 status:0x00000004
    kworker/0:1-722 [000] … 1356.574802: rtcpu_nvcsi_intr: tstamp:42717774716 class:CORRECTABLE_ERR type:STREAM_VC phy:0 cil:0 st:0 vc:1 status:0x00000004
    kworker/0:1-722 [000] … 1356.574802: rtcpu_nvcsi_intr: tstamp:42717774716 class:CORRECTABLE_ERR type:STREAM_VC phy:0 cil:0 st:0 vc:2 status:0x00000004
    kworker/0:1-722 [000] … 1356.574802: rtcpu_nvcsi_intr: tstamp:42717774716 class:CORRECTABLE_ERR type:STREAM_VC phy:0 cil:0 st:0 vc:3 status:0x00000004
    kworker/0:1-722 [000] … 1356.574802: rtcpu_nvcsi_intr: tstamp:42717776346 class:GLOBAL type:STREAM_VC phy:0 cil:0 st:0 vc:0 status:0x00000004
    kworker/0:1-722 [000] … 1356.574803: rtcpu_nvcsi_intr: tstamp:42717776346 class:GLOBAL type:STREAM_VC phy:0 cil:0 st:0 vc:1 status:0x00000004
    kworker/0:1-722 [000] … 1356.574803: rtcpu_nvcsi_intr: tstamp:42717776346 class:GLOBAL type:STREAM_VC phy:0 cil:0 st:0 vc:2 status:0x00000004
    kworker/0:1-722 [000] … 1356.574803: rtcpu_nvcsi_intr: tstamp:42717776346 class:CORRECTABLE_ERR type:STREAM_VC phy:0 cil:0 st:0 vc:0 status:0x00000004
    kworker/0:1-722 [000] … 1356.574803: rtcpu_nvcsi_intr: tstamp:42717776346 class:CORRECTABLE_ERR type:STREAM_VC phy:0 cil:0 st:0 vc:1 status:0x00000004
    kworker/0:1-722 [000] … 1356.574803: rtcpu_nvcsi_intr: tstamp:42717776346 class:CORRECTABLE_ERR type:STREAM_VC phy:0 cil:0 st:0 vc:2 status:0x00000004
    kworker/0:1-722 [000] … 1356.574803: rtcpu_nvcsi_intr: tstamp:42717776346 class:CORRECTABLE_ERR type:STREAM_VC phy:0 cil:0 st:0 vc:3 status:0x00000004
    kworker/0:1-722 [000] … 1356.574803: rtcpu_nvcsi_intr: tstamp:42717777854 class:GLOBAL type:STREAM_VC phy:0 cil:0 st:0 vc:0 status:0x00000004
    kworker/0:1-722 [000] … 1356.574804: rtcpu_nvcsi_intr: tstamp:42717777854 class:GLOBAL type:STREAM_VC phy:0 cil:0 st:0 vc:1 status:0x00000004
    kworker/0:1-722 [000] … 1356.574804: rtcpu_nvcsi_intr: tstamp:42717777854 class:GLOBAL type:STREAM_VC phy:0 cil:0 st:0 vc:2 status:0x00000004
    kworker/0:1-722 [000] … 1356.574804: rtcpu_nvcsi_intr: tstamp:42717777854 class:GLOBAL type:STREAM_VC phy:0 cil:0 st:0 vc:3 status:0x00000004
    kworker/0:1-722 [000] … 1356.574804: rtcpu_nvcsi_intr: tstamp:42717777854 class:CORRECTABLE_ERR type:STREAM_VC phy:0 cil:0 st:0 vc:0 status:0x00000004
    kworker/0:1-722 [000] … 1356.574804: rtcpu_nvcsi_intr: tstamp:42717777854 class:CORRECTABLE_ERR type:STREAM_VC phy:0 cil:0 st:0 vc:1 status:0x00000004
    kworker/0:1-722 [000] … 1356.574804: rtcpu_nvcsi_intr: tstamp:42717777854 class:CORRECTABLE_ERR type:STREAM_VC phy:0 cil:0 st:0 vc:2 status:0x00000004
    kworker/0:1-722 [000] … 1356.574804: rtcpu_nvcsi_intr: tstamp:42717777854 class:CORRECTABLE_ERR type:STREAM_VC phy:0 cil:0 st:0 vc:3 status:0x00000004

Please assist us with this situation, we will be grateful for any help you can provide.

Best regards,
HS Allison

There are CRC and RX FIFO error. For the FIFO can try boost the NVCSI/VI/ISP clock to try.

https://elinux.org/Jetson_TX2_Camera_BringUp

Hi,
Thanks for your reply!
We have tried to boost the clock, but we get the same result that the error still occurs.

command is shown below:
echo 1 > /sys/kernel/debug/bpmp/debug/clk/vi/mrq_rate_locked
echo 1 > /sys/kernel/debug/bpmp/debug/clk/isp/mrq_rate_locked
echo 1 > /sys/kernel/debug/bpmp/debug/clk/nvcsi/mrq_rate_locked
cat /sys/kernel/debug/bpmp/debug/clk/vi/max_rate |tee /sys/kernel/debug/bpmp/debug/clk/vi/rate
cat /sys/kernel/debug/bpmp/debug/clk/isp/max_rate | tee /sys/kernel/debug/bpmp/debug/clk/isp/rate
cat /sys/kernel/debug/bpmp/debug/clk/nvcsi/max_rate | tee /sys/kernel/debug/bpmp/debug/clk/nvcsi/rate

Please assist us with this situation.

Best regards,
HS Allison

Then it could be the output payload data didn’t include CRC packet cause the problem.

Hi,
I would like to ask about how can we modify to capture the correct images without including CRC packet? Or could you give us any other suggestions?

Thank you for your assistance!

Best regards,
HS Allison

Have a reference to below link to try the WAR.

Hi,
We can see the images with the solution you gave. However, the images go wrong when we are capturing images from 4 video channels at the same time. You can see the video as shown below, and please give us some advice. Many thanks!

Did you boost the system by nvpmodel and jetson_clocks?

sudo nvpmodel -m 2 
sudo jeston_clocks

Hi,
Yes, we have tried nvpmodel and jetson_clocks, but the images still go wrong. Is there any solution to the problem? Many thanks!

Best regards,
HS Allison

Does 2 or 3 channels have problem too?

Hi,
We have tried not only 2 or 3 channels, but also 1 channel.
There is no problem with only one channel, but there is the same problem when we are trying to capture images from more than 1 video channel.

Please assist us, thanks!

Best regards,
HS Allison

  1. Replace the attached camera FW at …/Linux_for_Tegra/bootloader/ and update it by below command. camera-rtcpu-rce.img (263.0 KB)
    sudo ./flash -r -k rce-fw jetson-xavier-as-xavier-nx mmcblk0p1

  2. Apply below patch to update the kernel Image

diff --git a/drivers/media/platform/tegra/camera/nvcsi/csi5_fops.c b/drivers/media/platform/tegra/camera/nvcsi/csi5_fops.c
index d23994d..7a47015 100644
--- a/drivers/media/platform/tegra/camera/nvcsi/csi5_fops.c
+++ b/drivers/media/platform/tegra/camera/nvcsi/csi5_fops.c
@@ -139,6 +139,8 @@ static int csi5_stream_set_config(struct tegra_csi_channel *chan, u32 stream_id,
        struct CAPTURE_CONTROL_MSG msg;
        struct nvcsi_brick_config brick_config;
        struct nvcsi_cil_config cil_config;
+       struct nvcsi_error_config error_config;
+
        bool is_cphy = (csi_lanes == 3);

        dev_dbg(csi->dev, "%s: stream_id=%u, csi_port=%u\n",
@@ -166,6 +168,11 @@ static int csi5_stream_set_config(struct tegra_csi_channel *chan, u32 stream_id,
        else
                cil_config.mipi_clock_rate = csi->clk_freq / 1000;

+       /* error config */
+       memset(&error_config, 0, sizeof(error_config));
+       error_config.stream_intr_mask = 0xFF;
+       error_config.status2vi_notify_mask = 0xFFFF;
+
        /* Set NVCSI stream config */
        memset(&msg, 0, sizeof(msg));
        msg.header.msg_id = CAPTURE_CSI_STREAM_SET_CONFIG_REQ;
@@ -175,7 +182,8 @@ static int csi5_stream_set_config(struct tegra_csi_channel *chan, u32 stream_id,
        msg.csi_stream_set_config_req.csi_port = csi_port;
        msg.csi_stream_set_config_req.brick_config = brick_config;
        msg.csi_stream_set_config_req.cil_config = cil_config;
-
+       msg.csi_stream_set_config_req.error_config = error_config;
+       msg.csi_stream_set_config_req.config_flags = NVCSI_CONFIG_FLAG_BRICK | NVCSI_CONFIG_FLAG_CIL | NVCSI_CONFIG_FLAG_ERROR;
        tegra_capture_ivc_control_submit(&msg, sizeof(msg));

        return 0;

Hi,
For the first point and the bottom line you mentioned, I would like to ask how to get this attachment? Many thanks!

Best regards,
HS Allison

Check it again.

Hi,
Our problem is solved. Thank you for your support!

Best regards,
HS Allison