MIPI CSI-2 camera working under v4l2 but not libargus

I have a 4-lane sony sensor connected to the jetson nano, which I’ve confirmed is delivering valid frames through v4l2-ctl in bypass mode. However when I try to capture an image through libargus I run into errors with timeouts. Is there anything invalid in my device tree configuration? I’ve confirmed that this sensor + sensor driver + device tree are working with libargus on the TX2.

sensor device tree node for mode I wish to enable:

mode0 {
        default_framerate = "50000000";
        step_exp_time = [31 00];
        line_length = "4500";
        active_w = "2748";
        embedded_metadata_height = [31 00];
        pixel_phase = "rggb";
        pix_clk_hz = "891000000";
        dynamic_pixel_bit_depth = "12";
        mode_type = "bayer";
        num_lanes = [34 00];
        inherent_gain = [31 00];
        max_gain_val = "270";
        min_hdr_ratio = [31 00];
        discontinuous_clk = "no";
        readout_orientation = [30 00];
        min_gain_val = [30 00];
        max_hdr_ratio = [31 00];
        tegra_sinterface = "serial_a";
        step_gain_val = "10";
        default_gain = [30 00];
        csi_pixel_bit_depth = "12";
        min_framerate = "1000000";
        default_exp_time = "10000";
        max_framerate = "50000000";
        exposure_factor = "1000000";
        step_framerate = [31 00];
        phy_mode = "DPHY";
        mclk_khz = "24000";
        cil_settletime = [30 00];
        gain_factor = "10";
        framerate_factor = "1000000";
        active_h = "1842";
        max_exp_time = "65535";
        mclk_multiplier = "60";
        min_exp_time = [31 00];
};

dmesg log after running argus_oneshot

[   64.939484] imxsensor 0-001a: imxsensor_power_on
[   64.944344] imxsensor 0-001a: imxsensor_set_mode
[   64.948517] imxsensor 0-001a: imxsensor_set_mode: mode 0
[   64.967198] imxsensor 0-001a: imxsensor_start_streaming
[   65.016686] imxsensor 0-001a: imxsensor_stop_streaming
[   65.032248] imxsensor 0-001a: stop streaming 0
[   65.036535] imxsensor 0-001a: imxsensor_power_off
[   65.072980] imxsensor 0-001a: imxsensor_power_on
[   65.094411] tegra_channel_kthread_capture_start
[   65.098933] imxsensor 0-001a: imxsensor_set_mode
[   65.105380] imxsensor 0-001a: imxsensor_set_mode: mode 0
[   65.125835] imxsensor 0-001a: imxsensor_start_streaming
[   65.263669] imxsensor 0-001a: imxsensor_stop_streaming
[   65.284036] imxsensor 0-001a: stop streaming 0
[   65.331146] imxsensor 0-001a: imxsensor_power_off
[  227.333583] imxsensor 0-001a: imxsensor_power_on
[  227.337851] imxsensor 0-001a: imxsensor_set_mode
[  227.341982] imxsensor 0-001a: imxsensor_set_mode: mode 0
[  227.358900] imxsensor 0-001a: imxsensor_start_streaming
[  227.407685] imxsensor 0-001a: imxsensor_stop_streaming
[  227.423815] imxsensor 0-001a: stop streaming 0
[  227.428206] imxsensor 0-001a: imxsensor_power_off
[  227.464419] imxsensor 0-001a: imxsensor_power_on
[  227.469876] imxsensor 0-001a: imxsensor_power_off
[  227.509195] imxsensor 0-001a: imxsensor_power_on
[  227.513808] imxsensor 0-001a: imxsensor_power_off
[  227.589002] imxsensor 0-001a: imxsensor_power_on
[  227.593186] imxsensor 0-001a: imxsensor_power_off
[  227.628735] imxsensor 0-001a: imxsensor_power_on
[  227.633005] imxsensor 0-001a: imxsensor_power_off
[  227.668709] imxsensor 0-001a: imxsensor_power_on
[  227.673477] imxsensor 0-001a: imxsensor_power_off
[  228.015907] imxsensor 0-001a: imxsensor_power_on
[  228.020409] imxsensor 0-001a: imxsensor_set_group_hold
[  228.026384] imxsensor 0-001a: imxsensor_set_frame_rate: val 50000000
[  228.033829] imxsensor 0-001a: imxsensor_set_group_hold
[  228.038997] imxsensor 0-001a: imxsensor_set_group_hold
[  228.043812] imxsensor 0-001a: imxsensor_set_frame_rate: val 30000000
[  228.051318] imxsensor 0-001a: imxsensor_set_exposure
[  228.055780] imxsensor 0-001a: imxsensor_set_exposure: microseconds: 33330
[  228.064044] imxsensor 0-001a: imxsensor_set_group_hold
[  228.068960] imxsensor 0-001a: imxsensor_set_mode
[  228.073103] imxsensor 0-001a: imxsensor_set_mode: mode 0
[  228.090044] imxsensor 0-001a: imxsensor_set_gain
[  228.094285] imxsensor 0-001a: set gain 0, 0
[  228.099039] imxsensor 0-001a: imxsensor_set_exposure
[  228.103685] imxsensor 0-001a: imxsensor_set_exposure: microseconds: 33330
[  228.111989] imxsensor 0-001a: imxsensor_set_frame_rate: val 30000000
[  228.119516] imxsensor 0-001a: imxsensor_start_streaming
[  228.169446] imxsensor 0-001a: imxsensor_set_group_hold
[  228.175981] imxsensor 0-001a: imxsensor_set_frame_rate: val 50000000
[  228.183390] imxsensor 0-001a: imxsensor_set_gain
[  228.187716] imxsensor 0-001a: set gain 10, 223
[  228.192603] imxsensor 0-001a: imxsensor_set_group_hold
[  228.219824] imxsensor 0-001a: imxsensor_set_group_hold
[  228.224716] imxsensor 0-001a: imxsensor_set_frame_rate: val 30000000
[  228.232086] imxsensor 0-001a: imxsensor_set_gain
[  228.236234] imxsensor 0-001a: set gain 0, 0
[  228.240798] imxsensor 0-001a: imxsensor_set_group_hold
[  228.246033] imxsensor 0-001a: imxsensor_set_group_hold
[  228.250997] imxsensor 0-001a: imxsensor_set_gain
[  228.255149] imxsensor 0-001a: set gain 10, 223
[  228.259940] imxsensor 0-001a: imxsensor_set_group_hold
[  229.671271] fence timeout on [ffffffc016d20300] after 1500ms
[  229.671313] fence timeout on [ffffffc016d20480] after 1500ms
[  229.671365] name=[nvhost_sync:28], current value=0 waiting value=1
[  229.671419] ---- mlocks ----

[  229.671499] ---- syncpts ----
[  229.671567] id 1 (disp0_a) min 2490 max 2490 refs 1 (previous client : )
[  229.671612] id 2 (disp0_b) min 3 max 3 refs 1 (previous client : )
[  229.671654] id 3 (disp0_c) min 3 max 3 refs 1 (previous client : )
[  229.671694] id 4 (disp0_d) min 3 max 3 refs 1 (previous client : )
[  229.671752] id 8 (gm20b_494) min 14 max 14 refs 1 (previous client : 54340000.vic_nvargus-daemon_0)
[  229.671797] id 9 (gm20b_507) min 486 max 486 refs 1 (previous client : )
[  229.671843] id 11 (gm20b_506) min 28 max 28 refs 1 (previous client : )
[  229.671889] id 12 (gm20b_505) min 476 max 476 refs 1 (previous client : gm20b_505)
[  229.671929] id 13 (gm20b_504) min 6 max 6 refs 1 (previous client : )
[  229.671974] id 14 (gm20b_503) min 80124 max 80124 refs 1 (previous client : )
[  229.672017] id 15 (gm20b_502) min 80 max 80 refs 1 (previous client : )
[  229.672065] id 16 (gm20b_501) min 12500 max 12500 refs 1 (previous client : gm20b_501)
[  229.672107] id 17 (gm20b_500) min 8 max 8 refs 1 (previous client : )
[  229.672151] id 18 (gm20b_499) min 2218 max 2218 refs 1 (previous client : gm20b_499)
[  229.672193] id 19 (gm20b_498) min 26 max 26 refs 1 (previous client : )
[  229.672239] id 20 (gm20b_497) min 976 max 976 refs 1 (previous client : gm20b_497)
[  229.672284] id 21 (gm20b_493) min 5906 max 5906 refs 1 (previous client : gm20b_496)
[  229.672326] id 22 (gm20b_495) min 3882 max 3882 refs 1 (previous client : )
[  229.672353] name=[nvhost_sync:29], current value=0 waiting value=1
[  229.672386] ---- mlocks ----
[  229.672398] id 23 (54340000.vic_nvargus-daemon_0) min 61 max 61 refs 1 (previous client : gm20b_492)
[  229.672435] id 24 (gm20b_496) min 54 max 54 refs 1 (previous client : gm20b_493)

[  229.672466] ---- syncpts ----
[  229.672492] id 26 (vblank0) min 12383 max -6 refs 1 (previous client : )
[  229.672537] id 28 (54600000.isp_0) min 0 max 3 refs 4 (previous client : )
[  229.672578] id 29 (54600000.isp_1) min 0 max 3 refs 4 (previous client : )
[  229.672621] id 30 (54600000.isp_2) min 7 max 15 refs 10 (previous client : )
[  229.672662] id 31 (54600000.isp_3) min 0 max 3 refs 4 (previous client : )
[  229.672724] id 36 (gm20b_492) min 686 max 686 refs 1 (previous client : )
[  229.672767] id 37 (gm20b_491) min 4 max 4 refs 1 (previous client : )
[  229.672808] id 38 (gm20b_490) min 2 max 2 refs 1 (previous client : )
[  229.672847] id 39 (gm20b_489) min 2 max 2 refs 1 (previous client : )
[  229.672889] id 40 (gm20b_488) min 4 max 4 refs 1 (previous client : )
[  229.672933] id 41 (54080000.vi_0) min 0 max 3 refs 4 (previous client : 54080000.vi_0)
[  229.672980] id 43 (54080000.vi_2) min 2 max 7 refs 7 (previous client : 54080000.vi_2)
[  229.673028] id 46 (54080000.vi_4) min 0 max 3 refs 4 (previous client : 54080000.vi_4)
[  229.673079] id 49 (gm20b_487) min 6 max 6 refs 1 (previous client : )
[  229.673120] id 50 (gm20b_486) min 6 max 6 refs 1 (previous client : )
[  229.673161] id 51 (gm20b_485) min 8 max 8 refs 1 (previous client : )
[  229.673202] id 52 (gm20b_484) min 6 max 6 refs 1 (previous client : )
[  229.673242] id 53 (gm20b_483) min 6 max 6 refs 1 (previous client : )
[  229.673282] id 54 (gm20b_482) min 6 max 6 refs 1 (previous client : )

