No reply from camera sensor

Control function like imx219_set_gain()

Hi @ShaneCCC ,

I made the following function dummy as below and tried still got the no reply from camera processor.


static int imx219_set_gain(struct tegracam_device *tc_dev, s64 val)
{
	printk("imx219_set_gain\n");
	return 0;
}

static int imx219_set_frame_rate(struct tegracam_device *tc_dev, s64 val)
{
	printk("imx219_set_frame_rate");
	return 0;
}

static int imx219_set_exposure(struct tegracam_device *tc_dev, s64 val)
{

	printk("imx219_set_exposure");
	return 0;
}

Hi @ShaneCCC,
Does it have anything to do with argus seems you have said something about it in this thread here ?

Kind of remember this kind of topic.

BTW, I try to apply your driver to 32.6.1(J4.6) got i2c error to when run the v4l2-ctl

[ 201.515388] tegra-i2c 3180000.i2c: no acknowledge from address 0x10
[ 201.515568] regmap_util_write_table_8:regmap_util_write_table:-121
[ 201.571789] imx219 9-0010: imx219_power_off: power off
[ 576.698479] imx219 9-0010: imx219_power_on: power on
[ 576.732865] imx219_set_mode
[ 576.732871] imx219_write_table
[ 576.732977] tegra-i2c 3180000.i2c: no acknowledge from address 0x10
[ 576.733214] regmap_util_write_table_8:regmap_util_write_table:-121
[ 576.733315] imx219_start_streaming
[ 576.733319] imx219_write_table
[ 576.733397] tegra-i2c 3180000.i2c: no acknowledge from address 0x10
[ 576.733549] regmap_util_write_table_8:regmap_util_write_table:-121
[ 576.744754] [RCE] vi5_hwinit: firmware CL2018101701 protocol version 2.2
[ 579.396712] tegra194-vi5 15c10000.vi: no reply from camera processor
[ 579.396890] tegra194-vi5 15c10000.vi: uncorr_err: request timed out after 2500 ms
[ 579.397038] tegra194-vi5 15c10000.vi: err_rec: attempting to reset the capture channel
[ 579.400054] tegra194-vi5 15c10000.vi: err_rec: successfully reset the capture channel
[ 581.951029] tegra194-vi5 15c10000.vi: no reply from camera processor
[ 581.951210] tegra194-vi5 15c10000.vi: uncorr_err: request timed out after 2500 ms
[ 581.951357] tegra194-vi5 15c10000.vi: err_rec: attempting to reset the capture channel
[ 581.955050] tegra194-vi5 15c10000.vi: err_rec: successfully reset the capture channel
[ 581.955232] imx219_stop_streaming
[ 581.955238] imx219_write_table
[ 581.955384] tegra-i2c 3180000.i2c: no acknowledge from address 0x10
[ 581.955578] regmap_util_write_table_8:regmap_util_write_table:-121

Hi @ShaneCCC ,
I have made a fake i2c device to send acknowledgement using arduino. I also tested the driver and device tree in jetpack 32.6.1 and there was no issue with v4l2 capturing raw frames “no reply from camera processor” only happend when using nvarguscamerasrc

I don’t understand, how to make v4l2-ctl working by make fake i2c?

Hi @ShaneCCC ,
I have built a setup in which I always get stream from the camera, the camera is controlled externally. I have made a arduino uno to act as a i2c slave device with address of 0x10 so that it always send acknowledgement to driver.

Hi @ShaneCCC ,
I tried using

v4l2-ctl --set-fmt-video=width=376,height=376,pixelformat=RG10 --stream-mmap --stream-count=1 -d /dev/video0 --stream-to=ov5693.raw

This is the log I got.

[ 1149.176386] imx219 9-0010: imx219_power_on: power on
[ 1149.208857] imx219_set_mode
[ 1149.208865] imx219_write_table
[ 1149.253491] [RCE] vi5_hwinit: firmware CL2018101701 protocol version 2.2
[ 1150.869186] imx219_start_streaming
[ 1150.869194] imx219_write_table
[ 1150.881071] imx219_stop_streaming
[ 1150.881079] imx219_write_table
[ 1150.947897] imx219 9-0010: imx219_power_off: power off

Does your device is RPi v2? I try to modify add your sensor mode and modify as 1 lane configure but can’t get any frame data even without i2c failed.

Could you try 640x480 it could be the mini support size.

Hi @ShaneCCC ,
I am using a different camera, I modified the IMX219 sensor driver respective for my camera.
The maximum resolution my camera supports is 376X376.

Can you help me find a solution for streaming in 376X376 ?

Could you try this command.

 gst-launch-1.0 nvarguscamerasrc ! "video/x-raw(memory:NVMM), width=(int)400, height=(int)300" ! nvvidconv  ! xvimagesink sync=false

Hi @ShaneCCC ,
Sorry for the delay.

I tried the command you gave and got the following log in dmesg

[  415.916993] imx219 10-0010: imx219_open:
[  415.919129] imx219 9-0010: imx219_power_on: power on
[  415.944364] imx219 9-0010: imx219_power_off: power off
[  415.945928] imx219 10-0010: imx219_power_on: power on
[  415.969259] imx219 10-0010: imx219_power_off: power off
[  416.377566] [RCE] WARNING: t194/isp5.c:901 [config_channel] "All error notifications not enabled: correctable=0x00 uncorrectable=0x00"
[  416.650427] imx219 9-0010: imx219_power_on: power on
[  416.673845] imx219 9-0010: imx219_power_off: power off
[  416.675644] imx219 10-0010: imx219_power_on: power on
[  416.699106] imx219 10-0010: imx219_power_off: power off
[  416.702942] imx219 9-0010: imx219_power_on: power on
[  416.726397] imx219 9-0010: imx219_power_off: power off
[  416.728700] imx219 10-0010: imx219_power_on: power on
[  416.752138] imx219 10-0010: imx219_power_off: power off
[  416.787846] imx219 10-0010: imx219_power_on: power on
[  416.811166] imx219 10-0010: imx219_power_off: power off
[  416.812323] imx219 9-0010: imx219_power_on: power on
[  416.835619] imx219 9-0010: imx219_power_off: power off
[  416.837219] imx219 9-0010: imx219_power_on: power on
[  416.860680] imx219 9-0010: imx219_power_off: power off
[  416.862445] imx219 9-0010: imx219_power_on: power on
[  416.885894] imx219 9-0010: imx219_power_off: power off
[  416.941734] imx219 10-0010: imx219_power_on: power on
[  416.965034] imx219 10-0010: imx219_power_off: power off
[  416.966722] imx219 10-0010: imx219_power_on: power on
[  416.990176] imx219 10-0010: imx219_power_off: power off
[  416.991522] imx219 10-0010: imx219_power_on: power on
[  417.015002] imx219 10-0010: imx219_power_off: power off
[  417.110746] [RCE] vi5_hwinit: firmware CL2018101701 protocol version 2.2
[  417.359585] imx219 9-0010: imx219_power_on: power on
[  417.383030] imx219_set_group_hold
[  417.383041] imx219_set_frame_rate
[  417.383064] imx219 9-0010: imx219_set_frame_rate: val: 30000000e-6 [fps], frame_length: 376 [lines]
[  417.383070] imx219_set_group_hold
[  417.385517] imx219_set_group_hold
[  417.385531] imx219_set_exposure
[  417.385546] imx219 9-0010: imx219_set_exposure: exposure limited by frame_length: 372 [lines]
[  417.385557] imx219 9-0010: imx219_set_exposure: val: 33330 [us], coarse_time: 372 [lines]
[  417.385563] imx219_set_group_hold
[  417.389243] imx219_set_mode
[  417.389251] imx219_write_table
[  419.049547] imx219_set_gain
[  419.049578] imx219 9-0010: imx219_set_gain: val: 16 (/16) [times], gain: 0
[  419.049584] imx219_set_exposure
[  419.049591] imx219 9-0010: imx219_set_exposure: exposure limited by frame_length: 372 [lines]
[  419.049600] imx219 9-0010: imx219_set_exposure: val: 33330 [us], coarse_time: 372 [lines]
[  419.049606] imx219_set_frame_rate
[  419.049614] imx219 9-0010: imx219_set_frame_rate: val: 30000000e-6 [fps], frame_length: 376 [lines]
[  419.049645] imx219_start_streaming
[  419.049650] imx219_write_table
[  420.579868] tegra194-vi5 15c10000.vi: no reply from camera processor
[  420.580032] tegra194-vi5 15c10000.vi: vi capture get status failed
[  420.580180] fence timeout on [ffffffc12750b000] after 1500ms
[  420.580190] name=[nvhost_sync:40], current value=0 waiting value=1
[  420.580198] ---- mlocks ----

