Tegra-camrtc-capture-vi tegra-capture-vi: uncorr_err: request timed out after 2500 ms

jetson Orin NX platform, JetPack version is Jetson Linux 36.3 (part of JetPack 6.0), the sensor will start outputting MIPI data when it is powered on (no need to configure I2C), it doesn’t support read/write of i2c, the isp used is gl3008, the sensor used is imx415, the resolution of the sensor is 1080p, the frame rate is 30fps, the pixel format is YUV422, the MIPI LANE is 2, the sensor outputs stream directly after powering on by default. The resolution of sensor is 1080p, frame rate is 30fps, pixel format is YUV422, MIPI LANE is 2, sensor outputs stream directly after power on by default, no add/drop string is used。The /dev/video0 node was successfully generated, but dmseg reported this error:
[ 266.388533] tegra-camrtc-capture-vi tegra-capture-vi: uncorr_err: request timed out after 2500 ms
[ 266.388556] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: attempting to reset the capture channel
[ 266.389501] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: successfully reset the capture channel
[ 268.947753] tegra-camrtc-capture-vi tegra-capture-vi: uncorr_err: request timed out after 2500 ms
[ 268.947771] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: attempting to reset the capture channel
[ 268.948615] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: successfully reset the capture channel
[ 271.506973] tegra-camrtc-capture-vi tegra-capture-vi: uncorr_err: request timed out after 2500 ms
[ 271.506999] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: attempting to reset the capture channel
[ 271.507629] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: successfully reset the capture channel
[ 274.034273] tegra-camrtc-capture-vi tegra-capture-vi: uncorr_err: request timed out after 2500 ms
[ 274.034296] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: attempting to reset the capture channel
[ 274.035560] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: successfully reset the capture channel
[ 277.079913] imx415 10-0057: imx415_set_mode
[ 279.696759] tegra-camrtc-capture-vi tegra-capture-vi: uncorr_err: request timed out after 2500 ms
[ 279.696783] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: attempting to reset the capture channel
[ 279.697514] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: successfully reset the capture channel
[ 282.256103] tegra-camrtc-capture-vi tegra-capture-vi: uncorr_err: request timed out after 2500 ms
[ 282.256129] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: attempting to reset the capture channel
[ 282.257466] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: successfully reset the capture channel
[ 284.783501] tegra-camrtc-capture-vi tegra-capture-vi: uncorr_err: request timed out after 2500 ms
[ 284.783525] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: attempting to reset the capture channel

Here’s my source file and dmesg:
dmesg-yy.txt (60.0 KB)
nv_imx415.txt (16.7 KB)
tegra234-p3768-pcai-camera-imx415.txt (6.6 KB)
tegra234-p3768-pcai-camera-imx415-overlay.txt (1.9 KB)

pcai@pcai-desktop-05:~$ cat /proc/version
Linux version 5.15.136-tegra (aarch64-buildroot-linux-gnu-gcc.br_real (Buildroot 2022.08) 11.3.0, GNU ld (GNU Binutils) 2.38) #1 SMP PREEMPT Wed May 7 00:12:59 PDT 2025


pcai@pcai-desktop-05:~$ sudo media-ctl -p -d /dev/media0
Media controller API version 5.15.136


Media device information
------------------------
driver          tegra-camrtc-ca
model           NVIDIA Tegra Video Input Device
serial
bus info
hw revision     0x3
driver version  5.15.136

Device topology
- entity 1: 13e00000.host1x:nvcsi@15a00000- (2 pads, 2 links)
            type V4L2 subdev subtype Unknown flags 0
            device node name /dev/v4l-subdev0
        pad0: Sink
                <- "imx415 10-0057":0 [ENABLED]
        pad1: Source
                -> "vi-output, imx415 10-0057":0 [ENABLED]

- entity 4: 13e00000.host1x:nvcsi@15a00000- (2 pads, 0 link)
            type V4L2 subdev subtype Unknown flags 0
            device node name /dev/v4l-subdev1
        pad0: Sink
        pad1: Source

- entity 7: imx415 10-0057 (1 pad, 1 link)
            type V4L2 subdev subtype Sensor flags 0
            device node name /dev/v4l-subdev2
        pad0: Source
                [fmt:SRGGB12_1X12/1920x1280 field:none colorspace:srgb]
                -> "13e00000.host1x:nvcsi@15a00000-":0 [ENABLED]

- entity 9: vi-output, imx415 10-0057 (1 pad, 1 link)
            type Node subtype V4L flags 0
            device node name /dev/video0
        pad0: Sink
                <- "13e00000.host1x:nvcsi@15a00000-":1 [ENABLED]

Please get the trace log to check.

Hi,
When I follow the steps to grab the trace log, I find that it doesn’t work:

JP6 need below command first.

sudo modprobe rtcpu_debug

hi,
This is the trace log I grabbed according to the steps, requesting your help, thanks a million!
trace.txt (32.4 KB)

Doesn’t looks like receive any validate data from MIPI bus.
You may probe the MIPI signal to confirm. And try MIPI clock discontinuous/continuous clocks by the sensor output.

hi,
This is the mipi waveform I measured with discontinuous_clk = “no”, it looks like there is data, but I can’t get it with “v4l2-ctl --set-fmt-video=width=1920,height=1080 --stream-mmap -d /dev/video0”. This is the same as when discontinuous_clk = “yes”.


Need to configurate the sensor output clocks instead just modify the device tree.

Hi,
Do you mean configuring the “pixel_clk_hz” option in the device tree?

No, configure the sensor REG to output by continuous/discontinuous clocks.

Hi,
This has been tried to configure, but it still doesn’t seem to work,Above is the mipi signal graph grabbed with this configuration

This device tree property is for host(NVCSI/VI) you need to check with sensor vendor for the output device.

Thanks

I’m getting this error when I use “v4l2-ctl --set-fmt-video=width=1920,height=1080 --stream-mmap -d /dev/video0” after changing the “tegra_sinterface” option, can you please help me to solve it? Thank you very much!

Please get the trace log.

this is trace log and source code:
nv_imx415.txt (16.9 KB)
tegra234-p3768-pcai-camera-imx415.txt (6.7 KB)
tegra234-p3768-pcai-camera-imx415-overlay.txt (2.0 KB)
trace2.zip (693.3 KB)

The resolution of sensor is 1080p, frame rate is 30fps, pixel format is YUV422, MIPI LANE is 2, sensor outputs stream directly after power on by default
Is there an error in the device tree configuration and driver file that prevents this request from being fulfilled, thus reporting this error?