[  229.673749] ---- channels ----
[  229.673758] id 1 (disp0_a) min 2490 max 2490 refs 1 (previous client : )
[  229.673792] id 2 (disp0_b) min 3 max 3 refs 1 (previous client : )
[  229.673834] 
               channel 0 - 54600000.isp

[  229.673842] id 3 (disp0_c) min 3 max 3 refs 1 (previous client : )
[  229.673874] id 4 (disp0_d) min 3 max 3 refs 1 (previous client : )
[  229.673894] 0-54600000.isp (18): 
[  229.673942] active class 01, offset 0050, val 0000001c
[  229.673953] id 8 (gm20b_494) min 14 max 14 refs 1 (previous client : 54340000.vic_nvargus-daemon_0)
[  229.673989] id 9 (gm20b_507) min 486 max 486 refs 1 (previous client : )
[  229.673999] DMAPUT 00000198, DMAGET 00000110, DMACTL 00000000
[  229.674023] CBREAD 0000001c, CBSTAT 00010050
[  229.674043] id 11 (gm20b_506) min 28 max 28 refs 1 (previous client : )
[  229.674092] id 12 (gm20b_505) min 476 max 476 refs 1 (previous client : gm20b_505)
[  229.674109] 
               ffffffc02c83f400: JOB, syncpt_id=28, syncpt_val=1, first_get=00000090, timeout=10000, num_slots=3, num_handles=1
[  229.674148] id 13 (gm20b_504) min 6 max 6 refs 1 (previous client : )
[  229.674192] id 14 (gm20b_503) min 80124 max 80124 refs 1 (previous client : )
[  229.674200]     GATHER at ffe58000+4490, 8 words
[  229.674222] 20000001 
[  229.674244] id 15 (gm20b_502) min 80 max 80 refs 1 (previous client : )
[  229.674264] 0000041c 
[  229.674293] 20000001 
[  229.674304] id 16 (gm20b_501) min 12500 max 12500 refs 1 (previous client : gm20b_501)
[  229.674338] 0000051d 
[  229.674341] id 17 (gm20b_500) min 8 max 8 refs 1 (previous client : )
[  229.674378] 20000001 
[  229.674381] id 18 (gm20b_499) min 2218 max 2218 refs 1 (previous client : gm20b_499)
[  229.674413] 0000061f 
[  229.674415] id 19 (gm20b_498) min 26 max 26 refs 1 (previous client : )
[  229.674436] 200c0001 
[  229.674455] id 20 (gm20b_497) min 976 max 976 refs 1 (previous client : gm20b_497)
[  229.674476] 00000005 
[  229.674490] id 21 (gm20b_493) min 5906 max 5906 refs 1 (previous client : gm20b_496)

[  229.674524] id 22 (gm20b_495) min 3882 max 3882 refs 1 (previous client : )
[  229.674938] id 23 (54340000.vic_nvargus-daemon_0) min 61 max 61 refs 1 (previous client : gm20b_492)
[  229.674973] id 24 (gm20b_496) min 54 max 54 refs 1 (previous client : gm20b_493)
[  229.675026] id 26 (vblank0) min 12383 max -6 refs 1 (previous client : )
[  229.675072] id 28 (54600000.isp_0) min 0 max 3 refs 4 (previous client : )
[  229.675112]     GATHER at ffe58000+44b0, 2 words
[  229.675122] id 29 (54600000.isp_1) min 0 max 3 refs 4 (previous client : )
[  229.675158] 20000001 
[  229.675160] id 30 (54600000.isp_2) min 7 max 15 refs 10 (previous client : )
[  229.675177] 0000001e 
[  229.675178] id 31 (54600000.isp_3) min 0 max 3 refs 4 (previous client : )

[  229.675212] id 36 (gm20b_492) min 686 max 686 refs 1 (previous client : )

[  229.675233] id 37 (gm20b_491) min 4 max 4 refs 1 (previous client : )
[  229.675236] 
               channel 1 - 54680000.isp

[  229.675258] 1-54680000.isp (1): 
[  229.675259] id 38 (gm20b_490) min 2 max 2 refs 1 (previous client : )
[  229.675271] id 39 (gm20b_489) min 2 max 2 refs 1 (previous client : )
[  229.675289] inactive

[  229.675299] id 40 (gm20b_488) min 4 max 4 refs 1 (previous client : )
[  229.675312] id 41 (54080000.vi_0) min 0 max 3 refs 4 (previous client : 54080000.vi_0)
[  229.675321] 
               channel 2 - 54080000.vi

[  229.675341] 2-54080000.vi (13): 
[  229.675342] id 43 (54080000.vi_2) min 2 max 7 refs 7 (previous client : 54080000.vi_2)
[  229.675359] id 46 (54080000.vi_4) min 0 max 3 refs 4 (previous client : 54080000.vi_4)
[  229.675368] active class 01, offset 0050, val 00000029
[  229.675379] DMAPUT 00000100, DMAGET 00000100, DMACTL 00000000
[  229.675389] id 49 (gm20b_487) min 6 max 6 refs 1 (previous client : )
[  229.675399] CBREAD 00000029, CBSTAT 00010050
[  229.675417] id 50 (gm20b_486) min 6 max 6 refs 1 (previous client : )
[  229.675421] 
               ffffffc02b7cd800: JOB, syncpt_id=41, syncpt_val=1, first_get=00000018, timeout=10000, num_slots=7, num_handles=1
[  229.675446] id 51 (gm20b_485) min 8 max 8 refs 1 (previous client : )
[  229.675449]     GATHER at ffdd8000+0000, 39 words
[  229.675468] 10620001 
[  229.675468] 0000001f 
[  229.675492] id 52 (gm20b_484) min 6 max 6 refs 1 (previous client : )
[  229.675504] id 53 (gm20b_483) min 6 max 6 refs 1 (previous client : )
[  229.675513] 10630002 
[  229.675522] 00000000 
[  229.675535] id 54 (gm20b_482) min 6 max 6 refs 1 (previous client : )
[  229.675554] 00000000 
[  229.675572] 103a0001 
[  229.675600] 10100010 
[  229.675620] 103c0001 
[  229.675640] 10101010 
[  229.675662] 10420001 
[  229.675682] 00000001 
[  229.675704] 10430006 
[  229.675725] 00000000 
[  229.675747] 001c984c 

[  229.675762] ---- channels ----
[  229.675776] unable to lock channel list
[  229.675799] 00000000 
[  229.675814] 00000000 
[  229.675819] unable to lock channel list
[  229.675831] unable to lock channel list
[  229.675846] unable to lock channel list
[  229.675857] 00000000 
[  229.675873] 00000000 
[  229.675885] unable to lock channel list
[  229.675899] unable to lock channel list
[  229.675926] 10590001 
[  229.675939] 00000003 
[  229.675940] unable to lock channel list
[  229.675963] unable to lock channel list
[  229.675990] 120e0006 
[  229.676003] 007f0017 
[  229.676004] unable to lock channel list
[  229.676018] 
               ---- host general irq ----

[  229.676045] 080301f0 
[  229.676046] 00000000 
[  229.676060] sync_hintmask_ext = 0xc0000000
[  229.676075] sync_hintmask = 0x80000000
[  229.676087] 00140000 
[  229.676102] 0000f005 
[  229.676116] sync_intc0mask = 0x00000001
[  229.676131] sync_intmask = 0x00000011
[  229.676142] 00000000 
[  229.676157] 12420001 
[  229.676172] 
               ---- host syncpt irq mask ----

[  229.676188] syncpt_thresh_int_mask(0) = 0x00000001
[  229.676200] 00000101 
[  229.676215] 124b0003 
[  229.676232] syncpt_thresh_int_mask(1) = 0x55000000
[  229.676247] syncpt_thresh_int_mask(2) = 0x10440000
[  229.676261] 00010000 
[  229.676276] 00000000 
[  229.676291] syncpt_thresh_int_mask(3) = 0x00000000
[  229.676307] syncpt_thresh_int_mask(4) = 0x00000000
[  229.676320] 00000040 
[  229.676335] 12580003 
[  229.676349] syncpt_thresh_int_mask(5) = 0x00000000
[  229.676364] syncpt_thresh_int_mask(6) = 0x00000000
[  229.676376] 00010000 
[  229.676391] 00000000 
[  229.676406] syncpt_thresh_int_mask(7) = 0x00000000
[  229.676422] syncpt_thresh_int_mask(8) = 0x00000000
[  229.676435] 00000040 
[  229.676449] 128b0001 
[  229.676475] syncpt_thresh_int_mask(9) = 0x00000000
[  229.676491] syncpt_thresh_int_mask(10) = 0x00000000
[  229.676524] 00000000 

[  229.676560] syncpt_thresh_int_mask(11) = 0x00000000
[  229.676576] 
               ---- host syncpt irq status ----

[  229.676591]     GATHER at ffdd8000+009c, 3 words
[  229.676618] 304e0005 
[  229.676633] syncpt_thresh_cpu0_int_status(0) = 0x00000000
[  229.676648] syncpt_thresh_cpu0_int_status(1) = 0x00000000
[  229.676661] 00000007 
[  229.676675] 0000001e 
[  229.676690] syncpt_thresh_cpu0_int_status(2) = 0x00000000
[  229.676704] syncpt_thresh_cpu0_int_status(3) = 0x00000000

[  229.676725]     GATHER at ffdd8000+00a8, 21 words
[  229.676760] syncpt_thresh_cpu0_int_status(4) = 0x00000000
[  229.676764] 10430006 
[  229.676774] 00200002 
[  229.676779] syncpt_thresh_cpu0_int_status(5) = 0x00000000
[  229.676789] 
               ---- host syncpt thresh ----