[  420.580242] ---- syncpts ----
[  420.580256] id 2 (disp_a) min 2671 max 2671 refs 1 (previous client : )
[  420.580262] id 3 (disp_b) min 2 max 2 refs 1 (previous client : )
[  420.580269] id 4 (disp_c) min 2 max 2 refs 1 (previous client : )
[  420.580282] id 8 (vblank0) min 7788 max -4 refs 1 (previous client : )
[  420.580298] id 17 (gv11b_511) min 363 max 363 refs 1 (previous client : )
[  420.580304] id 18 (gv11b_510) min 14 max 14 refs 1 (previous client : )
[  420.580311] id 19 (gv11b_509) min 368 max 368 refs 1 (previous client : gv11b_509)
[  420.580317] id 20 (gv11b_508) min 3 max 3 refs 1 (previous client : )
[  420.580323] id 21 (gv11b_507) min 165475 max 165475 refs 1 (previous client : )
[  420.580329] id 22 (gv11b_506) min 7 max 7 refs 1 (previous client : )
[  420.580335] id 23 (gv11b_505) min 8287 max 8287 refs 1 (previous client : gv11b_505)
[  420.580342] id 24 (15340000.vic_gst-launch-1.0_0) min 6 max 6 refs 1 (previous client : gv11b_504)
[  420.580357] id 33 (gv11b_503_user) min 28 max 0 refs 1 (previous client : )
[  420.580373] id 43 (gv11b_499) min 3 max 3 refs 1 (previous client : )
[  420.580379] id 44 (gv11b_498) min 4 max 4 refs 1 (previous client : )
[  420.580385] id 45 (gv11b_497) min 3 max 3 refs 1 (previous client : )
[  420.580391] id 46 (gv11b_496) min 3 max 3 refs 1 (previous client : )
[  420.580397] id 47 (gv11b_495) min 3 max 3 refs 1 (previous client : )

[  420.581154] ---- channels ----
[  420.581162] imx219_stop_streaming
[  420.581169] imx219_write_table
[  420.581199] 
               channel 2 - 15820000.se

[  420.581204] NvHost basic channel registers:
[  420.581210] CMDFIFO_STAT_0:  00002040
[  420.581216] CMDFIFO_RDATA_0: 30889004
[  420.581224] CMDP_OFFSET_0:   00000000
[  420.581230] CMDP_CLASS_0:    00000000
[  420.581235] CHANNELSTAT_0:   00000000
[  420.581240] The CDMA sync queue is empty.

[  420.581249] 
               channel 3 - 15830000.se

[  420.581253] NvHost basic channel registers:
[  420.581259] CMDFIFO_STAT_0:  00002040
[  420.581265] CMDFIFO_RDATA_0: 10128022
[  420.581272] CMDP_OFFSET_0:   00000000
[  420.581276] CMDP_CLASS_0:    00000000
[  420.581281] CHANNELSTAT_0:   00000000
[  420.581285] The CDMA sync queue is empty.

[  420.581295] 
               channel 4 - 15840000.se

[  420.581299] NvHost basic channel registers:
[  420.581304] CMDFIFO_STAT_0:  00002040
[  420.581309] CMDFIFO_RDATA_0: 00000100
[  420.581315] CMDP_OFFSET_0:   00000000
[  420.581319] CMDP_CLASS_0:    00000000
[  420.581324] CHANNELSTAT_0:   00000000
[  420.581355] The CDMA sync queue is empty.

[  420.581369] 
               ---- host general irq ----

[  420.581375] sync_intc0mask = 0x00000001
[  420.581380] sync_intmask = 0x50000003
[  420.581384] 
               ---- host syncpt irq mask ----

[  420.581387] 
               ---- host syncpt irq status ----

[  420.581393] syncpt_thresh_cpu0_int_status(0) = 0x00000000
[  420.581399] syncpt_thresh_cpu0_int_status(1) = 0x00000000
[  420.581405] syncpt_thresh_cpu0_int_status(2) = 0x00000000
[  420.581412] syncpt_thresh_cpu0_int_status(3) = 0x00000000
[  420.581417] syncpt_thresh_cpu0_int_status(4) = 0x00000000
[  420.581423] syncpt_thresh_cpu0_int_status(5) = 0x00000000
[  420.581429] syncpt_thresh_cpu0_int_status(6) = 0x00000000
[  420.581434] syncpt_thresh_cpu0_int_status(7) = 0x00000000
[  420.581439] syncpt_thresh_cpu0_int_status(8) = 0x00000000
[  420.581444] syncpt_thresh_cpu0_int_status(9) = 0x00000000
[  420.581450] syncpt_thresh_cpu0_int_status(10) = 0x00000000
[  420.581455] syncpt_thresh_cpu0_int_status(11) = 0x00000000
[  420.581460] syncpt_thresh_cpu0_int_status(12) = 0x00000000
[  420.581465] syncpt_thresh_cpu0_int_status(13) = 0x00000000
[  420.581470] syncpt_thresh_cpu0_int_status(14) = 0x00000000
[  420.581475] syncpt_thresh_cpu0_int_status(15) = 0x00000000
[  420.581480] syncpt_thresh_cpu0_int_status(16) = 0x00000000
[  420.581486] syncpt_thresh_cpu0_int_status(17) = 0x00000000
[  420.581491] syncpt_thresh_cpu0_int_status(18) = 0x00000000
[  420.581496] syncpt_thresh_cpu0_int_status(19) = 0x00000000
[  420.581501] syncpt_thresh_cpu0_int_status(20) = 0x00000000
[  420.581506] syncpt_thresh_cpu0_int_status(21) = 0x00000000
[  420.641352] imx219_set_mode
[  420.641360] imx219_write_table
[  422.301668] imx219_set_gain
[  422.301706] imx219 9-0010: imx219_set_gain: val: 16 (/16) [times], gain: 0
[  422.301714] imx219_set_exposure
[  422.301721] imx219 9-0010: imx219_set_exposure: exposure limited by frame_length: 372 [lines]
[  422.301730] imx219 9-0010: imx219_set_exposure: val: 33330 [us], coarse_time: 372 [lines]
[  422.301760] imx219_set_frame_rate
[  422.301767] imx219 9-0010: imx219_set_frame_rate: val: 30000000e-6 [fps], frame_length: 376 [lines]
[  422.301771] imx219_start_streaming
[  422.301774] imx219_write_table
[  423.815648] tegra194-vi5 15c10000.vi: no reply from camera processor
[  423.815803] tegra194-vi5 15c10000.vi: vi capture get status failed
[  423.816233] fence timeout on [ffffffc113d9b540] after 1500ms
[  423.816243] name=[nvhost_sync:40], current value=0 waiting value=10
[  423.816251] ---- mlocks ----

[  423.816296] ---- syncpts ----
[  423.816309] id 2 (disp_a) min 2772 max 2772 refs 1 (previous client : )
[  423.816316] id 3 (disp_b) min 2 max 2 refs 1 (previous client : )
[  423.816322] id 4 (disp_c) min 2 max 2 refs 1 (previous client : )
[  423.816337] id 8 (vblank0) min 7982 max -4 refs 1 (previous client : )
[  423.816353] id 17 (gv11b_511) min 363 max 363 refs 1 (previous client : )
[  423.816359] id 18 (gv11b_510) min 14 max 14 refs 1 (previous client : )
[  423.816365] id 19 (gv11b_509) min 368 max 368 refs 1 (previous client : gv11b_509)
[  423.816372] id 20 (gv11b_508) min 3 max 3 refs 1 (previous client : )
[  423.816378] id 21 (gv11b_507) min 167165 max 167165 refs 1 (previous client : )
[  423.816384] id 22 (gv11b_506) min 7 max 7 refs 1 (previous client : )
[  423.816391] id 23 (gv11b_505) min 8549 max 8549 refs 1 (previous client : gv11b_505)
[  423.816398] id 24 (15340000.vic_gst-launch-1.0_0) min 6 max 6 refs 1 (previous client : gv11b_504)
[  423.816413] id 33 (gv11b_503_user) min 28 max 0 refs 1 (previous client : )
[  423.816454] id 43 (gv11b_499) min 3 max 3 refs 1 (previous client : )
[  423.816460] id 44 (gv11b_498) min 4 max 4 refs 1 (previous client : )
[  423.816466] id 45 (gv11b_497) min 3 max 3 refs 1 (previous client : )
[  423.816472] id 46 (gv11b_496) min 3 max 3 refs 1 (previous client : )
[  423.816477] id 47 (gv11b_495) min 3 max 3 refs 1 (previous client : )
[  423.816550] imx219_stop_streaming
[  423.816557] imx219_write_table

