AGX ORIN CSI issues

We had two developer kits for AGX ORIN 64G, using the same set of FPD Link cameras, and found that one of the Devkits had a camera that could not preview the video stream properly.

About the camera:

When the camera is connected to CAM0(J1) in the following figure, one of the Devkits fails to preview the video stream properly.

The system version and driver version used are exactly the same: L4T 36.4.0.

What should I do, please?

Hi,

For the camera basic functionality first needs to check the device and driver configuration.
You can reference to below program guide for the detailed information of device tree and driver implementation.

Please refer to Applications Using V4L2 IOCTL Directly by using V4L2 IOCTL to verify basic camera functionality.

Once confirm the configure and still failed below link help to get log and some information and some tips for debug.

Thanks!

There is one problem, which should not be related to the driver and device tree configuration. Using a Backup system ensures that the two devkit systems and drivers are exactly the same.

But the other devkit is normal, the abnormal devkit, also only CAM0 (J1) can not preview the image properly.

Please get the trace log for analysis.

Thanks

The following is the command executed on the suspected devkit and the specific return value.

console 1

nvidia@nvidia-desktop:~$ sudo service nvargus-daemon stop
nvidia@nvidia-desktop:~$ sudo su
root@nvidia-desktop:/home/nvidia# export enableCamPclLogs=5
root@nvidia-desktop:/home/nvidia# export enableCamScfLogs=5
root@nvidia-desktop:/home/nvidia# /usr/sbin/nvargus-daemon
=== NVIDIA Libargus Camera Service (0.99.33)=== Listening for connections...


console2

