Image analysis has a misalignment issue

There is an issue with the output of the collected images on the Jetson Orin NX. Is this issue related to image decoding?

sensor config:

dtsi:

num_lanes                = 4;
tegra_sinterface         = "serial_c";
embedded_metadata_height = "4;
readout_orientation      = "0";
lane_polarity            = "0";

active_l                 = "0";
active_t                 = "0";
active_w                 = "2448"; 
active_h                 = "2048"; 
mode_type                = "bayer";
pixel_phase              = "rggb";
csi_pixel_bit_depth      = "8";

min_gain_val             = "0";         // mdB
max_gain_val             = "48000";     // mdB
step_gain_val            = "100";       // mdB
default_gain             = "0";         // mdB

min_exp_time             = "1";         // us
max_exp_time             = "1000000";   // us
step_exp_time            = "1";         // us
default_exp_time         = "10000";     // us

min_framerate            = "100";     
max_framerate            = "49800";   
step_framerate           = "100";   
default_framerate        = "49800"; 
// ----------------------------------------------------

gain_factor              = "100";
exposure_factor          = "1000000";
framerate_factor         = "1000";
inherent_gain            = "1";
min_hdr_ratio            = "1";
max_hdr_ratio            = "1";

line_length              = "2448";
phy_mode                 = "DPHY";
discontinuous_clk        = "no";
mclk_khz                 = "54000";

pix_clk_hz               = "297000000"; // 891 Mbps* 4 / 8 = 297000000
mclk_multiplier          = "0.0";   
cil_settletime           = "0";
dpcm_enable              = "false";

Hello @shenchengzha,

That seems like a timing or register configuration issue.

Just a couple of questions.

  1. What sensor are you using?
  2. Where did you get the driver? Are you developing it yourself?
  3. On the embedded_metadata_height line there is a syntax error with the "4; I assume that was introduced when copying and pasting the required information for this pots. Please confirm.
  4. Do you have access to the sensor documentation ?

regards,
Andrew

1 Like

The image capture by vl42-ctl?
Try set the preferred_stride=5120 by below command.

v4l2-ctl -c preferred_stride=5120

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