[  423.817240] ---- channels ----
[  423.817272] 
               channel 2 - 15820000.se

[  423.817276] NvHost basic channel registers:
[  423.817282] CMDFIFO_STAT_0:  00002040
[  423.817288] CMDFIFO_RDATA_0: 30889004
[  423.817296] CMDP_OFFSET_0:   00000000
[  423.817302] CMDP_CLASS_0:    00000000
[  423.817307] CHANNELSTAT_0:   00000000
[  423.817312] The CDMA sync queue is empty.

[  423.817321] 
               channel 3 - 15830000.se

[  423.817325] NvHost basic channel registers:
[  423.817330] CMDFIFO_STAT_0:  00002040
[  423.817335] CMDFIFO_RDATA_0: 10128022
[  423.817342] CMDP_OFFSET_0:   00000000
[  423.817346] CMDP_CLASS_0:    00000000
[  423.817351] CHANNELSTAT_0:   00000000
[  423.817355] The CDMA sync queue is empty.

[  423.817364] 
               channel 4 - 15840000.se

[  423.817367] NvHost basic channel registers:
[  423.817372] CMDFIFO_STAT_0:  00002040
[  423.817377] CMDFIFO_RDATA_0: 00000100
[  423.817382] CMDP_OFFSET_0:   00000000
[  423.817387] CMDP_CLASS_0:    00000000
[  423.817391] CHANNELSTAT_0:   00000000
[  423.817395] The CDMA sync queue is empty.

[  423.817406] 
               ---- host general irq ----

[  423.817412] sync_intc0mask = 0x00000001
[  423.817417] sync_intmask = 0x50000003
[  423.817420] 
               ---- host syncpt irq mask ----

[  423.817424] 
               ---- host syncpt irq status ----

[  423.817430] syncpt_thresh_cpu0_int_status(0) = 0x00000000
[  423.817436] syncpt_thresh_cpu0_int_status(1) = 0x00000000
[  423.817441] syncpt_thresh_cpu0_int_status(2) = 0x00000000
[  423.817447] syncpt_thresh_cpu0_int_status(3) = 0x00000000
[  423.817452] syncpt_thresh_cpu0_int_status(4) = 0x00000000
[  423.817458] syncpt_thresh_cpu0_int_status(5) = 0x00000000
[  423.817463] syncpt_thresh_cpu0_int_status(6) = 0x00000000
[  423.817469] syncpt_thresh_cpu0_int_status(7) = 0x00000000
[  423.817474] syncpt_thresh_cpu0_int_status(8) = 0x00000000
[  423.817479] syncpt_thresh_cpu0_int_status(9) = 0x00000000
[  423.817484] syncpt_thresh_cpu0_int_status(10) = 0x00000000
[  423.817489] syncpt_thresh_cpu0_int_status(11) = 0x00000000
[  423.817494] syncpt_thresh_cpu0_int_status(12) = 0x00000000
[  423.817499] syncpt_thresh_cpu0_int_status(13) = 0x00000000
[  423.817504] syncpt_thresh_cpu0_int_status(14) = 0x00000000
[  423.817509] syncpt_thresh_cpu0_int_status(15) = 0x00000000
[  423.817514] syncpt_thresh_cpu0_int_status(16) = 0x00000000
[  423.817519] syncpt_thresh_cpu0_int_status(17) = 0x00000000
[  423.817524] syncpt_thresh_cpu0_int_status(18) = 0x00000000
[  423.817529] syncpt_thresh_cpu0_int_status(19) = 0x00000000
[  423.817534] syncpt_thresh_cpu0_int_status(20) = 0x00000000
[  423.817540] syncpt_thresh_cpu0_int_status(21) = 0x00000000
[  423.875562] imx219 9-0010: imx219_power_off: power off

Could you get the nvargus-daemon log for below command.

gst-launch-1.0 nvarguscamerasrc ! "video/x-raw(memory:NVMM), width=(int)376, height=(int)376" ! nvvidconv  ! xvimagesink sync=false

Hi @ShaneCCC ,
Please kindly have a look at the nvargus-daemon log for the below command

=== NVIDIA Libargus Camera Service (0.97.3)=== Listening for connections...=== gst-launch-1.0[9460]: Connection established (7F8FAA11D0)Thread 1 getting next capture
Thread 1 is waiting
Thread 2 getting next capture
Thread 2 is waiting
Thread 3 getting next capture
Thread 3 is waiting
Thread 4 getting next capture
Thread 4 is waiting
Thread 5 getting next capture
Thread 5 is waiting
Thread 6 getting next capture
Thread 6 is waiting
Thread 7 getting next capture
Thread 7 is waiting
Thread 8 getting next capture
Thread 8 is waiting
Thread 9 getting next capture
Thread 9 is waiting
Thread 10 getting next capture
Thread 10 is waiting
Thread 11 getting next capture
Thread 11 is waiting
Thread 12 getting next capture
Thread 12 is waiting
Starting services...
Worker thread IspHw statsComplete start
Worker thread IspHw frameComplete start
Worker thread CaptureScheduler checkFramePending start
Worker thread CaptureScheduler frameStart start
Worker thread V4L2CaptureScheduler checkCaptureComplete start
Worker thread V4L2CaptureScheduler issueCaptures start
Worker thread PS handleRequests start
getInstance: s_instance(0x7f887d32b0)
getInstance: s_instance(0x7f887d32b0)
subscribe: SensorType(gyroscope)
subscribe: create SensorType(gyroscope) sensor(0x7f8807c3c0)
subscribe: SensorType(accelerometer)
subscribe: create SensorType(accelerometer) sensor(0x7f887dac80)
AC plugin not present: dlopen "acplugin.so", acplugin.so: cannot open shared object file: No such file or directory
Services are started
NvPclSetHotplugCallback: ++++++++++++++++++++++
---- Imager: Calibration blob file handling supported in this build ----
NvPclHwGetModuleList: OFParserListModules Succeeded
OFParserListModules: module list: /proc/device-tree/tegra-camera-platform/modules/module0
OFParserListModules: module list: /proc/device-tree/tegra-camera-platform/modules/module1
NvPclHwMatchPartNum: Found calibration Part#: RBP194:"RBP194"
NvPclHwPrintModuleDefinition -- Name: jakku_front_RBP194
NvPclHwPrintModuleDefinition -- Position: 1
NvPclHwPrintModuleDefinition -- CalibrationData Found: 1
NvPclHwPrintCameraSubModule -- HwCamSubModule[0].Name: v4l2_lens
NvPclHwPrintCameraSubModule -- HwCamSubModule[0].DevName: 
NvPclHwPrintCameraSubModule -- HwCamSubModule[1].Name: v4l2_sensor
NvPclHwPrintCameraSubModule -- HwCamSubModule[1].DevName: imx219 9-0010
NvPclHwMatchPartNum: Found calibration Part#: RBP194:"RBP194"
NvPclHwPrintModuleDefinition -- Name: jakku_rear_RBP194
NvPclHwPrintModuleDefinition -- Position: 0
NvPclHwPrintModuleDefinition -- CalibrationData Found: 1
NvPclHwPrintCameraSubModule -- HwCamSubModule[0].Name: v4l2_lens
NvPclHwPrintCameraSubModule -- HwCamSubModule[0].DevName: 
NvPclHwPrintCameraSubModule -- HwCamSubModule[1].Name: v4l2_sensor
NvPclHwPrintCameraSubModule -- HwCamSubModule[1].DevName: imx219 10-0010
NvPclHwGetModuleList: OFParserListModules Succeeded
NvPclModuleListInitialize: NvPclModule list[0]: jakku_front_RBP194 position1
NvPclModuleListInitialize: NvPclModule list[1]: jakku_rear_RBP194 position0
NvPclHwScanExternalCameras -- adding video1 to discover list
NvPclHwScanExternalCameras -- adding video0 to discover list
NvPclHwScanExternalCameras -- adding video1 to discover list
NvPclHwScanExternalCameras -- adding video0 to discover list
NvPclHwScanExternalCameras -- adding video1 to discover list
NvPclHwScanExternalCameras -- adding video0 to discover list
getHotplugMonitor: Getting hotplug monitor instance
 initializeHotplug++
 hotPlugfunc ++ 
 addWatch: Watch added wd='1'
CheckProcDTExists: INFO: accessing /proc/device-tree/tegra-virtual-camera-platform/modules; No such file or directory
OFParserGetVirtualDevice: NVIDIA Camera virtual enumerator not found in proc device-tree
setHotplugCallback: Registered new callback client
NvPclSetHotplugCallback: ----------------------
 hotPlugfunc: reading from inotify FD, Thread waiting 
