MIPI CSI Configuration

Hie, I have developed a customized driver for mono-chrome camera in tx2. I was successfully able to get the raw frames when resolution was 640x480 with csi-link frequency of 216000000. But when I changed the resolution to 320x256 there is no raw frames received. I have few doubts which I need to clear.

  1. I set the resolution to 320x 256 so bytes per line should be 320 but it is 512 as per “v4l2-ctl --all” command.

  2. The Bps (bits per second) as for my currecnt configuration of is

      width * height * bits per pixel * fps
      320 * 256 * 8 * 30  = 19660800
    

but I read it from one of the drivers that the CSI bps per lane must be between 62.5 Mbps and 1 Gbps.
but i have 19.66 Mbps. So is there a mimimum Mbps limit for CSI-2 bus and lanes.

  1. Are there any extra settings required for CSI bus timings as it was working with 640x480 but not with 320x256.

Your response will be appreciated.

Did you get the streaming from v4l2-ctl or v4l API?
If yes then, there’s no any extra settings. The bytes per line could be the 256 alignment cause it.

I got the streaming from v4l2-ctl on 640x480 resolution not on 320x256.
Is there any extra setting required for 320x256 or the settings for 640x480 will also work for 320x256.

How can I resolve 256 alignment case and what about MIPI CSI minimum Mbps. Is it 62.5 Mbps or less than that can work too

Try below command.

v4l2-ctl --preferred_stride=32

Thanks, i tried the command
v4l2-ctl --device /dev/video0 --stream-mmap --set-fmt-video=width=320,height=256,pixelformat=RAW8 --set-ctrl=preferred_stride=32 --stream-to=frame.raw --stream-count=1 --verbose

there is value of 32 in preferred_stride but bytes per line are still 512 as below:

v4l2-ctl --all
Driver Info (not using libv4l2):
Driver name : tegra-video
Card type : vi-output, tc358746 2-000e
Bus info : platform:15700000.vi:0
Driver version: 4.9.253
Capabilities : 0x84200001
Video Capture
Streaming
Extended Pix Format
Device Capabilities
Device Caps : 0x04200001
Video Capture
Streaming
Extended Pix Format
Priority: 2
Video input : 0 (Camera 0: ok)
Format Video Capture:
Width/Height : 320/256
Pixel Format : ‘GREY’
Field : None
Bytes per Line : 512
Size Image : 131072
Colorspace : Default
Transfer Function : Default (maps to Rec. 709)
YCbCr/HSV Encoding: Default (maps to ITU-R 601)
Quantization : Default (maps to Full Range)
Flags :

Camera Controls

                bypass_mode 0x009a2064 (intmenu): min=0 max=1 default=0 value=0
            override_enable 0x009a2065 (intmenu): min=0 max=1 default=0 value=0
               height_align 0x009a2066 (int)    : min=1 max=16 step=1 default=1 value=1
                 size_align 0x009a2067 (intmenu): min=0 max=2 default=0 value=0
           write_isp_format 0x009a2068 (int)    : min=1 max=1 step=1 default=1 value=1
   sensor_signal_properties 0x009a2069 (u32)    : min=0 max=0 step=0 default=0 flags=read-only, has-payload
    sensor_image_properties 0x009a206a (u32)    : min=0 max=0 step=0 default=0 flags=read-only, has-payload
  sensor_control_properties 0x009a206b (u32)    : min=0 max=0 step=0 default=0 flags=read-only, has-payload
          sensor_dv_timings 0x009a206c (u32)    : min=0 max=0 step=0 default=0 flags=read-only, has-payload
           low_latency_mode 0x009a206d (bool)   : default=0 value=0
           preferred_stride 0x009a206e (int)    : min=0 max=65535 step=1 default=0 value=32
               sensor_modes 0x009a2082 (int)    : min=0 max=30 step=1 default=30 value=30 flags=read-only

Image Processing Controls

             link_frequency 0x009f0901 (intmenu): min=0 max=0 default=0 value=0
               test_pattern 0x009f0903 (menu)   : min=0 max=1 default=0 value=0

It could be below for it. And I don’t think this could cause capture failed.

#define RM_SURFACE_ALIGNMENT 256

thanks it worked, now i have 320 bytes per line.