[  229.676792] 001c984c 
[  229.676802] 00000000 
[  229.676810] syncpt_int_thresh_thresh_0(0) = 1
[  229.676822] 07320abc 
[  229.676837] 0000101a 
[  229.676855] 0000002c 
[  229.676857] syncpt_int_thresh_thresh_0(28) = 1
[  229.676870] syncpt_int_thresh_thresh_0(29) = 1
[  229.676873] 124b0003 
[  229.676882] 00010000 
[  229.676888] syncpt_int_thresh_thresh_0(30) = 8
[  229.676900] syncpt_int_thresh_thresh_0(31) = 1
[  229.676903] 00000000 
[  229.676913] 00000047 
[  229.676930] 12580003 
[  229.676932] syncpt_int_thresh_thresh_0(41) = 1
[  229.676947] 00010000 
[  229.676948] syncpt_int_thresh_thresh_0(43) = 3
[  229.676963] 00000000 
[  229.676964] syncpt_int_thresh_thresh_0(46) = 1
[  229.676976] 00000047 
[  229.676990] 20000001 
[  229.677003] 00001c29 
[  229.677017] 20000001 
[  229.677030] 0000052e 
[  229.677044] 20410001 
[  229.677057] 00000001 

[  229.677087]     GATHER at ffdd8000+00fc, 2 words
[  229.677100] 20000001 
[  229.677114] 0000002b 

[  229.677155] 
               ---- host general irq ----

[  229.677185] sync_hintmask_ext = 0xc0000000
[  229.677201] sync_hintmask = 0x80000000
[  229.677217] sync_intc0mask = 0x00000001
[  229.677232] sync_intmask = 0x00000011
[  229.677246] 
               ---- host syncpt irq mask ----

[  229.677263] syncpt_thresh_int_mask(0) = 0x00000001
[  229.677280] syncpt_thresh_int_mask(1) = 0x55000000
[  229.677295] syncpt_thresh_int_mask(2) = 0x10440000
[  229.677310] syncpt_thresh_int_mask(3) = 0x00000000
[  229.677326] syncpt_thresh_int_mask(4) = 0x00000000
[  229.677342] syncpt_thresh_int_mask(5) = 0x00000000
[  229.677357] syncpt_thresh_int_mask(6) = 0x00000000
[  229.677373] syncpt_thresh_int_mask(7) = 0x00000000
[  229.677388] syncpt_thresh_int_mask(8) = 0x00000000
[  229.677404] syncpt_thresh_int_mask(9) = 0x00000000
[  229.677420] syncpt_thresh_int_mask(10) = 0x00000000
[  229.677436] syncpt_thresh_int_mask(11) = 0x00000000
[  229.677449] 
               ---- host syncpt irq status ----

[  229.677466] syncpt_thresh_cpu0_int_status(0) = 0x00000000
[  229.677482] syncpt_thresh_cpu0_int_status(1) = 0x00000000
[  229.677497] syncpt_thresh_cpu0_int_status(2) = 0x00000000
[  229.677512] syncpt_thresh_cpu0_int_status(3) = 0x00000000
[  229.677529] syncpt_thresh_cpu0_int_status(4) = 0x00000000
[  229.677544] syncpt_thresh_cpu0_int_status(5) = 0x00000000
[  229.677558] 
               ---- host syncpt thresh ----

[  229.677576] syncpt_int_thresh_thresh_0(0) = 1
[  229.677621] syncpt_int_thresh_thresh_0(28) = 1
[  229.677638] syncpt_int_thresh_thresh_0(29) = 1
[  229.677654] syncpt_int_thresh_thresh_0(30) = 8
[  229.677671] syncpt_int_thresh_thresh_0(31) = 1
[  229.677696] syncpt_int_thresh_thresh_0(41) = 1
[  229.677713] syncpt_int_thresh_thresh_0(43) = 3
[  229.677731] syncpt_int_thresh_thresh_0(46) = 1
[  229.734629] fence timeout on [ffffffc0388b09c0] after 1500ms
[  229.734638] name=[nvhost_sync:46], current value=0 waiting value=1
[  229.734644] ---- mlocks ----

[  229.734656] ---- syncpts ----
[  229.734663] id 1 (disp0_a) min 2491 max 2492 refs 1 (previous client : )
[  229.734668] id 2 (disp0_b) min 3 max 3 refs 1 (previous client : )
[  229.734672] id 3 (disp0_c) min 3 max 3 refs 1 (previous client : )
[  229.734676] id 4 (disp0_d) min 3 max 3 refs 1 (previous client : )
[  229.734682] id 8 (gm20b_494) min 14 max 14 refs 1 (previous client : 54340000.vic_nvargus-daemon_0)
[  229.734687] id 9 (gm20b_507) min 486 max 486 refs 1 (previous client : )
[  229.734692] id 11 (gm20b_506) min 28 max 28 refs 1 (previous client : )
[  229.734697] id 12 (gm20b_505) min 476 max 476 refs 1 (previous client : gm20b_505)
[  229.734701] id 13 (gm20b_504) min 6 max 6 refs 1 (previous client : )
[  229.734706] id 14 (gm20b_503) min 80496 max 80496 refs 1 (previous client : )
[  229.734710] id 15 (gm20b_502) min 80 max 80 refs 1 (previous client : )
[  229.734714] id 16 (gm20b_501) min 12508 max 12510 refs 1 (previous client : gm20b_501)
[  229.734718] id 17 (gm20b_500) min 8 max 8 refs 1 (previous client : )
[  229.734722] id 18 (gm20b_499) min 2218 max 2218 refs 1 (previous client : gm20b_499)
[  229.734726] id 19 (gm20b_498) min 26 max 26 refs 1 (previous client : )
[  229.734731] id 20 (gm20b_497) min 976 max 976 refs 1 (previous client : gm20b_497)
[  229.734735] id 21 (gm20b_493) min 5906 max 5906 refs 1 (previous client : gm20b_496)
[  229.734739] id 22 (gm20b_495) min 3882 max 3882 refs 1 (previous client : )
[  229.734743] id 23 (54340000.vic_nvargus-daemon_0) min 61 max 61 refs 1 (previous client : gm20b_492)
[  229.734748] id 24 (gm20b_496) min 54 max 54 refs 1 (previous client : gm20b_493)
[  229.734752] id 26 (vblank0) min 12386 max -6 refs 1 (previous client : )
[  229.734757] id 28 (54600000.isp_0) min 0 max 3 refs 4 (previous client : )
[  229.734761] id 29 (54600000.isp_1) min 0 max 3 refs 4 (previous client : )
[  229.734765] id 30 (54600000.isp_2) min 7 max 15 refs 10 (previous client : )
[  229.734769] id 31 (54600000.isp_3) min 0 max 3 refs 4 (previous client : )
[  229.734776] id 36 (gm20b_492) min 686 max 686 refs 1 (previous client : )
[  229.734779] id 37 (gm20b_491) min 4 max 4 refs 1 (previous client : )
[  229.734783] id 38 (gm20b_490) min 2 max 2 refs 1 (previous client : )
[  229.734787] id 39 (gm20b_489) min 2 max 2 refs 1 (previous client : )
[  229.734790] id 40 (gm20b_488) min 4 max 4 refs 1 (previous client : )
[  229.734794] id 41 (54080000.vi_0) min 0 max 3 refs 4 (previous client : 54080000.vi_0)
[  229.734799] id 43 (54080000.vi_2) min 2 max 7 refs 7 (previous client : 54080000.vi_2)
[  229.734804] id 46 (54080000.vi_4) min 0 max 3 refs 4 (previous client : 54080000.vi_4)
[  229.734810] id 49 (gm20b_487) min 6 max 6 refs 1 (previous client : )
[  229.734813] id 50 (gm20b_486) min 6 max 6 refs 1 (previous client : )
[  229.734817] id 51 (gm20b_485) min 8 max 8 refs 1 (previous client : )
[  229.734821] id 52 (gm20b_484) min 6 max 6 refs 1 (previous client : )
[  229.734824] id 53 (gm20b_483) min 6 max 6 refs 1 (previous client : )
[  229.734828] id 54 (gm20b_482) min 6 max 6 refs 1 (previous client : )

[  229.734916] ---- channels ----
[  229.734924] 
               channel 0 - 54600000.isp

[  229.734931] 0-54600000.isp (18): 
[  229.734936] active class 01, offset 0050, val 0000001c
[  229.734940] DMAPUT 00000198, DMAGET 00000110, DMACTL 00000000
[  229.734943] CBREAD 0000001c, CBSTAT 00010050
[  229.734950] 
               ffffffc02c83f400: JOB, syncpt_id=28, syncpt_val=1, first_get=00000090, timeout=10000, num_slots=3, num_handles=1
[  229.734956]     GATHER at ffe58000+4490, 8 words
[  229.734959] 20000001 
[  229.734962] 0000041c 
[  229.734964] 20000001 
[  229.734967] 0000051d 
[  229.734969] 20000001 
[  229.734972] 0000061f 
[  229.734975] 200c0001 
[  229.734977] 00000005 

[  229.734985]     GATHER at ffe58000+44b0, 2 words
[  229.734987] 20000001 
[  229.734990] 0000001e 

[  229.734999] 
               channel 1 - 54680000.isp

[  229.735005] 1-54680000.isp (1): 
[  229.735008] inactive

[  229.735012] 
               channel 2 - 54080000.vi

[  229.735019] 2-54080000.vi (13): 
[  229.735023] active class 01, offset 0050, val 00000029
[  229.735026] DMAPUT 00000100, DMAGET 00000100, DMACTL 00000000
[  229.735030] CBREAD 00000029, CBSTAT 00010050
[  229.735036] 
               ffffffc02b7cd800: JOB, syncpt_id=41, syncpt_val=1, first_get=00000018, timeout=10000, num_slots=7, num_handles=1