NvPclOpen: ++++++++++++++++++++++
NvPclStateControllerOpen: Found GUID 1 match at index[0]
NvPclHwInitializeModule: allocate overrides pathname @ 0x7f886b34f0
NvPclHwInitializeModule: allocate overrides pathname @ 0x7f887253b0
NvPclHwInitializeModule: allocate overrides pathname @ 0x7f886b9890
NvPclHwInitializeModule: allocate overrides pathname @ 0x7f8807f0c0
NvPclHwInitializeModule: allocate overrides pathname @ 0x7f88849330
NvPclHwInitializeModule: allocate overrides pathname @ 0x7f88849180
LoadOverridesFile: looking for override file [/Calib/camera_override.isp] 1/16
CheckOverridesPermissions: stat(/Calib/camera_override.isp) call failed
LoadOverridesFile: looking for override file [/data/vendor/nvcam/settings/camera_overrides.isp] 2/16
CheckOverridesPermissions: stat(/data/vendor/nvcam/settings/camera_overrides.isp) call failed
LoadOverridesFile: looking for override file [/opt/nvidia/nvcam/settings/camera_overrides.isp] 3/16
CheckOverridesPermissions: stat(/opt/nvidia/nvcam/settings/camera_overrides.isp) call failed
LoadOverridesFile: looking for override file [/var/nvidia/nvcam/settings/camera_overrides.isp] 4/16
CheckOverridesPermissions: stat(/var/nvidia/nvcam/settings/camera_overrides.isp) call failed
LoadOverridesFile: looking for override file [/data/vendor/nvcam/camera_overrides.isp] 5/16
CheckOverridesPermissions: stat(/data/vendor/nvcam/camera_overrides.isp) call failed
LoadOverridesFile: looking for override file [/data/vendor/nvcam/settings/jakku_front_RBP194.isp] 6/16
CheckOverridesPermissions: stat(/data/vendor/nvcam/settings/jakku_front_RBP194.isp) call failed
LoadOverridesFile: looking for override file [/opt/nvidia/nvcam/settings/jakku_front_RBP194.isp] 7/16
CheckOverridesPermissions: stat(/opt/nvidia/nvcam/settings/jakku_front_RBP194.isp) call failed
LoadOverridesFile: looking for override file [/var/nvidia/nvcam/settings/jakku_front_RBP194.isp] 8/16
CheckOverridesPermissions: stat(/var/nvidia/nvcam/settings/jakku_front_RBP194.isp) call failed
---- imager: No override file found. ----
Imager: looking for override file [/mnt/factory/camera/factory.bin] 1/16
Imager: looking for override file [/Calib/factory.bin] 2/16
Imager: looking for override file [/Calib/calibration.bin] 3/16
Imager: looking for override file [(null)] 4/16
Imager: looking for override file [(null)] 5/16
Imager: looking for override file [(null)] 6/16
Imager: looking for override file [(null)] 7/16
Imager: looking for override file [(null)] 8/16
Imager: looking for override file [(null)] 9/16
Imager: looking for override file [(null)] 10/16
Imager: looking for override file [(null)] 11/16
Imager: looking for override file [(null)] 12/16
Imager: looking for override file [(null)] 13/16
Imager: looking for override file [(null)] 14/16
Imager: looking for override file [(null)] 15/16
Imager: looking for override file [(null)] 16/16
Imager: looking for override file [/data/vendor/nvcam/settings/factory.bin] 1/16
Imager: looking for override file [/data/vendor/nvcam/settings/jakku_front_RBP194.bin] 2/16
Imager: looking for override file [/opt/nvidia/nvcam/settings/jakku_front_RBP194.bin] 3/16
Imager: looking for override file [/var/nvidia/nvcam/settings/jakku_front_RBP194.bin] 4/16
Imager: looking for override file [(null)] 5/16
Imager: looking for override file [(null)] 6/16
Imager: looking for override file [(null)] 7/16
Imager: looking for override file [(null)] 8/16
Imager: looking for override file [(null)] 9/16
Imager: looking for override file [(null)] 10/16
Imager: looking for override file [(null)] 11/16
Imager: looking for override file [(null)] 12/16
Imager: looking for override file [(null)] 13/16
Imager: looking for override file [(null)] 14/16
Imager: looking for override file [(null)] 15/16
Imager: looking for override file [(null)] 16/16
NvPclCreateDriver: Found NvPcl Driver Hal dev_name match (v4l2_lens)
NvPclCreateDriver: Found a Driver name match (v4l2_lens)
NvPclCreateDriver: Found NvPcl Driver Hal dev_name match (v4l2_sensor)
NvPclCreateDriver: Found a Driver name match (v4l2_sensor)
NvPclConnectDrivers: hImager was NULL, creating new imager
NvPclInitializeDrivers: v4l2_lens ++++++++++++++++++
initialize WARNING: No focuser object, allocating for lens
OFDPropertyCopyToLong: could not read property [maxslewrate]
loadLensMetadata: maxslewrate not set in driver
NvPclInitializeDrivers: NvOdmLensStub ------------------
NvPclInitializeDrivers: v4l2_sensor ++++++++++++++++++
OFDPropertyGetString: could not read property [devnode-bus]
OFDPropertyGetString: could not read property [use_decibel_gain]
OFDPropertyGetString: could not read property [use_sensor_mode_id]
OFDPropertyGetString: could not read property [delayed_gain]
OFDPropertyCopyToLong: could not read property [has-eeprom]
OFDPropertyGetString: could not read property [sync_sensor]
OFDPropertyGetString: could not read property [type]
loadSubType: Sensor type missing in DT, 208
OFDPropertyCopyToLong: could not read property [set_mode_delay_ms]
OFDPropertyCopyToLong: could not read property [mode0.vc_id]
OFDPropertyCopyToLong: could not read property [mode0.csi_pixel_bit_depth]
OFDPropertyCopyToLong: could not read property [mode0.dynamic_pixel_bit_depth]
OFDPropertyGetString: could not read property [mode0.mode_type]
mode 0: Failed to load mode type
OFDPropertyGetString: could not read property [mode0.pixel_phase]
mode 0: Failed to load pixel phase
OFDPropertyCopyToLongLong: could not read property [mode0.serdes_pix_clk_hz]
OFDPropertyCopyToLongLong: could not read property [mode0.exp_time_1h]
OFDPropertyCopyToFloat: could not read property [mode0.gain_step_pitch]
OFDPropertyCopyToLong: could not read property [mode0.clk_settletime]
OFDPropertyCopyToLong: could not read property [mode0.embedded_metadata_width]
OFDPropertyGetString: could not read property [mode0.x_start]
OFDPropertyGetString: could not read property [mode0.y_start]
OFDPropertyGetString: could not read property [mode0.x_end]
OFDPropertyGetString: could not read property [mode0.y_end]
OFDPropertyGetString: could not read property [mode0.h_scaling]
OFDPropertyGetString: could not read property [mode0.v_scaling]
OFDPropertyGetString: could not read property [sensor_model]
initialize: Loaded Driver: 1 Modes Available--------------
NvPclInitializeDrivers: v4l2_sensor ------------------
NvPclOpen: ----------------------
LSC: LSC surface is not based on full res!
NvPclOpen: ++++++++++++++++++++++
NvPclStateControllerOpen: Found GUID 0 match at index[1]
NvPclHwInitializeModule: allocate overrides pathname @ 0x7f88c20be0
NvPclHwInitializeModule: allocate overrides pathname @ 0x7f88c07930
NvPclHwInitializeModule: allocate overrides pathname @ 0x7f88848040
NvPclHwInitializeModule: allocate overrides pathname @ 0x7f8882aff0
NvPclHwInitializeModule: allocate overrides pathname @ 0x7f8882b080
NvPclHwInitializeModule: allocate overrides pathname @ 0x7f8882ae40
LoadOverridesFile: looking for override file [/Calib/camera_override.isp] 1/16
CheckOverridesPermissions: stat(/Calib/camera_override.isp) call failed
LoadOverridesFile: looking for override file [/data/vendor/nvcam/settings/camera_overrides.isp] 2/16
CheckOverridesPermissions: stat(/data/vendor/nvcam/settings/camera_overrides.isp) call failed
LoadOverridesFile: looking for override file [/opt/nvidia/nvcam/settings/camera_overrides.isp] 3/16
CheckOverridesPermissions: stat(/opt/nvidia/nvcam/settings/camera_overrides.isp) call failed
LoadOverridesFile: looking for override file [/var/nvidia/nvcam/settings/camera_overrides.isp] 4/16
CheckOverridesPermissions: stat(/var/nvidia/nvcam/settings/camera_overrides.isp) call failed
LoadOverridesFile: looking for override file [/data/vendor/nvcam/camera_overrides.isp] 5/16
CheckOverridesPermissions: stat(/data/vendor/nvcam/camera_overrides.isp) call failed
LoadOverridesFile: looking for override file [/data/vendor/nvcam/settings/jakku_rear_RBP194.isp] 6/16
CheckOverridesPermissions: stat(/data/vendor/nvcam/settings/jakku_rear_RBP194.isp) call failed
LoadOverridesFile: looking for override file [/opt/nvidia/nvcam/settings/jakku_rear_RBP194.isp] 7/16
CheckOverridesPermissions: stat(/opt/nvidia/nvcam/settings/jakku_rear_RBP194.isp) call failed
LoadOverridesFile: looking for override file [/var/nvidia/nvcam/settings/jakku_rear_RBP194.isp] 8/16
CheckOverridesPermissions: stat(/var/nvidia/nvcam/settings/jakku_rear_RBP194.isp) call failed
---- imager: No override file found. ----
Imager: looking for override file [/mnt/factory/camera/factory.bin] 1/16
Imager: looking for override file [/Calib/factory.bin] 2/16
Imager: looking for override file [/Calib/calibration.bin] 3/16
Imager: looking for override file [(null)] 4/16
Imager: looking for override file [(null)] 5/16
Imager: looking for override file [(null)] 6/16
Imager: looking for override file [(null)] 7/16
Imager: looking for override file [(null)] 8/16
Imager: looking for override file [(null)] 9/16
Imager: looking for override file [(null)] 10/16
Imager: looking for override file [(null)] 11/16
Imager: looking for override file [(null)] 12/16
Imager: looking for override file [(null)] 13/16
Imager: looking for override file [(null)] 14/16
Imager: looking for override file [(null)] 15/16
Imager: looking for override file [(null)] 16/16
Imager: looking for override file [/data/vendor/nvcam/settings/factory.bin] 1/16
Imager: looking for override file [/data/vendor/nvcam/settings/jakku_rear_RBP194.bin] 2/16
Imager: looking for override file [/opt/nvidia/nvcam/settings/jakku_rear_RBP194.bin] 3/16
Imager: looking for override file [/var/nvidia/nvcam/settings/jakku_rear_RBP194.bin] 4/16
Imager: looking for override file [(null)] 5/16
Imager: looking for override file [(null)] 6/16
Imager: looking for override file [(null)] 7/16
Imager: looking for override file [(null)] 8/16
Imager: looking for override file [(null)] 9/16
Imager: looking for override file [(null)] 10/16
Imager: looking for override file [(null)] 11/16
Imager: looking for override file [(null)] 12/16
Imager: looking for override file [(null)] 13/16
Imager: looking for override file [(null)] 14/16
Imager: looking for override file [(null)] 15/16
Imager: looking for override file [(null)] 16/16
NvPclCreateDriver: Found NvPcl Driver Hal dev_name match (v4l2_lens)
NvPclCreateDriver: Found a Driver name match (v4l2_lens)
NvPclCreateDriver: Found NvPcl Driver Hal dev_name match (v4l2_sensor)
NvPclCreateDriver: Found a Driver name match (v4l2_sensor)
NvPclConnectDrivers: hImager was NULL, creating new imager
NvPclInitializeDrivers: v4l2_lens ++++++++++++++++++
initialize WARNING: No focuser object, allocating for lens
OFDPropertyCopyToLong: could not read property [maxslewrate]
loadLensMetadata: maxslewrate not set in driver
NvPclInitializeDrivers: NvOdmLensStub ------------------
NvPclInitializeDrivers: v4l2_sensor ++++++++++++++++++
OFDPropertyGetString: could not read property [devnode-bus]
OFDPropertyGetString: could not read property [use_decibel_gain]
OFDPropertyGetString: could not read property [use_sensor_mode_id]
OFDPropertyGetString: could not read property [delayed_gain]
OFDPropertyCopyToLong: could not read property [has-eeprom]
OFDPropertyGetString: could not read property [sync_sensor]
OFDPropertyGetString: could not read property [type]
loadSubType: Sensor type missing in DT, 208
OFDPropertyCopyToLong: could not read property [set_mode_delay_ms]
OFDPropertyCopyToLong: could not read property [mode0.vc_id]
OFDPropertyCopyToLong: could not read property [mode0.csi_pixel_bit_depth]
OFDPropertyCopyToLong: could not read property [mode0.dynamic_pixel_bit_depth]
OFDPropertyGetString: could not read property [mode0.mode_type]
mode 0: Failed to load mode type
OFDPropertyGetString: could not read property [mode0.pixel_phase]
mode 0: Failed to load pixel phase
OFDPropertyCopyToLongLong: could not read property [mode0.serdes_pix_clk_hz]
OFDPropertyCopyToLongLong: could not read property [mode0.exp_time_1h]
OFDPropertyCopyToFloat: could not read property [mode0.gain_step_pitch]
OFDPropertyCopyToLong: could not read property [mode0.clk_settletime]
OFDPropertyCopyToLong: could not read property [mode0.embedded_metadata_width]
OFDPropertyGetString: could not read property [mode0.x_start]
OFDPropertyGetString: could not read property [mode0.y_start]
OFDPropertyGetString: could not read property [mode0.x_end]
OFDPropertyGetString: could not read property [mode0.y_end]
OFDPropertyGetString: could not read property [mode0.h_scaling]
OFDPropertyGetString: could not read property [mode0.v_scaling]
OFDPropertyCopyToLong: could not read property [set_mode_delay_ms]
OFDPropertyCopyToLong: could not read property [mode1.vc_id]
OFDPropertyCopyToLong: could not read property [mode1.csi_pixel_bit_depth]
OFDPropertyCopyToLong: could not read property [mode1.dynamic_pixel_bit_depth]
OFDPropertyGetString: could not read property [mode1.mode_type]
mode 1: Failed to load mode type
OFDPropertyGetString: could not read property [mode1.pixel_phase]
mode 1: Failed to load pixel phase
OFDPropertyCopyToLongLong: could not read property [mode1.serdes_pix_clk_hz]
OFDPropertyCopyToLongLong: could not read property [mode1.exp_time_1h]
OFDPropertyCopyToFloat: could not read property [mode1.gain_step_pitch]
OFDPropertyCopyToLong: could not read property [mode1.clk_settletime]
OFDPropertyCopyToLong: could not read property [mode1.embedded_metadata_width]
OFDPropertyGetString: could not read property [mode1.x_start]
OFDPropertyGetString: could not read property [mode1.y_start]
OFDPropertyGetString: could not read property [mode1.x_end]
OFDPropertyGetString: could not read property [mode1.y_end]
OFDPropertyGetString: could not read property [mode1.h_scaling]
OFDPropertyGetString: could not read property [mode1.v_scaling]
OFDPropertyCopyToLong: could not read property [set_mode_delay_ms]
OFDPropertyCopyToLong: could not read property [mode2.vc_id]
OFDPropertyCopyToLong: could not read property [mode2.csi_pixel_bit_depth]
OFDPropertyCopyToLong: could not read property [mode2.dynamic_pixel_bit_depth]
OFDPropertyGetString: could not read property [mode2.mode_type]
mode 2: Failed to load mode type
OFDPropertyGetString: could not read property [mode2.pixel_phase]
mode 2: Failed to load pixel phase
OFDPropertyCopyToLongLong: could not read property [mode2.serdes_pix_clk_hz]
OFDPropertyCopyToLongLong: could not read property [mode2.exp_time_1h]
OFDPropertyCopyToFloat: could not read property [mode2.gain_step_pitch]
OFDPropertyCopyToLong: could not read property [mode2.clk_settletime]
OFDPropertyCopyToLong: could not read property [mode2.embedded_metadata_width]
OFDPropertyGetString: could not read property [mode2.x_start]
OFDPropertyGetString: could not read property [mode2.y_start]
OFDPropertyGetString: could not read property [mode2.x_end]
OFDPropertyGetString: could not read property [mode2.y_end]
OFDPropertyGetString: could not read property [mode2.h_scaling]
OFDPropertyGetString: could not read property [mode2.v_scaling]
OFDPropertyCopyToLong: could not read property [set_mode_delay_ms]
OFDPropertyCopyToLong: could not read property [mode3.vc_id]
OFDPropertyCopyToLong: could not read property [mode3.csi_pixel_bit_depth]
OFDPropertyCopyToLong: could not read property [mode3.dynamic_pixel_bit_depth]
OFDPropertyGetString: could not read property [mode3.mode_type]
mode 3: Failed to load mode type
OFDPropertyGetString: could not read property [mode3.pixel_phase]
mode 3: Failed to load pixel phase
OFDPropertyCopyToLongLong: could not read property [mode3.serdes_pix_clk_hz]
OFDPropertyCopyToLongLong: could not read property [mode3.exp_time_1h]
OFDPropertyCopyToFloat: could not read property [mode3.gain_step_pitch]
OFDPropertyCopyToLong: could not read property [mode3.clk_settletime]
OFDPropertyCopyToLong: could not read property [mode3.embedded_metadata_width]
OFDPropertyGetString: could not read property [mode3.x_start]
OFDPropertyGetString: could not read property [mode3.y_start]
OFDPropertyGetString: could not read property [mode3.x_end]
OFDPropertyGetString: could not read property [mode3.y_end]
OFDPropertyGetString: could not read property [mode3.h_scaling]
OFDPropertyGetString: could not read property [mode3.v_scaling]
OFDPropertyCopyToLong: could not read property [set_mode_delay_ms]
OFDPropertyCopyToLong: could not read property [mode4.vc_id]
OFDPropertyCopyToLong: could not read property [mode4.csi_pixel_bit_depth]
OFDPropertyCopyToLong: could not read property [mode4.dynamic_pixel_bit_depth]
OFDPropertyGetString: could not read property [mode4.mode_type]
mode 4: Failed to load mode type
OFDPropertyGetString: could not read property [mode4.pixel_phase]
mode 4: Failed to load pixel phase
OFDPropertyCopyToLongLong: could not read property [mode4.serdes_pix_clk_hz]
OFDPropertyCopyToLongLong: could not read property [mode4.exp_time_1h]
OFDPropertyCopyToFloat: could not read property [mode4.gain_step_pitch]
OFDPropertyCopyToLong: could not read property [mode4.clk_settletime]
OFDPropertyCopyToLong: could not read property [mode4.embedded_metadata_width]
OFDPropertyGetString: could not read property [mode4.x_start]
OFDPropertyGetString: could not read property [mode4.y_start]
OFDPropertyGetString: could not read property [mode4.x_end]
OFDPropertyGetString: could not read property [mode4.y_end]
OFDPropertyGetString: could not read property [mode4.h_scaling]
OFDPropertyGetString: could not read property [mode4.v_scaling]
OFDPropertyGetString: could not read property [sensor_model]
initialize: Loaded Driver: 5 Modes Available--------------
NvPclInitializeDrivers: v4l2_sensor ------------------
NvPclOpen: ----------------------
LSC: LSC surface is not based on full res!
=== gst-launch-1.0[9460]: CameraProvider initialized (0x7f88c20c70)sourceRegistry[0] assigned