nvidia@nvidia-desktop:~$ sudo modprobe rtcpu_debug
[sudo] password for nvidia:
nvidia@nvidia-desktop:~$ sudo su
root@nvidia-desktop:/home/nvidia# echo 1 > /sys/kernel/debug/tracing/tracing_on
root@nvidia-desktop:/home/nvidia# echo 30720 > /sys/kernel/debug/tracing/buffer_size_kb
root@nvidia-desktop:/home/nvidia# echo 1 > /sys/kernel/debug/tracing/events/tegra_rtcpu/enable
root@nvidia-desktop:/home/nvidia# echo 1 > /sys/kernel/debug/tracing/events/freertos/enable
root@nvidia-desktop:/home/nvidia# echo 2 > /sys/kernel/debug/camrtc/log-level
root@nvidia-desktop:/home/nvidia# echo 1 > /sys/kernel/debug/tracing/events/camera_common/enable
root@nvidia-desktop:/home/nvidia# cat /sys/kernel/debug/tracing/trace
# tracer: nop
#
# entries-in-buffer/entries-written: 24/24   #P:8
#
#                                _-------=> irqs-off
#                               / _------=> need-resched
#                              | / _-----=> need-resched-lazy
#                              || / _----=> hardirq/softirq
#                              ||| / _---=> preempt-depth
#                              |||| / _--=> preempt-lazy-depth
#                              ||||| / _-=> migrate-disable
#                              |||||| /     delay
#           TASK-PID     CPU#  |||||||  TIMESTAMP  FUNCTION
#              | |         |   |||||||      |         |
     kworker/3:1-81      [003] .......   170.726124: rtcpu_dbg_set_loglevel: tstamp:6048090273 old:0 new:2
     kworker/3:1-81      [003] .......   172.802126: rtcpu_vinotify_event: tstamp:6113326924 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:195625699040 data:0x359d580010000000
     kworker/3:1-81      [003] .......   172.802130: rtcpu_vinotify_event: tstamp:6113327076 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:195625741088 data:0x0000000031000001
     kworker/3:1-81      [003] .......   172.802131: rtcpu_vinotify_event: tstamp:6113327230 cch:0 vi:0 tag:VIFALC_ACTIONLST channel:0x23 frame:0 vi_tstamp:195625762784 data:0x0000000007020001
     kworker/3:1-81      [003] .......   172.802132: rtcpu_vinotify_event: tstamp:6113869564 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:195633415680 data:0x359d550010000000
     kworker/3:1-81      [003] .......   172.802133: rtcpu_vinotify_event: tstamp:6113869730 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:195633458432 data:0x0000000031000002
 vi-output, veye-3218    [006] .......   175.327317: tegra_channel_capture_setup: vnc_id 0 W 1920 H 1080 fmt 13
 vi-output, veye-3217    [007] .......   175.334775: vi_task_submit: class_id:48 ch:0 syncpt_id:33 syncpt_thresh:441 pid:3217 tid:3217
 vi-output, veye-3217    [007] .......   175.342747: vi_task_submit: class_id:48 ch:0 syncpt_id:33 syncpt_thresh:441 pid:3217 tid:3217
 vi-output, veye-3217    [007] .......   175.350876: vi_task_submit: class_id:48 ch:0 syncpt_id:33 syncpt_thresh:441 pid:3217 tid:3217
     kworker/3:1-81      [003] .......   175.382125: rtcpu_vinotify_event: tstamp:6193622466 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:198186239872 data:0x359d580010000000
     kworker/3:1-81      [003] .......   175.382129: rtcpu_vinotify_event: tstamp:6193622620 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:198186281920 data:0x0000000031000001
     kworker/3:1-81      [003] .......   175.382130: rtcpu_vinotify_event: tstamp:6193622754 cch:0 vi:0 tag:VIFALC_ACTIONLST channel:0x23 frame:0 vi_tstamp:198186303616 data:0x0000000007020001
     kworker/3:1-81      [003] .......   175.382131: rtcpu_vinotify_event: tstamp:6193622904 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:198194220800 data:0x359d550010000000
     kworker/3:1-81      [003] .......   175.382131: rtcpu_vinotify_event: tstamp:6193623037 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:198194263552 data:0x0000000031000002
 vi-output, veye-3218    [006] .......   177.887341: tegra_channel_capture_setup: vnc_id 0 W 1920 H 1080 fmt 13
 vi-output, veye-3217    [006] .......   177.894526: vi_task_submit: class_id:48 ch:0 syncpt_id:33 syncpt_thresh:441 pid:3217 tid:3217
 vi-output, veye-3217    [006] .......   177.902015: vi_task_submit: class_id:48 ch:0 syncpt_id:33 syncpt_thresh:441 pid:3217 tid:3217
 vi-output, veye-3217    [006] .......   177.909560: vi_task_submit: class_id:48 ch:0 syncpt_id:33 syncpt_thresh:441 pid:3217 tid:3217
     kworker/3:1-81      [003] .......   177.938120: rtcpu_vinotify_event: tstamp:6273376028 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:200745994816 data:0x359d580010000000
     kworker/3:1-81      [003] .......   177.938123: rtcpu_vinotify_event: tstamp:6273376164 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:200746036864 data:0x0000000031000001
     kworker/3:1-81      [003] .......   177.938124: rtcpu_vinotify_event: tstamp:6273376320 cch:0 vi:0 tag:VIFALC_ACTIONLST channel:0x23 frame:0 vi_tstamp:200746058528 data:0x0000000007020001
     kworker/3:1-81      [003] .......   177.938125: rtcpu_vinotify_event: tstamp:6273918337 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:200753464960 data:0x359d550010000000
     kworker/3:1-81      [003] .......   177.938126: rtcpu_vinotify_event: tstamp:6273918496 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:200753507648 data:0x0000000031000002
