Hi Camera Experts,
I am facing the following error while attempting streaming the the EV9500M camera :
[ 1673.916620] tegra-camrtc-capture-vi tegra-capture-vi: uncorr_err: request timed out after 2500 ms
[ 1673.916642] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: attempting to reset the capture channel
[ 1673.917894] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: successfully reset the capture channel
Then I enabled the trace :
echo 1 > /sys/kernel/debug/bpmp/debug/clk/vi/mrq_rate_locked
echo 1 > /sys/kernel/debug/bpmp/debug/clk/isp/mrq_rate_locked
echo 1 > /sys/kernel/debug/bpmp/debug/clk/nvcsi/mrq_rate_locked
cat /sys/kernel/debug/bpmp/debug/clk/vi/max_rate |tee /sys/kernel/debug/bpmp/debug/clk/vi/rate
cat /sys/kernel/debug/bpmp/debug/clk/isp/max_rate | tee /sys/kernel/debug/bpmp/debug/clk/isp/rate
cat /sys/kernel/debug/bpmp/debug/clk/nvcsi/max_rate | tee /sys/kernel/debug/bpmp/debug/clk/nvcsi/rate
echo 1 > /sys/kernel/debug/tracing/tracing_on
echo 30720 > /sys/kernel/debug/tracing/buffer_size_kb
echo 1 > /sys/kernel/debug/tracing/events/tegra_rtcpu/enable
echo 1 > /sys/kernel/debug/tracing/events/freertos/enable
echo 2 > /sys/kernel/debug/camrtc/log-level
echo 1 > /sys/kernel/debug/tracing/events/camera_common/enable
echo > /sys/kernel/debug/tracing/trace
which gave :
root@ORNN:/home/nvidia# cat /sys/kernel/debug/tracing/trace
# tracer: nop
#
# entries-in-buffer/entries-written: 71/71 #P:6
#
# _-------=> 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-2834 [003] ....... 1643.106747: tegra_channel_open: vi-output, ev9500m 7-0010
gst-launch-1.0-2834 [003] ....... 1643.106779: tegra_channel_close: vi-output, ev9500m 7-0010
gst-launch-1.0-2834 [003] ....... 1643.114337: tegra_channel_open: vi-output, ev9500m 7-0010
v4l2src0:src-2836 [001] ....... 1643.124348: tegra_channel_set_power: ev9500m 7-0010 : 0x1
v4l2src0:src-2836 [001] ....... 1643.124360: camera_common_s_power: status : 0x1
v4l2src0:src-2836 [001] ....... 1643.132273: tegra_channel_set_power: 13e00000.host1x:nvcsi@15a00000- : 0x1
v4l2src0:src-2836 [001] ....... 1643.132279: csi_s_power: enable : 0x1
v4l2src0:src-2836 [001] ....... 1643.132865: tegra_channel_capture_setup: vnc_id 0 W 1920 H 1080 fmt 13
vi-output, ev95-2838 [001] ....... 1643.141056: vi_task_submit: class_id:48 ch:0 syncpt_id:26 syncpt_thresh:0 pid:2838 tid:2838
vi-output, ev95-2838 [001] ....... 1643.141062: vi_task_submit: class_id:48 ch:0 syncpt_id:26 syncpt_thresh:0 pid:2838 tid:2838
vi-output, ev95-2838 [001] ....... 1643.141064: vi_task_submit: class_id:48 ch:0 syncpt_id:26 syncpt_thresh:0 pid:2838 tid:2838
vi-output, ev95-2838 [001] ....... 1643.141065: vi_task_submit: class_id:48 ch:0 syncpt_id:26 syncpt_thresh:0 pid:2838 tid:2838
v4l2src0:src-2836 [002] ....... 1643.141098: tegra_channel_set_stream: enable : 0x1
v4l2src0:src-2836 [002] ....... 1643.143231: tegra_channel_set_stream: 13e00000.host1x:nvcsi@15a00000- : 0x1
v4l2src0:src-2836 [002] ....... 1643.143237: csi_s_stream: enable : 0x1
v4l2src0:src-2836 [002] ....... 1643.143656: tegra_channel_set_stream: ev9500m 7-0010 : 0x1
vi-output, ev95-2839 [003] ....... 1645.789430: tegra_channel_capture_setup: vnc_id 0 W 1920 H 1080 fmt 13
vi-output, ev95-2838 [001] ....... 1645.840287: vi_task_submit: class_id:48 ch:0 syncpt_id:26 syncpt_thresh:0 pid:2838 tid:2838
vi-output, ev95-2838 [001] ....... 1645.864403: vi_task_submit: class_id:48 ch:0 syncpt_id:26 syncpt_thresh:0 pid:2838 tid:2838
vi-output, ev95-2838 [001] ....... 1645.888408: vi_task_submit: class_id:48 ch:0 syncpt_id:26 syncpt_thresh:0 pid:2838 tid:2838
vi-output, ev95-2839 [003] ....... 1648.349535: tegra_channel_capture_setup: vnc_id 0 W 1920 H 1080 fmt 13
vi-output, ev95-2838 [001] ....... 1648.363926: vi_task_submit: class_id:48 ch:0 syncpt_id:26 syncpt_thresh:0 pid:2838 tid:2838
vi-output, ev95-2838 [001] ....... 1648.388239: vi_task_submit: class_id:48 ch:0 syncpt_id:26 syncpt_thresh:0 pid:2838 tid:2838
vi-output, ev95-2838 [001] ....... 1648.411920: vi_task_submit: class_id:48 ch:0 syncpt_id:26 syncpt_thresh:0 pid:2838 tid:2838
vi-output, ev95-2839 [003] ....... 1650.909558: tegra_channel_capture_setup: vnc_id 0 W 1920 H 1080 fmt 13
vi-output, ev95-2838 [001] ....... 1650.924245: vi_task_submit: class_id:48 ch:0 syncpt_id:26 syncpt_thresh:0 pid:2838 tid:2838
vi-output, ev95-2838 [001] ....... 1650.948264: vi_task_submit: class_id:48 ch:0 syncpt_id:26 syncpt_thresh:0 pid:2838 tid:2838
vi-output, ev95-2838 [001] ....... 1650.972214: vi_task_submit: class_id:48 ch:0 syncpt_id:26 syncpt_thresh:0 pid:2838 tid:2838
vi-output, ev95-2839 [001] ....... 1653.469349: tegra_channel_capture_setup: vnc_id 0 W 1920 H 1080 fmt 13
vi-output, ev95-2838 [001] ....... 1653.483909: vi_task_submit: class_id:48 ch:0 syncpt_id:26 syncpt_thresh:0 pid:2838 tid:2838
vi-output, ev95-2838 [001] ....... 1653.507930: vi_task_submit: class_id:48 ch:0 syncpt_id:26 syncpt_thresh:0 pid:2838 tid:2838
vi-output, ev95-2838 [001] ....... 1653.531977: vi_task_submit: class_id:48 ch:0 syncpt_id:26 syncpt_thresh:0 pid:2838 tid:2838
vi-output, ev95-2839 [003] ....... 1656.029526: tegra_channel_capture_setup: vnc_id 0 W 1920 H 1080 fmt 13
vi-output, ev95-2838 [001] ....... 1656.043867: vi_task_submit: class_id:48 ch:0 syncpt_id:26 syncpt_thresh:0 pid:2838 tid:2838
vi-output, ev95-2838 [001] ....... 1656.067832: vi_task_submit: class_id:48 ch:0 syncpt_id:26 syncpt_thresh:0 pid:2838 tid:2838
vi-output, ev95-2838 [001] ....... 1656.091693: vi_task_submit: class_id:48 ch:0 syncpt_id:26 syncpt_thresh:0 pid:2838 tid:2838
vi-output, ev95-2839 [003] ....... 1658.589340: tegra_channel_capture_setup: vnc_id 0 W 1920 H 1080 fmt 13
vi-output, ev95-2838 [001] ....... 1658.603847: vi_task_submit: class_id:48 ch:0 syncpt_id:26 syncpt_thresh:0 pid:2838 tid:2838
vi-output, ev95-2838 [001] ....... 1658.628089: vi_task_submit: class_id:48 ch:0 syncpt_id:26 syncpt_thresh:0 pid:2838 tid:2838
vi-output, ev95-2838 [002] ....... 1658.652114: vi_task_submit: class_id:48 ch:0 syncpt_id:26 syncpt_thresh:0 pid:2838 tid:2838
vi-output, ev95-2839 [003] ....... 1661.149532: tegra_channel_capture_setup: vnc_id 0 W 1920 H 1080 fmt 13
vi-output, ev95-2838 [002] ....... 1661.163840: vi_task_submit: class_id:48 ch:0 syncpt_id:26 syncpt_thresh:0 pid:2838 tid:2838
vi-output, ev95-2838 [002] ....... 1661.187827: vi_task_submit: class_id:48 ch:0 syncpt_id:26 syncpt_thresh:0 pid:2838 tid:2838
vi-output, ev95-2838 [002] ....... 1661.211634: vi_task_submit: class_id:48 ch:0 syncpt_id:26 syncpt_thresh:0 pid:2838 tid:2838
vi-output, ev95-2839 [003] ....... 1663.709519: tegra_channel_capture_setup: vnc_id 0 W 1920 H 1080 fmt 13
vi-output, ev95-2838 [002] ....... 1663.723982: vi_task_submit: class_id:48 ch:0 syncpt_id:26 syncpt_thresh:0 pid:2838 tid:2838
vi-output, ev95-2838 [002] ....... 1663.748333: vi_task_submit: class_id:48 ch:0 syncpt_id:26 syncpt_thresh:0 pid:2838 tid:2838
vi-output, ev95-2838 [002] ....... 1663.772499: vi_task_submit: class_id:48 ch:0 syncpt_id:26 syncpt_thresh:0 pid:2838 tid:2838
vi-output, ev95-2839 [003] ....... 1666.269582: tegra_channel_capture_setup: vnc_id 0 W 1920 H 1080 fmt 13
vi-output, ev95-2838 [002] ....... 1666.283861: vi_task_submit: class_id:48 ch:0 syncpt_id:26 syncpt_thresh:0 pid:2838 tid:2838
vi-output, ev95-2838 [002] ....... 1666.307857: vi_task_submit: class_id:48 ch:0 syncpt_id:26 syncpt_thresh:0 pid:2838 tid:2838
vi-output, ev95-2838 [002] ....... 1666.331941: vi_task_submit: class_id:48 ch:0 syncpt_id:26 syncpt_thresh:0 pid:2838 tid:2838
vi-output, ev95-2839 [003] ....... 1668.829411: tegra_channel_capture_setup: vnc_id 0 W 1920 H 1080 fmt 13
vi-output, ev95-2838 [002] ....... 1668.843637: vi_task_submit: class_id:48 ch:0 syncpt_id:26 syncpt_thresh:0 pid:2838 tid:2838
vi-output, ev95-2838 [002] ....... 1668.867592: vi_task_submit: class_id:48 ch:0 syncpt_id:26 syncpt_thresh:0 pid:2838 tid:2838
vi-output, ev95-2838 [002] ....... 1668.891319: vi_task_submit: class_id:48 ch:0 syncpt_id:26 syncpt_thresh:0 pid:2838 tid:2838
vi-output, ev95-2839 [003] ....... 1671.389321: tegra_channel_capture_setup: vnc_id 0 W 1920 H 1080 fmt 13
vi-output, ev95-2838 [002] ....... 1671.403850: vi_task_submit: class_id:48 ch:0 syncpt_id:26 syncpt_thresh:0 pid:2838 tid:2838
vi-output, ev95-2838 [002] ....... 1671.427838: vi_task_submit: class_id:48 ch:0 syncpt_id:26 syncpt_thresh:0 pid:2838 tid:2838
vi-output, ev95-2838 [002] ....... 1671.451789: vi_task_submit: class_id:48 ch:0 syncpt_id:26 syncpt_thresh:0 pid:2838 tid:2838
vi-output, ev95-2838 [002] ....... 1673.256673: vi_task_submit: class_id:48 ch:0 syncpt_id:26 syncpt_thresh:0 pid:2838 tid:2838
vi-output, ev95-2839 [001] ....... 1673.917518: tegra_channel_capture_setup: vnc_id 0 W 1920 H 1080 fmt 13
gst-launch-1.0-2834 [001] ....... 1673.917964: tegra_channel_set_stream: enable : 0x0
gst-launch-1.0-2834 [001] ....... 1673.917967: tegra_channel_set_stream: ev9500m 7-0010 : 0x0
gst-launch-1.0-2834 [001] ....... 1673.918482: tegra_channel_set_stream: 13e00000.host1x:nvcsi@15a00000- : 0x0
gst-launch-1.0-2834 [001] ....... 1673.918485: csi_s_stream: enable : 0x0
gst-launch-1.0-2834 [003] ....... 1673.921433: tegra_channel_set_power: ev9500m 7-0010 : 0x0
gst-launch-1.0-2834 [003] ....... 1673.921522: camera_common_s_power: status : 0x0
gst-launch-1.0-2834 [004] ....... 1673.924425: tegra_channel_set_power: 13e00000.host1x:nvcsi@15a00000- : 0x0
gst-launch-1.0-2834 [004] ....... 1673.924430: csi_s_power: enable : 0x0
gst-launch-1.0-2834 [003] ....... 1673.952002: tegra_channel_close: vi-output, ev9500m 7-0010
Is it possible to see/interpret any error from above trace, please ?
Thanks in advance,
K.