ispRegistry[0] assigned

Using Source GUID 1
Worker thread ViCsiHw frameComplete start
Worker thread ViCsiHw frameStart start
NvPclPowerOn: +++++++++++
NvPclPowerOn: -----------
Using ISP A
NvPHSSendThroughputHints: sensorId=1, m_usecase=4, m_type=2, m_value=4294967295, m_timeout_ms=1000

LSC: LSC surface is not based on full res!
AC plugin not present: dlopen "acplugin.so", acplugin.so: cannot open shared object file: No such file or directory
No library found, disabling AC plugin.
NvIspAfConfigParamsSanityCheck: Error: positionWorkingHigh is not larger than positionWorkingLow positionWorkingHigh = 0, positionWorkingLow = 0

NvIspAfConfigParamsSanityCheck: Error: positionWorkingHigh is not larger than positionWorkingLow positionWorkingHigh = 0, positionWorkingLow = 0

Worker thread CaptureDispatcher start
NvIspAfConfigParamsSanityCheck: Error: positionWorkingHigh is not larger than positionWorkingLow positionWorkingHigh = 0, positionWorkingLow = 0

Session::updatePerfHints()
updatePerfHints(): guid=1ll, CaptureIntent=1
updatePerfHints(): NvCameraCoreUseCase_Preview
NvPHSSendThroughputHints: sensorId=1, m_usecase=4, m_type=1, m_value=30, m_timeout_ms=1000