[  229.735041]     GATHER at ffdd8000+0000, 39 words
[  229.735044] 10620001 
[  229.735047] 0000001f 
[  229.735050] 10630002 
[  229.735052] 00000000 
[  229.735055] 00000000 
[  229.735058] 103a0001 
[  229.735061] 10100010 
[  229.735063] 103c0001 
[  229.735066] 10101010 
[  229.735069] 10420001 
[  229.735072] 00000001 
[  229.735074] 10430006 
[  229.735077] 00000000 
[  229.735080] 001c984c 
[  229.735084] 00000000 
[  229.735088] 00000000 
[  229.735092] 00000000 
[  229.735097] 00000000 
[  229.735101] 10590001 
[  229.735105] 00000003 
[  229.735108] 120e0006 
[  229.735112] 007f0017 
[  229.735116] 080301f0 
[  229.735120] 00000000 
[  229.735123] 00140000 
[  229.735127] 0000f005 
[  229.735131] 00000000 
[  229.735134] 12420001 
[  229.735138] 00000101 
[  229.735141] 124b0003 
[  229.735145] 00010000 
[  229.735148] 00000000 
[  229.735152] 00000040 
[  229.735155] 12580003 
[  229.735159] 00010000 
[  229.735162] 00000000 
[  229.735166] 00000040 
[  229.735169] 128b0001 
[  229.735172] 00000000 

[  229.735181]     GATHER at ffdd8000+009c, 3 words
[  229.735184] 304e0005 
[  229.735188] 00000007 
[  229.735191] 0000001e 

[  229.735199]     GATHER at ffdd8000+00a8, 21 words
[  229.735203] 10430006 
[  229.735206] 00200002 
[  229.735210] 001c984c 
[  229.735213] 00000000 
[  229.735217] 07320abc 
[  229.735220] 0000101a 
[  229.735223] 0000002c 
[  229.735227] 124b0003 
[  229.735230] 00010000 
[  229.735234] 00000000 
[  229.735236] 00000047 
[  229.735238] 12580003 
[  229.735240] 00010000 
[  229.735242] 00000000 
[  229.735244] 00000047 
[  229.735246] 20000001 
[  229.735248] 00001c29 
[  229.735250] 20000001 
[  229.735252] 0000052e 
[  229.735254] 20410001 
[  229.735256] 00000001 

[  229.735261]     GATHER at ffdd8000+00fc, 2 words
[  229.735263] 20000001 
[  229.735265] 0000002b 

[  229.735271] 
               ---- host general irq ----

[  229.735274] sync_hintmask_ext = 0xc0000000
[  229.735277] sync_hintmask = 0x80000000
[  229.735279] sync_intc0mask = 0x00000001
[  229.735282] sync_intmask = 0x00000011
[  229.735284] 
               ---- host syncpt irq mask ----

[  229.735287] syncpt_thresh_int_mask(0) = 0x00000001
[  229.735290] syncpt_thresh_int_mask(1) = 0x55000001
[  229.735293] syncpt_thresh_int_mask(2) = 0x10440000
[  229.735295] syncpt_thresh_int_mask(3) = 0x00000000
[  229.735298] syncpt_thresh_int_mask(4) = 0x00000000
[  229.735301] syncpt_thresh_int_mask(5) = 0x00000000
[  229.735303] syncpt_thresh_int_mask(6) = 0x00000000
[  229.735306] syncpt_thresh_int_mask(7) = 0x00000000
[  229.735309] syncpt_thresh_int_mask(8) = 0x00000000
[  229.735311] syncpt_thresh_int_mask(9) = 0x00000000
[  229.735314] syncpt_thresh_int_mask(10) = 0x00000000
[  229.735317] syncpt_thresh_int_mask(11) = 0x00000000
[  229.735319] 
               ---- host syncpt irq status ----

[  229.735322] syncpt_thresh_cpu0_int_status(0) = 0x00000000
[  229.735324] syncpt_thresh_cpu0_int_status(1) = 0x00000000
[  229.735327] syncpt_thresh_cpu0_int_status(2) = 0x00000000
[  229.735329] syncpt_thresh_cpu0_int_status(3) = 0x00000000
[  229.735332] syncpt_thresh_cpu0_int_status(4) = 0x00000000
[  229.735335] syncpt_thresh_cpu0_int_status(5) = 0x00000000
[  229.735337] 
               ---- host syncpt thresh ----

[  229.735340] syncpt_int_thresh_thresh_0(0) = 1
[  229.735350] syncpt_int_thresh_thresh_0(16) = 12510
[  229.735358] syncpt_int_thresh_thresh_0(28) = 1
[  229.735361] syncpt_int_thresh_thresh_0(29) = 1
[  229.735364] syncpt_int_thresh_thresh_0(30) = 8
[  229.735367] syncpt_int_thresh_thresh_0(31) = 1
[  229.735374] syncpt_int_thresh_thresh_0(41) = 1
[  229.735378] syncpt_int_thresh_thresh_0(43) = 3
[  229.735382] syncpt_int_thresh_thresh_0(46) = 1

debug output from nvargus-daemon

./tegra_multimedia_api/argus/build/samples/oneShot/argus_oneshot 
Executing Argus Sample: argus_oneshot
=== argus_oneshot[8068]: Connection established (7F853101D0)OFParserListModules: module list: /proc/device-tree/tegra-camera-platform/modules/module1
NvPclHwGetModuleList: WARNING: Could not map module to ISP config string
NvPclHwGetModuleList: No module data found
OFParserGetVirtualDevice: NVIDIA Camera virtual enumerator not found in proc device-tree
---- imager: No override file found. ----
LSC: LSC surface is not based on full res!
=== argus_oneshot[8068]: CameraProvider initialized (0x7f80845810)Argus Version: 0.97.3 (multi-process)
Capturing from device 0 using sensor mode 0 (2748x1842)
LSC: LSC surface is not based on full res!
SCF: Error Timeout: ISP Stats timed out! (in src/services/capture/NvIspHw.cpp, function waitIspStatsFinished(), line 561)
SCF: Error Timeout: ISP port 0 timed out! (in src/services/capture/NvIspHw.cpp, function waitIspFrameEnd(), line 478)
SCF: Error Timeout:  (propagating from src/services/capture/NvIspHw.cpp, function waitIspFrameEnd(), line 519)
SCF: Error Timeout:  (propagating from src/common/Utils.cpp, function workerThread(), line 116)
SCF: Error Timeout: Worker thread IspHw frameComplete failed (in src/common/Utils.cpp, function workerThread(), line 133)
Error: waitCsiFrameStart timeout guid 2
************VI/CSI Debug Registers**********
VI_CFG_INTERRUPT_MASK_0 = 0x00000000
VI_CFG_INTERRUPT_STATUS_0 = 0x00000000
VI_CSI_0_ERROR_STATUS_0 = 0x00000000
VI_CSI_0_ERROR_INT_MASK_0 = 0x0000001f
VI_CSI_1_ERROR_STATUS_0 = 0x00000000
VI_CSI_1_ERROR_INT_MASK_0 = 0x00000000
CSI_CSI_PIXEL_PARSER_A_INTERRUPT_MASK_0 = 0x00000000
CSI_CSI_PIXEL_PARSER_A_STATUS_0 = 0x00000000
CSI_CSI_PIXEL_PARSER_B_INTERRUPT_MASK_0 = 0x00000000
CSI_CSI_PIXEL_PARSER_B_STATUS_0 = 0x00000000
CSI_CSI_CIL_A_INTERRUPT_MASK_0 = 0x00000000
CSI_CSI_CIL_A_STATUS_0 = 0x00000010
CSI_CSI_CILA_STATUS_0 = 0x00040040
CSI_CSI_CIL_B_INTERRUPT_MASK_0 = 0x00000000
CSI_CSI_CIL_B_STATUS_0 = 0x00000010
CSI_CSI_CILB_STATUS_0 = 0x00040041
CSI_CSI_READONLY_STATUS_0 = 0x00000000
CSI_DEBUG_CONTROL_0 = 0x721d0300
CSI_DEBUG_COUNTER_0_0 = 0x00000000
CSI_DEBUG_COUNTER_1_0 = 0x00000000
CSI_DEBUG_COUNTER_2_0 = 0x00000000
*****************************************
Error: waitCsiFrameStart Something went wrong with waiting on frame start
Error: waitCsiFrameStart Something went wrong with waiting on frame start
PowerServiceCore:handleRequests: timePassed = 1472
SCF: Error Timeout: ISP Stats timed out! (in src/services/capture/NvIspHw.cpp, function waitIspStatsFinished(), line 561)
Error: waitCsiFrameStart timeout guid 2
************VI/CSI Debug Registers**********
VI_CFG_INTERRUPT_MASK_0 = 0x00000000
VI_CFG_INTERRUPT_STATUS_0 = 0x00000000
VI_CSI_0_ERROR_STATUS_0 = 0x00000000
VI_CSI_0_ERROR_INT_MASK_0 = 0x0000001f
VI_CSI_1_ERROR_STATUS_0 = 0x00000000
VI_CSI_1_ERROR_INT_MASK_0 = 0x00000000
CSI_CSI_PIXEL_PARSER_A_INTERRUPT_MASK_0 = 0x00000000
CSI_CSI_PIXEL_PARSER_A_STATUS_0 = 0x00000000
CSI_CSI_PIXEL_PARSER_B_INTERRUPT_MASK_0 = 0x00000000
CSI_CSI_PIXEL_PARSER_B_STATUS_0 = 0x00000000
CSI_CSI_CIL_A_INTERRUPT_MASK_0 = 0x00000000
CSI_CSI_CIL_A_STATUS_0 = 0x00000010
CSI_CSI_CILA_STATUS_0 = 0x00040040
CSI_CSI_CIL_B_INTERRUPT_MASK_0 = 0x00000000
CSI_CSI_CIL_B_STATUS_0 = 0x00000010
CSI_CSI_CILB_STATUS_0 = 0x00040041
CSI_CSI_READONLY_STATUS_0 = 0x00000000
CSI_DEBUG_CONTROL_0 = 0x721d0300
CSI_DEBUG_COUNTER_0_0 = 0x00000000
CSI_DEBUG_COUNTER_1_0 = 0x00000000
CSI_DEBUG_COUNTER_2_0 = 0x00000000
*****************************************
SCF: Error Timeout: ISP Stats timed out! (in src/services/capture/NvIspHw.cpp, function waitIspStatsFinished(), line 561)
SCF: Error Timeout: Sending critical error event (in src/api/Session.cpp, function sendErrorEvent(), line 990)
Failed to get IFrame interface
SCF: Error InvalidState: 1 buffers still pending during EGLStreamProducer destruction (propagating from src/services/gl/EGLStreamProducer.cpp, function freeBuffers(), line 305)
SCF: Error InvalidState:  (propagating from src/services/gl/EGLStreamProducer.cpp, function ~EGLStreamProducer(), line 50)
SCF: Error Timeout: ISP Stats timed out! (in src/services/capture/NvIspHw.cpp, function waitIspStatsFinished(), line 561)
waitForIdleLocked remaining request 101 
SCF: Error Timeout: waitForIdle() timed out (in src/api/Session.cpp, function waitForIdleLocked(), line 920)
(Argus) Error Timeout:  (propagating from src/api/CaptureSessionImpl.cpp, function destroy(), line 166)
waitForIdleLocked remaining request 101 
SCF: Error Timeout: waitForIdle() timed out (in src/api/Session.cpp, function waitForIdleLocked(), line 920)
SCF: Error Timeout:  (propagating from src/api/Session.cpp, function abortCaptures(), line 886)
SCF: Error Timeout:  (propagating from src/api/Session.cpp, function shutdown(), line 400)