root@nvidia-desktop:/home/nvidia# echo > /sys/kernel/debug/tracing/trace
root@nvidia-desktop:/home/nvidia# cat /sys/kernel/debug/tracing/trace
# tracer: nop
#
# entries-in-buffer/entries-written: 0/0   #P:8
#
#                                _-------=> irqs-off
#                               / _------=> need-resched
#                              | / _-----=> need-resched-lazy
#                              || / _----=> hardirq/softirq
#                              ||| / _---=> preempt-depth
#                              |||| / _--=> preempt-lazy-depth
#                              ||||| / _-=> migrate-disable
#                              |||||| /     delay
#           TASK-PID     CPU#  |||||||  TIMESTAMP  FUNCTION
#              | |         |   |||||||      |         |
root@nvidia-desktop:/home/nvidia# cat /sys/kernel/debug/tracing/trace
# tracer: nop
#
# entries-in-buffer/entries-written: 38/38   #P:8
#
#                                _-------=> irqs-off
#                               / _------=> need-resched
#                              | / _-----=> need-resched-lazy
#                              || / _----=> hardirq/softirq
#                              ||| / _---=> preempt-depth
#                              |||| / _--=> preempt-lazy-depth
#                              ||||| / _-=> migrate-disable
#                              |||||| /     delay
#           TASK-PID     CPU#  |||||||  TIMESTAMP  FUNCTION
#              | |         |   |||||||      |         |
 vi-output, veye-3218    [002] .......   193.247381: tegra_channel_capture_setup: vnc_id 0 W 1920 H 1080 fmt 13
 vi-output, veye-3217    [004] .......   193.253866: vi_task_submit: class_id:48 ch:0 syncpt_id:33 syncpt_thresh:441 pid:3217 tid:3217
 vi-output, veye-3217    [004] .......   193.260779: vi_task_submit: class_id:48 ch:0 syncpt_id:33 syncpt_thresh:441 pid:3217 tid:3217
 vi-output, veye-3217    [004] .......   193.267776: vi_task_submit: class_id:48 ch:0 syncpt_id:33 syncpt_thresh:441 pid:3217 tid:3217
     kworker/3:1-81      [003] .......   193.274112: rtcpu_vinotify_event: tstamp:6753307246 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:216105351104 data:0x359d580010000000
     kworker/3:1-81      [003] .......   193.274115: rtcpu_vinotify_event: tstamp:6753307379 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:216105393184 data:0x0000000031000001
     kworker/3:1-81      [003] .......   193.274116: rtcpu_vinotify_event: tstamp:6753307531 cch:0 vi:0 tag:VIFALC_ACTIONLST channel:0x23 frame:0 vi_tstamp:216105414880 data:0x0000000007020001
     kworker/3:1-81      [003] .......   193.274117: rtcpu_vinotify_event: tstamp:6753849773 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:216112253408 data:0x359d550010000000
     kworker/3:1-81      [003] .......   193.274118: rtcpu_vinotify_event: tstamp:6753849939 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:216112296128 data:0x0000000031000002
 vi-output, veye-3218    [002] .......   195.807566: tegra_channel_capture_setup: vnc_id 0 W 1920 H 1080 fmt 13
 vi-output, veye-3217    [007] .......   195.813822: vi_task_submit: class_id:48 ch:0 syncpt_id:33 syncpt_thresh:441 pid:3217 tid:3217
 vi-output, veye-3217    [007] .......   195.822424: vi_task_submit: class_id:48 ch:0 syncpt_id:33 syncpt_thresh:441 pid:3217 tid:3217
 vi-output, veye-3217    [007] .......   195.830028: vi_task_submit: class_id:48 ch:0 syncpt_id:33 syncpt_thresh:441 pid:3217 tid:3217
     kworker/3:1-81      [003] .......   195.858116: rtcpu_vinotify_event: tstamp:6833295668 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:218665303808 data:0x359d580010000000
     kworker/3:1-81      [003] .......   195.858119: rtcpu_vinotify_event: tstamp:6833295826 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:218665345888 data:0x0000000031000001
     kworker/3:1-81      [003] .......   195.858120: rtcpu_vinotify_event: tstamp:6833295963 cch:0 vi:0 tag:VIFALC_ACTIONLST channel:0x23 frame:0 vi_tstamp:218665367552 data:0x0000000007020001
     kworker/3:1-81      [003] .......   195.858121: rtcpu_vinotify_event: tstamp:6833820111 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:218673904448 data:0x359d550010000000
     kworker/3:1-81      [003] .......   195.858122: rtcpu_vinotify_event: tstamp:6833820250 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:218673947200 data:0x0000000031000002
 vi-output, veye-3218    [002] .......   198.367582: tegra_channel_capture_setup: vnc_id 0 W 1920 H 1080 fmt 13
 vi-output, veye-3217    [004] .......   198.374231: vi_task_submit: class_id:48 ch:0 syncpt_id:33 syncpt_thresh:441 pid:3217 tid:3217
 vi-output, veye-3217    [004] .......   198.381639: vi_task_submit: class_id:48 ch:0 syncpt_id:33 syncpt_thresh:441 pid:3217 tid:3217
 vi-output, veye-3217    [004] .......   198.388642: vi_task_submit: class_id:48 ch:0 syncpt_id:33 syncpt_thresh:441 pid:3217 tid:3217
     kworker/3:1-81      [003] .......   198.406141: rtcpu_vinotify_event: tstamp:6913573155 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:221225719616 data:0x359d580010000000
     kworker/3:1-81      [003] .......   198.406144: rtcpu_vinotify_event: tstamp:6913573292 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:221225761664 data:0x0000000031000001
     kworker/3:1-81      [003] .......   198.406146: rtcpu_vinotify_event: tstamp:6913573444 cch:0 vi:0 tag:VIFALC_ACTIONLST channel:0x23 frame:0 vi_tstamp:221225783328 data:0x0000000007020001
     kworker/3:1-81      [003] .......   198.406146: rtcpu_vinotify_event: tstamp:6913573577 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:221233097568 data:0x359d550010000000
     kworker/3:1-81      [003] .......   198.406147: rtcpu_vinotify_event: tstamp:6913573730 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:221233140320 data:0x0000000031000002
 vi-output, veye-3217    [004] .......   200.813785: vi_task_submit: class_id:48 ch:0 syncpt_id:33 syncpt_thresh:441 pid:3217 tid:3217
 vi-output, veye-3218    [003] .......   200.879401: tegra_channel_capture_setup: vnc_id 0 W 1920 H 1080 fmt 13
  gst-launch-1.0-3210    [004] .......   200.879543: tegra_channel_set_stream: enable : 0x0
  gst-launch-1.0-3210    [004] .......   200.879546: tegra_channel_set_stream: veyecam 9-003c : 0x0
  gst-launch-1.0-3210    [004] .......   200.882423: tegra_channel_set_stream: 13e00000.host1x:nvcsi@15a00000- : 0x0
  gst-launch-1.0-3210    [004] .......   200.882429: csi_s_stream: enable : 0x0
  gst-launch-1.0-3210    [005] .......   200.885116: tegra_channel_set_power: veyecam 9-003c : 0x0
  gst-launch-1.0-3210    [005] .......   200.885129: camera_common_s_power: status : 0x0
  gst-launch-1.0-3210    [005] .......   200.885139: tegra_channel_set_power: 13e00000.host1x:nvcsi@15a00000- : 0x0
  gst-launch-1.0-3210    [005] .......   200.885141: csi_s_power: enable : 0x0
  gst-launch-1.0-3210    [005] .......   200.922734: tegra_channel_close: vi-output, veyecam 9-003c