NvPHSSendThroughputHints: sensorId=1, m_usecase=4, m_type=15, m_value=0, m_timeout_ms=1000

No output buffers for 2
No output buffers for 1
InstructionList:
  + GraphSettings
      | SensorMode: 376x376 BayerS16BGGR 30.0fps
      | output 0: 376x376 BL U8_V8_ER 420SP
      | inputClipRect 0: (0.00,0.00, 1.00,1.00)
      | sharedIsp

  + Instruction List
      | id: 0
      +  0: CCDataSetupStage
          | EstimatedIspOutLatencyFrames: 6
          | NumConcurrentCaptures: 1
          | UnprocessedYuvBufferMask: 0
      +  1: ACSynchronizeStage
      +  2: AeAfApplyStage
      +  3: AcPluginStage
          | operation: opApply
      +  4: AcMergeStage
          | IspIn: [376, 376]
          | IspOut0: [376, 376]
          | IspOut1: [0, 0]
          | IspOut2: [640, 640]
      +  5: TempBufferAcquireStage
          | Buffer Index: 3
          | BufferRequirements: 376x376 Pitch BayerS16BGGR
      +  6: TempBufferAcquireStage
          | Buffer Index: 4
          | BufferRequirements: 376x1 Pitch NonColor8
      +  7: SensorCaptureStage
          | Master: 1
          | Source GUID: 1
          | Output Buffer: 3
          | SensorMetadata Buffer: 4
      +  8: StatsBufferAcquireStage
          | Buffer Index: 1
          | BufferRequirements: 640x640 Pitch U8_V8_ER 420SP
      +  9: TempBufferAcquireStage
          | Buffer Index: 2
          | BufferRequirements: 524288x1 Pitch NonColor8
      + 10: MemoryToISPCaptureStage
          | Master: 1
          | Input Buffer: 3
          | Output A Buffer: 0
          | Output Thumb Buffer: 1
          | Output IspStats Buffer: 2
          | Source GUID: 1
      + 11: BufferReturnStage
          | Output A Buffer: 3
      + 12: StatsUpdateStage
          | Output Meta Buffer: 4
          | Output IspStats Buffer: 2
      + 13: BufferReturnStage
          | Output A Buffer: 4
      + 14: BufferReturnStage
          | Output A Buffer: 2
      + 15: AcPluginStage
          | operation: opAnalyze
      + 16: AfAnalysisStage
      + 17: MonitorStage
      + 18: ExifStage
      + 19: MakerNoteStage
      + 20: BufferReturnStage
          | Output A Buffer: 0
      + 21: MetadataReturnStage
      + 22: PerfStatsStage

Session::updatePerfHints()
updatePerfHints(): guid=1ll, CaptureIntent=1
updatePerfHints(): NvCameraCoreUseCase_Preview
NvPHSSendThroughputHints: sensorId=1, m_usecase=4, m_type=1, m_value=30, m_timeout_ms=1000

NvPHSSendThroughputHints: sensorId=1, m_usecase=4, m_type=15, m_value=0, m_timeout_ms=1000

Thread 1 is working on CC 101 session 1 globalID 101 step 0
Created fiber 0x7f30000b20 for CC 101 globalID 101 session 1
Created fiber 0x7f30000dd0 for CC 102 globalID 102 session 1
Thread 2 is working on CC 102 session 1 globalID 102 step 0
CC 102 session 1 stalled step 0 in fiber 0x7f30000dd0
FiberScheduler: cc 102, session 1 fiber 0x7f30000dd0 not ready to execute stalled on 0x7f88823d40 stage...

Thread 2 getting next capture
Thread 2 is waiting
Thread 3 is waiting
Session::updatePerfHints()
updatePerfHints(): guid=1ll, CaptureIntent=1
updatePerfHints(): NvCameraCoreUseCase_Preview
NvPHSSendThroughputHints: sensorId=1, m_usecase=4, m_type=1, m_value=30, m_timeout_ms=1000

NvPHSSendThroughputHints: sensorId=1, m_usecase=4, m_type=15, m_value=0, m_timeout_ms=1000

CC 101 session 1 completed step 0 in fiber 0x7f30000b20
Thread 4 is working on CC 102 session 1 globalID 102 step 0
cc 101(1) session 1 runCount=0 runIspOut=0, latest ccId=0
CC 101 session 1 completed step 1 in fiber 0x7f30000b20
NV AE and AfApply algorithms are active.
CC 101 session 1 completed step 2 in fiber 0x7f30000b20
CC 101 session 1 completed step 3 in fiber 0x7f30000b20
CC 102 session 1 completed step 0 in fiber 0x7f30000dd0
cc 102(2) session 1 runCount=1 runIspOut=0, latest ccId=0
CC 102 session 1 completed step 1 in fiber 0x7f30000dd0
NV AE and AfApply algorithms are active.
CC 102 session 1 completed step 2 in fiber 0x7f30000dd0
CC 102 session 1 completed step 3 in fiber 0x7f30000dd0
CC 102 session 1 stalled step 4 in fiber 0x7f30000dd0
FiberScheduler: cc 102, session 1 fiber 0x7f30000dd0 not ready to execute stalled on 0x7f88823920 stage...