Thanks

Have a try to change the “discontinuous_clk = “no”;” to yes.

Hi, I’ve tested setting discontinuous_clk = “yes”, but saw the same error. I also tried lowering pix_clk_hz from 891000000 to 480000000 and line_length from 4500 to 4096 but see the same errors.

Can you provide any details on how line_length should be calculated?

Is setting 480000000 for pix_clk_hz valid for this sensor mode?

Here’s my sensor mode device tree settings:

mode0 {
        default_framerate = "30000000";
        step_exp_time = [31 00];
        line_length = "4096";
        active_w = "2748";
        embedded_metadata_height = [31 00];
        pixel_phase = "rggb";
        pix_clk_hz = "480000000";
        dynamic_pixel_bit_depth = "12";
        mode_type = "bayer";
        num_lanes = [34 00];
        inherent_gain = [31 00];
        max_gain_val = "270";
        min_hdr_ratio = [31 00];
        discontinuous_clk = "yes";
        readout_orientation = [30 00];
        min_gain_val = [30 00];
        max_hdr_ratio = [31 00];
        tegra_sinterface = "serial_a";
        step_gain_val = "10";
        default_gain = [30 00];
        csi_pixel_bit_depth = "12";
        min_framerate = "1000000";
        default_exp_time = "10000";
        max_framerate = "30000000";
        exposure_factor = "1000000";
        step_framerate = [31 00];
        phy_mode = "DPHY";
        mclk_khz = "24000";
        cil_settletime = [30 00];
        gain_factor = "10";
        framerate_factor = "1000000";
        active_h = "1842";
        max_exp_time = "65535";
        mclk_multiplier = "60";
        min_exp_time = [31 00];
};

Here is the nvargus-daemon log:

./tegra_multimedia_api/argus/build/samples/oneShot/argus_oneshot 
Executing Argus Sample: argus_oneshot
=== argus_oneshot[8719]: Connection established (7FA4B5D1D0)OFParserListModules: module list: /proc/device-tree/tegra-camera-platform/modules/module1
NvPclHwGetModuleList: WARNING: Could not map module to ISP config string
NvPclHwGetModuleList: No module data found
OFParserGetVirtualDevice: NVIDIA Camera virtual enumerator not found in proc device-tree
---- imager: No override file found. ----
LSC: LSC surface is not based on full res!
=== argus_oneshot[8719]: CameraProvider initialized (0x7fa0845a40)Argus Version: 0.97.3 (multi-process)
Capturing from device 0 using sensor mode 0 (2748x1842)
LSC: LSC surface is not based on full res!
SCF: Error Timeout: ISP port 0 timed out! (in src/services/capture/NvIspHw.cpp, function waitIspFrameEnd(), line 478)
SCF: Error Timeout:  (propagating from src/services/capture/NvIspHw.cpp, function waitIspFrameEnd(), line 519)
SCF: Error Timeout:  (propagating from src/common/Utils.cpp, function workerThread(), line 116)
SCF: Error Timeout: Worker thread IspHw frameComplete failed (in src/common/Utils.cpp, function workerThread(), line 133)
SCF: Error Timeout: ISP Stats timed out! (in src/services/capture/NvIspHw.cpp, function waitIspStatsFinished(), line 561)
Error: waitCsiFrameStart timeout guid 2
************VI/CSI Debug Registers**********
VI_CFG_INTERRUPT_MASK_0 = 0x00000000
VI_CFG_INTERRUPT_STATUS_0 = 0x00000000
VI_CSI_0_ERROR_STATUS_0 = 0x00000000
VI_CSI_0_ERROR_INT_MASK_0 = 0x0000001f
VI_CSI_1_ERROR_STATUS_0 = 0x00000000
VI_CSI_1_ERROR_INT_MASK_0 = 0x00000000
CSI_CSI_PIXEL_PARSER_A_INTERRUPT_MASK_0 = 0x00000000
CSI_CSI_PIXEL_PARSER_A_STATUS_0 = 0x00000000
CSI_CSI_PIXEL_PARSER_B_INTERRUPT_MASK_0 = 0x00000000
CSI_CSI_PIXEL_PARSER_B_STATUS_0 = 0x00000000
CSI_CSI_CIL_A_INTERRUPT_MASK_0 = 0x00000000
CSI_CSI_CIL_A_STATUS_0 = 0x00000010
CSI_CSI_CILA_STATUS_0 = 0x00040041
CSI_CSI_CIL_B_INTERRUPT_MASK_0 = 0x00000000
CSI_CSI_CIL_B_STATUS_0 = 0x00000010
CSI_CSI_CILB_STATUS_0 = 0x00040041
CSI_CSI_READONLY_STATUS_0 = 0x00000000
CSI_DEBUG_CONTROL_0 = 0x721d0300
CSI_DEBUG_COUNTER_0_0 = 0x00000000
CSI_DEBUG_COUNTER_1_0 = 0x00000000
CSI_DEBUG_COUNTER_2_0 = 0x00000000
*****************************************
Error: waitCsiFrameStart Something went wrong with waiting on frame start
Error: waitCsiFrameStart Something went wrong with waiting on frame start
PowerServiceCore:handleRequests: timePassed = 1485
SCF: Error Timeout: ISP Stats timed out! (in src/services/capture/NvIspHw.cpp, function waitIspStatsFinished(), line 561)
Error: waitCsiFrameStart timeout guid 2
************VI/CSI Debug Registers**********
VI_CFG_INTERRUPT_MASK_0 = 0x00000000
VI_CFG_INTERRUPT_STATUS_0 = 0x00000000
VI_CSI_0_ERROR_STATUS_0 = 0x00000000
VI_CSI_0_ERROR_INT_MASK_0 = 0x0000001f
VI_CSI_1_ERROR_STATUS_0 = 0x00000000
VI_CSI_1_ERROR_INT_MASK_0 = 0x00000000
CSI_CSI_PIXEL_PARSER_A_INTERRUPT_MASK_0 = 0x00000000
CSI_CSI_PIXEL_PARSER_A_STATUS_0 = 0x00000000
CSI_CSI_PIXEL_PARSER_B_INTERRUPT_MASK_0 = 0x00000000
CSI_CSI_PIXEL_PARSER_B_STATUS_0 = 0x00000000
CSI_CSI_CIL_A_INTERRUPT_MASK_0 = 0x00000000
CSI_CSI_CIL_A_STATUS_0 = 0x00000010
CSI_CSI_CILA_STATUS_0 = 0x00040041
CSI_CSI_CIL_B_INTERRUPT_MASK_0 = 0x00000000
CSI_CSI_CIL_B_STATUS_0 = 0x00000010
CSI_CSI_CILB_STATUS_0 = 0x00040041
CSI_CSI_READONLY_STATUS_0 = 0x00000000
CSI_DEBUG_CONTROL_0 = 0x721d0300
CSI_DEBUG_COUNTER_0_0 = 0x00000000
CSI_DEBUG_COUNTER_1_0 = 0x00000000
CSI_DEBUG_COUNTER_2_0 = 0x00000000
*****************************************
SCF: Error Timeout: ISP Stats timed out! (in src/services/capture/NvIspHw.cpp, function waitIspStatsFinished(), line 561)
SCF: Error Timeout: Sending critical error event (in src/api/Session.cpp, function sendErrorEvent(), line 990)
Failed to get IFrame interface
SCF: Error InvalidState: 1 buffers still pending during EGLStreamProducer destruction (propagating from src/services/gl/EGLStreamProducer.cpp, function freeBuffers(), line 305)
SCF: Error InvalidState:  (propagating from src/services/gl/EGLStreamProducer.cpp, function ~EGLStreamProducer(), line 50)
SCF: Error Timeout: ISP Stats timed out! (in src/services/capture/NvIspHw.cpp, function waitIspStatsFinished(), line 561)
waitForIdleLocked remaining request 101 
SCF: Error Timeout: waitForIdle() timed out (in src/api/Session.cpp, function waitForIdleLocked(), line 920)
(Argus) Error Timeout:  (propagating from src/api/CaptureSessionImpl.cpp, function destroy(), line 166)
waitForIdleLocked remaining request 101 
SCF: Error Timeout: waitForIdle() timed out (in src/api/Session.cpp, function waitForIdleLocked(), line 920)
SCF: Error Timeout:  (propagating from src/api/Session.cpp, function abortCaptures(), line 886)
SCF: Error Timeout:  (propagating from src/api/Session.cpp, function shutdown(), line 400)

Here is dmesg:

[  519.344286] fence timeout on [ffffffc0182c6a80] after 1500ms
[  519.344363] name=[nvhost_sync:32], current value=0 waiting value=1
[  519.344417] ---- mlocks ----
[  519.344502] fence timeout on [ffffffc0182c6c00] after 1500ms

[  519.344532] ---- syncpts ----
[  519.344572] name=[nvhost_sync:31], current value=0 waiting value=1
[  519.344602] id 1 (disp0_a) min 2785 max 2785 refs 1 (previous client : )
[  519.344621] ---- mlocks ----
[  519.344660] id 2 (disp0_b) min 3 max 3 refs 1 (previous client : )