Following are the errors i am receiving right now in dmesg
[ 80.203463] tegra-vi4 15700000.vi: PXL_SOF syncpt timeout! err = -11
[ 80.209971] tegra-vi4 15700000.vi: tegra_channel_error_recovery: attempting to reset the capture channel
[ 80.447443] tegra-vi4 15700000.vi: PXL_SOF syncpt timeout! err = -11
[ 80.453930] tegra-vi4 15700000.vi: tegra_channel_error_recovery: attempting to reset the capture channel
[ 80.687459] tegra-vi4 15700000.vi: PXL_SOF syncpt timeout! err = -11
[ 80.694073] tegra-vi4 15700000.vi: tegra_channel_error_recovery: attempting to reset the capture channel
[ 80.704297] nvcsi 150c0000.nvcsi: csi4_stream_check_status (0) INTR_STATUS 0x00000004
[ 80.712287] nvcsi 150c0000.nvcsi: csi4_stream_check_status (0) ERR_INTR_STATUS 0x00000004
[ 80.931436] tegra-vi4 15700000.vi: PXL_SOF syncpt timeout! err = -11
[ 80.937964] tegra-vi4 15700000.vi: tegra_channel_error_recovery: attempting to reset the capture channel
[ 81.171479] tegra-vi4 15700000.vi: PXL_SOF syncpt timeout! err = -11
[ 81.177944] tegra-vi4 15700000.vi: tegra_channel_error_recovery: attempting to reset the capture channel
[ 81.415516] tegra-vi4 15700000.vi: PXL_SOF syncpt timeout! err = -11
[ 81.422040] tegra-vi4 15700000.vi: tegra_channel_error_recovery: attempting to reset the capture channel
[ 81.655451] tegra-vi4 15700000.vi: PXL_SOF syncpt timeout! err = -11
[ 81.661898] tegra-vi4 15700000.vi: tegra_channel_error_recovery: attempting to reset the capture channel
[ 81.899416] tegra-vi4 15700000.vi: PXL_SOF syncpt timeout! err = -11
[ 81.905873] tegra-vi4 15700000.vi: tegra_channel_error_recovery: attempting to reset the capture channel
[ 82.139389] tegra-vi4 15700000.vi: PXL_SOF syncpt timeout! err = -11
[ 82.145784] tegra-vi4 15700000.vi: tegra_channel_error_recovery: attempting to reset the capture channel
[ 82.383458] tegra-vi4 15700000.vi: PXL_SOF syncpt timeout! err = -11
[ 82.389915] tegra-vi4 15700000.vi: tegra_channel_error_recovery: attempting to reset the capture channel
[ 82.623442] tegra-vi4 15700000.vi: PXL_SOF syncpt timeout! err = -11
[ 82.629893] tegra-vi4 15700000.vi: tegra_channel_error_recovery: attempting to reset the capture channel
[ 82.867446] tegra-vi4 15700000.vi: PXL_SOF syncpt timeout! err = -11
[ 82.873902] tegra-vi4 15700000.vi: tegra_channel_error_recovery: attempting to reset the capture channel
[ 83.107526] tegra-vi4 15700000.vi: PXL_SOF syncpt timeout! err = -11
[ 83.113983] tegra-vi4 15700000.vi: tegra_channel_error_recovery: attempting to reset the capture channel
[ 83.351571] tegra-vi4 15700000.vi: PXL_SOF syncpt timeout! err = -11
[ 83.358036] tegra-vi4 15700000.vi: tegra_channel_error_recovery: attempting to reset the capture channel
[ 83.369064] nvcsi 150c0000.nvcsi: csi4_stream_check_status (0) INTR_STATUS 0x00000004
[ 83.377005] nvcsi 150c0000.nvcsi: csi4_stream_check_status (0) ERR_INTR_STATUS 0x00000004
[ 83.591437] tegra-vi4 15700000.vi: PXL_SOF syncpt timeout! err = -11
[ 83.598024] tegra-vi4 15700000.vi: tegra_channel_error_recovery: attempting to reset the capture channel
[ 83.835490] tegra-vi4 15700000.vi: PXL_SOF syncpt timeout! err = -11
[ 83.841944] tegra-vi4 15700000.vi: tegra_channel_error_recovery: attempting to reset the capture channel
[ 84.075421] tegra-vi4 15700000.vi: PXL_SOF syncpt timeout! err = -11
[ 84.082837] tegra-vi4 15700000.vi: tegra_channel_error_recovery: attempting to reset the capture channel
[ 84.319363] tegra-vi4 15700000.vi: PXL_SOF syncpt timeout! err = -11
[ 84.325738] tegra-vi4 15700000.vi: tegra_channel_error_recovery: attempting to reset the capture channel
[ 84.337038] nvcsi 150c0000.nvcsi: csi4_stream_check_status (0) INTR_STATUS 0x00000004
[ 84.344930] nvcsi 150c0000.nvcsi: csi4_stream_check_status (0) ERR_INTR_STATUS 0x00000004
[ 84.559377] tegra-vi4 15700000.vi: PXL_SOF syncpt timeout! err = -11
[ 84.565875] tegra-vi4 15700000.vi: tegra_channel_error_recovery: attempting to reset the capture channel
[ 84.803402] tegra-vi4 15700000.vi: PXL_SOF syncpt timeout! err = -11
[ 84.809825] tegra-vi4 15700000.vi: tegra_channel_error_recovery: attempting to reset the capture channel
[ 85.047411] tegra-vi4 15700000.vi: PXL_SOF syncpt timeout! err = -11
[ 85.054004] tegra-vi4 15700000.vi: tegra_channel_error_recovery: attempting to reset the capture channel

By enabling the kernel messages i get

TASK-PID CPU# |||| TIMESTAMP FUNCTION