Thread 4 getting next capture
Thread 5 is waiting
Thread 4 is waiting
Thread 6 is working on CC 102 session 1 globalID 102 step 4
CC 101 session 1 completed step 4 in fiber 0x7f30000b20
CC 102 session 1 completed step 4 in fiber 0x7f30000dd0
CC 102 session 1 completed step 5 in fiber 0x7f30000dd0
CC 102 session 1 completed step 6 in fiber 0x7f30000dd0
CC 102 session 1 stalled step 7 in fiber 0x7f30000dd0
FiberScheduler: cc 102, session 1 fiber 0x7f30000dd0 not ready to execute stalled on 0x7f88824dc0 stage...

Thread 6 getting next capture
CC 101 session 1 completed step 5 in fiber 0x7f30000b20Thread 7 is waiting
Thread 6 is waiting

CC 101 session 1 completed step 6 in fiber 0x7f30000b20
Thread 8 is working on CC 102 session 1 globalID 102 step 7
CC 101 session 1 processing step 7 in fiber 0x7f30000b20
FiberScheduler: cc 101, session 1, fiber 0x7f30000b20 in progress...

Thread 1 getting next capture
Thread 1 is waiting
Thread 9 is waiting
CC 102 session 1 processing step 7 in fiber 0x7f30000dd0
FiberScheduler: cc 102, session 1, fiber 0x7f30000dd0 in progress...

Thread 8 getting next capture
Thread 10 is waiting
Thread 8 is waiting
NvPclSettingsUpdate: Sending Updated Settings through PCL
NvPclSettingsApply: Applying last settings through PCL
apply:+++++++++++++++++++++++
writeMode: Target mode Id(0): Resolution 376x376
writeFrameRate:	INPUT frameRate:30.000000
writeGain:	INPUT gainCtrl:10 analogGain:1.000000
updateOutputSettings:	OUTPUT frameRate:30.000000
updateOutputSettings:	OUTPUT analogGain:1.000000
apply:-----------------------
NvPclSettingsApply: Reading PCL settings
NvPclSettingsUpdate: Sending Updated Settings through PCL
NvPclSettingsApply: Applying last settings through PCL
apply:+++++++++++++++++++++++
writeExposure:	INPUT expTime:0.033330
updateOutputSettings:	OUTPUT expTime:0.033330
apply:-----------------------
NvPclSettingsApply: Reading PCL settings
PowerServiceHw:addRequest: table size: before: 0, after:1
	request table for ISP 0:
	req[0]: output1 width=0, output1 height=0, output1 Bpp=0
	req[0]: output2 width=0, output2 height=0, output2 Bpp=0
	req[0]: input width=376, input height=376, input Bpp=10
	req[0]: output width=376, output height=376, output Bpp=16
	req[0]: input fps=30
	req[0]: guID=1, stage type=MemIspCapture
	req[0]: clock=0 Hz, iso bw=0 KB/s, non-iso bw=31927 KB/s
	req[450]: timeout=0
PowerServiceHwIsp:setLaBw: m_bwVal_Iso=0 and m_bwVal_NonIso=31927 KBpS

PowerServiceCore:setCameraBw: totalNonIsoBw=31927
NvPclSettingsUpdate: Sending Updated Settings through PCL
NvPclSettingsApply: Applying last settings through PCL
apply:+++++++++++++++++++++++
apply:-----------------------
NvPclSettingsApply: Reading PCL settings
NvPclSettingsUpdate: Sending Updated Settings through PCL
NvPclSettingsApply: Applying last settings through PCL
apply:+++++++++++++++++++++++
apply:-----------------------
NvPclSettingsApply: Reading PCL settings
NvPclSettingsUpdate: Sending Updated Settings through PCL
NvPclSettingsApply: Applying last settings through PCL
apply:+++++++++++++++++++++++
apply:-----------------------
NvPclSettingsApply: Reading PCL settings
NvPclSettingsUpdate: Sending Updated Settings through PCL
NvPclSettingsApply: Applying last settings through PCL
apply:+++++++++++++++++++++++
apply:-----------------------
NvPclSettingsApply: Reading PCL settings
(NvCapture) Error Timeout: capture waiting for status timeout (in /dvs/git/dirty/git-master_linux/camera/capture/nvcapture/capture_hw_linux.c, function NvCaptureLinuxGetCaptureStatus(), line 362)
(NvCapture) Error Timeout:  (propagating from /dvs/git/dirty/git-master_linux/camera/capture/nvcapture/capture.c, function NvCaptureDequeue(), line 1055)
SCF: Error Timeout:  (propagating from src/services/capture/NvCaptureViCsiHw.cpp, function waitCsiFrameEnd(), line 890)
SCF: Error InvalidState: Timeout waiting on frame end sensor guid 1, capture sequence ID = 1, channel = 1/1 (in src/services/capture/NvCaptureViCsiHw.cpp, function waitCsiFrameEnd(), line 897)
SCF: Error InvalidState: Something went wrong with waiting on frame end (in src/services/capture/NvCaptureViCsiHw.cpp, function waitCsiFrameEnd(), line 983)
SCF: Error InvalidState: Something went wrong with waiting on frame end (in src/services/capture/NvCaptureViCsiHw.cpp, function waitCsiFrameEnd(), line 983)
CaptureService cancelling request 1
FiberScheduler: cc 101, session 1, fiber 0x7f30000b20 aborted in async operation

SCF: Error InvalidState: Timeout waiting on frame start sensor guid 1, capture sequence ID = 1 (in src/services/capture/NvCaptureViCsiHw.cpp, function waitCsiFrameStart(), line 1010)
FiberScheduler: cc 102, session 1, fiber 0x7f30000dd0 aborted in async operation

FiberScheduler: fiber 0x7f30000b20 exiting
FiberScheduler: fiber 0x7f30000dd0 exiting
NvPclSettingsUpdate: Sending Updated Settings through PCL
NvPclSettingsApply: Applying last settings through PCL
apply:+++++++++++++++++++++++
SCF: Error InvalidState: Something went wrong with waiting on frame start (in src/services/capture/NvCaptureViCsiHw.cpp, function waitCsiFrameStart(), line 1069)
SCF: Error InvalidState: Something went wrong with waiting on frame start (in src/services/capture/NvCaptureViCsiHw.cpp, function waitCsiFrameStart(), line 1069)
disposing CC 102 Session 1
disposing CC 101 Session 1
Thread 11 is waiting
Session::updatePerfHints()
updatePerfHints(): guid=1ll, CaptureIntent=1
updatePerfHints(): NvCameraCoreUseCase_Preview
NvPHSSendThroughputHints: sensorId=1, m_usecase=4, m_type=1, m_value=30, m_timeout_ms=1000

NvPHSSendThroughputHints: sensorId=1, m_usecase=4, m_type=15, m_value=0, m_timeout_ms=1000

Thread 12 is waiting
Created fiber 0x7f30000f70 for CC 103 globalID 103 session 1
Thread 2 is working on CC 103 session 1 globalID 103 step 0
CC 103 session 1 completed step 0 in fiber 0x7f30000f70
cc 103(3) session 1 runCount=2 runIspOut=0, latest ccId=0
CC 103 session 1 completed step 1 in fiber 0x7f30000f70
NV AE and AfApply algorithms are active.
CC 103 session 1 completed step 2 in fiber 0x7f30000f70
CC 103 session 1 completed step 3 in fiber 0x7f30000f70
CC 103 session 1 completed step 4 in fiber 0x7f30000f70
CC 103 session 1 completed step 5 in fiber 0x7f30000f70
CC 103 session 1 completed step 6 in fiber 0x7f30000f70
apply:-----------------------
NvPclSettingsApply: Reading PCL settings
CC 103 session 1 processing step 7 in fiber 0x7f30000f70
FiberScheduler: cc 103, session 1, fiber 0x7f30000f70 in progress...

