Pls help to check the err:CHANSEL_NOMATCH when bring-up a gmsl camera

Hello Nvidia team:
Jetpack Version:5.1.1
I want to bring up a gmsl(max96712 + 4x max96705) cam on JESON AGX ORIN, after gmsl init i use below command to preview video:
gst-launch-1.0 v4l2src device=/dev/video1 ! xvimagesink -ev

But i just can view first frame on screen, not continuous video output on screen.

Below is err info of dmesg&trace, Can you help me analyze the reason?

By the way , our camera is YUV format, our config:

    mclk_khz = "24000";
    num_lanes = "4";
    tegra_sinterface = "serial_a";

    vc_id = "3";
    discontinuous_clk = "no";
    dpcm_enable = "false";
    cil_settletime = "0";
    dynamic_pixel_bit_depth = "16";
    csi_pixel_bit_depth = "16";
    mode_type = "yuv";
    pixel_phase = "uyvy";

    active_w = "1280";
    active_h = "720";
    readout_orientation = "0";
    line_length = "1280";
    inherent_gain = "1";
    pix_clk_hz = "300000000";
    serdes_pix_clk_hz = "300000000";

dmesg err info:

[ 9022.200745] tegra-camrtc-capture-vi tegra-capture-vi: corr_err: discarding frame 0, flags: 0, err_data 131072
[ 9022.234078] tegra-camrtc-capture-vi tegra-capture-vi: corr_err: discarding frame 0, flags: 0, err_data 131072
[ 9022.267412] tegra-camrtc-capture-vi tegra-capture-vi: corr_err: discarding frame 0, flags: 0, err_data 131072
[ 9022.300756] tegra-camrtc-capture-vi tegra-capture-vi: corr_err: discarding frame 0, flags: 0, err_data 131072

trace err log:
jetson_agx_orin_2023-08-14_16-29-03.log (526.9 KB)

hello chenxinhai,

it’s discarding frame to drop the capture buffers, that’s why you don’t see live preview frames.
according to the tracing logs, there shows CHANSEL_SHORT_FRAME. which usually caused by the coming vertical signaling is less then your active_h configuration.
is there embedded metadata lines? please examine your sensor configurations, thanks

Tks, it is OK!

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