When open /dev/video0,an error occured

Hi teams

When I tried to open /dev/video0,there is no steaming output.
Some info as below:

Command1: v4l2-ctl --stream-mmap --set-ctrl bypass_mode=0 --stream-count=100 -d /dev/video0

Output info1 :

Media controller API version 0.1.0

Media device information

driver tegra194-vi5
model NVIDIA Tegra Video Input Device
serial
bus info
hw revision 0x3
driver version 0.0.0

Device topology

  • entity 1: ar0231 8-0018 (1 pad, 1 link)
    type V4L2 subdev subtype Sensor flags 0
    device node name /dev/v4l-subdev0
    pad0: Source
    [fmt:UYVY8_2X8/1920x1080 field:none colorspace:srgb]
    -> “15a00000.nvcsi–4”:0 [ENABLED]

  • entity 3: 15a00000.nvcsi–4 (2 pads, 2 links)
    type V4L2 subdev subtype Unknown flags 0
    device node name /dev/v4l-subdev1
    pad0: Sink
    <- “ar0231 8-0018”:0 [ENABLED]
    pad1: Source
    -> “vi-output, ar0231 8-0018”:0 [ENABLED]

  • entity 6: vi-output, ar0231 8-0018 (1 pad, 1 link)
    type Node subtype V4L flags 0
    device node name /dev/video0
    pad0: Sink
    <- “15a00000.nvcsi–4”:1 [ENABLED]

  • entity 18: ar0231 8-0019 (1 pad, 1 link)
    type V4L2 subdev subtype Sensor flags 0
    device node name /dev/v4l-subdev2
    pad0: Source
    [fmt:UYVY8_2X8/1920x1080 field:none colorspace:srgb]
    -> “15a00000.nvcsi–3”:0 [ENABLED]

  • entity 20: 15a00000.nvcsi–3 (2 pads, 2 links)
    type V4L2 subdev subtype Unknown flags 0
    device node name /dev/v4l-subdev3
    pad0: Sink
    <- “ar0231 8-0019”:0 [ENABLED]
    pad1: Source
    -> “vi-output, ar0231 8-0019”:0 [ENABLED]

  • entity 23: vi-output, ar0231 8-0019 (1 pad, 1 link)
    type Node subtype V4L flags 0
    device node name /dev/video1
    pad0: Sink
    <- “15a00000.nvcsi–3”:1 [ENABLED]

  • entity 35: 15a00000.nvcsi–2 (2 pads, 0 link)
    type V4L2 subdev subtype Unknown flags 0
    pad0: Sink
    pad1: Source

  • entity 38: 15a00000.nvcsi–1 (2 pads, 0 link)
    type V4L2 subdev subtype Unknown flags 0
    pad0: Sink
    pad1: Source

Command2 : media-ctl -p -d /dev/video0
Output info2:

Driver Info:
Driver name : tegra-video
Card type : vi-output, ar0231 8-0018
Bus info : platform:15c10000.vi:2
Driver version : 4.9.140
Capabilities : 0x84200001
Video Capture
Streaming
Extended Pix Format
Device Capabilities
Device Caps : 0x04200001
Video Capture
Streaming
Extended Pix Format
Media Driver Info:
Driver name : tegra194-vi5
Model : NVIDIA Tegra Video Input Device
Serial :
Bus info :
Media version : 0.1.0
Hardware revision: 0x00000003 (3)
Driver version : 0.0.0
Interface Info:
ID : 0x03000008
Type : V4L Video
Entity Info:
ID : 0x00000006 (6)
Name : vi-output, ar0231 8-0018
Function : V4L2 I/O
Pad 0x01000007 : Sink
Link 0x0200000c: from remote pad 0x1000005 of entity ‘15a00000.nvcsi–4’: Data, Enabled
Priority: 2
Video input : 0 (Camera 2: ok)
Format Video Capture:
Width/Height : 1920/1080
Pixel Format : ‘UYVY’
Field : None
Bytes per Line : 3840
Size Image : 4147200
Colorspace : sRGB
Transfer Function : Default (maps to sRGB)
YCbCr/HSV Encoding: Default (maps to ITU-R 601)
Quantization : Default (maps to Limited Range)
Flags :

User Controls

            horizontal_flip 0x00980914 (int)    : min=0 max=1 step=1 default=0 value=0
              vertical_flip 0x00980915 (int)    : min=0 max=1 step=1 default=0 value=0

Camera Controls

                 group_hold 0x009a2003 (intmenu): min=0 max=1 default=0 value=0
			0: 0 (0x0)
			1: 1 (0x1)
                 hdr_enable 0x009a2004 (intmenu): min=0 max=1 default=0 value=0
			0: 0 (0x0)
			1: 1 (0x1)
                       gain 0x009a2009 (int64)  : min=4194304 max=33423360 step=131072 default=4194304 value=4194304 flags=slider
                   exposure 0x009a200a (int64)  : min=96 max=125829 step=1 default=23861 value=23861 flags=slider
                 frame_rate 0x009a200b (int64)  : min=4194304 max=251658240 step=4194304 default=125829120 value=125829120 flags=slider
       sensor_configuration 0x009a2032 (u32)    : min=0 max=4294967295 step=1 default=0 [22] flags=read-only, volatile, has-payload
     sensor_mode_i2c_packet 0x009a2033 (u32)    : min=0 max=4294967295 step=1 default=0 [1026] flags=read-only, volatile, has-payload
  sensor_control_i2c_packet 0x009a2034 (u32)    : min=0 max=4294967295 step=1 default=0 [1026] flags=read-only, volatile, has-payload
                bypass_mode 0x009a2064 (intmenu): min=0 max=1 default=0 value=0
			0: 0 (0x0)
			1: 1 (0x1)
            override_enable 0x009a2065 (intmenu): min=0 max=1 default=0 value=0
			0: 0 (0x0)
			1: 1 (0x1)
               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
			0: 1 (0x1)
			1: 65536 (0x10000)
			2: 131072 (0x20000)
           write_isp_format 0x009a2068 (int)    : min=1 max=1 step=1 default=1 value=1
   sensor_signal_properties 0x009a2069 (u32)    : min=0 max=4294967295 step=1 default=0 [30][18] flags=read-only, has-payload
    sensor_image_properties 0x009a206a (u32)    : min=0 max=4294967295 step=1 default=0 [30][16] flags=read-only, has-payload
  sensor_control_properties 0x009a206b (u32)    : min=0 max=4294967295 step=1 default=0 [30][36] flags=read-only, has-payload
          sensor_dv_timings 0x009a206c (u32)    : min=0 max=4294967295 step=1 default=0 [30][16] 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=0
               sensor_modes 0x009a2082 (int)    : min=0 max=30 step=1 default=30 value=1 flags=read-only