| | | |||| | |

 kworker/3:0-30    [003] ....   114.435418: rtos_queue_peek_from_isr_failed: tstamp:3833987355 queue:0x0b4b4940

vi-output, tc35-8588 [000] … 114.547942: tegra_channel_capture_setup: vnc_id 0 W 320 H 256 fmt 10
vi-output, tc35-8588 [000] … 114.547974: tegra_channel_capture_frame: sof:114.199973952
kworker/3:0-30 [003] … 114.551376: rtos_queue_send_from_isr_failed: tstamp:3837995820 queue:0x0b4a7698
kworker/3:0-30 [003] … 114.551379: rtos_queue_send_from_isr_failed: tstamp:3837995930 queue:0x0b4ab1a8
kworker/3:0-30 [003] … 114.551379: rtos_queue_send_from_isr_failed: tstamp:3837996038 queue:0x0b4acdd8
kworker/3:0-30 [003] … 114.551380: rtos_queue_send_from_isr_failed: tstamp:3837996144 queue:0x0b4ae958
kworker/3:0-30 [003] … 114.551381: rtos_queue_send_from_isr_failed: tstamp:3837996265 queue:0x0b4af718
kworker/3:0-30 [003] … 114.551381: rtos_queue_send_from_isr_failed: tstamp:3837996370 queue:0x0b4b04d8
kworker/3:0-30 [003] … 114.551382: rtos_queue_send_from_isr_failed: tstamp:3837996475 queue:0x0b4b1298
kworker/3:0-30 [003] … 114.551382: rtos_queue_send_from_isr_failed: tstamp:3837996580 queue:0x0b4b2058
kworker/3:0-30 [003] … 114.551384: rtos_queue_send_failed: tstamp:3837997158 queue:0x0b4a7698
kworker/3:0-30 [003] … 114.551384: rtos_queue_send_from_isr_failed: tstamp:3837998813 queue:0x0b4a7698
kworker/3:0-30 [003] … 114.551385: rtos_queue_send_from_isr_failed: tstamp:3837998918 queue:0x0b4ab1a8
kworker/3:0-30 [003] … 114.551386: rtos_queue_send_from_isr_failed: tstamp:3837999024 queue:0x0b4acdd8
kworker/3:0-30 [003] … 114.551386: rtos_queue_send_from_isr_failed: tstamp:3837999132 queue:0x0b4ae958
kworker/3:0-30 [003] … 114.551387: rtos_queue_send_from_isr_failed: tstamp:3837999236 queue:0x0b4af718
kworker/3:0-30 [003] … 114.551387: rtos_queue_send_from_isr_failed: tstamp:3837999339 queue:0x0b4b04d8
kworker/3:0-30 [003] … 114.551388: rtos_queue_send_from_isr_failed: tstamp:3837999444 queue:0x0b4b1298
kworker/3:0-30 [003] … 114.551389: rtos_queue_send_from_isr_failed: tstamp:3837999548 queue:0x0b4b2058
kworker/3:0-30 [003] … 114.551389: rtos_queue_send_failed: tstamp:3837999976 queue:0x0b4a7698
kworker/3:0-30 [003] … 114.551390: rtos_queue_send_from_isr_failed: tstamp:3838505963 queue:0x0b4a7698
kworker/3:0-30 [003] … 114.551391: rtos_queue_send_from_isr_failed: tstamp:3838506071 queue:0x0b4ab1a8
kworker/3:0-30 [003] … 114.551391: rtos_queue_send_from_isr_failed: tstamp:3838506177 queue:0x0b4acdd8
kworker/3:0-30 [003] … 114.551392: rtos_queue_send_from_isr_failed: tstamp:3838506283 queue:0x0b4ae958
kworker/3:0-30 [003] … 114.551392: rtos_queue_send_from_isr_failed: tstamp:3838506391 queue:0x0b4af718
kworker/3:0-30 [003] … 114.551393: rtos_queue_send_from_isr_failed: tstamp:3838506496 queue:0x0b4b04d8
kworker/3:0-30 [003] … 114.551393: rtos_queue_send_from_isr_failed: tstamp:3838506601 queue:0x0b4b1298
kworker/3:0-30 [003] … 114.551394: rtos_queue_send_from_isr_failed: tstamp:3838506706 queue:0x0b4b2058
kworker/3:0-30 [003] … 114.551395: rtos_queue_send_failed: tstamp:3838507215 queue:0x0b4a7698
kworker/3:0-30 [003] … 114.551395: rtos_queue_send_from_isr_failed: tstamp:3838509181 queue:0x0b4a7698
kworker/3:0-30 [003] … 114.551396: rtos_queue_send_from_isr_failed: tstamp:3838509289 queue:0x0b4ab1a8
kworker/3:0-30 [003] … 114.551396: rtos_queue_send_from_isr_failed: tstamp:3838509395 queue:0x0b4acdd8
kworker/3:0-30 [003] … 114.551397: rtos_queue_send_from_isr_failed: tstamp:3838509502 queue:0x0b4ae958
kworker/3:0-30 [003] … 114.551398: rtos_queue_send_from_isr_failed: tstamp:3838509606 queue:0x0b4af718
kworker/3:0-30 [003] … 114.551398: rtos_queue_send_from_isr_failed: tstamp:3838509710 queue:0x0b4b04d8
kworker/3:0-30 [003] … 114.551399: rtos_queue_send_from_isr_failed: tstamp:3838509815 queue:0x0b4b1298
kworker/3:0-30 [003] … 114.551399: rtos_queue_send_from_isr_failed: tstamp:3838509919 queue:0x0b4b2058
kworker/3:0-30 [003] … 114.551400: rtos_queue_send_failed: tstamp:3838510845 queue:0x0b4a7698
kworker/3:0-30 [003] … 114.551402: rtcpu_vinotify_event: tstamp:3838514683 tag:CSIMUX_STREAM channel:0xff frame:0 vi_tstamp:3838514324 data:0x00000001
vi-output, tc35-8588 [000] … 114.553399: tegra_channel_capture_frame: sof:114.442006816
kworker/3:0-30 [003] … 114.607370: rtcpu_vinotify_event: tstamp:3838680973 tag:CHANSEL_PXL_SOF channel:0x00 frame:0 vi_tstamp:3838680597 data:0x00000001
kworker/3:0-30 [003] … 114.607375: rtcpu_vinotify_event: tstamp:3838681362 tag:ATOMP_FS channel:0x00 frame:0 vi_tstamp:3838681008 data:0x00000000
kworker/3:0-30 [003] … 114.607376: rtcpu_vinotify_event: tstamp:3838683198 tag:CHANSEL_LOAD_FRAMED channel:0x01 frame:0 vi_tstamp:3838682839 data:0x08000000
kworker/3:0-30 [003] … 114.607382: rtos_queue_peek_from_isr_failed: tstamp:3838987352 queue:0x0b4b4940
kworker/3:0-30 [003] … 114.607382: rtcpu_vinotify_event: tstamp:3839717230 tag:CHANSEL_SHORT_FRAME channel:0x01 frame:0 vi_tstamp:3839716664 data:0x00000001
kworker/3:0-30 [003] … 114.607383: rtcpu_vinotify_event: tstamp:3839717436 tag:ATOMP_FE channel:0x00 frame:0 vi_tstamp:3839716664 data:0x00000000
kworker/3:0-30 [003] … 114.779384: rtos_queue_peek_from_isr_failed: tstamp:3843987350 queue:0x0b4b4940
kworker/3:0-30 [003] … 114.779393: rtos_queue_send_from_isr_failed: tstamp:3845530512 queue:0x0b4a7698
kworker/3:0-30 [003] … 114.779394: rtos_queue_send_from_isr_failed: tstamp:3845530657 queue:0x0b4ab1a8
kworker/3:0-30 [003] … 114.779395: rtos_queue_send_from_isr_failed: tstamp:3845530799 queue:0x0b4acdd8
kworker/3:0-30 [003] … 114.779396: rtos_queue_send_from_isr_failed: tstamp:3845530937 queue:0x0b4ae958
kworker/3:0-30 [003] … 114.779398: rtos_queue_send_from_isr_failed: tstamp:3845531075 queue:0x0b4af718
kworker/3:0-30 [003] … 114.779399: rtos_queue_send_from_isr_failed: tstamp:3845531212 queue:0x0b4b04d8
kworker/3:0-30 [003] … 114.779400: rtos_queue_send_from_isr_failed: tstamp:3845531351 queue:0x0b4b1298
kworker/3:0-30 [003] … 114.779401: rtos_queue_send_from_isr_failed: tstamp:3845531488 queue:0x0b4b2058
kworker/3:0-30 [003] … 114.779403: rtos_queue_send_failed: tstamp:3845532190 queue:0x0b4a7698
kworker/3:0-30 [003] … 114.779404: rtos_queue_send_from_isr_failed: tstamp:3845534540 queue:0x0b4a7698
kworker/3:0-30 [003] … 114.779406: rtos_queue_send_from_isr_failed: tstamp:3845534709 queue:0x0b4ab1a8
kworker/3:0-30 [003] … 114.779407: rtos_queue_send_from_isr_failed: tstamp:3845534848 queue:0x0b4acdd8
kworker/3:0-30 [003] … 114.779408: rtos_queue_send_from_isr_failed: tstamp:3845534987 queue:0x0b4ae958
kworker/3:0-30 [003] … 114.779409: rtos_queue_send_from_isr_failed: tstamp:3845535124 queue:0x0b4af718
kworker/3:0-30 [003] … 114.779410: rtos_queue_send_from_isr_failed: tstamp:3845535262 queue:0x0b4b04d8
kworker/3:0-30 [003] … 114.779411: rtos_queue_send_from_isr_failed: tstamp:3845535399 queue:0x0b4b1298
kworker/3:0-30 [003] … 114.779412: rtos_queue_send_from_isr_failed: tstamp:3845535542 queue:0x0b4b2058
kworker/3:0-30 [003] … 114.779414: rtos_queue_send_failed: tstamp:3845536103 queue:0x0b4a7698
vi-output, tc35-8588 [004] … 114.789308: tegra_channel_capture_setup: vnc_id 0 W 320 H 256 fmt 10
vi-output, tc35-8588 [004] … 114.789345: tegra_channel_capture_frame: sof:114.442006816
vi-output, tc35-8588 [005] … 114.795456: tegra_channel_capture_frame: sof:114.684039552
kworker/3:0-30 [003] … 114.831377: rtos_queue_send_from_isr_failed: tstamp:3846047641 queue:0x0b4a7698
kworker/3:0-30 [003] … 114.831380: rtos_queue_send_from_isr_failed: tstamp:3846047807 queue:0x0b4ab1a8
kworker/3:0-30 [003] … 114.831381: rtos_queue_send_from_isr_failed: tstamp:3846047946 queue:0x0b4acdd8
kworker/3:0-30 [003] … 114.831381: rtos_queue_send_from_isr_failed: tstamp:3846048086 queue:0x0b4ae958
kworker/3:0-30 [003] … 114.831382: rtos_queue_send_from_isr_failed: tstamp:3846048224 queue:0x0b4af718
kworker/3:0-30 [003] … 114.831383: rtos_queue_send_from_isr_failed: tstamp:3846048361 queue:0x0b4b04d8
kworker/3:0-30 [003] … 114.831383: rtos_queue_send_from_isr_failed: tstamp:3846048499 queue:0x0b4b1298
kworker/3:0-30 [003] … 114.831384: rtos_queue_send_from_isr_failed: tstamp:3846048655 queue:0x0b4b2058
kworker/3:0-30 [003] … 114.831385: rtos_queue_send_failed: tstamp:3846049254 queue:0x0b4a7698
kworker/3:0-30 [003] … 114.831386: rtos_queue_send_from_isr_failed: tstamp:3846051303 queue:0x0b4a7698
kworker/3:0-30 [003] … 114.831386: rtos_queue_send_from_isr_failed: tstamp:3846051442 queue:0x0b4ab1a8
kworker/3:0-30 [003] … 114.831387: rtos_queue_send_from_isr_failed: tstamp:3846051581 queue:0x0b4acdd8
kworker/3:0-30 [003] … 114.831388: rtos_queue_send_from_isr_failed: tstamp:3846051719 queue:0x0b4ae958
kworker/3:0-30 [003] … 114.831388: rtos_queue_send_from_isr_failed: tstamp:3846051857 queue:0x0b4af718
kworker/3:0-30 [003] … 114.831389: rtos_queue_send_from_isr_failed: tstamp:3846051994 queue:0x0b4b04d8
kworker/3:0-30 [003] … 114.831390: rtos_queue_send_from_isr_failed: tstamp:3846052132 queue:0x0b4b1298
kworker/3:0-30 [003] … 114.831390: rtos_queue_send_from_isr_failed: tstamp:3846052269 queue:0x0b4b2058
kworker/3:0-30 [003] … 114.831391: rtos_queue_send_failed: tstamp:3846053667 queue:0x0b4a7698