root@nvidia-desktop:/home/nvidia# echo > /sys/kernel/debug/tracing/trace
root@nvidia-desktop:/home/nvidia# cat /sys/kernel/debug/tracing/trace
# tracer: nop
#
# entries-in-buffer/entries-written: 0/0   #P:8
#
#                                _-------=> irqs-off
#                               / _------=> need-resched
#                              | / _-----=> need-resched-lazy
#                              || / _----=> hardirq/softirq
#                              ||| / _---=> preempt-depth
#                              |||| / _--=> preempt-lazy-depth
#                              ||||| / _-=> migrate-disable
#                              |||||| /     delay
#           TASK-PID     CPU#  |||||||  TIMESTAMP  FUNCTION
#              | |         |   |||||||      |         |
root@nvidia-desktop:/home/nvidia# cat /sys/kernel/debug/tracing/trace
# tracer: nop
#
# entries-in-buffer/entries-written: 0/0   #P:8
#
#                                _-------=> irqs-off
#                               / _------=> need-resched
#                              | / _-----=> need-resched-lazy
#                              || / _----=> hardirq/softirq
#                              ||| / _---=> preempt-depth
#                              |||| / _--=> preempt-lazy-depth
#                              ||||| / _-=> migrate-disable
#                              |||||| /     delay
#           TASK-PID     CPU#  |||||||  TIMESTAMP  FUNCTION
#              | |         |   |||||||      |         |
root@nvidia-desktop:/home/nvidia# cat /sys/kernel/debug/tracing/trace
# tracer: nop
#
# entries-in-buffer/entries-written: 40/40   #P:8
#
#                                _-------=> irqs-off
#                               / _------=> need-resched
#                              | / _-----=> need-resched-lazy
#                              || / _----=> hardirq/softirq
#                              ||| / _---=> preempt-depth
#                              |||| / _--=> preempt-lazy-depth
#                              ||||| / _-=> migrate-disable
#                              |||||| /     delay
#           TASK-PID     CPU#  |||||||  TIMESTAMP  FUNCTION
#              | |         |   |||||||      |         |
  gst-launch-1.0-3507    [000] .......   217.379229: tegra_channel_open: vi-output, veyecam 9-003c
  gst-launch-1.0-3507    [000] .......   217.379259: tegra_channel_close: vi-output, veyecam 9-003c
  gst-launch-1.0-3507    [007] .......   217.384780: tegra_channel_open: vi-output, veyecam 9-003c
    v4l2src0:src-3509    [004] .......   217.402018: tegra_channel_set_power: veyecam 9-003c : 0x1
    v4l2src0:src-3509    [004] .......   217.402189: camera_common_s_power: status : 0x1
    v4l2src0:src-3509    [004] .......   217.402198: tegra_channel_set_power: 13e00000.host1x:nvcsi@15a00000- : 0x1
    v4l2src0:src-3509    [004] .......   217.402200: csi_s_power: enable : 0x1
    v4l2src0:src-3509    [005] .......   217.402845: tegra_channel_capture_setup: vnc_id 0 W 1920 H 1080 fmt 13
 vi-output, veye-3511    [005] .......   217.414227: vi_task_submit: class_id:48 ch:0 syncpt_id:33 syncpt_thresh:441 pid:3511 tid:3511
 vi-output, veye-3511    [005] .......   217.414236: vi_task_submit: class_id:48 ch:0 syncpt_id:33 syncpt_thresh:441 pid:3511 tid:3511
 vi-output, veye-3511    [005] .......   217.414237: vi_task_submit: class_id:48 ch:0 syncpt_id:33 syncpt_thresh:441 pid:3511 tid:3511
 vi-output, veye-3511    [005] .......   217.414238: vi_task_submit: class_id:48 ch:0 syncpt_id:33 syncpt_thresh:441 pid:3511 tid:3511
    v4l2src0:src-3509    [005] .......   217.414271: tegra_channel_set_stream: enable : 0x1
    v4l2src0:src-3509    [000] .......   217.417185: tegra_channel_set_stream: 13e00000.host1x:nvcsi@15a00000- : 0x1
    v4l2src0:src-3509    [000] .......   217.417189: csi_s_stream: enable : 0x1
    v4l2src0:src-3509    [004] .......   217.417536: tegra_channel_set_stream: veyecam 9-003c : 0x1
     kworker/3:1-81      [003] .......   217.419431: rtcpu_string: tstamp:7508053740 id:0x04010000 str:"VM0 activating."
     kworker/3:1-81      [003] .......   217.478116: rtcpu_vinotify_event: tstamp:7508840546 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:240265752128 data:0x359d580010000000
     kworker/3:1-81      [003] .......   217.478118: rtcpu_vinotify_event: tstamp:7508840688 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:240265794176 data:0x0000000031000001
     kworker/3:1-81      [003] .......   217.478118: rtcpu_vinotify_event: tstamp:7508840845 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:240265812320 data:0x359d550010000000
     kworker/3:1-81      [003] .......   217.478119: rtcpu_vinotify_event: tstamp:7508840981 cch:0 vi:0 tag:VIFALC_ACTIONLST channel:0x23 frame:0 vi_tstamp:240265832608 data:0x0000000007020001
     kworker/3:1-81      [003] .......   217.478119: rtcpu_vinotify_event: tstamp:7508841134 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:240265875008 data:0x0000000031000002
 vi-output, veye-3512    [007] .......   220.127028: tegra_channel_capture_setup: vnc_id 0 W 1920 H 1080 fmt 13
 vi-output, veye-3511    [007] .......   220.155091: vi_task_submit: class_id:48 ch:0 syncpt_id:33 syncpt_thresh:441 pid:3511 tid:3511
 vi-output, veye-3511    [007] .......   220.160750: vi_task_submit: class_id:48 ch:0 syncpt_id:33 syncpt_thresh:441 pid:3511 tid:3511
 vi-output, veye-3511    [007] .......   220.170046: vi_task_submit: class_id:48 ch:0 syncpt_id:33 syncpt_thresh:441 pid:3511 tid:3511
     kworker/3:1-81      [003] .......   220.182122: rtcpu_vinotify_event: tstamp:7594023721 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:243006580096 data:0x359d580010000000
     kworker/3:1-81      [003] .......   220.182125: rtcpu_vinotify_event: tstamp:7594023877 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:243006622144 data:0x0000000031000001
     kworker/3:1-81      [003] .......   220.182126: rtcpu_vinotify_event: tstamp:7594024009 cch:0 vi:0 tag:VIFALC_ACTIONLST channel:0x23 frame:0 vi_tstamp:243006643840 data:0x0000000007020001
     kworker/3:1-81      [003] .......   220.182126: rtcpu_vinotify_event: tstamp:7594566701 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:243012246176 data:0x359d550010000000
     kworker/3:1-81      [003] .......   220.182127: rtcpu_vinotify_event: tstamp:7594566836 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:243012288896 data:0x0000000031000002
 vi-output, veye-3512    [006] .......   222.686900: tegra_channel_capture_setup: vnc_id 0 W 1920 H 1080 fmt 13
 vi-output, veye-3511    [007] .......   222.694142: vi_task_submit: class_id:48 ch:0 syncpt_id:33 syncpt_thresh:441 pid:3511 tid:3511
 vi-output, veye-3511    [007] .......   222.714035: vi_task_submit: class_id:48 ch:0 syncpt_id:33 syncpt_thresh:441 pid:3511 tid:3511
     kworker/3:1-81      [003] .......   222.714107: rtcpu_vinotify_event: tstamp:7673778118 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:245545630464 data:0x359d580010000000
     kworker/3:1-81      [003] .......   222.714110: rtcpu_vinotify_event: tstamp:7673778267 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:245545672544 data:0x0000000031000001
     kworker/3:1-81      [003] .......   222.714110: rtcpu_vinotify_event: tstamp:7673778424 cch:0 vi:0 tag:VIFALC_ACTIONLST channel:0x23 frame:0 vi_tstamp:245545694208 data:0x0000000007020001
 vi-output, veye-3511    [007] .......   222.720945: vi_task_submit: class_id:48 ch:0 syncpt_id:33 syncpt_thresh:441 pid:3511 tid:3511
     kworker/3:1-81      [003] .......   222.770124: rtcpu_vinotify_event: tstamp:7674320220 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:245565481280 data:0x359d550010000000
     kworker/3:1-81      [003] .......   222.770127: rtcpu_vinotify_event: tstamp:7674320377 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:245565524000 data:0x0000000031000002