NvPclSettingsUpdate: Sending Updated Settings through PCL
NvPclSettingsApply: Applying last settings through PCL
apply:+++++++++++++++++++++++
Thread 3 is waiting
Thread 2 getting next capture
Thread 2 is waiting
apply:-----------------------
NvPclSettingsApply: Reading PCL settings
PowerServiceCore:handleRequests: timePassed = 1540
NvPclSettingsUpdate: Sending Updated Settings through PCL
NvPclSettingsApply: Applying last settings through PCL
apply:+++++++++++++++++++++++
apply:-----------------------
NvPclSettingsApply: Reading PCL settings
NvPclSettingsUpdate: Sending Updated Settings through PCL
NvPclSettingsApply: Applying last settings through PCL
apply:+++++++++++++++++++++++
apply:-----------------------
NvPclSettingsApply: Reading PCL settings
NvPclSettingsUpdate: Sending Updated Settings through PCL
NvPclSettingsApply: Applying last settings through PCL
apply:+++++++++++++++++++++++
apply:-----------------------
NvPclSettingsApply: Reading PCL settings
(NvCapture) Error Timeout: capture waiting for status timeout (in /dvs/git/dirty/git-master_linux/camera/capture/nvcapture/capture_hw_linux.c, function NvCaptureLinuxGetCaptureStatus(), line 362)
(NvCapture) Error Timeout:  (propagating from /dvs/git/dirty/git-master_linux/camera/capture/nvcapture/capture.c, function NvCaptureDequeue(), line 1055)
SCF: Error Timeout:  (propagating from src/services/capture/NvCaptureViCsiHw.cpp, function waitCsiFrameEnd(), line 890)
SCF: Error InvalidState: Timeout waiting on frame end sensor guid 1, capture sequence ID = 4, channel = 1/1 (in src/services/capture/NvCaptureViCsiHw.cpp, function waitCsiFrameEnd(), line 897)
SCF: Error InvalidState: Something went wrong with waiting on frame end (in src/services/capture/NvCaptureViCsiHw.cpp, function waitCsiFrameEnd(), line 983)
FiberScheduler: cc 103, session 1, fiber 0x7f30000f70 aborted in async operation

FiberScheduler: fiber 0x7f30000f70 exiting
SCF: Error InvalidState: Timeout waiting on frame start sensor guid 1, capture sequence ID = 4 (in src/services/capture/NvCaptureViCsiHw.cpp, function waitCsiFrameStart(), line 1010)
disposing CC 103 Session 1
Thread 5 is waiting
NvPclSettingsUpdate: Sending Updated Settings through PCL
NvPclSettingsApply: Applying last settings through PCL
apply:+++++++++++++++++++++++
apply:-----------------------
NvPclSettingsApply: Reading PCL settings
SCF: Error InvalidState: Something went wrong with waiting on frame start (in src/services/capture/NvCaptureViCsiHw.cpp, function waitCsiFrameStart(), line 1069)
Created fiber 0x7f30000b20 for CC 104 globalID 104 session 1
Session 1 aborting capture 104 (API ID: 4)
Thread 4 is working on CC 104 session 1 globalID 104 step 0
Fiber 0x7f30000b20 is aborting in CC 104 Session 1
FiberScheduler: cc 104 session 1, fiber 0x7f30000b20 aborted

FiberScheduler: fiber 0x7f30000b20 exiting
Thread 4 getting next capture
Thread 6 is waiting
Thread 7 is waiting
Thread 4 is waiting
NvPHSSendThroughputHints: sensorId=1, m_usecase=4, m_type=2, m_value=4294967295, m_timeout_ms=1000

Worker thread CaptureDispatcher stop
disposing CC 104 Session 1
Worker thread ViCsiHw frameComplete stop
Worker thread ViCsiHw frameStart stop
NvPclPowerOff: +++++++++++
NvPclPowerOff: -----------
PowerServiceHw:removeRequests: table size: before: 1, after:0
	request table for ISP 0:
PowerServiceCore:handleRequests: timePassed = 1541
PowerServiceHwIsp:setLaBw: m_bwVal_Iso=0 and m_bwVal_NonIso=0 KBpS

PowerServiceCore:setCameraBw: totalNonIsoBw=0
=== gst-launch-1.0[9460]: CameraProvider destroyed (0x7f88c20c70)Stopping services...
Worker thread CaptureScheduler frameStart stop
Worker thread CaptureScheduler checkFramePending stop
Worker thread IspHw statsComplete stop
Worker thread IspHw frameComplete stop
Worker thread V4L2CaptureScheduler issueCaptures stop
Worker thread V4L2CaptureScheduler checkCaptureComplete stop
NvPclClose: ++++++++++++++++++++++
NvPclCloseModuleDrivers: deallocate/free overrides pathname @ 0x7f8807f0c0
NvPclCloseModuleDrivers: deallocate/free overrides pathname @ 0x7f88849330
NvPclCloseModuleDrivers: deallocate/free overrides pathname @ 0x7f88849180
NvPclCloseModuleDrivers: deallocate/free overrides pathname @ 0x7f886b34f0
NvPclCloseModuleDrivers: deallocate/free overrides pathname @ 0x7f887253b0
NvPclCloseModuleDrivers: deallocate/free overrides pathname @ 0x7f886b9890
NvPclStateControllerClose: Module jakku_front_RBP194 closed
NvPclClose: ----------------------
NvPclClose: ++++++++++++++++++++++
NvPclCloseModuleDrivers: deallocate/free overrides pathname @ 0x7f8882aff0
NvPclCloseModuleDrivers: deallocate/free overrides pathname @ 0x7f8882b080
NvPclCloseModuleDrivers: deallocate/free overrides pathname @ 0x7f8882ae40
NvPclCloseModuleDrivers: deallocate/free overrides pathname @ 0x7f88c20be0
NvPclCloseModuleDrivers: deallocate/free overrides pathname @ 0x7f88c07930
NvPclCloseModuleDrivers: deallocate/free overrides pathname @ 0x7f88848040
NvPclStateControllerClose: Module jakku_rear_RBP194 closed
NvPclClose: ----------------------
NvPclShutdown: ++++++++++++++++++++++
NvPclModuleListShutdown: Client still conntected, skipping shutdown
NvPclShutdown: ----------------------
Worker thread PS handleRequests stop
unsubscribe: SensorType(gyroscope)
unsubscribe: gyroscope sensor(0x7f8807c3c0)
unsubscribe: SensorType(accelerometer)
unsubscribe: accelerometer sensor(0x7f887dac80)
Services are stopped
closeInstance: ms_instance((nil))
NvPclRemoveHotplugCallback: ++++++++++++++++++++++
getHotplugMonitor: Getting hotplug monitor instance
 shutdownHotplug: Requesting thread exit
 hotPlugfunc: Read 16 bytes from inotify FD
 hotPlugfunc: A File was Modified 00008000 NAME :  CREATE : 00000100, DELETE : 00000200 IGNORED : 00008000 CLOSE_WRITE : 00000008
 hotPlugfunc: Exit thread
 hotPlugfunc -- 
 shutdownHotplug -- : shutdown of hotplug is complete 
Removed callback client
NvPclRemoveHotplugCallback: ----------------------
FiberScheduler: shutting down; 0 fibers still in map

FiberScheduler: thread 1 exiting
FiberScheduler: thread 10 exiting
FiberScheduler: thread 12 exiting
FiberScheduler: thread 11 exiting
FiberScheduler: thread 3 exiting
FiberScheduler: thread 5 exiting
FiberScheduler: thread 6 exiting
FiberScheduler: thread 7 exiting
FiberScheduler: thread 8 exiting
FiberScheduler: thread 9 exiting
FiberScheduler: thread 2 exiting
FiberScheduler: thread 4 exiting
FiberScheduler: thread 12 has been joined
FiberScheduler: thread 11 has been joined
FiberScheduler: thread 10 has been joined
FiberScheduler: thread 9 has been joined
FiberScheduler: thread 8 has been joined
FiberScheduler: thread 7 has been joined
FiberScheduler: thread 6 has been joined
FiberScheduler: thread 5 has been joined
FiberScheduler: thread 4 has been joined
FiberScheduler: thread 3 has been joined
FiberScheduler: thread 2 has been joined
FiberScheduler: thread 1 has been joined
=== gst-launch-1.0[9460]: Connection closed (7F8FAA11D0)=== gst-launch-1.0[9460]: Connection cleaned up (7F8FAA11D0)

Looks like ISP minima size must be 640

 4: AcMergeStage
          | IspIn: [376, 376]
          | IspOut0: [376, 376]
          | IspOut1: [0, 0]
          | IspOut2: [640, 640]

Hi @ShaneCCC ,
Is there a way to configure it for 376*376 ?

I would suggest to use v4l2src with bayer2rgb element.

Hi @ShaneCCC ,
will it run using ISP ?

No, it’s software debayer.

Hi @ShaneCCC ,
Can you suggest a way to use ISP for 376*376 resolution ?