[Jetson Xavier NX] Problem with TC358743 1080p60fps capture

Hello

I tried to perform HDMI-CSI conversion with TC358743 and input a 1080p@60fps camera, but it failed. It is successful at 1080p@30fps.

When I look at dmesg, I see the following error:
[ 2654.316291] [RCE] vi5_hwinit: firmware CL2018101701 protocol version 2.2
[ 2654.331920] tegra194-vi5 15c10000.vi: corr_err: discarding frame 0, flags: 0, err_data 131072
[ 2654.348550] tegra194-vi5 15c10000.vi: corr_err: discarding frame 0, flags: 0, err_data 131072
[ 2654.365272] tegra194-vi5 15c10000.vi: corr_err: discarding frame 0, flags: 0, err_data 131072
[ 2654.381899] tegra194-vi5 15c10000.vi: corr_err: discarding frame 0, flags: 0, err_data 131072
dmesg_1080p60.log (163.2 KB)

GStreamer is logging with the following command.
$GST_DEBUG=4 gst-launch-1.0 v4l2src device=/dev/video0 ! ‘video/x-raw,format=UYVY,width=1920,height=1080’ ! nvvidconv ! ‘video/x-raw(memory:NVMM),format=I420,width=1920,height=1080’ ! queue ! nvoverlaysink display-id=0
gst_1080p60.log (69.1 KB)

The trace log is the following log
trace_1080p60.log (335.5 KB)

$media-ctl -p -d /dev/media0

*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: tc358743 9-000f (1 pad, 1 link)*
*            type V4L2 subdev subtype Sensor flags 0*
*            device node name /dev/v4l-subdev0*
*	pad0: Source*
*		[fmt:UYVY8_1X16/1920x1080 field:none colorspace:smpte170m]*
*		[dv.caps:BT.656/1120 min:1x1@0 max:10000x10000@165000000 stds:CEA-861,DMT,CVT,GTF caps:progressive,reduced-blanking,custom]*
*		[dv.detect:BT.656/1120 1920x1080p60 (2200x1125) stds: flags:]*
*		[dv.current:BT.656/1120 1920x1080p29 (2290x1110) stds:CEA-861 flags:can-reduce-fps,CE-video]*
*		-> "15a00000.nvcsi--1":0 [ENABLED]*

*- entity 3: 15a00000.nvcsi--1 (2 pads, 2 links)*
*            type V4L2 subdev subtype Unknown flags 0*
*            device node name /dev/v4l-subdev1*
*	pad0: Sink*
*		<- "tc358743 9-000f":0 [ENABLED]*
*	pad1: Source*
*		-> "vi-output, tc358743 9-000f":0 [ENABLED]*

*- entity 6: vi-output, tc358743 9-000f (1 pad, 1 link)*
*            type Node subtype V4L flags 0*
*            device node name /dev/video0*
*	pad0: Sink*
*		<- "15a00000.nvcsi--1":1 [ENABLED]*

Could you please tell me what these errors mean?

Did you boost the clocks to try.

sudo su

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
echo 1 > /sys/kernel/debug/bpmp/debug/clk/emc/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
cat /sys/kernel/debug/bpmp/debug/clk/emc/max_rate | tee /sys/kernel/debug/bpmp/debug/clk/emc/rate

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