root@nvidia-desktop:/home/nvidia# cat /sys/kernel/debug/tracing/trace
# tracer: nop
#
# entries-in-buffer/entries-written: 40/40   #P:8
#
#                                _-------=> irqs-off
#                               / _------=> need-resched
#                              | / _-----=> need-resched-lazy
#                              || / _----=> hardirq/softirq
#                              ||| / _---=> preempt-depth
#                              |||| / _--=> preempt-lazy-depth
#                              ||||| / _-=> migrate-disable
#                              |||||| /     delay
#           TASK-PID     CPU#  |||||||  TIMESTAMP  FUNCTION
#              | |         |   |||||||      |         |
  gst-launch-1.0-3507    [000] .......   217.379229: tegra_channel_open: vi-output, veyecam 9-003c
  gst-launch-1.0-3507    [000] .......   217.379259: tegra_channel_close: vi-output, veyecam 9-003c
  gst-launch-1.0-3507    [007] .......   217.384780: tegra_channel_open: vi-output, veyecam 9-003c
    v4l2src0:src-3509    [004] .......   217.402018: tegra_channel_set_power: veyecam 9-003c : 0x1
    v4l2src0:src-3509    [004] .......   217.402189: camera_common_s_power: status : 0x1
    v4l2src0:src-3509    [004] .......   217.402198: tegra_channel_set_power: 13e00000.host1x:nvcsi@15a00000- : 0x1
    v4l2src0:src-3509    [004] .......   217.402200: csi_s_power: enable : 0x1
    v4l2src0:src-3509    [005] .......   217.402845: tegra_channel_capture_setup: vnc_id 0 W 1920 H 1080 fmt 13
 vi-output, veye-3511    [005] .......   217.414227: vi_task_submit: class_id:48 ch:0 syncpt_id:33 syncpt_thresh:441 pid:3511 tid:3511
 vi-output, veye-3511    [005] .......   217.414236: vi_task_submit: class_id:48 ch:0 syncpt_id:33 syncpt_thresh:441 pid:3511 tid:3511
 vi-output, veye-3511    [005] .......   217.414237: vi_task_submit: class_id:48 ch:0 syncpt_id:33 syncpt_thresh:441 pid:3511 tid:3511
 vi-output, veye-3511    [005] .......   217.414238: vi_task_submit: class_id:48 ch:0 syncpt_id:33 syncpt_thresh:441 pid:3511 tid:3511
    v4l2src0:src-3509    [005] .......   217.414271: tegra_channel_set_stream: enable : 0x1
    v4l2src0:src-3509    [000] .......   217.417185: tegra_channel_set_stream: 13e00000.host1x:nvcsi@15a00000- : 0x1
    v4l2src0:src-3509    [000] .......   217.417189: csi_s_stream: enable : 0x1
    v4l2src0:src-3509    [004] .......   217.417536: tegra_channel_set_stream: veyecam 9-003c : 0x1
     kworker/3:1-81      [003] .......   217.419431: rtcpu_string: tstamp:7508053740 id:0x04010000 str:"VM0 activating."
     kworker/3:1-81      [003] .......   217.478116: rtcpu_vinotify_event: tstamp:7508840546 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:240265752128 data:0x359d580010000000
     kworker/3:1-81      [003] .......   217.478118: rtcpu_vinotify_event: tstamp:7508840688 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:240265794176 data:0x0000000031000001
     kworker/3:1-81      [003] .......   217.478118: rtcpu_vinotify_event: tstamp:7508840845 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:240265812320 data:0x359d550010000000
     kworker/3:1-81      [003] .......   217.478119: rtcpu_vinotify_event: tstamp:7508840981 cch:0 vi:0 tag:VIFALC_ACTIONLST channel:0x23 frame:0 vi_tstamp:240265832608 data:0x0000000007020001
     kworker/3:1-81      [003] .......   217.478119: rtcpu_vinotify_event: tstamp:7508841134 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:240265875008 data:0x0000000031000002
 vi-output, veye-3512    [007] .......   220.127028: tegra_channel_capture_setup: vnc_id 0 W 1920 H 1080 fmt 13
 vi-output, veye-3511    [007] .......   220.155091: vi_task_submit: class_id:48 ch:0 syncpt_id:33 syncpt_thresh:441 pid:3511 tid:3511
 vi-output, veye-3511    [007] .......   220.160750: vi_task_submit: class_id:48 ch:0 syncpt_id:33 syncpt_thresh:441 pid:3511 tid:3511
 vi-output, veye-3511    [007] .......   220.170046: vi_task_submit: class_id:48 ch:0 syncpt_id:33 syncpt_thresh:441 pid:3511 tid:3511
     kworker/3:1-81      [003] .......   220.182122: rtcpu_vinotify_event: tstamp:7594023721 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:243006580096 data:0x359d580010000000
     kworker/3:1-81      [003] .......   220.182125: rtcpu_vinotify_event: tstamp:7594023877 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:243006622144 data:0x0000000031000001
     kworker/3:1-81      [003] .......   220.182126: rtcpu_vinotify_event: tstamp:7594024009 cch:0 vi:0 tag:VIFALC_ACTIONLST channel:0x23 frame:0 vi_tstamp:243006643840 data:0x0000000007020001
     kworker/3:1-81      [003] .......   220.182126: rtcpu_vinotify_event: tstamp:7594566701 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:243012246176 data:0x359d550010000000
     kworker/3:1-81      [003] .......   220.182127: rtcpu_vinotify_event: tstamp:7594566836 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:243012288896 data:0x0000000031000002
 vi-output, veye-3512    [006] .......   222.686900: tegra_channel_capture_setup: vnc_id 0 W 1920 H 1080 fmt 13
 vi-output, veye-3511    [007] .......   222.694142: vi_task_submit: class_id:48 ch:0 syncpt_id:33 syncpt_thresh:441 pid:3511 tid:3511
 vi-output, veye-3511    [007] .......   222.714035: vi_task_submit: class_id:48 ch:0 syncpt_id:33 syncpt_thresh:441 pid:3511 tid:3511
     kworker/3:1-81      [003] .......   222.714107: rtcpu_vinotify_event: tstamp:7673778118 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:245545630464 data:0x359d580010000000
     kworker/3:1-81      [003] .......   222.714110: rtcpu_vinotify_event: tstamp:7673778267 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:245545672544 data:0x0000000031000001
     kworker/3:1-81      [003] .......   222.714110: rtcpu_vinotify_event: tstamp:7673778424 cch:0 vi:0 tag:VIFALC_ACTIONLST channel:0x23 frame:0 vi_tstamp:245545694208 data:0x0000000007020001
 vi-output, veye-3511    [007] .......   222.720945: vi_task_submit: class_id:48 ch:0 syncpt_id:33 syncpt_thresh:441 pid:3511 tid:3511
     kworker/3:1-81      [003] .......   222.770124: rtcpu_vinotify_event: tstamp:7674320220 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:245565481280 data:0x359d550010000000
     kworker/3:1-81      [003] .......   222.770127: rtcpu_vinotify_event: tstamp:7674320377 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:245565524000 data:0x0000000031000002
root@nvidia-desktop:/home/nvidia#

console 3:

gst-launch-1.0 -e v4l2src io-mode=4 device=/dev/video0 do-timestamp=true ! 'video/x-raw, width=1920, height=1080, framerate=30/1, format=UYVY' ! xvimagesink sync=false

There is a problem, using the same set of system images, on two different AGX ORIN devkit, one can be opened normally, the other can not be opened normally, what is the relationship between this and the driver?

Have you checked if the fault follows the Camera module? You could swap the camera modules between the two dev kits or use spare camera modules if you have them.

Looks like doesn’t receive any validate data from the sensor from the trace log.

It should have nothing to do with the camera, because both DevKits are using the same camera kit.

Please probe the signal if confirm the sensor output signal correctly maybe have the device to RMA.

Thanks

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