[  519.344696] ---- syncpts ----
[  519.344716] id 3 (disp0_c) min 3 max 3 refs 1 (previous client : )
[  519.344760] id 4 (disp0_d) min 3 max 3 refs 1 (previous client : )
[  519.344816] id 8 (gm20b_490) min 15 max 15 refs 1 (previous client : vi)
[  519.344861] id 9 (gm20b_507) min 474 max 474 refs 1 (previous client : )
[  519.344907] id 11 (gm20b_506) min 22 max 22 refs 1 (previous client : )
[  519.344953] id 12 (gm20b_505) min 474 max 474 refs 1 (previous client : gm20b_505)
[  519.344997] id 13 (gm20b_504) min 6 max 6 refs 1 (previous client : )
[  519.345044] id 14 (gm20b_503) min 89934 max 89934 refs 1 (previous client : )
[  519.345087] id 15 (gm20b_502) min 76 max 76 refs 1 (previous client : )
[  519.345137] id 16 (gm20b_501) min 14050 max 14050 refs 1 (previous client : gm20b_501)
[  519.345180] id 17 (gm20b_500) min 8 max 8 refs 1 (previous client : )
[  519.345227] id 18 (gm20b_499) min 1932 max 1932 refs 1 (previous client : gm20b_499)
[  519.345269] id 19 (gm20b_498) min 26 max 26 refs 1 (previous client : )
[  519.345313] id 20 (gm20b_497) min 646 max 646 refs 1 (previous client : )
[  519.345357] id 21 (gm20b_496) min 8 max 8 refs 1 (previous client : )
[  519.345401] id 22 (gm20b_495) min 2156 max 2156 refs 1 (previous client : )
[  519.345446] id 23 (gm20b_493) min 4744 max 4744 refs 1 (previous client : gm20b_494)
[  519.345492] id 24 (gm20b_494) min 62 max 62 refs 1 (previous client : gm20b_493)
[  519.345535] id 25 (gm20b_492) min 14 max 14 refs 1 (previous client : )
[  519.345580] id 26 (vblank0) min 20381 max -6 refs 1 (previous client : )
[  519.345627] id 28 (gm20b_491) min 14 max 14 refs 1 (previous client : )
[  519.345676] id 29 (54340000.vic_nvargus-daemon_0) min 76 max 76 refs 1 (previous client : 54340000.vic_nvargus-daemon_0)
[  519.345722] id 30 (54340000.vic_argus_oneshot_0) min 36 max 36 refs 1 (previous client : gm20b_489)
[  519.345765] id 31 (54600000.isp_0) min 0 max 3 refs 4 (previous client : )
[  519.345810] id 32 (54600000.isp_1) min 0 max 3 refs 4 (previous client : )
[  519.345853] id 33 (54600000.isp_2) min 7 max 15 refs 10 (previous client : )
[  519.345896] id 34 (54600000.isp_3) min 0 max 3 refs 4 (previous client : )
[  519.345952] id 39 (gm20b_489) min 686 max 686 refs 1 (previous client : )
[  519.345996] id 40 (gm20b_488) min 4 max 4 refs 1 (previous client : )
[  519.346037] id 41 (gm20b_487) min 2 max 2 refs 1 (previous client : )
[  519.346078] id 42 (gm20b_486) min 2 max 2 refs 1 (previous client : )
[  519.346121] id 43 (gm20b_485) min 4 max 4 refs 1 (previous client : )
[  519.346165] id 44 (54080000.vi_0) min 0 max 3 refs 4 (previous client : 54080000.vi_0)
[  519.346212] id 46 (54080000.vi_2) min 2 max 7 refs 7 (previous client : 54080000.vi_2)
[  519.346266] id 49 (54080000.vi_4) min 0 max 3 refs 4 (previous client : 54080000.vi_4)
[  519.346314] id 52 (gm20b_484) min 6 max 6 refs 1 (previous client : )
[  519.346356] id 53 (gm20b_483) min 8 max 8 refs 1 (previous client : )
[  519.346398] id 54 (gm20b_482) min 6 max 6 refs 1 (previous client : )
[  519.346439] id 55 (gm20b_481) min 6 max 6 refs 1 (previous client : )
[  519.346481] id 56 (gm20b_480) min 6 max 6 refs 1 (previous client : )
[  519.346523] id 57 (gm20b_479) min 6 max 6 refs 1 (previous client : )

[  519.346986] ---- channels ----
[  519.346997] id 1 (disp0_a) min 2785 max 2785 refs 1 (previous client : )
[  519.347033] id 2 (disp0_b) min 3 max 3 refs 1 (previous client : )
[  519.347071] 
               channel 0 - 54600000.isp

[  519.347080] id 3 (disp0_c) min 3 max 3 refs 1 (previous client : )
[  519.347112] id 4 (disp0_d) min 3 max 3 refs 1 (previous client : )
[  519.347166] 0-54600000.isp (18): 
[  519.347170] active class 01, offset 0050, val 0000001f
[  519.347179] id 8 (gm20b_490) min 15 max 15 refs 1 (previous client : vi)
[  519.347213] DMAPUT 00000198, DMAGET 00000110, DMACTL 00000000
[  519.347222] id 9 (gm20b_507) min 474 max 474 refs 1 (previous client : )
[  519.347251] CBREAD 0000001f, CBSTAT 00010050
[  519.347259] id 11 (gm20b_506) min 22 max 22 refs 1 (previous client : )
[  519.347296] id 12 (gm20b_505) min 474 max 474 refs 1 (previous client : gm20b_505)
[  519.347715] 
               ffffffc037d9cc00: JOB, syncpt_id=31, syncpt_val=1, first_get=00000090, timeout=10000, num_slots=3, num_handles=1
[  519.347968] id 13 (gm20b_504) min 6 max 6 refs 1 (previous client : )
[  519.347998] id 14 (gm20b_503) min 89934 max 89934 refs 1 (previous client : )
[  519.348020] id 15 (gm20b_502) min 76 max 76 refs 1 (previous client : )
[  519.348048] id 16 (gm20b_501) min 14050 max 14050 refs 1 (previous client : gm20b_501)
[  519.348069] id 17 (gm20b_500) min 8 max 8 refs 1 (previous client : )
[  519.348090] id 18 (gm20b_499) min 1932 max 1932 refs 1 (previous client : gm20b_499)
[  519.348101]     GATHER at ffc08000+4490, 8 words
[  519.348111] 20000001 
[  519.348121] id 19 (gm20b_498) min 26 max 26 refs 1 (previous client : )
[  519.348132] id 20 (gm20b_497) min 646 max 646 refs 1 (previous client : )
[  519.348141] 0000041f 
[  519.348151] 20000001 
[  519.348163] id 21 (gm20b_496) min 8 max 8 refs 1 (previous client : )
[  519.348182] 00000520 
[  519.348182] 20000001 
[  519.348193] id 22 (gm20b_495) min 2156 max 2156 refs 1 (previous client : )
[  519.348205] id 23 (gm20b_493) min 4744 max 4744 refs 1 (previous client : gm20b_494)
[  519.348230] 00000622 
[  519.348240] 200c0001 
[  519.348253] id 24 (gm20b_494) min 62 max 62 refs 1 (previous client : gm20b_493)
[  519.348272] 00000005 

[  519.348284] id 25 (gm20b_492) min 14 max 14 refs 1 (previous client : )
[  519.348298] id 26 (vblank0) min 20381 max -6 refs 1 (previous client : )
[  519.348309]     GATHER at ffc08000+44b0, 2 words
[  519.348320] 20000001 
[  519.348333] id 28 (gm20b_491) min 14 max 14 refs 1 (previous client : )
[  519.348356] 00000021 

[  519.348371] id 29 (54340000.vic_nvargus-daemon_0) min 76 max 76 refs 1 (previous client : 54340000.vic_nvargus-daemon_0)
[  519.348387] id 30 (54340000.vic_argus_oneshot_0) min 36 max 36 refs 1 (previous client : gm20b_489)

[  519.348418] 
               channel 1 - 54680000.isp

[  519.348422] id 31 (54600000.isp_0) min 0 max 3 refs 4 (previous client : )
[  519.348436] id 32 (54600000.isp_1) min 0 max 3 refs 4 (previous client : )
[  519.348463] 1-54680000.isp (1): 
[  519.348464] id 33 (54600000.isp_2) min 7 max 15 refs 10 (previous client : )
[  519.348478] id 34 (54600000.isp_3) min 0 max 3 refs 4 (previous client : )
[  519.348500] inactive

[  519.348523] id 39 (gm20b_489) min 686 max 686 refs 1 (previous client : )
[  519.348527] 
               channel 2 - 54080000.vi

[  519.348549] 2-54080000.vi (13): 
[  519.348564] id 40 (gm20b_488) min 4 max 4 refs 1 (previous client : )
[  519.348578] id 41 (gm20b_487) min 2 max 2 refs 1 (previous client : )
[  519.348592] active class 01, offset 0050, val 0000002c
[  519.348618] DMAPUT 00000100, DMAGET 00000100, DMACTL 00000000
[  519.348634] id 42 (gm20b_486) min 2 max 2 refs 1 (previous client : )
[  519.348650] id 43 (gm20b_485) min 4 max 4 refs 1 (previous client : )
[  519.348662] CBREAD 0000002c, CBSTAT 00010050
[  519.348690] 
               ffffffc037d9c800: JOB, syncpt_id=44, syncpt_val=1, first_get=00000018, timeout=10000, num_slots=7, num_handles=1
[  519.348695] id 44 (54080000.vi_0) min 0 max 3 refs 4 (previous client : 54080000.vi_0)
[  519.348720] id 46 (54080000.vi_2) min 2 max 7 refs 7 (previous client : 54080000.vi_2)
[  519.348747]     GATHER at ffb98000+0000, 39 words
[  519.348759] id 49 (54080000.vi_4) min 0 max 3 refs 4 (previous client : 54080000.vi_4)
[  519.348782] id 52 (gm20b_484) min 6 max 6 refs 1 (previous client : )
[  519.348811] 10620001 
[  519.348812] 0000001f 
[  519.348826] id 53 (gm20b_483) min 8 max 8 refs 1 (previous client : )
[  519.348843] id 54 (gm20b_482) min 6 max 6 refs 1 (previous client : )
[  519.348856] 10630002 
[  519.348870] 00000000 
[  519.348888] id 55 (gm20b_481) min 6 max 6 refs 1 (previous client : )
[  519.348915] 00000000 
[  519.348916] 103a0001 
[  519.348931] id 56 (gm20b_480) min 6 max 6 refs 1 (previous client : )
[  519.348947] id 57 (gm20b_479) min 6 max 6 refs 1 (previous client : )
[  519.348960] 10100010 
[  519.348974] 103c0001 
[  519.349001] 10101010 
[  519.349038] 10420001 
[  519.349075] 00000001 
[  519.349099] 10430006 
[  519.349128] 00000000 
[  519.349163] 001c984c 
[  519.349190] 00000000 

