V4l2-ctl cannot receive the sensor frame

I am facing a problem when I try to get the frame from the camera sensor. I want to get the frame in two or three ways. First, using a V4L2 based program. The bottom part of the image has a problem and I have also included the log file.

trace-v4l2.txt (164.9 KB)

In the second method, I got the image using ISP, the bottom part of the image has a skull and I have also included the log file.

trace-isp.txt (1.3 MB)

I am using camera sensor driver IMX462. and in all pixel mode (1080p 60 fps):

num_lanes = "2";
tegra_sinterface = "serial_a";
lane_polarity = "6";
active_w = "1920";
active_h = "1088";
csi_pixel_bit_depth = "10";
line_length = "2640";
mclk_multiplier = "2.4";
pix_clk_hz = "178200000";

What is the problem that I am not getting the correct image?

hello talagimi63,

it looks something wrong with the output stream, there’s no CHANSEL_PXL_EOF per your tracing logs.
ideally, here must be one pair of CHANSEL_PXL_SOF/CHANSEL_PXL_EOF to indicate a frame has detected by VI engine.

besides.. may I know what’s the sensor output format types?
there’s nomatch failure reported, it looks NvCsiDataType NVCSI datatypes mismatch.
CHANSEL_NOMATCH channel:0x01 frame:170 vi_tstamp:1703834152224 data:0x00000000000006e9

sensor output format type is RAW10

I set the “active_w=1948” and the image result was good but I don’t understand why I should choose the number 1948 when I expected the number to be 1920.

hello talagimi63,

you may dig into sensor spec for checking the active dimension, and also examine the sensor reg init table for confirmation.

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