Camera of 960x480i do not work

Dear community,

Interlaced scanning webcam is 960x480i,there is mipi, but no image, config Interlaced scanning on Xavier NX.
Progressive scanning webcam do work.(such as:1280x960p do work) .

please help me,Thanks.

Does it CSI camera or USB cam? So confuse.
If CSI camera please check the trace log.

https://elinux.org/Jetson/l4t/Camera_BringUp

Camera chip:nvp6188. 1280x720p/1280x960p/1920x1080p/2560x1440p/3840x2160p do work,and there is Progressive scanning.but 960x480i is Interlaced scanning.

kernel log:
dmesg.txt (152.7 KB)

The camera chip NVP6188.
960x480i is interlaced scan,and do not work;1280x720p/1280x960p/1920x1080p/2560x1440p/3840x2160p is progressive scan,and do work.
NVP6188 technical support answer not only NVP6188 needs to be set to interlaced scanning, but also Xavier NX platform needs to be set to interlaced scanning, so Xavier NX camera supports interlaced scanning. If it supports, please tell me how to modify it, thanks.

Please get the trace log.

sudo su
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

v4l2-ctl … to capture
Then get the log by below command.

cat /sys/kernel/debug/tracing/trace

log:
camera.txt (1.2 MB)

Could you configure the active_h to half size like 240 to try. Also please check if still see tag:CHANSEL_SHORT_FRAME in the trace log after modify to half size.

                    mode0 { /* IMX219_MODE_3264x2464_21FPS */
                            mclk_khz = "24000";
                             num_lanes = "4";
                             tegra_sinterface = "serial_a";
                             phy_mode = "DPHY";
                             discontinuous_clk = "yes";
                             dpcm_enable = "false";
                             cil_settletime = "0";

                             active_w = "960";   **->480?**
                             active_h = "480";   ->240 ?
                             pixel_t = "yuv_uyvy16";
                             ...
                }

active_h modify 240, do active_h modify 480?

The camera chip NVP6188.
960x480i is interlaced scan,and do not work;1280x720p/1280x960p/1920x1080p/2560x1440p/3840x2160p is progressive scan,and do work.
NVP6188 technical support answer not only NVP6188 needs to be set to interlaced scanning, but also Xavier NX platform needs to be set to interlaced scanning, so Xavier NX camera supports interlaced scanning. If it supports, please tell me how to modify it, thanks.

Will confirm it.
Modify the active_h only.

Modify the active_h only, but no image . log:
cameralog.txt (1.3 MB)

            mode0 { /* IMX219_MODE_3264x2464_21FPS */
                             mclk_khz = "24000";
                             num_lanes = "4";
                             tegra_sinterface = "serial_a";
                             phy_mode = "DPHY";
                             discontinuous_clk = "yes";
                             dpcm_enable = "false";
                             cil_settletime = "0";

                             active_w = "960";
                             active_h = "240";
                             pixel_t = "yuv_uyvy16";
                             readout_orientation = "90";
                             line_length = "240";
                             inherent_gain = "1";
                             mclk_multiplier = "60.75";
                             pix_clk_hz = "1458000000";

                             min_gain_val = "1.0";
                             max_gain_val = "16";
                             min_hdr_ratio = "1";
                             max_hdr_ratio = "64";
                             min_framerate = "2.787078";
                             max_framerate = "60";
                             min_exp_time = "40";
                             max_exp_time = "20291";
                     };

Hi, Just confirm current NX not support interlaced output.

support interlaced input?
nvp6188 → interlaced signal-> Xavier NX

Thanks

Sorry to confuse, current driver didn’t support interlaced input.

Thanks

Will this feature be supported in the future?

Thanks

  1. Jetson other platform support interlaced input ? NANO , TX2 …
  2. Our company needs to use interlaced camer,Can it be done,Thanks.

TX2 support it and Nano still on developing.

TX2-NX susport interlaced?

TX2-NX is the same as TX2