[  519.349222] ---- channels ----
[  519.349246] 00000000 
[  519.349262] 00000000 
[  519.349278] unable to lock channel list
[  519.349309] unable to lock channel list
[  519.349321] 00000000 
[  519.349337] 10590001 
[  519.349356] unable to lock channel list
[  519.349372] unable to lock channel list
[  519.349412] 00000003 
[  519.349425] 120e0006 
[  519.349426] unable to lock channel list
[  519.349442] unable to lock channel list
[  519.349470] 007f0017 
[  519.349483] 080301f0 
[  519.349484] unable to lock channel list
[  519.349500] unable to lock channel list
[  519.349514] 00000000 
[  519.349515] unable to lock channel list
[  519.349526] 
               ---- host general irq ----

[  519.349529] 00140000 
[  519.349540] 0000f005 
[  519.349549] sync_hintmask_ext = 0xc0000000
[  519.349559] 00000000 
[  519.349568] sync_hintmask = 0x80000000
[  519.349579] sync_intc0mask = 0x00000001
[  519.349583] 12420001 
[  519.349597] 00000101 
[  519.349598] sync_intmask = 0x00000011
[  519.349607] 
               ---- host syncpt irq mask ----

[  519.349610] 124b0003 
[  519.349620] 00010000 
[  519.349629] syncpt_thresh_int_mask(0) = 0x00000001
[  519.349638] 00000000 
[  519.349648] syncpt_thresh_int_mask(1) = 0x40000000
[  519.349657] 00000000 
[  519.349669] syncpt_thresh_int_mask(2) = 0x11000015
[  519.349673] 12580003 
[  519.349682] 00010000 
[  519.349690] syncpt_thresh_int_mask(3) = 0x00000004
[  519.349700] 00000000 
[  519.349704] syncpt_thresh_int_mask(4) = 0x00000000
[  519.349716] syncpt_thresh_int_mask(5) = 0x00000000
[  519.349718] 00000000 
[  519.349728] 128b0001 
[  519.349734] syncpt_thresh_int_mask(6) = 0x00000000
[  519.349745] syncpt_thresh_int_mask(7) = 0x00000000
[  519.349747] 00000000 

[  519.349769] syncpt_thresh_int_mask(8) = 0x00000000
[  519.349779]     GATHER at ffb98000+009c, 3 words
[  519.349792] syncpt_thresh_int_mask(9) = 0x00000000
[  519.349794] 304e0005 
[  519.349803] 00000007 
[  519.349809] syncpt_thresh_int_mask(10) = 0x00000000
[  519.349821] syncpt_thresh_int_mask(11) = 0x00000000
[  519.349823] 00000021 

[  519.349842] 
               ---- host syncpt irq status ----

[  519.349853]     GATHER at ffb98000+00a8, 21 words
[  519.349864] syncpt_thresh_cpu0_int_status(0) = 0x00000000
[  519.349874] 10430006 
[  519.349883] syncpt_thresh_cpu0_int_status(1) = 0x00000000
[  519.349895] syncpt_thresh_cpu0_int_status(2) = 0x00000000
[  519.349899] 00200002 
[  519.349915] 001c984c 
[  519.349917] syncpt_thresh_cpu0_int_status(3) = 0x00000000
[  519.349928] syncpt_thresh_cpu0_int_status(4) = 0x00000000
[  519.349931] 00000000 
[  519.349954] 07320abc 
[  519.349959] syncpt_thresh_cpu0_int_status(5) = 0x00000000
[  519.349969] 
               ---- host syncpt thresh ----

[  519.349972] 0000101a 
[  519.349981] 0000002c 
[  519.349990] syncpt_int_thresh_thresh_0(0) = 1
[  519.349999] 124b0003 
[  519.350013] 00010000 
[  519.350026] 00000000 
[  519.350039] syncpt_int_thresh_thresh_0(31) = 1
[  519.350043] 00000007 
[  519.350051] 12580003 
[  519.350060] syncpt_int_thresh_thresh_0(32) = 1
[  519.350070] 00010000 
[  519.350079] syncpt_int_thresh_thresh_0(33) = 8
[  519.350089] 00000000 
[  519.350098] syncpt_int_thresh_thresh_0(34) = 1
[  519.350108] 00000007 
[  519.350122] 20000001 
[  519.350125] syncpt_int_thresh_thresh_0(44) = 1
[  519.350138] syncpt_int_thresh_thresh_0(46) = 3
[  519.350141] 00001c2c 
[  519.350150] 20000001 
[  519.350158] syncpt_int_thresh_thresh_0(49) = 1
[  519.350169] 00000531 
[  519.350182] 20410001 
[  519.350195] 00000001 

[  519.350225]     GATHER at ffb98000+00fc, 2 words
[  519.350238] 20000001 
[  519.350251] 0000002e 


[  519.350292] 
               ---- host general irq ----

[  519.350309] sync_hintmask_ext = 0xc0000000
[  519.350325] sync_hintmask = 0x80000000
[  519.350339] sync_intc0mask = 0x00000001
[  519.350354] sync_intmask = 0x00000011
[  519.350367] 
               ---- host syncpt irq mask ----

[  519.350384] syncpt_thresh_int_mask(0) = 0x00000001
[  519.350401] syncpt_thresh_int_mask(1) = 0x40000000
[  519.350416] syncpt_thresh_int_mask(2) = 0x11000015
[  519.350432] syncpt_thresh_int_mask(3) = 0x00000004
[  519.350447] syncpt_thresh_int_mask(4) = 0x00000000
[  519.350463] syncpt_thresh_int_mask(5) = 0x00000000
[  519.350478] syncpt_thresh_int_mask(6) = 0x00000000
[  519.350494] syncpt_thresh_int_mask(7) = 0x00000000
[  519.350509] syncpt_thresh_int_mask(8) = 0x00000000
[  519.350525] syncpt_thresh_int_mask(9) = 0x00000000
[  519.350541] syncpt_thresh_int_mask(10) = 0x00000000
[  519.350570] syncpt_thresh_int_mask(11) = 0x00000000
[  519.350583] 
               ---- host syncpt irq status ----

[  519.350599] syncpt_thresh_cpu0_int_status(0) = 0x00000000
[  519.350615] syncpt_thresh_cpu0_int_status(1) = 0x00000000
[  519.350631] syncpt_thresh_cpu0_int_status(2) = 0x00000000
[  519.350647] syncpt_thresh_cpu0_int_status(3) = 0x00000000
[  519.350662] syncpt_thresh_cpu0_int_status(4) = 0x00000000
[  519.350678] syncpt_thresh_cpu0_int_status(5) = 0x00000000
[  519.350691] 
               ---- host syncpt thresh ----

[  519.350709] syncpt_int_thresh_thresh_0(0) = 1
[  519.350757] syncpt_int_thresh_thresh_0(31) = 1
[  519.350774] syncpt_int_thresh_thresh_0(32) = 1
[  519.350790] syncpt_int_thresh_thresh_0(33) = 8
[  519.350806] syncpt_int_thresh_thresh_0(34) = 1
[  519.350832] syncpt_int_thresh_thresh_0(44) = 1
[  519.350849] syncpt_int_thresh_thresh_0(46) = 3
[  519.350868] syncpt_int_thresh_thresh_0(49) = 1
[  519.407441] fence timeout on [ffffffc0a7a1a0c0] after 1500ms
[  519.407451] name=[nvhost_sync:49], current value=0 waiting value=1
[  519.407457] ---- mlocks ----

[  519.407471] ---- syncpts ----
[  519.407478] id 1 (disp0_a) min 2786 max 2787 refs 1 (previous client : )
[  519.407482] id 2 (disp0_b) min 3 max 3 refs 1 (previous client : )
[  519.407486] id 3 (disp0_c) min 3 max 3 refs 1 (previous client : )
[  519.407490] id 4 (disp0_d) min 3 max 3 refs 1 (previous client : )
[  519.407496] id 8 (gm20b_490) min 15 max 15 refs 1 (previous client : vi)
[  519.407500] id 9 (gm20b_507) min 474 max 474 refs 1 (previous client : )
[  519.407505] id 11 (gm20b_506) min 22 max 22 refs 1 (previous client : )
[  519.407509] id 12 (gm20b_505) min 474 max 474 refs 1 (previous client : gm20b_505)
[  519.407513] id 13 (gm20b_504) min 6 max 6 refs 1 (previous client : )
[  519.407517] id 14 (gm20b_503) min 90272 max 90272 refs 1 (previous client : )
[  519.407520] id 15 (gm20b_502) min 76 max 76 refs 1 (previous client : )
[  519.407525] id 16 (gm20b_501) min 14058 max 14060 refs 1 (previous client : gm20b_501)
[  519.407528] id 17 (gm20b_500) min 8 max 8 refs 1 (previous client : )
[  519.407532] id 18 (gm20b_499) min 1932 max 1932 refs 1 (previous client : gm20b_499)
[  519.407536] id 19 (gm20b_498) min 26 max 26 refs 1 (previous client : )
[  519.407540] id 20 (gm20b_497) min 646 max 646 refs 1 (previous client : )
[  519.407544] id 21 (gm20b_496) min 8 max 8 refs 1 (previous client : )
[  519.407547] id 22 (gm20b_495) min 2156 max 2156 refs 1 (previous client : )
[  519.407551] id 23 (gm20b_493) min 4744 max 4744 refs 1 (previous client : gm20b_494)
[  519.407555] id 24 (gm20b_494) min 62 max 62 refs 1 (previous client : gm20b_493)
[  519.407559] id 25 (gm20b_492) min 14 max 14 refs 1 (previous client : )
[  519.407563] id 26 (vblank0) min 20384 max -6 refs 1 (previous client : )
[  519.407567] id 28 (gm20b_491) min 14 max 14 refs 1 (previous client : )
[  519.407571] id 29 (54340000.vic_nvargus-daemon_0) min 76 max 76 refs 1 (previous client : 54340000.vic_nvargus-daemon_0)
[  519.407575] id 30 (54340000.vic_argus_oneshot_0) min 36 max 36 refs 1 (previous client : gm20b_489)
[  519.407579] id 31 (54600000.isp_0) min 0 max 3 refs 4 (previous client : )
[  519.407583] id 32 (54600000.isp_1) min 0 max 3 refs 4 (previous client : )
[  519.407587] id 33 (54600000.isp_2) min 7 max 15 refs 10 (previous client : )
[  519.407590] id 34 (54600000.isp_3) min 0 max 3 refs 4 (previous client : )
[  519.407596] id 39 (gm20b_489) min 686 max 686 refs 1 (previous client : )
[  519.407600] id 40 (gm20b_488) min 4 max 4 refs 1 (previous client : )
[  519.407603] id 41 (gm20b_487) min 2 max 2 refs 1 (previous client : )
[  519.407607] id 42 (gm20b_486) min 2 max 2 refs 1 (previous client : )
[  519.407610] id 43 (gm20b_485) min 4 max 4 refs 1 (previous client : )
[  519.407614] id 44 (54080000.vi_0) min 0 max 3 refs 4 (previous client : 54080000.vi_0)
[  519.407619] id 46 (54080000.vi_2) min 2 max 7 refs 7 (previous client : 54080000.vi_2)
[  519.407624] id 49 (54080000.vi_4) min 0 max 3 refs 4 (previous client : 54080000.vi_4)
[  519.407628] id 52 (gm20b_484) min 6 max 6 refs 1 (previous client : )
[  519.407632] id 53 (gm20b_483) min 8 max 8 refs 1 (previous client : )
[  519.407636] id 54 (gm20b_482) min 6 max 6 refs 1 (previous client : )
[  519.407639] id 55 (gm20b_481) min 6 max 6 refs 1 (previous client : )
[  519.407643] id 56 (gm20b_480) min 6 max 6 refs 1 (previous client : )
[  519.407647] id 57 (gm20b_479) min 6 max 6 refs 1 (previous client : )

