Jetson Orin imx390 camera green screen

Hi Experts,
I develop the max9295 + max9296 +imx390 camera driver with jetson agx orin.

The command as show:

gst-launch-1.0 v4l2src device=/dev/video6 ! videoconvert ! xvimagesink sync=false
 12  vi-output, imx3-2618    [005] ....   291.170467: tegra_channel_capture_setup: vnc_id 0 W 1920 H 1080 fmt 10
 13      kworker/2:3-227     [002] ....   291.182049: rtcpu_vinotify_event: tstamp:9923230201 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:317542998848 data:0x399d580010000000
 14      kworker/2:3-227     [002] ....   291.182052: rtcpu_vinotify_event: tstamp:9923230337 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:317543041536 data:0x0000000031000001
 15      kworker/2:3-227     [002] ....   291.182052: rtcpu_vinotify_event: tstamp:9923230493 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:317543059200 data:0x399d550010000000
 16      kworker/2:3-227     [002] ....   291.182052: rtcpu_vinotify_event: tstamp:9923230625 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:317543119552 data:0x0000000031000002
 17  vi-output, imx3-2618    [002] ....   293.984125: tegra_channel_capture_setup: vnc_id 0 W 1920 H 1080 fmt 10
 18      kworker/2:3-227     [002] ....   294.046001: rtcpu_vinotify_event: tstamp:10011664913 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:320356691520 data:0x399d580010000000
 19      kworker/2:3-227     [002] ....   294.046003: rtcpu_vinotify_event: tstamp:10011665093 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:320356734208 data:0x0000000031000001
 20      kworker/2:3-227     [002] ....   294.046003: rtcpu_vinotify_event: tstamp:10011665250 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:320356751840 data:0x399d550010000000
 21      kworker/2:3-227     [002] ....   294.046004: rtcpu_vinotify_event: tstamp:10011665385 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:320356812224 data:0x0000000031000002
 22  vi-output, imx3-2618    [002] ....   296.798420: tegra_channel_capture_setup: vnc_id 0 W 1920 H 1080 fmt 10
 23      kworker/2:3-227     [002] ....   296.869947: rtcpu_vinotify_event: tstamp:10099556006 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:323170956960 data:0x399d580010000000
 24      kworker/2:3-227     [002] ....   296.869950: rtcpu_vinotify_event: tstamp:10099556148 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:323170999648 data:0x0000000031000001
 25      kworker/2:3-227     [002] ....   296.869950: rtcpu_vinotify_event: tstamp:10099556304 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:323171017312 data:0x399d550010000000
 26      kworker/2:3-227     [002] ....   296.869951: rtcpu_vinotify_event: tstamp:10099556439 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:323171077664 data:0x0000000031000002
 27  vi-output, imx3-2618    [002] ....   299.614424: tegra_channel_capture_setup: vnc_id 0 W 1920 H 1080 fmt 10
 28      kworker/2:3-227     [002] ....   299.637898: rtcpu_vinotify_event: tstamp:10187100372 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:325987005056 data:0x399d580010000000
 29      kworker/2:3-227     [002] ....   299.637900: rtcpu_vinotify_event: tstamp:10187100512 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:325987047712 data:0x0000000031000001
 30      kworker/2:3-227     [002] ....   299.637900: rtcpu_vinotify_event: tstamp:10187100670 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:325987065280 data:0x399d550010000000
 31      kworker/2:3-227     [002] ....   299.637900: rtcpu_vinotify_event: tstamp:10187100805 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:325987125632 data:0x0000000031000002
 32  vi-output, imx3-2618    [002] ....   302.430497: tegra_channel_capture_setup: vnc_id 0 W 1920 H 1080 fmt 10
 33      kworker/2:3-227     [002] ....   302.453862: rtcpu_vinotify_event: tstamp:10275121635 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:328803061696 data:0x399d580010000000
 34      kworker/2:3-227     [002] ....   302.453863: rtcpu_vinotify_event: tstamp:10275121775 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:328803104384 data:0x0000000031000001
 35      kworker/2:3-227     [002] ....   302.453863: rtcpu_vinotify_event: tstamp:10275121933 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:328803121984 data:0x399d550010000000
 36      kworker/2:3-227     [002] ....   302.453864: rtcpu_vinotify_event: tstamp:10275122068 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:328803182368 data:0x0000000031000002

Note: imx390@28 bind to /dev/video6

DTSI:
tegra234-camera-imx390-a00.dtsi.txt (46.3 KB)
tegra234-p3737-0000-camera-imx390-a00.dtsi.txt (6.3 KB)
tegra234-p3737-camera-modules.dtsi.txt (9.9 KB)

Trace:
trace.txt (4.5 KB)

kernel:
kernel.txt (7.3 KB)

I refer to the forum URL as show:

I change as show:
1375 ++deskew_initial_enable = “true”;
1376 serdes_pix_clk_hz = “200000000”;

imax390@28 mode as show:

1331         mode0 {/*mode IMX390_MODE_1920X1080_CROP_30FPS*/
1332           mclk_khz = "24000";
1333           num_lanes = "2";
1334           tegra_sinterface = "serial_a";
1335           vc_id = "1";
1336           discontinuous_clk = "no";
1337           dpcm_enable = "false";
1338           cil_settletime = "0";
1339           dynamic_pixel_bit_depth = "16";
1340           csi_pixel_bit_depth = "16";
1341           mode_type = "yuv";
1342           pixel_phase = "yuyv";
1343 
1344           active_w = "1920";
1345           active_h = "1080";
1346           readout_orientation = "0";
1347           line_length = "2200";
1348           inherent_gain = "1";
1349 
1350           pix_clk_hz = "74250000";
1351           deskew_initial_enable = "true";
1352           serdes_pix_clk_hz = "200000000";
1353 
1354           gain_factor = "10";                                                                                                                                                                          
1355           min_gain_val = "0"; /* dB */
1356           max_gain_val = "300"; /* dB */
1357           step_gain_val = "3"; /* 0.3 */
1358           default_gain = "0";
1359           min_hdr_ratio = "1";
1360           max_hdr_ratio = "1";
1361           framerate_factor = "1000000";
1362           min_framerate = "30000000";
1363           max_framerate = "30000000";
1364           step_framerate = "1";
1365           default_framerate = "30000000";
1366           exposure_factor = "1000000";
1367           min_exp_time = "59"; /*us, 2 lines*/
1368           max_exp_time = "33333";
1369           step_exp_time = "1";
1370           default_exp_time = "33333";/* us */
1371           embedded_metadata_height = "0";
1372         };

Now the camera imx390 exist the green screen after the test. pls help me,thanks!

Check the trace log.

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

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