What could be the reason for this?

The trace log tell CHANSEL_SHORT_FRAME that tell the output lines less than expect.
Try modify the driver to report less line to try. Like 320x254, 320x252 …

Can i get the information of how much lines VI received from the kernel logs?

Current don’t support it.

What is formula of setting link frequency? For 640x480 the link frequency of 216000000 worked but i dont kow what should be the right link frequency for 320x256 at 30 fps with 8 bit Raw data.

Suppose you should be able find the formula from the sensor datasheet.

I have managed to remove the CHANSEL_SHORT_FRAME error.

Now the kernel logs are

vi-output, tc35-7816 [003] … 57.305212: tegra_channel_capture_setup: vnc_id 0 W 320 H 256 fmt 10
vi-output, tc35-7816 [003] … 57.305258: tegra_channel_capture_frame: sof:56.974976832
kworker/5:1-732 [005] … 57.348349: rtos_queue_send_from_isr_failed: tstamp:2059228173 queue:0x0b4a7698
kworker/5:1-732 [005] … 57.348360: rtos_queue_send_from_isr_failed: tstamp:2059228348 queue:0x0b4ab1a8
kworker/5:1-732 [005] … 57.348363: rtos_queue_send_from_isr_failed: tstamp:2059228491 queue:0x0b4acdd8
kworker/5:1-732 [005] … 57.348366: rtos_queue_send_from_isr_failed: tstamp:2059228631 queue:0x0b4ae958
kworker/5:1-732 [005] … 57.348369: rtos_queue_send_from_isr_failed: tstamp:2059228768 queue:0x0b4af718
kworker/5:1-732 [005] … 57.348371: rtos_queue_send_from_isr_failed: tstamp:2059228906 queue:0x0b4b04d8
kworker/5:1-732 [005] … 57.348373: rtos_queue_send_from_isr_failed: tstamp:2059229043 queue:0x0b4b1298
kworker/5:1-732 [005] … 57.348376: rtos_queue_send_from_isr_failed: tstamp:2059229181 queue:0x0b4b2058
kworker/5:1-732 [005] … 57.348380: rtos_queue_send_failed: tstamp:2059229881 queue:0x0b4a7698
kworker/5:1-732 [005] … 57.348383: rtos_queue_send_from_isr_failed: tstamp:2059233414 queue:0x0b4a7698
kworker/5:1-732 [005] … 57.348385: rtos_queue_send_from_isr_failed: tstamp:2059233580 queue:0x0b4ab1a8
kworker/5:1-732 [005] … 57.348388: rtos_queue_send_from_isr_failed: tstamp:2059233720 queue:0x0b4acdd8
kworker/5:1-732 [005] … 57.348390: rtos_queue_send_from_isr_failed: tstamp:2059233860 queue:0x0b4ae958
kworker/5:1-732 [005] … 57.348392: rtos_queue_send_from_isr_failed: tstamp:2059233998 queue:0x0b4af718
kworker/5:1-732 [005] … 57.348395: rtos_queue_send_from_isr_failed: tstamp:2059234135 queue:0x0b4b04d8
kworker/5:1-732 [005] … 57.348397: rtos_queue_send_from_isr_failed: tstamp:2059234273 queue:0x0b4b1298
kworker/5:1-732 [005] … 57.348400: rtos_queue_send_from_isr_failed: tstamp:2059234410 queue:0x0b4b2058
kworker/5:1-732 [005] … 57.348402: rtos_queue_send_failed: tstamp:2059234966 queue:0x0b4a7698
kworker/5:1-732 [005] … 57.348404: rtos_queue_send_from_isr_failed: tstamp:2059241146 queue:0x0b4a7698
kworker/5:1-732 [005] … 57.348407: rtos_queue_send_from_isr_failed: tstamp:2059241285 queue:0x0b4ab1a8
kworker/5:1-732 [005] … 57.348409: rtos_queue_send_from_isr_failed: tstamp:2059241424 queue:0x0b4acdd8
kworker/5:1-732 [005] … 57.348412: rtos_queue_send_from_isr_failed: tstamp:2059241564 queue:0x0b4ae958
kworker/5:1-732 [005] … 57.348414: rtos_queue_send_from_isr_failed: tstamp:2059241701 queue:0x0b4af718
kworker/5:1-732 [005] … 57.348416: rtos_queue_send_from_isr_failed: tstamp:2059241839 queue:0x0b4b04d8
kworker/5:1-732 [005] … 57.348419: rtos_queue_send_from_isr_failed: tstamp:2059241976 queue:0x0b4b1298
kworker/5:1-732 [005] … 57.348421: rtos_queue_send_from_isr_failed: tstamp:2059242114 queue:0x0b4b2058
kworker/5:1-732 [005] … 57.348423: rtos_queue_send_failed: tstamp:2059242675 queue:0x0b4a7698
kworker/5:1-732 [005] … 57.348426: rtos_queue_send_from_isr_failed: tstamp:2059246048 queue:0x0b4a7698
kworker/5:1-732 [005] … 57.348428: rtos_queue_send_from_isr_failed: tstamp:2059246188 queue:0x0b4ab1a8
kworker/5:1-732 [005] … 57.348431: rtos_queue_send_from_isr_failed: tstamp:2059246328 queue:0x0b4acdd8
kworker/5:1-732 [005] … 57.348433: rtos_queue_send_from_isr_failed: tstamp:2059246468 queue:0x0b4ae958
kworker/5:1-732 [005] … 57.348435: rtos_queue_send_from_isr_failed: tstamp:2059246604 queue:0x0b4af718
kworker/5:1-732 [005] … 57.348438: rtos_queue_send_from_isr_failed: tstamp:2059246745 queue:0x0b4b04d8
kworker/5:1-732 [005] … 57.348440: rtos_queue_send_from_isr_failed: tstamp:2059246910 queue:0x0b4b1298
kworker/5:1-732 [005] … 57.348443: rtos_queue_send_from_isr_failed: tstamp:2059247068 queue:0x0b4b2058
kworker/5:1-732 [005] … 57.348445: rtos_queue_send_failed: tstamp:2059248475 queue:0x0b4a7698
kworker/5:1-732 [005] … 57.348449: rtos_queue_peek_from_isr_failed: tstamp:2059632800 queue:0x0b4b4940
kworker/5:1-732 [005] … 57.348454: rtcpu_vinotify_event: tstamp:2060001018 tag:CSIMUX_STREAM channel:0xff frame:0 vi_tstamp:2060000614 data:0x00000001
vi-output, tc35-7816 [005] … 57.363956: tegra_channel_capture_frame: sof:57.251585952
kworker/5:1-732 [005] … 57.404320: rtcpu_vinotify_event: tstamp:2061081644 tag:CHANSEL_PXL_SOF channel:0x00 frame:0 vi_tstamp:2061081118 data:0x00000001
kworker/5:1-732 [005] … 57.404327: rtcpu_vinotify_event: tstamp:2061081856 tag:ATOMP_FS channel:0x00 frame:0 vi_tstamp:2061081132 data:0x00000000
kworker/5:1-732 [005] … 57.404329: rtcpu_vinotify_event: tstamp:2061087610 tag:CHANSEL_LOAD_FRAMED channel:0x01 frame:0 vi_tstamp:2061087239 data:0x08000000
kworker/5:1-732 [005] … 57.404331: rtcpu_vinotify_event: tstamp:2061197137 tag:CHANSEL_PXL_EOF channel:0x00 frame:0 vi_tstamp:2061196509 data:0x00ff0012
kworker/5:1-732 [005] … 57.404334: rtcpu_vinotify_event: tstamp:2061197290 tag:CHANSEL_FAULT channel:0x00 frame:0 vi_tstamp:2061196851 data:0x01000040
kworker/5:1-732 [005] … 57.404336: rtcpu_vinotify_event: tstamp:2061197767 tag:CHANSEL_LOAD_FRAMED channel:0x01 frame:0 vi_tstamp:2061197439 data:0x08000000
kworker/5:1-732 [005] … 57.404338: rtcpu_vinotify_event: tstamp:2061198695 tag:CHANSEL_FAULT_FE channel:0x01 frame:0 vi_tstamp:2061198116 data:0x00000001
kworker/5:1-732 [005] … 57.404340: rtcpu_vinotify_event: tstamp:2061198868 tag:ATOMP_FE channel:0x00 frame:0 vi_tstamp:2061198117 data:0x00000000
kworker/5:1-732 [005] … 57.516330: rtos_queue_peek_from_isr_failed: tstamp:2064632807 queue:0x0b4b4940
vi-output, tc35-7816 [003] … 57.581632: tegra_channel_capture_setup: vnc_id 0 W 320 H 256 fmt 10
vi-output, tc35-7816 [003] … 57.581678: tegra_channel_capture_frame: sof:57.251585952
kworker/5:1-732 [005] … 57.636352: rtos_queue_send_from_isr_failed: tstamp:2067856745 queue:0x0b4a7698
kworker/5:1-732 [005] … 57.636359: rtos_queue_send_from_isr_failed: tstamp:2067856895 queue:0x0b4ab1a8
kworker/5:1-732 [005] … 57.636361: rtos_queue_send_from_isr_failed: tstamp:2067857037 queue:0x0b4acdd8
kworker/5:1-732 [005] … 57.636363: rtos_queue_send_from_isr_failed: tstamp:2067857179 queue:0x0b4ae958
kworker/5:1-732 [005] … 57.636366: rtos_queue_send_from_isr_failed: tstamp:2067857317 queue:0x0b4af718
kworker/5:1-732 [005] … 57.636368: rtos_queue_send_from_isr_failed: tstamp:2067857453 queue:0x0b4b04d8
kworker/5:1-732 [005] … 57.636371: rtos_queue_send_from_isr_failed: tstamp:2067857590 queue:0x0b4b1298
kworker/5:1-732 [005] … 57.636373: rtos_queue_send_from_isr_failed: tstamp:2067857729 queue:0x0b4b2058
kworker/5:1-732 [005] … 57.636378: rtos_queue_send_failed: tstamp:2067858432 queue:0x0b4a7698
kworker/5:1-732 [005] … 57.636380: rtos_queue_send_from_isr_failed: tstamp:2067863786 queue:0x0b4a7698
kworker/5:1-732 [005] … 57.636383: rtos_queue_send_from_isr_failed: tstamp:2067863926 queue:0x0b4ab1a8
kworker/5:1-732 [005] … 57.636385: rtos_queue_send_from_isr_failed: tstamp:2067864066 queue:0x0b4acdd8
kworker/5:1-732 [005] … 57.636387: rtos_queue_send_from_isr_failed: tstamp:2067864206 queue:0x0b4ae958
kworker/5:1-732 [005] … 57.636390: rtos_queue_send_from_isr_failed: tstamp:2067864345 queue:0x0b4af718
kworker/5:1-732 [005] … 57.636392: rtos_queue_send_from_isr_failed: tstamp:2067864482 queue:0x0b4b04d8
kworker/5:1-732 [005] … 57.636394: rtos_queue_send_from_isr_failed: tstamp:2067864621 queue:0x0b4b1298
kworker/5:1-732 [005] … 57.636397: rtos_queue_send_from_isr_failed: tstamp:2067864758 queue:0x0b4b2058
kworker/5:1-732 [005] … 57.636399: rtos_queue_send_failed: tstamp:2067865343 queue:0x0b4a7698
kworker/5:1-732 [005] … 57.636402: rtos_queue_send_from_isr_failed: tstamp:2067874260 queue:0x0b4a7698
kworker/5:1-732 [005] … 57.636404: rtos_queue_send_from_isr_failed: tstamp:2067874404 queue:0x0b4ab1a8
kworker/5:1-732 [005] … 57.636406: rtos_queue_send_from_isr_failed: tstamp:2067874543 queue:0x0b4acdd8
kworker/5:1-732 [005] … 57.636409: rtos_queue_send_from_isr_failed: tstamp:2067874682 queue:0x0b4ae958
kworker/5:1-732 [005] … 57.636411: rtos_queue_send_from_isr_failed: tstamp:2067874819 queue:0x0b4af718
kworker/5:1-732 [005] … 57.636413: rtos_queue_send_from_isr_failed: tstamp:2067874957 queue:0x0b4b04d8
kworker/5:1-732 [005] … 57.636416: rtos_queue_send_from_isr_failed: tstamp:2067875094 queue:0x0b4b1298
kworker/5:1-732 [005] … 57.636418: rtos_queue_send_from_isr_failed: tstamp:2067875232 queue:0x0b4b2058
kworker/5:1-732 [005] … 57.636420: rtos_queue_send_failed: tstamp:2067875842 queue:0x0b4a7698
kworker/5:1-732 [005] … 57.636423: rtos_queue_send_from_isr_failed: tstamp:2067881596 queue:0x0b4a7698
kworker/5:1-732 [005] … 57.636425: rtos_queue_send_from_isr_failed: tstamp:2067881734 queue:0x0b4ab1a8
kworker/5:1-732 [005] … 57.636428: rtos_queue_send_from_isr_failed: tstamp:2067881873 queue:0x0b4acdd8
kworker/5:1-732 [005] … 57.636430: rtos_queue_send_from_isr_failed: tstamp:2067882013 queue:0x0b4ae958
kworker/5:1-732 [005] … 57.636432: rtos_queue_send_from_isr_failed: tstamp:2067882152 queue:0x0b4af718
kworker/5:1-732 [005] … 57.636435: rtos_queue_send_from_isr_failed: tstamp:2067882289 queue:0x0b4b04d8
kworker/5:1-732 [005] … 57.636437: rtos_queue_send_from_isr_failed: tstamp:2067882427 queue:0x0b4b1298
kworker/5:1-732 [005] … 57.636439: rtos_queue_send_from_isr_failed: tstamp:2067882564 queue:0x0b4b2058
kworker/5:1-732 [005] … 57.636442: rtos_queue_send_failed: tstamp:2067883967 queue:0x0b4a7698
kworker/5:1-732 [005] … 57.636446: rtcpu_vinotify_event: tstamp:2068645043 tag:CSIMUX_STREAM channel:0xff frame:0 vi_tstamp:2068644649 data:0x00000001
vi-output, tc35-7816 [005] … 57.640565: tegra_channel_capture_frame: sof:57.528195232
kworker/5:1-732 [005] … 57.692305: rtos_queue_peek_from_isr_failed: tstamp:2069632826 queue:0x0b4b4940
kworker/5:1-732 [005] … 57.692310: rtcpu_vinotify_event: tstamp:2069725667 tag:CHANSEL_PXL_SOF channel:0x00 frame:0 vi_tstamp:2069725154 data:0x00000001
kworker/5:1-732 [005] … 57.692312: rtcpu_vinotify_event: tstamp:2069725880 tag:ATOMP_FS channel:0x00 frame:0 vi_tstamp:2069725168 data:0x00000000
kworker/5:1-732 [005] … 57.692314: rtcpu_vinotify_event: tstamp:2069731588 tag:CHANSEL_LOAD_FRAMED channel:0x01 frame:0 vi_tstamp:2069731214 data:0x08000000
kworker/5:1-732 [005] … 57.692317: rtcpu_vinotify_event: tstamp:2069841174 tag:CHANSEL_PXL_EOF channel:0x00 frame:0 vi_tstamp:2069840545 data:0x00ff0012
kworker/5:1-732 [005] … 57.692319: rtcpu_vinotify_event: tstamp:2069841328 tag:CHANSEL_FAULT channel:0x00 frame:0 vi_tstamp:2069840886 data:0x01000040
kworker/5:1-732 [005] … 57.692321: rtcpu_vinotify_event: tstamp:2069841808 tag:CHANSEL_LOAD_FRAMED channel:0x01 frame:0 vi_tstamp:2069841477 data:0x08000000
kworker/5:1-732 [005] … 57.692323: rtcpu_vinotify_event: tstamp:2069842732 tag:CHANSEL_FAULT_FE channel:0x01 frame:0 vi_tstamp:2069842152 data:0x00000001
kworker/5:1-732 [005] … 57.692325: rtcpu_vinotify_event: tstamp:2069842905 tag:ATOMP_FE channel:0x00 frame:0 vi_tstamp:2069842152 data:0x00000000

What does these logs show?

Now the log show PIXEL_RUNAWAY that tell the output size less than expect.

kworker/5:1-732 [005] … 57.692319: rtcpu_vinotify_event: tstamp:2069841328 tag:CHANSEL_FAULT channel:0x00 frame:0 vi_tstamp:2069840886 data:0x01000040

https://elinux.org/Jetson/l4t/Camera_BringUp