[  519.407732] ---- channels ----
[  519.407740] 
               channel 0 - 54600000.isp

[  519.407747] 0-54600000.isp (18): 
[  519.407751] active class 01, offset 0050, val 0000001f
[  519.407754] DMAPUT 00000198, DMAGET 00000110, DMACTL 00000000
[  519.407757] CBREAD 0000001f, CBSTAT 00010050
[  519.407763] 
               ffffffc037d9cc00: JOB, syncpt_id=31, syncpt_val=1, first_get=00000090, timeout=10000, num_slots=3, num_handles=1
[  519.407769]     GATHER at ffc08000+4490, 8 words
[  519.407771] 20000001 
[  519.407774] 0000041f 
[  519.407776] 20000001 
[  519.407778] 00000520 
[  519.407781] 20000001 
[  519.407783] 00000622 
[  519.407785] 200c0001 
[  519.407787] 00000005 

[  519.407793]     GATHER at ffc08000+44b0, 2 words
[  519.407795] 20000001 
[  519.407797] 00000021 


[  519.407805] 
               channel 1 - 54680000.isp

[  519.407811] 1-54680000.isp (1): 
[  519.407813] inactive

[  519.407817] 
               channel 2 - 54080000.vi

[  519.407822] 2-54080000.vi (13): 
[  519.407826] active class 01, offset 0050, val 0000002c
[  519.407829] DMAPUT 00000100, DMAGET 00000100, DMACTL 00000000
[  519.407832] CBREAD 0000002c, CBSTAT 00010050
[  519.407837] 
               ffffffc037d9c800: JOB, syncpt_id=44, syncpt_val=1, first_get=00000018, timeout=10000, num_slots=7, num_handles=1
[  519.407842]     GATHER at ffb98000+0000, 39 words
[  519.407845] 10620001 
[  519.407847] 0000001f 
[  519.407849] 10630002 
[  519.407852] 00000000 
[  519.407854] 00000000 
[  519.407856] 103a0001 
[  519.407859] 10100010 
[  519.407861] 103c0001 
[  519.407863] 10101010 
[  519.407866] 10420001 
[  519.407868] 00000001 
[  519.407870] 10430006 
[  519.407873] 00000000 
[  519.407875] 001c984c 
[  519.407877] 00000000 
[  519.407880] 00000000 
[  519.407882] 00000000 
[  519.407884] 00000000 
[  519.407887] 10590001 
[  519.407889] 00000003 
[  519.407891] 120e0006 
[  519.407894] 007f0017 
[  519.407896] 080301f0 
[  519.407899] 00000000 
[  519.407901] 00140000 
[  519.407904] 0000f005 
[  519.407906] 00000000 
[  519.407909] 12420001 
[  519.407911] 00000101 
[  519.407914] 124b0003 
[  519.407916] 00010000 
[  519.407918] 00000000 
[  519.407921] 00000000 
[  519.407923] 12580003 
[  519.407926] 00010000 
[  519.407928] 00000000 
[  519.407931] 00000000 
[  519.407933] 128b0001 
[  519.407935] 00000000 

[  519.407942]     GATHER at ffb98000+009c, 3 words
[  519.407944] 304e0005 
[  519.407947] 00000007 
[  519.407949] 00000021 

[  519.407955]     GATHER at ffb98000+00a8, 21 words
[  519.407957] 10430006 
[  519.407960] 00200002 
[  519.407962] 001c984c 
[  519.407965] 00000000 
[  519.407967] 07320abc 
[  519.407970] 0000101a 
[  519.407972] 0000002c 
[  519.407975] 124b0003 
[  519.407977] 00010000 
[  519.407980] 00000000 
[  519.407982] 00000007 
[  519.407985] 12580003 
[  519.407988] 00010000 
[  519.407990] 00000000 
[  519.407992] 00000007 
[  519.407995] 20000001 
[  519.407997] 00001c2c 
[  519.408000] 20000001 
[  519.408003] 00000531 
[  519.408005] 20410001 
[  519.408008] 00000001 

[  519.408013]     GATHER at ffb98000+00fc, 2 words
[  519.408016] 20000001 
[  519.408019] 0000002e 


[  519.408027] 
               ---- host general irq ----

[  519.408031] sync_hintmask_ext = 0xc0000000
[  519.408034] sync_hintmask = 0x80000000
[  519.408037] sync_intc0mask = 0x00000001
[  519.408041] sync_intmask = 0x00000011
[  519.408044] 
               ---- host syncpt irq mask ----

[  519.408047] syncpt_thresh_int_mask(0) = 0x00000001
[  519.408051] syncpt_thresh_int_mask(1) = 0x40000001
[  519.408054] syncpt_thresh_int_mask(2) = 0x11000015
[  519.408058] syncpt_thresh_int_mask(3) = 0x00000004
[  519.408061] syncpt_thresh_int_mask(4) = 0x00000000
[  519.408064] syncpt_thresh_int_mask(5) = 0x00000000
[  519.408068] syncpt_thresh_int_mask(6) = 0x00000000
[  519.408071] syncpt_thresh_int_mask(7) = 0x00000000
[  519.408074] syncpt_thresh_int_mask(8) = 0x00000000
[  519.408078] syncpt_thresh_int_mask(9) = 0x00000000
[  519.408081] syncpt_thresh_int_mask(10) = 0x00000000
[  519.408085] syncpt_thresh_int_mask(11) = 0x00000000
[  519.408087] 
               ---- host syncpt irq status ----

[  519.408091] syncpt_thresh_cpu0_int_status(0) = 0x00000000
[  519.408094] syncpt_thresh_cpu0_int_status(1) = 0x00000000
[  519.408098] syncpt_thresh_cpu0_int_status(2) = 0x00000000
[  519.408101] syncpt_thresh_cpu0_int_status(3) = 0x00000000
[  519.408105] syncpt_thresh_cpu0_int_status(4) = 0x00000000
[  519.408108] syncpt_thresh_cpu0_int_status(5) = 0x00000000
[  519.408111] 
               ---- host syncpt thresh ----

[  519.408115] syncpt_int_thresh_thresh_0(0) = 1
[  519.408127] syncpt_int_thresh_thresh_0(16) = 14060
[  519.408138] syncpt_int_thresh_thresh_0(31) = 1
[  519.408142] syncpt_int_thresh_thresh_0(32) = 1
[  519.408146] syncpt_int_thresh_thresh_0(33) = 8
[  519.408150] syncpt_int_thresh_thresh_0(34) = 1
[  519.408159] syncpt_int_thresh_thresh_0(44) = 1
[  519.408163] syncpt_int_thresh_thresh_0(46) = 3
[  519.408168] syncpt_int_thresh_thresh_0(49) = 1

Thanks for your support

Try to modify the control function as dummy to debug.

Can you clarify what control function you are referring to, and how I would modify to run as dummy?

Those function like below, just have it return at function beginning.

static struct tegracam_ctrl_ops imx185_ctrl_ops = {
    .set_gain = imx185_set_gain,
    .set_exposure = imx185_set_exposure,
    .set_frame_rate = imx185_set_frame_rate,
    .set_group_hold = imx185_set_group_hold,
};

Hi, I am able to get libargus working by connecting the sensor through the CSI/VI port index 0, which is situated under i2c@546c0000. It is strange that libargus doesn’t work when I connect the sensor through CSI/VI port index 2, which is set under i2c@7000c000, I suspect the difference in mapping the sensor i2c underneath host1x is related.

Is there a requirement for the sensor to be connected through the i2c@546c000 in order to operate the sensor through libargus? I have no problem operating the sensor through v4l2-ctl on i2c@7000c000.

Anyway thanks for your support.

Is the ‘devname’ device tree property in your module node under the tegra-camera-platform tree set correctly? You comment about the i2c bus makes me wonder if it might be wrong. If devname is not set correctly the Argus image path won’t work.

Regards,
Greg

Initially I had problems with incorrect devname causing problems with not being able to find the camera, however after I resolved that I found ‘fence timeout’ error dumps in dmesg (see above).

I guess due to some detail in device tree mapping I am unable to use libargus to control the camera connected through i2c@7000c000 + CSI/VI port-index 2. I think it has something to do with nesting sensor i2c device tree nodes under the ‘host1x’ node (I was unable to making probing work if I placed the sensor device tree node under host1x, for address 7000c000).