Flash Controls

                      flash 0x009c0901 (int)    : min=0 max=1 step=1 default=1 value=1

Image Source Controls

                gain_column 0x009e0903 (int)    : min=0 max=3 step=1 default=0 value=0

Image Processing Controls

               test_pattern 0x009f0903 (menu)   : min=0 max=4 default=0 value=0
			0: 0: Disabled
			1: 1: Solid color test pattern
			2: 2: Color bar test pattern
			3: 3: Fade to gray color bar test 
			4: 256: Walking 1s test pattern (1

Could you help me have a look ?

BRs
thanks

Enable the trace to get more information.

https://elinux.org/Jetson_TX2_Camera_BringUp

Hi ShaneCCC

thanks for your reply

When I run command of “v4l2-ctl -d /dev/video0 --set-ctrl bypass_mode=0 --stream-mmap --stream-count=3”

the kernel log output the below error:

[ 1360.807752] tegra194-vi5 15c10000.vi: corr_err: discarding frame 3, flags: 0, err_data 64
[ 1360.853154] tegra194-vi5 15c10000.vi: corr_err: discarding frame 4, flags: 0, err_data 64
[ 1360.898585] tegra194-vi5 15c10000.vi: corr_err: discarding frame 1, flags: 0, err_data 64
[ 1360.944045] tegra194-vi5 15c10000.vi: corr_err: discarding frame 2, flags: 0, err_data 64
[ 1360.989443] tegra194-vi5 15c10000.vi: corr_err: discarding frame 3, flags: 0, err_data 64
[ 1361.034886] tegra194-vi5 15c10000.vi: corr_err: discarding frame 4, flags: 0, err_data 64
[ 1361.080314] tegra194-vi5 15c10000.vi: corr_err: discarding frame 1, flags: 0, err_data 64
[ 1361.125747] tegra194-vi5 15c10000.vi: corr_err: discarding frame 2, flags: 0, err_data 64
[ 1361.171170] tegra194-vi5 15c10000.vi: corr_err: discarding frame 3, flags: 0, err_data 64
[ 1361.216606] tegra194-vi5 15c10000.vi: corr_err: discarding frame 4, flags: 0, err_data 64
[ 1361.262051] tegra194-vi5 15c10000.vi: corr_err: discarding frame 1, flags: 0, err_data 64
[ 1361.307618] tegra194-vi5 15c10000.vi: corr_err: discarding frame 2, flags: 0, err_data 64
[ 1361.352938] tegra194-vi5 15c10000.vi: corr_err: discarding frame 3, flags: 0, err_data 64
[ 1361.398347] tegra194-vi5 15c10000.vi: corr_err: discarding frame 4, flags: 0, err_data 64
[ 1361.443826] tegra194-vi5 15c10000.vi: corr_err: discarding frame 1, flags: 0, err_data 64
[ 1361.489247] tegra194-vi5 15c10000.vi: corr_err: discarding frame 2, flags: 0, err_data 64
[ 1361.534677] tegra194-vi5 15c10000.vi: corr_err: discarding frame 3, flags: 0, err_data 64
[ 1361.580074] tegra194-vi5 15c10000.vi: corr_err: discarding frame 4, flags: 0, err_data 64
[ 1361.625503] tegra194-vi5 15c10000.vi: corr_err: discarding frame 1, flags: 0, err_data 64
[ 1361.670939] tegra194-vi5 15c10000.vi: corr_err: discarding frame 2, flags: 0, err_data 64
[ 1361.716362] tegra194-vi5 15c10000.vi: corr_err: discarding frame 3, flags: 0, err_data 64
[ 1361.761813] tegra194-vi5 15c10000.vi: corr_err: discarding frame 4, flags: 0, err_data 64
[ 1361.807250] tegra194-vi5 15c10000.vi: corr_err: discarding frame 1, flags: 0, err_data 64
[ 1361.852676] tegra194-vi5 15c10000.vi: corr_err: discarding frame 2, flags: 0, err_data 64
[ 1361.898103] tegra194-vi5 15c10000.vi: corr_err: discarding frame 3, flags: 0, err_data 64
[ 1361.943552] tegra194-vi5 15c10000.vi: corr_err: discarding frame 4, flags: 0, err_data 64
[ 1361.988965] tegra194-vi5 15c10000.vi: corr_err: discarding frame 1, flags: 0, err_data 64
[ 1362.034420] tegra194-vi5 15c10000.vi: corr_err: discarding frame 2, flags: 0, err_data 64
[ 1362.079840] tegra194-vi5 15c10000.vi: corr_err: discarding frame 3, flags: 0, err_data 64
[ 1362.125269] tegra194-vi5 15c10000.vi: corr_err: discarding frame 4, flags: 0, err_data 64

open the trace log, it shows:

tracer: nop

entries-in-buffer/entries-written: 8669/8669 #P:4

_-----=> irqs-off

/ _----=> need-resched

| / _—=> hardirq/softirq

|| / _–=> preempt-depth

||| / delay

TASK-PID CPU# |||| TIMESTAMP FUNCTION

| | | |||| | |

 kworker/0:2-1179  [000] ....  1093.287659: rtos_queue_peek_from_isr_failed: tstamp:34527936963 queue:0x0bcbcf78
 kworker/0:2-1179  [000] ....  1093.455682: rtos_queue_peek_from_isr_failed: tstamp:34532936963 queue:0x0bcbcf78
 kworker/0:2-1179  [000] ....  1093.623621: rtos_queue_peek_from_isr_failed: tstamp:34537936967 queue:0x0bcbcf78
 kworker/0:2-1179  [000] ....  1093.735624: rtos_queue_peek_from_isr_failed: tstamp:34542936963 queue:0x0bcbcf78
 kworker/0:2-1179  [000] ....  1093.903592: rtos_queue_peek_from_isr_failed: tstamp:34547936976 queue:0x0bcbcf78
 kworker/0:2-1179  [000] ....  1094.071596: rtos_queue_peek_from_isr_failed: tstamp:34552936971 queue:0x0bcbcf78
 kworker/0:2-1179  [000] ....  1094.239607: rtos_queue_peek_from_isr_failed: tstamp:34557936984 queue:0x0bcbcf78
 kworker/0:2-1179  [000] ....  1094.407595: rtos_queue_peek_from_isr_failed: tstamp:34562936962 queue:0x0bcbcf78
 kworker/0:2-1179  [000] ....  1094.575611: rtos_queue_peek_from_isr_failed: tstamp:34567936966 queue:0x0bcbcf78
 kworker/0:2-1179  [000] ....  1094.743599: rtos_queue_peek_from_isr_failed: tstamp:34572936959 queue:0x0bcbcf78
 kworker/0:2-1179  [000] ....  1094.855588: rtos_queue_peek_from_isr_failed: tstamp:34577936963 queue:0x0bcbcf78
 kworker/0:2-1179  [000] ....  1095.023622: rtos_queue_peek_from_isr_failed: tstamp:34582936959 queue:0x0bcbcf78
 kworker/0:2-1179  [000] ....  1095.191598: rtos_queue_peek_from_isr_failed: tstamp:34587936966 queue:0x0bcbcf78
 kworker/0:2-1179  [000] ....  1095.359584: rtos_queue_peek_from_isr_failed: tstamp:34592936965 queue:0x0bcbcf78
 kworker/0:2-1179  [000] ....  1095.527615: rtos_queue_peek_from_isr_failed: tstamp:34597936962 queue:0x0bcbcf78
 kworker/0:2-1179  [000] ....  1095.695595: rtos_queue_peek_from_isr_failed: tstamp:34602936979 queue:0x0bcbcf78
 kworker/0:2-1179  [000] ....  1095.863600: rtos_queue_peek_from_isr_failed: tstamp:34607936974 queue:0x0bcbcf78
 kworker/0:2-1179  [000] ....  1095.975594: rtos_queue_peek_from_isr_failed: tstamp:34612936969 queue:0x0bcbcf78
 kworker/0:2-1179  [000] ....  1096.143590: rtos_queue_peek_from_isr_failed: tstamp:34617936967 queue:0x0bcbcf78
 kworker/0:2-1179  [000] ....  1096.311616: rtos_queue_peek_from_isr_failed: tstamp:34622936966 queue:0x0bcbcf78
 kworker/0:2-1179  [000] ....  1096.479607: rtos_queue_peek_from_isr_failed: tstamp:34627936966 queue:0x0bcbcf78
 kworker/0:2-1179  [000] ....  1096.647669: rtos_queue_peek_from_isr_failed: tstamp:34632936966 queue:0x0bcbcf78
 kworker/0:2-1179  [000] ....  1096.819663: rtos_queue_peek_from_isr_failed: tstamp:34637936962 queue:0x0bcbcf78
 kworker/0:2-1179  [000] ....  1096.931614: rtos_queue_peek_from_isr_failed: tstamp:34642936965 queue:0x0bcbcf78
 kworker/0:2-1179  [000] ....  1097.099606: rtos_queue_peek_from_isr_failed: tstamp:34647936961 queue:0x0bcbcf78
 kworker/0:2-1179  [000] ....  1097.267590: rtos_queue_peek_from_isr_failed: tstamp:34652936963 queue:0x0bcbcf78
 kworker/0:2-1179  [000] ....  1097.435651: rtos_queue_peek_from_isr_failed: tstamp:34657634526 queue:0x0bcbcf78
    v4l2-ctl-20483 [002] ....  1360.689391: tegra_channel_open: vi-output, ar0231 8-0018
    v4l2-ctl-20483 [002] ....  1360.692043: tegra_channel_set_power: ar0231 8-0018 : 0x1
    v4l2-ctl-20483 [002] ....  1360.692068: camera_common_s_power: status : 0x1
    v4l2-ctl-20483 [000] ....  1360.692693: tegra_channel_set_power: 15a00000.nvcsi--4 : 0x1
    v4l2-ctl-20483 [000] ....  1360.692704: csi_s_power: enable : 0x1
    v4l2-ctl-20483 [001] ....  1360.703871: tegra_channel_capture_setup: vnc_id 0 W 1920 H 1080 fmt 13
    v4l2-ctl-20483 [001] ....  1360.716585: tegra_channel_set_stream: enable : 0x1
    v4l2-ctl-20483 [001] ....  1360.722582: tegra_channel_set_stream: 15a00000.nvcsi--4 : 0x1
    v4l2-ctl-20483 [001] ....  1360.722588: csi_s_stream: enable : 0x1
    v4l2-ctl-20483 [001] ....  1360.722598: tegra_channel_set_stream: ar0231 8-0018 : 0x1
 kworker/0:3-20341 [000] ....  1360.759626: rtos_queue_peek_from_isr_failed: tstamp:42886120686 queue:0x0bcbcf78
 kworker/0:3-20341 [000] ....  1360.759631: rtcpu_start: tstamp:42886124497
 kworker/0:3-20341 [000] ....  1360.759635: rtos_queue_send_from_isr_failed: tstamp:42886242808 queue:0x0bcb41f8
 kworker/0:3-20341 [000] ....  1360.759637: rtos_queue_send_from_isr_failed: tstamp:42886243032 queue:0x0bcb8a60
 kworker/0:3-20341 [000] ....  1360.759638: rtos_queue_send_from_isr_failed: tstamp:42886243256 queue:0x0bcba5e0
 kworker/0:3-20341 [000] ....  1360.759676: rtos_queue_send_from_isr_failed: tstamp:42886243474 queue:0x0bcbb3a0
 kworker/0:3-20341 [000] ....  1360.759678: rtos_queue_send_from_isr_failed: tstamp:42886243692 queue:0x0bcbc160
 kworker/0:3-20341 [000] ....  1360.759681: rtcpu_string: tstamp:42886244325 id:0x04010000 str:"Configuring VI GoS.

"
kworker/0:3-20341 [000] … 1360.759716: rtcpu_string: tstamp:42886244592 id:0x04010000 str:"VM GOS[#0] addr=0xc2100000
"
kworker/0:3-20341 [000] … 1360.759730: rtcpu_string: tstamp:42886244920 id:0x04010000 str:"VM GOS[#1] addr=0xc2101000
"
kworker/0:3-20341 [000] … 1360.759743: rtcpu_string: tstamp:42886245284 id:0x04010000 str:"VM GOS[#2] addr=0xc2102000
"
kworker/0:3-20341 [000] … 1360.759755: rtcpu_string: tstamp:42886245597 id:0x04010000 str:"VM GOS[#3] addr=0xc2103000
"
kworker/0:3-20341 [000] … 1360.759764: rtcpu_string: tstamp:42886245905 id:0x04010000 str:"VM GOS[#4] addr=0xc2104000
"
kworker/0:3-20341 [000] … 1360.759773: rtcpu_string: tstamp:42886246223 id:0x04010000 str:"VM GOS[#5] addr=0xc2105000
"
kworker/0:3-20341 [000] … 1360.759782: rtcpu_string: tstamp:42886254205 id:0x04010000 str:“vi5_hwinit: firmware CL2018101701 protocol versi”
kworker/0:3-20341 [000] … 1360.759785: rtcpu_string: tstamp:42886254396 id:0x04010000 str:"on 2.2
"
kworker/0:3-20341 [000] … 1360.759796: rtos_queue_send_from_isr_failed: tstamp:42886283600 queue:0x0bcb41f8
kworker/0:3-20341 [000] … 1360.759798: rtos_queue_send_from_isr_failed: tstamp:42886283881 queue:0x0bcb8a60
kworker/0:3-20341 [000] … 1360.759799: rtos_queue_send_from_isr_failed: tstamp:42886284108 queue:0x0bcba5e0
kworker/0:3-20341 [000] … 1360.759801: rtos_queue_send_from_isr_failed: tstamp:42886284326 queue:0x0bcbb3a0
kworker/0:3-20341 [000] … 1360.759803: rtos_queue_send_from_isr_failed: tstamp:42886284544 queue:0x0bcbc160
kworker/0:3-20341 [000] … 1360.759804: rtcpu_string: tstamp:42886285765 id:0x04010000 str:"VI GOS[#0] set to VM GOS[4] base 0xc2104000
"
kworker/0:3-20341 [000] … 1360.759815: rtos_queue_send_from_isr_failed: tstamp:42886474028 queue:0x0bcb41f8
kworker/0:3-20341 [000] … 1360.759817: rtos_queue_send_from_isr_failed: tstamp:42886474178 queue:0x0bcb8a60
kworker/0:3-20341 [000] … 1360.759819: rtos_queue_send_from_isr_failed: tstamp:42886474331 queue:0x0bcba5e0
kworker/0:3-20341 [000] … 1360.759820: rtos_queue_send_from_isr_failed: tstamp:42886474476 queue:0x0bcbb3a0
kworker/0:3-20341 [000] … 1360.759822: rtos_queue_send_from_isr_failed: tstamp:42886474624 queue:0x0bcbc160
kworker/0:3-20341 [000] … 1360.759824: rtcpu_nvcsi_intr: tstamp:42886477219 class:GLOBAL type:PHY_INTR0 phy:1 cil:0 st:0 vc:0 status:0x00000089
kworker/0:3-20341 [000] … 1360.759826: rtcpu_nvcsi_intr: tstamp:42886477219 class:GLOBAL type:PHY_INTR0 phy:1 cil:1 st:0 vc:0 status:0x00000088
kworker/0:3-20341 [000] … 1360.759828: rtcpu_vinotify_error: tstamp:42886481049 tag:CSIMUX_STREAM channel:0x00 frame:16 vi_tstamp:42886480424 data:0x00000100
kworker/0:3-20341 [000] … 1360.759830: rtcpu_vinotify_error: tstamp:42886481936 tag:CSIMUX_STREAM channel:0x00 frame:0 vi_tstamp:42886481317 data:0x00000100
kworker/0:3-20341 [000] … 1360.759832: rtcpu_vinotify_event: tstamp:42886566934 tag:RESERVED_18 channel:0x23 frame:0 vi_tstamp:40921322848 data:0x10000000
kworker/0:3-20341 [000] … 1360.759834: rtcpu_vinotify_event: tstamp:42886567076 tag:RESERVED_18 channel:0x23 frame:0 vi_tstamp:40921326688 data:0x31000001
kworker/0:3-20341 [000] … 1360.759836: rtcpu_vinotify_event: tstamp:42886567237 tag:RESERVED_19 channel:0x23 frame:0 vi_tstamp:40921327680 data:0x07020001
kworker/0:3-20341 [000] … 1360.759837: rtcpu_vinotify_event: tstamp:42886567372 tag:RESERVED_18 channel:0x23 frame:0 vi_tstamp:40921388160 data:0x10000000
kworker/0:3-20341 [000] … 1360.759839: rtcpu_vinotify_event: tstamp:42886567529 tag:RESERVED_18 channel:0x23 frame:0 vi_tstamp:40921395200 data:0x31000002
kworker/0:3-20341 [000] … 1360.759840: rtcpu_vinotify_event: tstamp:42886567674 tag:CSIMUX_STREAM channel:0x00 frame:16 vi_tstamp:42886480424 data:0x00000100
kworker/0:3-20341 [000] … 1360.759842: rtcpu_vinotify_event: tstamp:42886567840 tag:CSIMUX_STREAM channel:0x00 frame:0 vi_tstamp:42886481317 data:0x00000100
kworker/0:3-20341 [000] … 1360.759843: rtcpu_vinotify_error: tstamp:42886791758 tag:CHANSEL_NOMATCH channel:0x44 frame:2 vi_tstamp:42886791084 data:0x000003c9
kworker/0:3-20341 [000] … 1360.759845: rtcpu_vinotify_event: tstamp:42886879966 tag:FS channel:0x01 frame:2 vi_tstamp:42886788669 data:0x00000012
kworker/0:3-20341 [000] … 1360.759847: rtcpu_vinotify_event: tstamp:42886880123 tag:CHANSEL_NOMATCH channel:0x44 frame:2 vi_tstamp:42886791084 data:0x000003c9
kworker/0:3-20341 [000] … 1360.815628: rtcpu_vinotify_event: tstamp:42887819051 tag:FS channel:0x00 frame:3 vi_tstamp:42887813762 data:0x00000012
kworker/0:3-20341 [000] … 1360.815633: rtcpu_vinotify_event: tstamp:42887819216 tag:ATOMP_FS channel:0x00 frame:3 vi_tstamp:42887813763 data:0x00000000
kworker/0:3-20341 [000] … 1360.815634: rtcpu_vinotify_event: tstamp:42887819353 tag:CHANSEL_PXL_SOF channel:0x23 frame:3 vi_tstamp:42887816199 data:0x00000001
kworker/0:3-20341 [000] … 1360.815636: rtcpu_vinotify_event: tstamp:42887819511 tag:RESERVED_19 channel:0x23 frame:3 vi_tstamp:40970257120 data:0x08020001
kworker/0:3-20341 [000] … 1360.815638: rtcpu_vinotify_event: tstamp:42888132076 tag:FE channel:0x01 frame:2 vi_tstamp:42888117158 data:0x00000022
kworker/0:3-20341 [000] … 1360.815640: rtcpu_vinotify_error: tstamp:42888211500 tag:CHANSEL_NOMATCH channel:0x44 frame:3 vi_tstamp:42888210834 data:0x000003c9
kworker/0:3-20341 [000] … 1360.815641: rtcpu_vinotify_event: tstamp:42888211775 tag:FS channel:0x01 frame:3 vi_tstamp:42888208417 data:0x00000012
kworker/0:3-20341 [000] … 1360.815643: rtcpu_vinotify_event: tstamp:42888211914 tag:CHANSEL_NOMATCH channel:0x44 frame:3 vi_tstamp:42888210834 data:0x000003c9
kworker/0:3-20341 [000] … 1360.815645: rtcpu_vinotify_event: tstamp:42889133859 tag:CHANSEL_PXL_EOF channel:0x23 frame:3 vi_tstamp:42889129547 data:0x04370002
kworker/0:3-20341 [000] … 1360.815646: rtcpu_vinotify_event: tstamp:42889133999 tag:ATOMP_FRAME_DONE channel:0x23 frame:3 vi_tstamp:42889129565 data:0x00000000
kworker/0:3-20341 [000] … 1360.815648: rtcpu_vinotify_event: tstamp:42889134160 tag:RESERVED_19 channel:0x23 frame:3 vi_tstamp:41012284800 data:0x02020001
kworker/0:3-20341 [000] … 1360.815649: rtcpu_vinotify_event: tstamp:42889134296 tag:CHANSEL_FAULT channel:0x23 frame:3 vi_tstamp:42889130466 data:0x04380040
kworker/0:3-20341 [000] … 1360.815651: rtcpu_vinotify_event: tstamp:42889134453 tag:RESERVED_19 channel:0x23 frame:3 vi_tstamp:41012314080 data:0x01020001
kworker/0:3-20341 [000] … 1360.815653: rtos_queue_send_from_isr_failed: tstamp:42889142623 queue:0x0bcb41f8
kworker/0:3-20341 [000] … 1360.815655: rtos_queue_send_from_isr_failed: tstamp:42889142784 queue:0x0bcb8a60
kworker/0:3-20341 [000] … 1360.815657: rtos_queue_send_from_isr_failed: tstamp:42889142936 queue:0x0bcba5e0
kworker/0:3-20341 [000] … 1360.815658: rtos_queue_send_from_isr_failed: tstamp:42889143085 queue:0x0bcbb3a0
kworker/0:3-20341 [000] … 1360.815660: rtos_queue_send_from_isr_failed: tstamp:42889143243 queue:0x0bcbc160
kworker/0:3-20341 [000] … 1360.871593: rtcpu_vinotify_event: tstamp:42889446923 tag:FE channel:0x00 frame:3 vi_tstamp:42889141713 data:0x00000022
kworker/0:3-20341 [000] … 1360.871597: rtcpu_vinotify_event: tstamp:42889447094 tag:ATOMP_FE channel:0x00 frame:3 vi_tstamp:42889141714 data:0x00000000
kworker/0:3-20341 [000] … 1360.871599: rtcpu_vinotify_event: tstamp:42889447237 tag:RESERVED_19 channel:0x23 frame:0 vi_tstamp:41012674912 data:0x07020002
kworker/0:3-20341 [000] … 1360.871601: rtcpu_vinotify_event: tstamp:42889447396 tag:RESERVED_18 channel:0x23 frame:0 vi_tstamp:41012680608 data:0x10000000
kworker/0:3-20341 [000] … 1360.871602: rtcpu_vinotify_event: tstamp:42889447534 tag:RESERVED_18 channel:0x23 frame:0 vi_tstamp:41012684512 data:0x31000003
kworker/0:3-20341 [000] … 1360.871604: rtcpu_vinotify_event: tstamp:42889447693 tag:FS channel:0x00 frame:4 vi_tstamp:42889233513 data:0x00000012
kworker/0:3-20341 [000] … 1360.871605: rtcpu_vinotify_event: tstamp:42889447835 tag:ATOMP_FS channel:0x00 frame:4 vi_tstamp:42889233513 data:0x00000000
kworker/0:3-20341 [000] … 1360.871640: rtcpu_vinotify_event: tstamp:42889447992 tag:CHANSEL_PXL_SOF channel:0x23 frame:4 vi_tstamp:42889235949 data:0x00000001
kworker/0:3-20341 [000] … 1360.871641: rtcpu_vinotify_event: tstamp:42889448128 tag:RESERVED_19 channel:0x23 frame:4 vi_tstamp:41015689120 data:0x08020002
kworker/0:3-20341 [000] … 1360.871642: rtcpu_vinotify_event: tstamp:42889628707 tag:FE channel:0x01 frame:3 vi_tstamp:42889536917 data:0x00000022
kworker/0:3-20341 [000] … 1360.871644: rtcpu_vinotify_event: tstamp:42889628845 tag:FS channel:0x01 frame:4 vi_tstamp:42889628167 data:0x00000012
kworker/0:3-20341 [000] … 1360.871646: rtcpu_vinotify_error: tstamp:42889631246 tag:CHANSEL_NOMATCH channel:0x44 frame:4 vi_tstamp:42889630584 data:0x000003c9
kworker/0:3-20341 [000] … 1360.871648: rtcpu_vinotify_event: tstamp:42889916539 tag:CHANSEL_NOMATCH channel:0x44 frame:4 vi_tstamp:42889630584 data:0x000003c9
kworker/0:3-20341 [000] … 1360.871650: rtos_queue_send_from_isr_failed: tstamp:42890559843 queue:0x0bcb41f8
kworker/0:3-20341 [000] … 1360.871652: rtos_queue_send_from_isr_failed: tstamp:42890560000 queue:0x0bcb8a60
kworker/0:3-20341 [000] … 1360.871653: rtos_queue_send_from_isr_failed: tstamp:42890560153 queue:0x0bcba5e0
kworker/0:3-20341 [000] … 1360.871655: rtos_queue_send_from_isr_failed: tstamp:42890560301 queue:0x0bcbb3a0
kworker/0:3-20341 [000] … 1360.871656: rtos_queue_send_from_isr_failed: tstamp:42890560446 queue:0x0bcbc160
kworker/0:3-20341 [000] … 1360.871661: rtcpu_vinotify_event: tstamp:42890855649 tag:CHANSEL_PXL_EOF channel:0x23 frame:4 vi_tstamp:42890549308 data:0x04370002
kworker/0:3-20341 [000] … 1360.871662: rtcpu_vinotify_event: tstamp:42890855813 tag:ATOMP_FRAME_DONE channel:0x23 frame:4 vi_tstamp:42890549326 data:0x00000000
kworker/0:3-20341 [000] … 1360.871663: rtcpu_vinotify_event: tstamp:42890855953 tag:RESERVED_19 channel:0x23 frame:4 vi_tstamp:41057717152 data:0x02020002
kworker/0:3-20341 [000] … 1360.871665: rtcpu_vinotify_event: tstamp:42890856111 tag:CHANSEL_FAULT channel:0x23 frame:4 vi_tstamp:42890550228 data:0x04380040
kworker/0:3-20341 [000] … 1360.871666: rtcpu_vinotify_event: tstamp:42890856248 tag:RESERVED_19 channel:0x23 frame:4 vi_tstamp:41057746464 data:0x01020002
kworker/0:3-20341 [000] … 1360.871667: rtcpu_vinotify_event: tstamp:42890856411 tag:FE channel:0x00 frame:4 vi_tstamp:42890561472 data:0x00000022
kworker/0:3-20341 [000] … 1360.871669: rtcpu_vinotify_event: tstamp:42890856552 tag:ATOMP_FE channel:0x00 frame:4 vi_tstamp:42890561473 data:0x00000000
kworker/0:3-20341 [000] … 1360.871670: rtcpu_vinotify_event: tstamp:42890856712 tag:RESERVED_19 channel:0x23 frame:0 vi_tstamp:41058107200 data:0x07020003
kworker/0:3-20341 [000] … 1360.871671: rtcpu_vinotify_event: tstamp:42890856847 tag:RESERVED_18 channel:0x23 frame:0 vi_tstamp:41058113440 data:0x10000000
kworker/0:3-20341 [000] … 1360.871673: rtcpu_vinotify_event: tstamp:42890857006 tag:RESERVED_18 channel:0x23 frame:0 vi_tstamp:41058117344 data:0x31000004
kworker/0:3-20341 [000] … 1360.871674: rtcpu_vinotify_event: tstamp:42890857142 tag:FS channel:0x00 frame:1 vi_tstamp:42890653263 data:0x00000012
kworker/0:3-20341 [000] … 1360.871675: rtcpu_vinotify_event: tstamp:42890857303 tag:ATOMP_FS channel:0x00 frame:1 vi_tstamp:42890653263 data:0x00000000
kworker/0:3-20341 [000] … 1360.871677: rtcpu_vinotify_event: tstamp:42890857438 tag:CHANSEL_PXL_SOF channel:0x23 frame:1 vi_tstamp:42890655699 data:0x00000001
kworker/0:3-20341 [000] … 1360.871678: rtcpu_vinotify_event: tstamp:42890857595 tag:RESERVED_19 channel:0x23 frame:1 vi_tstamp:41061121120 data:0x08020003
kworker/0:3-20341 [000] … 1360.871679: rtcpu_vinotify_event: tstamp:42890957220 tag:FE channel:0x01 frame:4 vi_tstamp:42890956678 data:0x00000022
kworker/0:3-20341 [000] … 1360.871681: rtcpu_vinotify_error: tstamp:42891051005 tag:CHANSEL_NOMATCH channel:0x44 frame:1 vi_tstamp:42891050335 data:0x000003c9
kworker/0:3-20341 [000] … 1360.871683: rtos_queue_peek_from_isr_failed: tstamp:42891121070 queue:0x0bcbcf78
kworker/0:3-20341 [000] … 1360.927589: rtcpu_vinotify_event: tstamp:42891262539 tag:FS channel:0x01 frame:1 vi_tstamp:42891047917 data:0x00000012
kworker/0:3-20341 [000] … 1360.927593: rtcpu_vinotify_event: tstamp:42891262679 tag:CHANSEL_NOMATCH channel:0x44 frame:1 vi_tstamp:42891050335 data:0x000003c9
kworker/0:3-20341 [000] … 1360.927595: rtos_queue_send_from_isr_failed: tstamp:42891980427 queue:0x0bcb41f8
kworker/0:3-20341 [000] … 1360.927597: rtos_queue_send_from_isr_failed: tstamp:42891980581 queue:0x0bcb8a60
kworker/0:3-20341 [000] … 1360.927598: rtos_queue_send_from_isr_failed: tstamp:42891980734 queue:0x0bcba5e0
kworker/0:3-20341 [000] … 1360.927599: rtos_queue_send_from_isr_failed: tstamp:42891980882 queue:0x0bcbb3a0
kworker/0:3-20341 [000] … 1360.927601: rtos_queue_send_from_isr_failed: tstamp:42891981027 queue:0x0bcbc160
kworker/0:3-20341 [000] … 1360.927602: rtcpu_vinotify_event: tstamp:42892076318 tag:CHANSEL_PXL_EOF channel:0x23 frame:1 vi_tstamp:42891969068 data:0x04370002
kworker/0:3-20341 [000] … 1360.927604: rtcpu_vinotify_event: tstamp:42892076460 tag:ATOMP_FRAME_DONE channel:0x23 frame:1 vi_tstamp:42891969085 data:0x00000000

BRs
thanks

Below tell the PIXEL_RUNAWAY could be sensor output line more than 1080

kworker/0:3-20341 [000] … 1360.815649: rtcpu_vinotify_event: tstamp:42889134296 tag:CHANSEL_FAULT channel:0x23 frame:3 vi_tstamp:42889130466 data:0x04380040

Hi ShaneCCC

Thanks for your reply.
“PIXEL_RUNAWAY could be sensor output line more than 1080” error
Is that meaning the Camera resolution setting error in the device tree or driver ?

BRs
thanks

Yes, you can modify it to try.

Hi ShaneCCC

When open the /dev/video* with system application cheese,an error again.
Some info as below log:

      cheese-19941 [002] ....   902.210204: tegra_channel_open: vi-output, imx390 2-0025
      cheese-19941 [002] ....   902.210229: tegra_channel_set_power: imx390 2-0025 : 0x1
      cheese-19941 [002] ....   902.210238: camera_common_s_power: status : 0x1
      cheese-19941 [002] ....   902.210697: tegra_channel_set_power: 15a00000.nvcsi--2 : 0x1
      cheese-19941 [002] ....   902.210702: csi_s_power: enable : 0x1
      cheese-19941 [002] ....   902.210998: tegra_channel_close: vi-output, imx390 2-0025
      cheese-19941 [002] ....   902.211003: tegra_channel_set_power: imx390 2-0025 : 0x0
      cheese-19941 [002] ....   902.211009: camera_common_s_power: status : 0x0
      cheese-19941 [002] ....   902.211160: tegra_channel_set_power: 15a00000.nvcsi--2 : 0x0
      cheese-19941 [002] ....   902.211163: csi_s_power: enable : 0x0
      cheese-19941 [000] ....   902.212455: tegra_channel_open: vi-output, imx390 2-0026
      cheese-19941 [000] ....   902.212466: tegra_channel_set_power: imx390 2-0026 : 0x1
      cheese-19941 [000] ....   902.212477: camera_common_s_power: status : 0x1
      cheese-19941 [000] ....   902.212923: tegra_channel_set_power: 15a00000.nvcsi--1 : 0x1
      cheese-19941 [000] ....   902.212928: csi_s_power: enable : 0x1
      cheese-19941 [000] ....   902.213000: tegra_channel_close: vi-output, imx390 2-0026
      cheese-19941 [000] ....   902.213004: tegra_channel_set_power: imx390 2-0026 : 0x0
      cheese-19941 [000] ....   902.213010: camera_common_s_power: status : 0x0
      cheese-19941 [000] ....   902.213147: tegra_channel_set_power: 15a00000.nvcsi--1 : 0x0
      cheese-19941 [000] ....   902.213150: csi_s_power: enable : 0x0
      cheese-19946 [001] ....   902.218874: tegra_channel_open: vi-output, imx390 2-0025
      cheese-19946 [001] ....   902.218899: tegra_channel_set_power: imx390 2-0025 : 0x1
      cheese-19946 [001] ....   902.218907: camera_common_s_power: status : 0x1
      cheese-19946 [001] ....   902.219314: tegra_channel_set_power: 15a00000.nvcsi--2 : 0x1
      cheese-19946 [001] ....   902.219319: csi_s_power: enable : 0x1
      cheese-19946 [001] ....   902.220250: tegra_channel_close: vi-output, imx390 2-0025
      cheese-19946 [001] ....   902.220256: tegra_channel_set_power: imx390 2-0025 : 0x0
      cheese-19946 [001] ....   902.220260: camera_common_s_power: status : 0x0
      cheese-19946 [001] ....   902.220440: tegra_channel_set_power: 15a00000.nvcsi--2 : 0x0
      cheese-19946 [001] ....   902.220443: csi_s_power: enable : 0x0
      cheese-19946 [001] ....   902.221727: tegra_channel_open: vi-output, imx390 2-0026
      cheese-19946 [001] ....   902.221745: tegra_channel_set_power: imx390 2-0026 : 0x1
      cheese-19946 [001] ....   902.221750: camera_common_s_power: status : 0x1
      cheese-19946 [001] ....   902.222133: tegra_channel_set_power: 15a00000.nvcsi--1 : 0x1
      cheese-19946 [001] ....   902.222136: csi_s_power: enable : 0x1
      cheese-19946 [001] ....   902.222510: tegra_channel_close: vi-output, imx390 2-0026
      cheese-19946 [001] ....   902.222515: tegra_channel_set_power: imx390 2-0026 : 0x0
      cheese-19946 [001] ....   902.222519: camera_common_s_power: status : 0x0
      cheese-19946 [001] ....   902.222656: tegra_channel_set_power: 15a00000.nvcsi--1 : 0x0
      cheese-19946 [001] ....   902.222659: csi_s_power: enable : 0x0
 kworker/0:1-713   [000] ....   902.295771: rtos_queue_peek_from_isr_failed: tstamp:28558393470 queue:0x0bcbcf78
 kworker/0:1-713   [000] ....   902.467765: rtos_queue_peek_from_isr_failed: tstamp:28563393470 queue:0x0bcbcf78
      cheese-19941 [001] ....   902.503556: tegra_channel_open: vi-output, imx390 2-0025
      cheese-19941 [001] ....   902.503586: tegra_channel_set_power: imx390 2-0025 : 0x1
      cheese-19941 [001] ....   902.503600: camera_common_s_power: status : 0x1
      cheese-19941 [001] ....   902.504158: tegra_channel_set_power: 15a00000.nvcsi--2 : 0x1
      cheese-19941 [001] ....   902.504164: csi_s_power: enable : 0x1
 kworker/0:1-713   [000] ....   902.523819: rtcpu_vinotify_error: tstamp:28566210132 tag:CHANSEL_NOMATCH channel:0x01 frame:88 vi_tstamp:28566209234 data:0x000003c9[open-camera-error-with-trace.txt|

open-camera-error-with-trace.txt (96.2 KB)

Could you help have a look?

thanks
BRs

Does v4l2-ctl can capture well?

the v4l-ctl is the same as up result

When open the /dev/video0, there is an obvious error as below

[ 902.654930] WARNING: CPU: 2 PID: 19956 at /home/disk_hard/nvidia/xavier/kernel/kernel/kernel-4.9/drivers/media/v4l2-core/videobuf2-core.c:1350 vb2_start_streaming+0xdc/0x158
[ 902.655534] —[ end trace e5dd5e4b550d4354 ]—
[ 902.863616] ------------[ cut here ]------------
[ 902.863766] WARNING: CPU: 3 PID: 19955 at /home/disk_hard/nvidia/xavier/kernel/kernel/kernel-4.9/drivers/media/v4l2-core/videobuf2-core.c:1350 vb2_start_streaming+0xdc/0x158
[ 902.864376] —[ end trace e5dd5e4b550d4355 ]—

Hi ShaneCCC

a new log we got after change the gmsl src-csi-port from b to a.
But what the reason below:

root@123:/home/we# [ 746.168830] tegra194-vi5 15c10000.vi: corr_err: discarding frame 64, flags: 6, err_data 512
[ 746.237324] tegra194-vi5 15c10000.vi: corr_err: discarding frame 65, flags: 0, err_data 512
[ 746.305809] tegra194-vi5 15c10000.vi: corr_err: discarding frame 66, flags: 0, err_data 512
[ 746.374344] tegra194-vi5 15c10000.vi: corr_err: discarding frame 67, flags: 0, err_data 512
[ 746.442826] tegra194-vi5 15c10000.vi: corr_err: discarding frame 68, flags: 0, err_data 512
[ 746.511441] tegra194-vi5 15c10000.vi: corr_err: discarding frame 69, flags: 0, err_data 512
[ 746.579939] tegra194-vi5 15c10000.vi: corr_err: discarding frame 70, flags: 0, err_data 512
[ 746.853918] tegra194-vi5 15c10000.vi: corr_err: discarding frame 74, flags: 6, err_data 512
[ 746.922454] tegra194-vi5 15c10000.vi: corr_err: discarding frame 75, flags: 0, err_data 512
[ 746.991030] tegra194-vi5 15c10000.vi: corr_err: discarding frame 76, flags: 0, err_data 512
[ 747.059533] tegra194-vi5 15c10000.vi: corr_err: discarding frame 77, flags: 0, err_data 512
[ 747.127945] tegra194-vi5 15c10000.vi: corr_err: discarding frame 78, flags: 0, err_data 512
[ 747.196461] tegra194-vi5 15c10000.vi: corr_err: discarding frame 79, flags: 0, err_data 512
[ 747.264982] tegra194-vi5 15c10000.vi: corr_err: discarding frame 80, flags: 0, err_data 512
[ 747.333567] tegra194-vi5 15c10000.vi: corr_err: discarding frame 81, flags: 0, err_data 512
[ 747.402064] tegra194-vi5 15c10000.vi: corr_err: discarding frame 82, flags: 0, err_data 512
[ 747.470525] tegra194-vi5 15c10000.vi: corr_err: discarding frame 83, flags: 0, err_data 512
[ 747.539012] tegra194-vi5 15c10000.vi: corr_err: discarding frame 84, flags: 0, err_data 512
[ 747.607543] tegra194-vi5 15c10000.vi: corr_err: discarding frame 85, flags: 0, err_data 512
[ 747.676127] tegra194-vi5 15c10000.vi: corr_err: discarding frame 86, flags: 0, err_data 512
[ 747.744578] tegra194-vi5 15c10000.vi: corr_err: discarding frame 87, flags: 0, err_data 512
[ 747.813082] tegra194-vi5 15c10000.vi: corr_err: discarding frame 88, flags: 0, err_data 512
[ 747.881591] tegra194-vi5 15c10000.vi: corr_err: discarding frame 89, flags: 0, err_data 512
[ 747.950091] tegra194-vi5 15c10000.vi: corr_err: discarding frame 90, flags: 0, err_data 512
[ 748.018611] tegra194-vi5 15c10000.vi: corr_err: discarding frame 91, flags: 0, err_data 512
[ 748.087227] tegra194-vi5 15c10000.vi: corr_err: discarding frame 92, flags: 0, err_data 512
[ 748.155733] tegra194-vi5 15c10000.vi: corr_err: discarding frame 93, flags: 0, err_data 512
[ 748.224171] tegra194-vi5 15c10000.vi: corr_err: discarding frame 94, flags: 0, err_data 512
[ 748.292693] tegra194-vi5 15c10000.vi: corr_err: discarding frame 95, flags: 0, err_data 512
[ 748.361181] tegra194-vi5 15c10000.vi: corr_err: discarding frame 96, flags: 0, err_data 512
[ 748.429784] tegra194-vi5 15c10000.vi: corr_err: discarding frame 97, flags: 0, err_data 512

BRs
thanks