IMX378 camera freezes on Jetpack 4.2 with jetson nano

We are producing IMX378 camera module.
I updated the driver and device tree, but freeze on gst-launch with jetson nano.
RAW acquisition succeeds in bypass mode of V4L2.
Please let me know if anything is known.
Attach device tree information and error log.

gst-launch-1.0 nvarguscamerasrc ! “video/x-raw(memory:NVMM), width=(int)640, height=(int)480, framerate=(fraction)30/1” ! nvvidconv ! queue ! xvimagesink

v4l2-ctl -d /dev/video0 --set-fmt-video=width=640,height=480,pixelformat=RG10 --set-ctrl bypass_mode=0 --stream-mmap --stream-skip=1 --stream-count=1 --stream-to=test.raw

/ {
	host1x {
		vi {
			num-channels = <1>;
			ports {
				#address-cells = <1>;
				#size-cells = <0>;
				port@0 {
					reg = <0>;
					rbpcv2_imx378_vi_in0: endpoint {
						port-index = <0>;
						bus-width = <2>;
						remote-endpoint = <&rbpcv2_imx378_csi_out0>;
					};
				};
			};
		};

		nvcsi {
			num-channels = <1>;
			#address-cells = <1>;
			#size-cells = <0>;
			channel@0 {
				reg = <0>;
				ports {
					#address-cells = <1>;
					#size-cells = <0>;
					port@0 {
						reg = <0>;
						rbpcv2_imx378_csi_in0: endpoint@0 {
							port-index = <0>;
							bus-width = <2>;
							remote-endpoint = <&rbpcv2_imx378_out0>;
						};
					};
					port@1 {
						reg = <1>;
						rbpcv2_imx378_csi_out0: endpoint@1 {
							remote-endpoint = <&rbpcv2_imx378_vi_in0>;
						};
					};
				};
			};
		};

		i2c@546c0000 {
			rbpcv2_imx378_a@1a {
				compatible = "nvidia,imx378";
				/* I2C device address */
				reg = <0x1a>;

				/* V4L2 device node location */
				devnode = "video0";

				/* Physical dimensions of sensor */
				physical_w = "7.564";
				physical_h = "5.476";

				sensor_model = "imx378";

				use_sensor_mode_id = "true";

				mode0 { /* IMX378_MODE_640X480_200FPS */
					mclk_khz = "6000";
					num_lanes = "2";
					tegra_sinterface = "serial_a";
					phy_mode = "DPHY";
					discontinuous_clk = "yes";
					dpcm_enable = "false";
					cil_settletime = "0";

					active_w = "640";
					active_h = "480";
					pixel_t = "bayer_rggb";
					readout_orientation = "90";
					line_length = "1556";
					inherent_gain = "1";
					mclk_multiplier = "137";
					pix_clk_hz = "164400000";

					gain_factor = "16";
					framerate_factor = "1000000";
					exposure_factor = "1000000";
					min_gain_val = "16"; /* 1.00x0 */
					max_gain_val = "352"; /* 22.0x */
					step_gain_val = "1";
					default_gain = "16"; /* 1.00x */
					min_hdr_ratio = "1";
					max_hdr_ratio = "64";
					min_framerate = "1000000"; /* 1.0 fps */
					max_framerate = "200000000"; /* 200.0 fps */
					step_framerate = "1";
					default_framerate = "200000000"; /* 200.0 fps */
					min_exp_time = "1"; /* us */
					max_exp_time = "65515"; /* us */
					step_exp_time = "1";
					default_exp_time = "2495"; /* us */

					embedded_metadata_height = "0";
				};
				mode1 { /* IMX378_MODE_4056X3040_30FPS */
					mclk_khz = "6000";
					num_lanes = "2";
					tegra_sinterface = "serial_a";
					phy_mode = "DPHY";
					discontinuous_clk = "yes";
					dpcm_enable = "false";
					cil_settletime = "0";

					active_w = "4032";
					active_h = "3040";
					pixel_t = "bayer_rggb";
					readout_orientation = "90";
					line_length = "6225";
					inherent_gain = "1";
					mclk_multiplier = "249";
					pix_clk_hz = "298800000";

					gain_factor = "16";
					framerate_factor = "1000000";
					exposure_factor = "1000000";
					min_gain_val = "16"; /* 1.00x */
					max_gain_val = "352"; /* 22.0x */
					step_gain_val = "1";
					default_gain = "16"; /* 1.00x */
					min_hdr_ratio = "1";
					max_hdr_ratio = "64";
					min_framerate = "1000000"; /* 1.0 fps */
					max_framerate = "15000000"; /* 15.0 fps */
					step_framerate = "1";
					default_framerate = "15000000"; /* 15.0 fps */
					min_exp_time = "1"; /* us */
					max_exp_time = "65515"; /* us */
					step_exp_time = "1";
					default_exp_time = "2495"; /* us */

					embedded_metadata_height = "0";
				};
				mode2 { /* IMX378_MODE_3840X2160_30FPS */
					mclk_khz = "6000";
					num_lanes = "2";
					tegra_sinterface = "serial_a";
					phy_mode = "DPHY";
					discontinuous_clk = "yes";
					dpcm_enable = "false";
					cil_settletime = "0";

					active_w = "3840";
					active_h = "2160";
					pixel_t = "bayer_rggb";
					readout_orientation = "90";
					line_length = "4250";
					inherent_gain = "1";
					mclk_multiplier = "238";
					pix_clk_hz = "285600000";

					gain_factor = "16";
					framerate_factor = "1000000";
					exposure_factor = "1000000";
					min_gain_val = "16"; /* 1.00x0 */
					max_gain_val = "352"; /* 22.0x */
					step_gain_val = "1";
					default_gain = "16"; /* 1.00x */
					min_hdr_ratio = "1";
					max_hdr_ratio = "64";
					min_framerate = "1000000"; /* 1.0 fps */
					max_framerate = "30000000"; /* 30.0 fps */
					step_framerate = "1";
					default_framerate = "30000000"; /* 30.0 fps */
					min_exp_time = "1"; /* us */
					max_exp_time = "65515"; /* us */
					step_exp_time = "1";
					default_exp_time = "2495"; /* us */

					embedded_metadata_height = "0";
				};
				mode3 { /* IMX378_MODE_1920x1080_60FPS */
					mclk_khz = "6000";
					num_lanes = "2";
					tegra_sinterface = "serial_a";
					phy_mode = "DPHY";
					discontinuous_clk = "yes";
					dpcm_enable = "false";
					cil_settletime = "0";

					active_w = "1920";
					active_h = "1080";
					pixel_t = "bayer_rggb";
					readout_orientation = "90";
					line_length = "2125";
					inherent_gain = "1";
					mclk_multiplier = "238";
					pix_clk_hz = "142800000";

					gain_factor = "16";
					framerate_factor = "1000000";
					exposure_factor = "1000000";
					min_gain_val = "16"; /* 1.00x0 */
					max_gain_val = "352"; /* 22.0x */
					step_gain_val = "1";
					default_gain = "16"; /* 1.00x */
					min_hdr_ratio = "1";
					max_hdr_ratio = "64";
					min_framerate = "1000000"; /* 1.0 fps */
					max_framerate = "60000000"; /* 60.0 fps */
					step_framerate = "1";
					default_framerate = "60000000"; /* 60.0 fps */
					min_exp_time = "1"; /* us */
					max_exp_time = "65515"; /* us */
					step_exp_time = "1";
					default_exp_time = "2495"; /* us */

					embedded_metadata_height = "0";
				};

				ports {
					#address-cells = <1>;
					#size-cells = <0>;

					port@0 {
						reg = <0>;
						rbpcv2_imx378_out0: endpoint {
							port-index = <0>;
							bus-width = <2>;
							remote-endpoint = <&rbpcv2_imx378_csi_in0>;
						};
					};
				};
			};
		};
    };

	lens_imx378@RBPCV2 {
		min_focus_distance = "0.0";
		hyper_focal = "0.0";
		focal_length = "4.52";
		f_number = "2.0";
		aperture = "2.0";
	};
};

/ {
	tegra-camera-platform {
		compatible = "nvidia, tegra-camera-platform";

		num_csi_lanes = <2>;
		max_lane_speed = <1500000>;
		min_bits_per_pixel = <10>;
		vi_peak_byte_per_pixel = <2>;
		vi_bw_margin_pct = <25>;
		max_pixel_rate = <240000>;
		isp_peak_byte_per_pixel = <5>;
		isp_bw_margin_pct = <25>;

		modules {
			module0 {
				badge = "porg_front_RBPCV2";
				position = "rear";
				orientation = "1";
				drivernode0 {
					pcl_id = "v4l2_sensor";
					devname = "imx378 6-001a";
					proc-device-tree = "/proc/device-tree/host1x/i2c@546c0000/rbpcv2_imx378_a@1a";
				};
				drivernode1 {
					pcl_id = "v4l2_lens";
					proc-device-tree = "/proc/device-tree/lens_imx378@RBPCV2/";
				};
			};
		};
	};
};

Error log is shown below.

nvidia@nvidia-desktop:~$ gst-launch-1.0 nvarguscamerasrc ! "video/x-raw(memory:NVMM), width=(int)640, height=(int)480, framerate=(fraction)30/1" ! nvvidconv ! queue ! xvimagesink
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
GST_ARGUS: Creating output stream
CONSUMER: Waiting until producer is connected...
GST_ARGUS: Available Sensor modes :
GST_ARGUS: 640 x 480 FR = 200.000000 fps Duration = 5000000 ; Analog Gain range min 1.000000, max 22.000000; Exposure Range min 1000, max 65515000;

GST_ARGUS: 4032 x 3040 FR = 15.000000 fps Duration = 66666668 ; Analog Gain range min 1.000000, max 22.000000; Exposure Range min 1000, max 65515000;

GST_ARGUS: 3840 x 2160 FR = 29.999999 fps Duration = 33333334 ; Analog Gain range min 1.000000, max 22.000000; Exposure Range min 1000, max 65515000;

GST_ARGUS: 1920 x 1080 FR = 59.999999 fps Duration = 16666667 ; Analog Gain range min 1.000000, max 22.000000; Exposure Range min 1000, max 65515000;

GST_ARGUS: Running with following settings:
   Camera index = 0 
   Camera mode  = 0 
   Output Stream W = 640 H = 480 
   seconds to Run    = 0 
   Frame Rate = 200.000000 
GST_ARGUS: PowerService: requested_clock_Hz=2016000
GST_ARGUS: Setup Complete, Starting captures for 0 seconds
GST_ARGUS: Starting repeat capture requests.
CONSUMER: Producer has connected; continuing.
^Chandling interrupt.
Interrupt: Stopping pipeline ...
Execution ended after 0:02:45.727246489
Setting pipeline to PAUSED ...
Setting pipeline to READY ...

nvidia@nvidia-desktop:~$ nvgstcapture-1.0 
Encoder null, cannot set bitrate!
Encoder Profile = High
Supported resolutions in case of ARGUS Camera
  (2) : 640x480
  (3) : 1280x720
  (4) : 1920x1080
  (5) : 2104x1560
  (6) : 2592x1944
  (7) : 2616x1472
  (8) : 3840x2160
  (9) : 3896x2192
  (10): 4208x3120
  (11): 5632x3168
  (12): 5632x4224

Runtime ARGUS Camera Commands:

  Help : 'h'
  Quit : 'q'
  Set Capture Mode:
      mo:<val>
          (1): image
          (2): video
  Get Capture Mode:
      gmo
  Set sensor orientation:
      so:<val>
          (0): none
          (1): Rotate counter-clockwise 90 degrees
          (2): Rotate 180 degrees
          (3): Rotate clockwise 90 degrees
  Get sensor orientation:
      gso
  Set Whitebalance Mode:
      wb:<val>
          (0): off
          (1): auto
          (2): incandescent
          (3): fluorescent
          (4): warm-fluorescent
          (5): daylight
          (6): cloudy-daylight
          (7): twilight
          (8): shade
          (9): manual
  Get Whitebalance Mode:
      gwb
  Set Saturation (0 to 2):
      st:<val> e.g., st:1.25
  Get Saturation:
      gst
  Set Exposure Compensation (-2 to 2):
      ec:<val> e.g., ec:-2
  Get Exposure Compensation:
      gec
  Set Auto Whitebalance Lock:
      awbl:<val> e.g., awbl:0
  Get Auto Whitebalance Lock:
      awbl
  Set Auto Exposure Lock:
      ael:<val> e.g., ael:0
  Get Auto Exposure Lock:
      gael
  Set TNR Mode:
      tnrm:<val> e.g., tnrm:1
          (0): OFF
          (1): FAST
          (2): HIGH QUALITY
  Get TNR Mode:
      gtnrm
  Set TNR Strength (-1 to 1):
      tnrs:<val> e.g., tnrs:0.5
  Get TNR Strength:
      gtnrs
  Set EE Mode:
      eem:<val> e.g., eem:1
          (0): OFF
          (1): FAST
          (2): HIGH QUALITY
  Get EE Mode:
      geem
  Set EE Strength (-1 to 1):
      ees:<val> e.g., ees:0.5
  Get EE Strength:
      gees
  Set Auto Exposure Anti-Banding (0 to 3):
      aeab:<val> e.g., aeab:2
          (0): OFF
          (1): MODE AUTO
          (2): MODE 50HZ
          (3): MODE 60HZ
  Get Auto Exposure Anti-Banding:
      gaeab
  Set Gain Range:
      gr:<val><space><val> e.g., gr:1 16
  Get Gain Range:
      ggr
  Set Exposure Time Range:
      etr:<val><space><val> e.g., etr:34000 35000
  Get Exposure Time Range:
      getr
  Set ISP Digital Gain Range:
      dgr:<val><space><val> e.g., dgr:2 152
  Get ISP Digital Gain Range:
      gdgr
  Capture: enter 'j' OR
           followed by a timer (e.g., jx5000, capture after 5 seconds) OR
           followed by multishot count (e.g., j:6, capture 6 images)
           timer/multihot values are optional, capture defaults to single shot with timer=0s
  Start Recording : enter '1'
  Stop Recording  : enter '0'
  Video snapshot  : enter '2' (While recording video)
  Get Preview Resolution:
      gpcr
  Get Image Capture Resolution:
      gicr
  Get Video Capture Resolution:
      gvcr


Runtime encoder configuration options:

  Set Encoding Bit-rate(in bytes):
      br:<val> e.g., br:4000000
  Get Encoding Bit-rate(in bytes):
      gbr
  Set Encoding Profile(only for H.264):
      ep:<val> e.g., ep:1
          (0): Baseline
          (1): Main
          (2): High
  Get Encoding Profile(only for H.264):
      gep
  Force IDR Frame on video Encoder(only for H.264):
      Enter 'f' 


bitrate = 4000000
Encoder Profile = High
Encoder control-rate = 1
Encoder EnableTwopassCBR = 0
** Message: 09:36:07.531: <main:4564> iterating capture loop ....
Framerate set to : 30 at NvxVideoEncoderSetParameterNvMMLiteOpen : Block : BlockType = 4 
===== NVMEDIA: NVENC =====
NvMMLiteBlockCreate : Block : BlockType = 4 
H264: Profile = 100, Level = 40 
GST_ARGUS: Creating output stream
CONSUMER: Waiting until producer is connected...
GST_ARGUS: Available Sensor modes :
GST_ARGUS: 640 x 480 FR = 200.000000 fps Duration = 5000000 ; Analog Gain range min 1.000000, max 22.000000; Exposure Range min 1000, max 65515000;

GST_ARGUS: 4032 x 3040 FR = 15.000000 fps Duration = 66666668 ; Analog Gain range min 1.000000, max 22.000000; Exposure Range min 1000, max 65515000;

GST_ARGUS: 3840 x 2160 FR = 29.999999 fps Duration = 33333334 ; Analog Gain range min 1.000000, max 22.000000; Exposure Range min 1000, max 65515000;

GST_ARGUS: 1920 x 1080 FR = 59.999999 fps Duration = 16666667 ; Analog Gain range min 1.000000, max 22.000000; Exposure Range min 1000, max 65515000;

GST_ARGUS: Running with following settings:
   Camera index = 0 
   Camera mode  = 0 
   Output Stream W = 640 H = 480 
   seconds to Run    = 0 
   Frame Rate = 200.000000 
GST_ARGUS: PowerService: requested_clock_Hz=2016000
GST_ARGUS: Setup Complete, Starting captures for 0 seconds
GST_ARGUS: Starting repeat capture requests.
CONSUMER: Producer has connected; continuing.

nvargus-daemon log is shown below.

nvidia@nvidia-desktop:~$ sudo pkill nvargus-daemon 
[sudo] password for nvidia: 
nvidia@nvidia-desktop:~$ export enableCamPclLogs=5
nvidia@nvidia-desktop:~$ export enableCamScfLogs=5
nvidia@nvidia-desktop:~$ sudo /usr/sbin/nvargus-daemon &
[1] 6975
nvidia@nvidia-desktop:~$ === NVIDIA Libargus Camera Service (0.97.3)=== Listening for connections...=== gst-launch-1.0[7201]: Connection established (7F9CBF91D0)OFParserGetVirtualDevice: NVIDIA Camera virtual enumerator not found in proc device-tree
---- imager: No override file found. ----
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2549: Error: Invalid isp config attribute: "contrastEnhancement.v2.Preview[0]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2550: Error: Invalid isp config attribute: "contrastEnhancement.v2.Preview[1]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2551: Error: Invalid isp config attribute: "contrastEnhancement.v2.Preview[2]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2552: Error: Invalid isp config attribute: "contrastEnhancement.v2.Preview[3]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2555: Error: Invalid isp config attribute: "contrastEnhancement.v2.Still[0]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2556: Error: Invalid isp config attribute: "contrastEnhancement.v2.Still[1]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2557: Error: Invalid isp config attribute: "contrastEnhancement.v2.Still[2]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2558: Error: Invalid isp config attribute: "contrastEnhancement.v2.Still[3]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2561: Error: Invalid isp config attribute: "contrastEnhancement.v2.Video[0]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2562: Error: Invalid isp config attribute: "contrastEnhancement.v2.Video[1]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2563: Error: Invalid isp config attribute: "contrastEnhancement.v2.Video[2]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2564: Error: Invalid isp config attribute: "contrastEnhancement.v2.Video[3]={0,0,0,0,0,0,0}"
LSC: LSC surface is not based on full res!
=== gst-launch-1.0[7201]: CameraProvider initialized (0x7f98842e00)SCF: Error BadValue: NvPHSSendThroughputHints (in src/common/CameraPowerHint.cpp, function sendCameraPowerHint(), line 56)
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2549: Error: Invalid isp config attribute: "contrastEnhancement.v2.Preview[0]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2550: Error: Invalid isp config attribute: "contrastEnhancement.v2.Preview[1]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2551: Error: Invalid isp config attribute: "contrastEnhancement.v2.Preview[2]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2552: Error: Invalid isp config attribute: "contrastEnhancement.v2.Preview[3]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2555: Error: Invalid isp config attribute: "contrastEnhancement.v2.Still[0]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2556: Error: Invalid isp config attribute: "contrastEnhancement.v2.Still[1]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2557: Error: Invalid isp config attribute: "contrastEnhancement.v2.Still[2]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2558: Error: Invalid isp config attribute: "contrastEnhancement.v2.Still[3]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2561: Error: Invalid isp config attribute: "contrastEnhancement.v2.Video[0]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2562: Error: Invalid isp config attribute: "contrastEnhancement.v2.Video[1]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2563: Error: Invalid isp config attribute: "contrastEnhancement.v2.Video[2]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2564: Error: Invalid isp config attribute: "contrastEnhancement.v2.Video[3]={0,0,0,0,0,0,0}"
LSC: LSC surface is not based on full res!
SCF: Error BadParameter: Vector index out of bounds (in /dvs/git/dirty/git-master_linux/camera/utils/nvcamerautils/inc/Vector.h, function get(), line 337)
SCF: Error BadParameter: Vector index out of bounds (in /dvs/git/dirty/git-master_linux/camera/utils/nvcamerautils/inc/Vector.h, function get(), line 337)
SCF: Error Timeout:  (propagating from src/services/capture/CaptureServiceEvent.cpp, function wait(), line 59)
Error: Camera HwEvents wait, this may indicate a hardware timeout occured,abort current/incoming cc
nvidia@nvidia-desktop:~$

Enable trace for more information

https://elinux.org/Jetson_TX2_Camera_BringUp

The following log information is attached.

nvidia@nvidia-desktop:~$ sudo su
root@nvidia-desktop:/home/nvidia# echo 1 > /sys/kernel/debug/tracing/tracing_on
root@nvidia-desktop:/home/nvidia# echo 30720 > /sys/kernel/debug/tracing/buffer_size_kb
root@nvidia-desktop:/home/nvidia# echo 1 > /sys/kernel/debug/tracing/events/tegra_rtcpu/enable
root@nvidia-desktop:/home/nvidia# echo 1 > /sys/kernel/debug/tracing/events/freertos/enable
root@nvidia-desktop:/home/nvidia# echo 2 > /sys/kernel/debug/camrtc/log-level
bash: /sys/kernel/debug/camrtc/log-level: No such file or directory
root@nvidia-desktop:/home/nvidia# echo > /sys/kernel/debug/tracing/trace
root@nvidia-desktop:/home/nvidia# cat /sys/kernel/debug/tracing/trace
# tracer: nop
#
# entries-in-buffer/entries-written: 0/0   #P:4
#
#                              _-----=> irqs-off
#                             / _----=> need-resched
#                            | / _---=> hardirq/softirq
#                            || / _--=> preempt-depth
#                            ||| /     delay
#           TASK-PID   CPU#  ||||    TIMESTAMP  FUNCTION
#              | |       |   ||||       |         |
root@nvidia-desktop:/home/nvidia# pkill nvargus-daemon
root@nvidia-desktop:/home/nvidia# export enableCamPclLogs=5
root@nvidia-desktop:/home/nvidia# export enableCamScfLogs=5
root@nvidia-desktop:/home/nvidia# /usr/sbin/nvargus-daemon 
=== NVIDIA Libargus Camera Service (0.97.3)=== Listening for connections...=== gst-launch-1.0[8286]: Connection established (7FA02E71D0)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 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(0x7f987e9cb0)
getInstance: s_instance(0x7f987e9cb0)
subscribe: SensorType(gyroscope)
subscribe: create SensorType(gyroscope) sensor(0x7f987e3bc0)
subscribe: SensorType(accelerometer)
subscribe: create SensorType(accelerometer) sensor(0x7f987f1760)
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
NvPclHwMatchPartNum: Found calibration Part#: RBPCV2:"RBPCV2"
NvPclHwPrintModuleDefinition -- Name: porg_front_RBPCV2
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: imx378 6-001a
NvPclHwGetModuleList: OFParserListModules Succeeded
NvPclModuleListInitialize: NvPclModule list[0]: porg_front_RBPCV2 position0
NvPclHwScanExternalCameras -- adding video0 to discover list
NvPclHwScanExternalCameras -- adding video0 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 0 match at index[0]
NvPclHwInitializeModule: allocate overrides pathname @ 0x7f98730870
NvPclHwInitializeModule: allocate overrides pathname @ 0x7f98764780
NvPclHwInitializeModule: allocate overrides pathname @ 0x7f984dbc60
NvPclHwInitializeModule: allocate overrides pathname @ 0x7f98736890
NvPclHwInitializeModule: allocate overrides pathname @ 0x7f98843180
NvPclHwInitializeModule: allocate overrides pathname @ 0x7f988438f0
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/porg_front_RBPCV2.isp] 6/16
CheckOverridesPermissions: stat(/data/vendor/nvcam/settings/porg_front_RBPCV2.isp) call failed
LoadOverridesFile: looking for override file [/opt/nvidia/nvcam/settings/porg_front_RBPCV2.isp] 7/16
CheckOverridesPermissions: stat(/opt/nvidia/nvcam/settings/porg_front_RBPCV2.isp) call failed
LoadOverridesFile: looking for override file [/var/nvidia/nvcam/settings/porg_front_RBPCV2.isp] 8/16
CheckOverridesPermissions: stat(/var/nvidia/nvcam/settings/porg_front_RBPCV2.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/porg_front_RBPCV2.bin] 2/16
Imager: looking for override file [/opt/nvidia/nvcam/settings/porg_front_RBPCV2.bin] 3/16
Imager: looking for override file [/var/nvidia/nvcam/settings/porg_front_RBPCV2.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 [delayed_gain]
OFDPropertyCopyToLong: could not read property [has-eeprom]
OFDPropertyGetString: could not read property [type]
loadSubType: Sensor type missing in DT, 206
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]
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]
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]
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]
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]
initialize: Loaded Driver: 4 Modes Available--------------
NvPclInitializeDrivers: v4l2_sensor ------------------
NvPclOpen: ----------------------
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2549: Error: Invalid isp config attribute: "contrastEnhancement.v2.Preview[0]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2550: Error: Invalid isp config attribute: "contrastEnhancement.v2.Preview[1]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2551: Error: Invalid isp config attribute: "contrastEnhancement.v2.Preview[2]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2552: Error: Invalid isp config attribute: "contrastEnhancement.v2.Preview[3]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2555: Error: Invalid isp config attribute: "contrastEnhancement.v2.Still[0]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2556: Error: Invalid isp config attribute: "contrastEnhancement.v2.Still[1]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2557: Error: Invalid isp config attribute: "contrastEnhancement.v2.Still[2]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2558: Error: Invalid isp config attribute: "contrastEnhancement.v2.Still[3]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2561: Error: Invalid isp config attribute: "contrastEnhancement.v2.Video[0]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2562: Error: Invalid isp config attribute: "contrastEnhancement.v2.Video[1]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2563: Error: Invalid isp config attribute: "contrastEnhancement.v2.Video[2]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2564: Error: Invalid isp config attribute: "contrastEnhancement.v2.Video[3]={0,0,0,0,0,0,0}"
LSC: LSC surface is not based on full res!
=== gst-launch-1.0[8286]: CameraProvider initialized (0x7f98847ec0)sourceRegistry[0] assigned

ispRegistry[0] assigned

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

NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2549: Error: Invalid isp config attribute: "contrastEnhancement.v2.Preview[0]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2550: Error: Invalid isp config attribute: "contrastEnhancement.v2.Preview[1]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2551: Error: Invalid isp config attribute: "contrastEnhancement.v2.Preview[2]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2552: Error: Invalid isp config attribute: "contrastEnhancement.v2.Preview[3]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2555: Error: Invalid isp config attribute: "contrastEnhancement.v2.Still[0]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2556: Error: Invalid isp config attribute: "contrastEnhancement.v2.Still[1]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2557: Error: Invalid isp config attribute: "contrastEnhancement.v2.Still[2]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2558: Error: Invalid isp config attribute: "contrastEnhancement.v2.Still[3]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2561: Error: Invalid isp config attribute: "contrastEnhancement.v2.Video[0]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2562: Error: Invalid isp config attribute: "contrastEnhancement.v2.Video[1]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2563: Error: Invalid isp config attribute: "contrastEnhancement.v2.Video[2]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2564: Error: Invalid isp config attribute: "contrastEnhancement.v2.Video[3]={0,0,0,0,0,0,0}"
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.
Worker thread CaptureDispatcher start
Session::updatePerfHints()
updatePerfHints(): guid=0ll, CaptureIntent=1
updatePerfHints(): NvCameraCoreUseCase_Preview
NvPHSSendThroughputHints: sensorId=0, m_usecase=4, m_type=1, m_value=30, m_timeout_ms=1000

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

No output buffers for 2
InstructionList:
  + GraphSettings
      | SensorMode: 640x480 BayerS16RGGB 200.0fps
      | output 0: 640x480 BL U8_V8_ER 420SP
      | inputClipRect 0: (0.00,0.00, 1.00,1.00)

  + Instruction List
      | id: 0
      +  0: CCDataSetupStage
          | EstimatedIspOutLatencyFrames: 5
          | NumConcurrentCaptures: 1
          | UnprocessedYuvBufferMask: 0
      +  1: ACSynchronizeStage
      +  2: AeAfApplyStage
      +  3: AcPluginStage
          | operation: opApply
      +  4: AcMergeStage
          | IspIn: [640, 480]
          | IspOut0: [640, 480]
          | IspOut1: [0, 0]
          | IspOut2: [0, 0]
      +  5: TempBufferAcquireStage
          | Buffer Index: 2
          | BufferRequirements: 640x1 Pitch NonColor8
      +  6: TempBufferAcquireStage
          | Buffer Index: 3
          | BufferRequirements: 524288x1 Pitch NonColor8
      +  7: SensorISPCaptureStage
          | Source GUID: 0
          | Output A Buffer: 0
          | SensorMetadata Buffer: 2
          | Output IspStats Buffer: 3
      +  8: StatsBufferAcquireStage
          | Buffer Index: 1
          | BufferRequirements: 640x480 Pitch Y8_ER 420
      +  9: BlitStage
          | Input Buffer: 0
          | Output Buffer: 1
          | Filter: Nearest
          | Transform: None
          | Src Rect: Not used
          | Dst Rect: Not used
      + 10: StatsUpdateStage
          | Output Meta Buffer: 2
          | Output IspStats Buffer: 3
      + 11: BufferReturnStage
          | Output A Buffer: 2
      + 12: BufferReturnStage
          | Output A Buffer: 3
      + 13: AcPluginStage
          | operation: opAnalyze
      + 14: AfAnalysisStage
      + 15: MonitorStage
      + 16: ExifStage
      + 17: MakerNoteStage
      + 18: BufferReturnStage
          | Output A Buffer: 0
      + 19: MetadataReturnStage
      + 20: PerfStatsStage

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

Thread 1 is working on CC 101 session 0 globalID 101 step 0
CC 101 session 0 completed step 0 in fiber 0x7f40000b20
cc 101(1) session 0 runCount=0 runIspOut=0, latest ccId=0
CC 101 session 0 completed step 1 in fiber 0x7f40000b20
NvPHSSendThroughputHints: sensorId=0, m_usecase=4, m_type=15, m_value=0, m_timeout_ms=1000

Created fiber 0x7f40000b20 for CC 101 globalID 101 session 0
Created fiber 0x7f40000dd0 for CC 102 globalID 102 session 0
Thread 2 is working on CC 102 session 0 globalID 102 step 0
NV AE and AfApply algorithms are active.
Session::updatePerfHints()
updatePerfHints(): guid=0ll, CaptureIntent=1
updatePerfHints(): NvCameraCoreUseCase_Preview
NvPHSSendThroughputHints: sensorId=0, m_usecase=4, m_type=1, m_value=30, m_timeout_ms=1000

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

CC 102 session 0 completed step 0 in fiber 0x7f40000dd0
cc 102(2) session 0 runCount=1 runIspOut=0, latest ccId=0
CC 102 session 0 completed step 1 in fiber 0x7f40000dd0
CC 102 session 0 stalled step 2 in fiber 0x7f40000dd0
FiberScheduler: cc 102, session 0 fiber 0x7f40000dd0 not ready to execute stalled on 0x7f98842a50 stage...

Thread 2 getting next capture
Thread 3 is waiting
Thread 2 is waiting
CC 101 session 0 completed step 2 in fiber 0x7f40000b20
Thread 4 is working on CC 102 session 0 globalID 102 step 2
NV AE and AfApply algorithms are active.
CC 101 session 0 completed step 3 in fiber 0x7f40000b20
CC 102 session 0 completed step 2 in fiber 0x7f40000dd0
CC 102 session 0 completed step 3 in fiber 0x7f40000dd0
CC 102 session 0 stalled step 4 in fiber 0x7f40000dd0
FiberScheduler: cc 102, session 0 fiber 0x7f40000dd0 not ready to execute stalled on 0x7f9883cbe0 stage...

Thread 4 getting next capture
Thread 5 is waiting
Thread 4 is waiting
CC 101 session 0 completed step 4 in fiber 0x7f40000b20
Thread 6 is working on CC 102 session 0 globalID 102 step 4
CC 101 session 0 completed step 5 in fiber 0x7f40000b20
CC 101 session 0 completed step 6 in fiber 0x7f40000b20
SCF: Error BadParameter: Vector index out of bounds (in /dvs/git/dirty/git-master_linux/camera/utils/nvcamerautils/inc/Vector.h, function get(), line 337)
CC 101 session 0 processing step 7 in fiber 0x7f40000b20
CC 102 session 0 completed step 4 in fiber 0x7f40000dd0
FiberScheduler: cc 101, session 0, fiber 0x7f40000b20 in progress...

Thread 1 getting next capture
Thread 1 is waiting
Thread 7 is waiting
CC 102 session 0 completed step 5 in fiber 0x7f40000dd0
CC 102 session 0 completed step 6 in fiber 0x7f40000dd0
SCF: Error BadParameter: Vector index out of bounds (in /dvs/git/dirty/git-master_linux/camera/utils/nvcamerautils/inc/Vector.h, function get(), line 337)
CC 102 session 0 processing step 7 in fiber 0x7f40000dd0
FiberScheduler: cc 102, session 0, fiber 0x7f40000dd0 in progress...

Thread 6 getting next capture
Thread 8 is waiting
NvPclSettingsUpdate: Sending Updated Settings through PCL
NvPclSettingsApply: Applying last settings through PCL
apply:+++++++++++++++++++++++
writeMode: Target mode Id(0): Resolution 640x480
Thread 6 is waiting
writeFrameRate:	INPUT frameRate:200.000000
writeGain:	INPUT gainCtrl:10 analogGain:1.000000
writeExposure:	INPUT expTime:0.005000
SCF: Error Timeout:  (propagating from src/services/capture/CaptureServiceEvent.cpp, function wait(), line 59)
Error: Camera HwEvents wait, this may indicate a hardware timeout occured,abort current/incoming cc
Created fiber 0x7f40000f70 for CC 103 globalID 103 session 0
Thread 9 is working on CC 103 session 0 globalID 103 step 0
Fiber 0x7f40000f70 is aborting in CC 103 Session 0
FiberScheduler: cc 103 session 0, fiber 0x7f40000f70 aborted

FiberScheduler: fiber 0x7f40000f70 exiting
Thread 9 getting next capture
Thread 10 is waiting
Thread 9 is waiting
Thread 11 is waiting
<pre> hotPlugfunc: Read 32 bytes from inotify FD
 hotPlugfunc: A File was Modified 40000100 NAME : bsg CREATE : 00000100, DELETE : 00000200 IGNORED : 00008000 CLOSE_WRITE : 00000008
 hotPlugfunc: reading from inotify FD, Thread waiting 
 hotPlugfunc: Read 32 bytes from inotify FD
 hotPlugfunc: A File was Modified 00000100 NAME : sda CREATE : 00000100, DELETE : 00000200 IGNORED : 00008000 CLOSE_WRITE : 00000008
 hotPlugfunc: reading from inotify FD, Thread waiting 
 hotPlugfunc: Read 32 bytes from inotify FD
 hotPlugfunc: A File was Modified 00000100 NAME : sda1 CREATE : 00000100, DELETE : 00000200 IGNORED : 00008000 CLOSE_WRITE : 00000008
 hotPlugfunc: reading from inotify FD, Thread waiting 
=== gst-launch-1.0[8286]: Connection closed (7FA02E71D0)=== gst-launch-1.0[8286]: WARNING: CameraProvider was not destroyed before client connection terminated.=== gst-launch-1.0[8286]:          The client may have abnormally terminated. Destroying CameraProvider...=== gst-launch-1.0[8286]: CameraProvider destroyed (0x7f98847ec0)=== gst-launch-1.0[8286]: WARNING: Cleaning up 1 outstanding requests...=== gst-launch-1.0[8286]: WARNING: Cleaning up 1 outstanding streams...=== gst-launch-1.0[8286]: WARNING: Cleaning up 1 outstanding stream settings...=== gst-launch-1.0[8286]: WARNING: Cleaning up 1 outstanding sessions...waitForIdleLocked remaining request 102 
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)
</pre>

Try modify the discontinuous_clk to no to try.

discontinuous_clk = "no";

I tried it but it was frozen.

The following log information is attached.

nvidia@nvidia-desktop:~$ sudo su
[sudo] password for nvidia: 
root@nvidia-desktop:/home/nvidia# echo 1 > /sys/kernel/debug/tracing/tracing_on
root@nvidia-desktop:/home/nvidia# echo 30720 > /sys/kernel/debug/tracing/buffer_size_kb
root@nvidia-desktop:/home/nvidia# echo 1 > /sys/kernel/debug/tracing/events/tegra_rtcpu/enable
root@nvidia-desktop:/home/nvidia# echo 1 > /sys/kernel/debug/tracing/events/freertos/enable
root@nvidia-desktop:/home/nvidia# echo 2 > /sys/kernel/debug/camrtc/log-level
bash: /sys/kernel/debug/camrtc/log-level: No such file or directory
root@nvidia-desktop:/home/nvidia# echo 1 > /sys/kernel/debug/tracing/events/camera_common/enable
root@nvidia-desktop:/home/nvidia# echo > /sys/kernel/debug/tracing/trace
root@nvidia-desktop:/home/nvidia# cat /sys/kernel/debug/tracing/trace
# tracer: nop
#
# entries-in-buffer/entries-written: 0/0   #P:4
#
#                              _-----=> irqs-off
#                             / _----=> need-resched
#                            | / _---=> hardirq/softirq
#                            || / _--=> preempt-depth
#                            ||| /     delay
#           TASK-PID   CPU#  ||||    TIMESTAMP  FUNCTION
#              | |       |   ||||       |         |
root@nvidia-desktop:/home/nvidia# pkill nvargus-daemon
root@nvidia-desktop:/home/nvidia# export enableCamPclLogs=5
root@nvidia-desktop:/home/nvidia# export enableCamScfLogs=5
root@nvidia-desktop:/home/nvidia# /usr/sbin/nvargus-daemon
=== NVIDIA Libargus Camera Service (0.97.3)=== Listening for connections...=== gst-launch-1.0[7816]: Connection established (7FA34741D0)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 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(0x7f9c7e9ea0)
getInstance: s_instance(0x7f9c7e9ea0)
subscribe: SensorType(gyroscope)
subscribe: create SensorType(gyroscope) sensor(0x7f9c7e3db0)
subscribe: SensorType(accelerometer)
subscribe: create SensorType(accelerometer) sensor(0x7f9c7f1950)
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
NvPclHwMatchPartNum: Found calibration Part#: RBPCV2:"RBPCV2"
NvPclHwPrintModuleDefinition -- Name: porg_front_RBPCV2
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: imx378 6-001a
NvPclHwGetModuleList: OFParserListModules Succeeded
NvPclModuleListInitialize: NvPclModule list[0]: porg_front_RBPCV2 position0
NvPclHwScanExternalCameras -- adding video0 to discover list
NvPclHwScanExternalCameras -- adding video0 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 0 match at index[0]
NvPclHwInitializeModule: allocate overrides pathname @ 0x7f9c730870
NvPclHwInitializeModule: allocate overrides pathname @ 0x7f9c75eb90
NvPclHwInitializeModule: allocate overrides pathname @ 0x7f9c4dbc60
NvPclHwInitializeModule: allocate overrides pathname @ 0x7f9c75eb00
NvPclHwInitializeModule: allocate overrides pathname @ 0x7f9c842ef0
NvPclHwInitializeModule: allocate overrides pathname @ 0x7f9c848010
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/porg_front_RBPCV2.isp] 6/16
CheckOverridesPermissions: stat(/data/vendor/nvcam/settings/porg_front_RBPCV2.isp) call failed
LoadOverridesFile: looking for override file [/opt/nvidia/nvcam/settings/porg_front_RBPCV2.isp] 7/16
CheckOverridesPermissions: stat(/opt/nvidia/nvcam/settings/porg_front_RBPCV2.isp) call failed
LoadOverridesFile: looking for override file [/var/nvidia/nvcam/settings/porg_front_RBPCV2.isp] 8/16
CheckOverridesPermissions: stat(/var/nvidia/nvcam/settings/porg_front_RBPCV2.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/porg_front_RBPCV2.bin] 2/16
Imager: looking for override file [/opt/nvidia/nvcam/settings/porg_front_RBPCV2.bin] 3/16
Imager: looking for override file [/var/nvidia/nvcam/settings/porg_front_RBPCV2.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 [delayed_gain]
OFDPropertyCopyToLong: could not read property [has-eeprom]
OFDPropertyGetString: could not read property [type]
loadSubType: Sensor type missing in DT, 206
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]
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]
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]
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]
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]
initialize: Loaded Driver: 4 Modes Available--------------
NvPclInitializeDrivers: v4l2_sensor ------------------
NvPclOpen: ----------------------
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2549: Error: Invalid isp config attribute: "contrastEnhancement.v2.Preview[0]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2550: Error: Invalid isp config attribute: "contrastEnhancement.v2.Preview[1]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2551: Error: Invalid isp config attribute: "contrastEnhancement.v2.Preview[2]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2552: Error: Invalid isp config attribute: "contrastEnhancement.v2.Preview[3]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2555: Error: Invalid isp config attribute: "contrastEnhancement.v2.Still[0]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2556: Error: Invalid isp config attribute: "contrastEnhancement.v2.Still[1]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2557: Error: Invalid isp config attribute: "contrastEnhancement.v2.Still[2]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2558: Error: Invalid isp config attribute: "contrastEnhancement.v2.Still[3]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2561: Error: Invalid isp config attribute: "contrastEnhancement.v2.Video[0]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2562: Error: Invalid isp config attribute: "contrastEnhancement.v2.Video[1]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2563: Error: Invalid isp config attribute: "contrastEnhancement.v2.Video[2]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2564: Error: Invalid isp config attribute: "contrastEnhancement.v2.Video[3]={0,0,0,0,0,0,0}"
LSC: LSC surface is not based on full res!
=== gst-launch-1.0[7816]: CameraProvider initialized (0x7f9c843100)sourceRegistry[0] assigned

ispRegistry[0] assigned

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

NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2549: Error: Invalid isp config attribute: "contrastEnhancement.v2.Preview[0]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2550: Error: Invalid isp config attribute: "contrastEnhancement.v2.Preview[1]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2551: Error: Invalid isp config attribute: "contrastEnhancement.v2.Preview[2]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2552: Error: Invalid isp config attribute: "contrastEnhancement.v2.Preview[3]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2555: Error: Invalid isp config attribute: "contrastEnhancement.v2.Still[0]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2556: Error: Invalid isp config attribute: "contrastEnhancement.v2.Still[1]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2557: Error: Invalid isp config attribute: "contrastEnhancement.v2.Still[2]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2558: Error: Invalid isp config attribute: "contrastEnhancement.v2.Still[3]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2561: Error: Invalid isp config attribute: "contrastEnhancement.v2.Video[0]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2562: Error: Invalid isp config attribute: "contrastEnhancement.v2.Video[1]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2563: Error: Invalid isp config attribute: "contrastEnhancement.v2.Video[2]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2564: Error: Invalid isp config attribute: "contrastEnhancement.v2.Video[3]={0,0,0,0,0,0,0}"
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.
Worker thread CaptureDispatcher start
Session::updatePerfHints()
updatePerfHints(): guid=0ll, CaptureIntent=1
updatePerfHints(): NvCameraCoreUseCase_Preview
NvPHSSendThroughputHints: sensorId=0, m_usecase=4, m_type=1, m_value=30, m_timeout_ms=1000

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

No output buffers for 2
InstructionList:
  + GraphSettings
      | SensorMode: 640x480 BayerS16RGGB 200.0fps
      | output 0: 640x480 BL U8_V8_ER 420SP
      | inputClipRect 0: (0.00,0.00, 1.00,1.00)

  + Instruction List
      | id: 0
      +  0: CCDataSetupStage
          | EstimatedIspOutLatencyFrames: 5
          | NumConcurrentCaptures: 1
          | UnprocessedYuvBufferMask: 0
      +  1: ACSynchronizeStage
      +  2: AeAfApplyStage
      +  3: AcPluginStage
          | operation: opApply
      +  4: AcMergeStage
          | IspIn: [640, 480]
          | IspOut0: [640, 480]
          | IspOut1: [0, 0]
          | IspOut2: [0, 0]
      +  5: TempBufferAcquireStage
          | Buffer Index: 2
          | BufferRequirements: 640x1 Pitch NonColor8
      +  6: TempBufferAcquireStage
          | Buffer Index: 3
          | BufferRequirements: 524288x1 Pitch NonColor8
      +  7: SensorISPCaptureStage
          | Source GUID: 0
          | Output A Buffer: 0
          | SensorMetadata Buffer: 2
          | Output IspStats Buffer: 3
      +  8: StatsBufferAcquireStage
          | Buffer Index: 1
          | BufferRequirements: 640x480 Pitch Y8_ER 420
      +  9: BlitStage
          | Input Buffer: 0
          | Output Buffer: 1
          | Filter: Nearest
          | Transform: None
          | Src Rect: Not used
          | Dst Rect: Not used
      + 10: StatsUpdateStage
          | Output Meta Buffer: 2
          | Output IspStats Buffer: 3
      + 11: BufferReturnStage
          | Output A Buffer: 2
      + 12: BufferReturnStage
          | Output A Buffer: 3
      + 13: AcPluginStage
          | operation: opAnalyze
      + 14: AfAnalysisStage
      + 15: MonitorStage
      + 16: ExifStage
      + 17: MakerNoteStage
      + 18: BufferReturnStage
          | Output A Buffer: 0
      + 19: MetadataReturnStage
      + 20: PerfStatsStage

Session::updatePerfHints()
updatePerfHints(): guid=0ll, CaptureIntent=1
updatePerfHints(): NvCameraCoreUseCase_Preview
Thread 1 is working on CC 101 session 0 globalID 101 step 0
CC 101 session 0 completed step 0 in fiber 0x7f48000b20
cc 101(1) session 0 runCount=0 runIspOut=0, latest ccId=0
CC 101 session 0 completed step 1 in fiber 0x7f48000b20
NV AE and AfApply algorithms are active.
CC 101 session 0 completed step 2 in fiber 0x7f48000b20
CC 101 session 0 completed step 3 in fiber 0x7f48000b20
CC 101 session 0 completed step 4 in fiber 0x7f48000b20
CC 101 session 0 completed step 5 in fiber 0x7f48000b20
CC 101 session 0 completed step 6 in fiber 0x7f48000b20
SCF: Error BadParameter: Vector index out of bounds (in /dvs/git/dirty/git-master_linux/camera/utils/nvcamerautils/inc/Vector.h, function get(), line 337)
CC 101 session 0 processing step 7 in fiber 0x7f48000b20
FiberScheduler: cc 101, session 0, fiber 0x7f48000b20 in progress...

Thread 1 getting next capture
Thread 2 is waiting
Created fiber 0x7f48000b20 for CC 101 globalID 101 session 0
NvPHSSendThroughputHints: sensorId=0, m_usecase=4, m_type=1, m_value=30, m_timeout_ms=1000

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

Created fiber 0x7f48000dd0 for CC 102 globalID 102 session 0
Thread 1 is working on CC 102 session 0 globalID 102 step 0
CC 102 session 0 completed step 0 in fiber 0x7f48000dd0
Thread 3 is waiting
Session::updatePerfHints()cc 102(2) session 0 runCount=1 runIspOut=0, latest ccId=0
CC 102 session 0 completed step 1 in fiber 0x7f48000dd0
NV AE and AfApply algorithms are active.

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

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

CC 102 session 0 completed step 2 in fiber 0x7f48000dd0
CC 102 session 0 completed step 3 in fiber 0x7f48000dd0
NvPclSettingsUpdate: Sending Updated Settings through PCL
NvPclSettingsApply: Applying last settings through PCL
apply:+++++++++++++++++++++++
writeMode: Target mode Id(0): Resolution 640x480
CC 102 session 0 completed step 4 in fiber 0x7f48000dd0
CC 102 session 0 completed step 5 in fiber 0x7f48000dd0
CC 102 session 0 completed step 6 in fiber 0x7f48000dd0
SCF: Error BadParameter: Vector index out of bounds (in /dvs/git/dirty/git-master_linux/camera/utils/nvcamerautils/inc/Vector.h, function get(), line 337)
CC 102 session 0 processing step 7 in fiber 0x7f48000dd0
FiberScheduler: cc 102, session 0, fiber 0x7f48000dd0 in progress...

Thread 4 is waiting
Thread 1 getting next capture
Thread 1 is waiting
writeFrameRate:	INPUT frameRate:200.000000
writeGain:	INPUT gainCtrl:10 analogGain:1.000000
writeExposure:	INPUT expTime:0.005000
SCF: Error Timeout:  (propagating from src/services/capture/CaptureServiceEvent.cpp, function wait(), line 59)
Error: Camera HwEvents wait, this may indicate a hardware timeout occured,abort current/incoming cc
Created fiber 0x7f48000f70 for CC 103 globalID 103 session 0
Thread 5 is working on CC 103 session 0 globalID 103 step 0
Fiber 0x7f48000f70 is aborting in CC 103 Session 0
FiberScheduler: cc 103 session 0, fiber 0x7f48000f70 aborted

FiberScheduler: fiber 0x7f48000f70 exiting
Thread 5 getting next capture
Thread 5 is waiting
Thread 7 is waiting
Thread 6 is waiting
=== gst-launch-1.0[7816]: Connection closed (7FA34741D0)=== gst-launch-1.0[7816]: WARNING: CameraProvider was not destroyed before client connection terminated.=== gst-launch-1.0[7816]:          The client may have abnormally terminated. Destroying CameraProvider...=== gst-launch-1.0[7816]: CameraProvider destroyed (0x7f9c843100)=== gst-launch-1.0[7816]: WARNING: Cleaning up 1 outstanding requests...=== gst-launch-1.0[7816]: WARNING: Cleaning up 1 outstanding streams...=== gst-launch-1.0[7816]: WARNING: Cleaning up 1 outstanding stream settings...=== gst-launch-1.0[7816]: WARNING: Cleaning up 1 outstanding sessions...waitForIdleLocked remaining request 102 
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)

Please have a try another lower frame rate sensor mode.

I tried moving in 640x480 30fps, but the result was similar.

nvidia@nvidia-desktop:~$ sudo su
[sudo] password for nvidia: 
root@nvidia-desktop:/home/nvidia# echo 1 > /sys/kernel/debug/tracing/tracing_on
root@nvidia-desktop:/home/nvidia# echo 30720 > /sys/kernel/debug/tracing/buffer_size_kb
root@nvidia-desktop:/home/nvidia# echo 1 > /sys/kernel/debug/tracing/events/tegra_rtcpu/enable
root@nvidia-desktop:/home/nvidia# echo 1 > /sys/kernel/debug/tracing/events/freertos/enable
root@nvidia-desktop:/home/nvidia# echo 2 > /sys/kernel/debug/camrtc/log-level
bash: /sys/kernel/debug/camrtc/log-level: No such file or directory
root@nvidia-desktop:/home/nvidia# echo 1 > /sys/kernel/debug/tracing/events/camera_common/enable
root@nvidia-desktop:/home/nvidia# echo > /sys/kernel/debug/tracing/trace
root@nvidia-desktop:/home/nvidia# cat /sys/kernel/debug/tracing/trace
# tracer: nop
#
# entries-in-buffer/entries-written: 0/0   #P:4
#
#                              _-----=> irqs-off
#                             / _----=> need-resched
#                            | / _---=> hardirq/softirq
#                            || / _--=> preempt-depth
#                            ||| /     delay
#           TASK-PID   CPU#  ||||    TIMESTAMP  FUNCTION
#              | |       |   ||||       |         |
root@nvidia-desktop:/home/nvidia# pkill nvargus-daemon
root@nvidia-desktop:/home/nvidia# export enableCamPclLogs=5
root@nvidia-desktop:/home/nvidia# export enableCamScfLogs=5
root@nvidia-desktop:/home/nvidia# /usr/sbin/nvargus-daemon
=== NVIDIA Libargus Camera Service (0.97.3)=== Listening for connections...=== gst-launch-1.0[7183]: Connection established (7F896981D0)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 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(0x7f847e9d90)
getInstance: s_instance(0x7f847e9d90)
subscribe: SensorType(gyroscope)
subscribe: create SensorType(gyroscope) sensor(0x7f8474c030)
subscribe: SensorType(accelerometer)
subscribe: create SensorType(accelerometer) sensor(0x7f847f1840)
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
NvPclHwMatchPartNum: Found calibration Part#: RBPCV2:"RBPCV2"
NvPclHwPrintModuleDefinition -- Name: porg_front_RBPCV2
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: imx378 6-001a
NvPclHwGetModuleList: OFParserListModules Succeeded
NvPclModuleListInitialize: NvPclModule list[0]: porg_front_RBPCV2 position0
NvPclHwScanExternalCameras -- adding video0 to discover list
NvPclHwScanExternalCameras -- adding video0 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 0 match at index[0]
NvPclHwInitializeModule: allocate overrides pathname @ 0x7f84730870
NvPclHwInitializeModule: allocate overrides pathname @ 0x7f8477ef80
NvPclHwInitializeModule: allocate overrides pathname @ 0x7f844dbc60
NvPclHwInitializeModule: allocate overrides pathname @ 0x7f84737b80
NvPclHwInitializeModule: allocate overrides pathname @ 0x7f84844510
NvPclHwInitializeModule: allocate overrides pathname @ 0x7f848455b0
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/porg_front_RBPCV2.isp] 6/16
CheckOverridesPermissions: stat(/data/vendor/nvcam/settings/porg_front_RBPCV2.isp) call failed
LoadOverridesFile: looking for override file [/opt/nvidia/nvcam/settings/porg_front_RBPCV2.isp] 7/16
CheckOverridesPermissions: stat(/opt/nvidia/nvcam/settings/porg_front_RBPCV2.isp) call failed
LoadOverridesFile: looking for override file [/var/nvidia/nvcam/settings/porg_front_RBPCV2.isp] 8/16
CheckOverridesPermissions: stat(/var/nvidia/nvcam/settings/porg_front_RBPCV2.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/porg_front_RBPCV2.bin] 2/16
Imager: looking for override file [/opt/nvidia/nvcam/settings/porg_front_RBPCV2.bin] 3/16
Imager: looking for override file [/var/nvidia/nvcam/settings/porg_front_RBPCV2.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 [delayed_gain]
OFDPropertyCopyToLong: could not read property [has-eeprom]
OFDPropertyGetString: could not read property [type]
loadSubType: Sensor type missing in DT, 206
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]
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]
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]
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]
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]
initialize: Loaded Driver: 4 Modes Available--------------
NvPclInitializeDrivers: v4l2_sensor ------------------
NvPclOpen: ----------------------
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2549: Error: Invalid isp config attribute: "contrastEnhancement.v2.Preview[0]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2550: Error: Invalid isp config attribute: "contrastEnhancement.v2.Preview[1]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2551: Error: Invalid isp config attribute: "contrastEnhancement.v2.Preview[2]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2552: Error: Invalid isp config attribute: "contrastEnhancement.v2.Preview[3]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2555: Error: Invalid isp config attribute: "contrastEnhancement.v2.Still[0]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2556: Error: Invalid isp config attribute: "contrastEnhancement.v2.Still[1]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2557: Error: Invalid isp config attribute: "contrastEnhancement.v2.Still[2]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2558: Error: Invalid isp config attribute: "contrastEnhancement.v2.Still[3]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2561: Error: Invalid isp config attribute: "contrastEnhancement.v2.Video[0]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2562: Error: Invalid isp config attribute: "contrastEnhancement.v2.Video[1]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2563: Error: Invalid isp config attribute: "contrastEnhancement.v2.Video[2]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2564: Error: Invalid isp config attribute: "contrastEnhancement.v2.Video[3]={0,0,0,0,0,0,0}"
LSC: LSC surface is not based on full res!
=== gst-launch-1.0[7183]: CameraProvider initialized (0x7f848430c0)sourceRegistry[0] assigned

ispRegistry[0] assigned

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

NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2549: Error: Invalid isp config attribute: "contrastEnhancement.v2.Preview[0]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2550: Error: Invalid isp config attribute: "contrastEnhancement.v2.Preview[1]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2551: Error: Invalid isp config attribute: "contrastEnhancement.v2.Preview[2]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2552: Error: Invalid isp config attribute: "contrastEnhancement.v2.Preview[3]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2555: Error: Invalid isp config attribute: "contrastEnhancement.v2.Still[0]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2556: Error: Invalid isp config attribute: "contrastEnhancement.v2.Still[1]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2557: Error: Invalid isp config attribute: "contrastEnhancement.v2.Still[2]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2558: Error: Invalid isp config attribute: "contrastEnhancement.v2.Still[3]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2561: Error: Invalid isp config attribute: "contrastEnhancement.v2.Video[0]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2562: Error: Invalid isp config attribute: "contrastEnhancement.v2.Video[1]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2563: Error: Invalid isp config attribute: "contrastEnhancement.v2.Video[2]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2564: Error: Invalid isp config attribute: "contrastEnhancement.v2.Video[3]={0,0,0,0,0,0,0}"
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.
Worker thread CaptureDispatcher start
Session::updatePerfHints()
updatePerfHints(): guid=0ll, CaptureIntent=1
updatePerfHints(): NvCameraCoreUseCase_Preview
NvPHSSendThroughputHints: sensorId=0, m_usecase=4, m_type=1, m_value=30, m_timeout_ms=1000

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

No output buffers for 2
InstructionList:
  + GraphSettings
      | SensorMode: 640x480 BayerS16RGGB 30.0fps
      | output 0: 640x480 BL U8_V8_ER 420SP
      | inputClipRect 0: (0.00,0.00, 1.00,1.00)

  + Instruction List
      | id: 0
      +  0: CCDataSetupStage
          | EstimatedIspOutLatencyFrames: 5
          | NumConcurrentCaptures: 1
          | UnprocessedYuvBufferMask: 0
      +  1: ACSynchronizeStage
      +  2: AeAfApplyStage
      +  3: AcPluginStage
          | operation: opApply
      +  4: AcMergeStage
          | IspIn: [640, 480]
          | IspOut0: [640, 480]
          | IspOut1: [0, 0]
          | IspOut2: [0, 0]
      +  5: TempBufferAcquireStage
          | Buffer Index: 2
          | BufferRequirements: 640x1 Pitch NonColor8
      +  6: TempBufferAcquireStage
          | Buffer Index: 3
          | BufferRequirements: 524288x1 Pitch NonColor8
      +  7: SensorISPCaptureStage
          | Source GUID: 0
          | Output A Buffer: 0
          | SensorMetadata Buffer: 2
          | Output IspStats Buffer: 3
      +  8: StatsBufferAcquireStage
          | Buffer Index: 1
          | BufferRequirements: 640x480 Pitch Y8_ER 420
      +  9: BlitStage
          | Input Buffer: 0
          | Output Buffer: 1
          | Filter: Nearest
          | Transform: None
          | Src Rect: Not used
          | Dst Rect: Not used
      + 10: StatsUpdateStage
          | Output Meta Buffer: 2
          | Output IspStats Buffer: 3
      + 11: BufferReturnStage
          | Output A Buffer: 2
      + 12: BufferReturnStage
          | Output A Buffer: 3
      + 13: AcPluginStage
          | operation: opAnalyze
      + 14: AfAnalysisStage
      + 15: MonitorStage
      + 16: ExifStage
      + 17: MakerNoteStage
      + 18: BufferReturnStage
          | Output A Buffer: 0
      + 19: MetadataReturnStage
      + 20: PerfStatsStage

Created fiber 0x7f30000b20 for CC 101 globalID 101 session 0
Session::updatePerfHints()
updatePerfHints(): guid=0ll, CaptureIntent=1
updatePerfHints(): NvCameraCoreUseCase_Preview
NvPHSSendThroughputHints: sensorId=0, m_usecase=4, m_type=1, m_value=30, m_timeout_ms=1000

Thread 1 is working on CC 101 session 0 globalID 101 step 0
CC 101 session 0 completed step 0 in fiber 0x7f30000b20
cc 101(1) session 0 runCount=0 runIspOut=0, latest ccId=0
CC 101 session 0 completed step 1 in fiber 0x7f30000b20
NV AE and AfApply algorithms are active.
CC 101 session 0 completed step 2 in fiber 0x7f30000b20
CC 101 session 0 completed step 3 in fiber 0x7f30000b20
CC 101 session 0 completed step 4 in fiber 0x7f30000b20
CC 101 session 0 completed step 5 in fiber 0x7f30000b20
CC 101 session 0 completed step 6 in fiber 0x7f30000b20
NvPHSSendThroughputHints: sensorId=0, m_usecase=4, m_type=15, m_value=0, m_timeout_ms=1000

Created fiber 0x7f30000dd0 for CC 102 globalID 102 session 0
Thread 2 is working on CC 102 session 0 globalID 102 step 0
Session::updatePerfHints()
updatePerfHints(): guid=0ll, CaptureIntent=1
updatePerfHints(): NvCameraCoreUseCase_Preview
NvPHSSendThroughputHints: sensorId=0, m_usecase=4, m_type=1, m_value=30, m_timeout_ms=1000

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

CC 102 session 0 completed step 0 in fiber 0x7f30000dd0
cc 102(2) session 0 runCount=1 runIspOut=0, latest ccId=0
CC 102 session 0 completed step 1 in fiber 0x7f30000dd0
NV AE and AfApply algorithms are active.
SCF: Error BadParameter: Vector index out of bounds (in /dvs/git/dirty/git-master_linux/camera/utils/nvcamerautils/inc/Vector.h, function get(), line 337)
CC 101 session 0 processing step 7 in fiber 0x7f30000b20
FiberScheduler: cc 101, session 0, fiber 0x7f30000b20 in progress...

Thread 1 getting next capture
Thread 3 is waiting
Thread 1 is waiting
CC 102 session 0 completed step 2 in fiber 0x7f30000dd0
CC 102 session 0 completed step 3 in fiber 0x7f30000dd0
CC 102 session 0 completed step 4 in fiber 0x7f30000dd0
CC 102 session 0 completed step 5 in fiber 0x7f30000dd0
NvPclSettingsUpdate: Sending Updated Settings through PCL
NvPclSettingsApply: Applying last settings through PCL
apply:+++++++++++++++++++++++
writeMode: Target mode Id(0): Resolution 640x480
CC 102 session 0 completed step 6 in fiber 0x7f30000dd0
SCF: Error BadParameter: Vector index out of bounds (in /dvs/git/dirty/git-master_linux/camera/utils/nvcamerautils/inc/Vector.h, function get(), line 337)
CC 102 session 0 processing step 7 in fiber 0x7f30000dd0
FiberScheduler: cc 102, session 0, fiber 0x7f30000dd0 in progress...

Thread 2 getting next capture
Thread 4 is waiting
Thread 2 is waiting
writeFrameRate:	INPUT frameRate:30.000000
writeGain:	INPUT gainCtrl:10 analogGain:1.000000
writeExposure:	INPUT expTime:0.033333
SCF: Error Timeout:  (propagating from src/services/capture/CaptureServiceEvent.cpp, function wait(), line 59)
Error: Camera HwEvents wait, this may indicate a hardware timeout occured,abort current/incoming cc
Created fiber 0x7f30000f70 for CC 103 globalID 103 session 0
Thread 5 is working on CC 103 session 0 globalID 103 step 0
Fiber 0x7f30000f70 is aborting in CC 103 Session 0
FiberScheduler: cc 103 session 0, fiber 0x7f30000f70 aborted

FiberScheduler: fiber 0x7f30000f70 exiting
Thread 5 getting next capture
Thread 5 is waiting
Thread 6 is waiting
Thread 7 is waiting
=== gst-launch-1.0[7183]: Connection closed (7F896981D0)=== gst-launch-1.0[7183]: WARNING: CameraProvider was not destroyed before client connection terminated.=== gst-launch-1.0[7183]:          The client may have abnormally terminated. Destroying CameraProvider...=== gst-launch-1.0[7183]: CameraProvider destroyed (0x7f848430c0)=== gst-launch-1.0[7183]: WARNING: Cleaning up 1 outstanding requests...=== gst-launch-1.0[7183]: WARNING: Cleaning up 1 outstanding streams...=== gst-launch-1.0[7183]: WARNING: Cleaning up 1 outstanding stream settings...=== gst-launch-1.0[7183]: WARNING: Cleaning up 1 outstanding sessions...waitForIdleLocked remaining request 102 
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)

Have modify the sensor driver to have the gain/exposure function as dummy to avoid 3A alg impact the result.
Also verify the v4l2-ctl after modify the gain/exposure as dummy function.

I inserted the dummy code(return 0), but I got the same result. Still images were taken with the v4l2 command.
gst-launch-1.0 command log is shown below.

nvidia@nvidia-desktop:~$ sudo su
[sudo] password for nvidia: 
root@nvidia-desktop:/home/nvidia# echo 1 > /sys/kernel/debug/tracing/tracing_on
root@nvidia-desktop:/home/nvidia# echo 30720 > /sys/kernel/debug/tracing/buffer_size_kb
root@nvidia-desktop:/home/nvidia# echo 1 > /sys/kernel/debug/tracing/events/tegra_rtcpu/enable
root@nvidia-desktop:/home/nvidia# echo 1 > /sys/kernel/debug/tracing/events/freertos/enable
root@nvidia-desktop:/home/nvidia# echo 2 > /sys/kernel/debug/camrtc/log-level
bash: /sys/kernel/debug/camrtc/log-level: No such file or directory
root@nvidia-desktop:/home/nvidia# echo 1 > /sys/kernel/debug/tracing/events/camera_common/enable
root@nvidia-desktop:/home/nvidia# echo > /sys/kernel/debug/tracing/trace
root@nvidia-desktop:/home/nvidia# cat /sys/kernel/debug/tracing/trace
# tracer: nop
#
# entries-in-buffer/entries-written: 0/0   #P:4
#
#                              _-----=> irqs-off
#                             / _----=> need-resched
#                            | / _---=> hardirq/softirq
#                            || / _--=> preempt-depth
#                            ||| /     delay
#           TASK-PID   CPU#  ||||    TIMESTAMP  FUNCTION
#              | |       |   ||||       |         |
root@nvidia-desktop:/home/nvidia# pkill nvargus-daemon
root@nvidia-desktop:/home/nvidia# export enableCamPclLogs=5
root@nvidia-desktop:/home/nvidia# export enableCamScfLogs=5
root@nvidia-desktop:/home/nvidia# /usr/sbin/nvargus-daemon
=== NVIDIA Libargus Camera Service (0.97.3)=== Listening for connections...=== gst-launch-1.0[7329]: Connection established (7F8DA6F1D0)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 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(0x7f887e9dd0)
getInstance: s_instance(0x7f887e9dd0)
subscribe: SensorType(gyroscope)
subscribe: create SensorType(gyroscope) sensor(0x7f887ec3d0)
subscribe: SensorType(accelerometer)
subscribe: create SensorType(accelerometer) sensor(0x7f887f1930)
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
NvPclHwMatchPartNum: Found calibration Part#: RBPCV2:"RBPCV2"
NvPclHwPrintModuleDefinition -- Name: porg_front_RBPCV2
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: imx378 6-001a
NvPclHwGetModuleList: OFParserListModules Succeeded
NvPclModuleListInitialize: NvPclModule list[0]: porg_front_RBPCV2 position0
NvPclHwScanExternalCameras -- adding video0 to discover list
NvPclHwScanExternalCameras -- adding video0 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 0 match at index[0]
NvPclHwInitializeModule: allocate overrides pathname @ 0x7f88730870
NvPclHwInitializeModule: allocate overrides pathname @ 0x7f8876b690
NvPclHwInitializeModule: allocate overrides pathname @ 0x7f884dbc60
NvPclHwInitializeModule: allocate overrides pathname @ 0x7f88736890
NvPclHwInitializeModule: allocate overrides pathname @ 0x7f88835410
NvPclHwInitializeModule: allocate overrides pathname @ 0x7f88837a10
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/porg_front_RBPCV2.isp] 6/16
CheckOverridesPermissions: stat(/data/vendor/nvcam/settings/porg_front_RBPCV2.isp) call failed
LoadOverridesFile: looking for override file [/opt/nvidia/nvcam/settings/porg_front_RBPCV2.isp] 7/16
CheckOverridesPermissions: stat(/opt/nvidia/nvcam/settings/porg_front_RBPCV2.isp) call failed
LoadOverridesFile: looking for override file [/var/nvidia/nvcam/settings/porg_front_RBPCV2.isp] 8/16
CheckOverridesPermissions: stat(/var/nvidia/nvcam/settings/porg_front_RBPCV2.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/porg_front_RBPCV2.bin] 2/16
Imager: looking for override file [/opt/nvidia/nvcam/settings/porg_front_RBPCV2.bin] 3/16
Imager: looking for override file [/var/nvidia/nvcam/settings/porg_front_RBPCV2.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 [delayed_gain]
OFDPropertyCopyToLong: could not read property [has-eeprom]
OFDPropertyGetString: could not read property [type]
loadSubType: Sensor type missing in DT, 206
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]
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]
initialize: Loaded Driver: 1 Modes Available--------------
NvPclInitializeDrivers: v4l2_sensor ------------------
NvPclOpen: ----------------------
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2549: Error: Invalid isp config attribute: "contrastEnhancement.v2.Preview[0]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2550: Error: Invalid isp config attribute: "contrastEnhancement.v2.Preview[1]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2551: Error: Invalid isp config attribute: "contrastEnhancement.v2.Preview[2]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2552: Error: Invalid isp config attribute: "contrastEnhancement.v2.Preview[3]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2555: Error: Invalid isp config attribute: "contrastEnhancement.v2.Still[0]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2556: Error: Invalid isp config attribute: "contrastEnhancement.v2.Still[1]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2557: Error: Invalid isp config attribute: "contrastEnhancement.v2.Still[2]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2558: Error: Invalid isp config attribute: "contrastEnhancement.v2.Still[3]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2561: Error: Invalid isp config attribute: "contrastEnhancement.v2.Video[0]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2562: Error: Invalid isp config attribute: "contrastEnhancement.v2.Video[1]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2563: Error: Invalid isp config attribute: "contrastEnhancement.v2.Video[2]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2564: Error: Invalid isp config attribute: "contrastEnhancement.v2.Video[3]={0,0,0,0,0,0,0}"
LSC: LSC surface is not based on full res!
=== gst-launch-1.0[7329]: CameraProvider initialized (0x7f88834c90)sourceRegistry[0] assigned

ispRegistry[0] assigned

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

NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2549: Error: Invalid isp config attribute: "contrastEnhancement.v2.Preview[0]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2550: Error: Invalid isp config attribute: "contrastEnhancement.v2.Preview[1]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2551: Error: Invalid isp config attribute: "contrastEnhancement.v2.Preview[2]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2552: Error: Invalid isp config attribute: "contrastEnhancement.v2.Preview[3]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2555: Error: Invalid isp config attribute: "contrastEnhancement.v2.Still[0]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2556: Error: Invalid isp config attribute: "contrastEnhancement.v2.Still[1]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2557: Error: Invalid isp config attribute: "contrastEnhancement.v2.Still[2]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2558: Error: Invalid isp config attribute: "contrastEnhancement.v2.Still[3]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2561: Error: Invalid isp config attribute: "contrastEnhancement.v2.Video[0]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2562: Error: Invalid isp config attribute: "contrastEnhancement.v2.Video[1]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2563: Error: Invalid isp config attribute: "contrastEnhancement.v2.Video[2]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2564: Error: Invalid isp config attribute: "contrastEnhancement.v2.Video[3]={0,0,0,0,0,0,0}"
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.
Worker thread CaptureDispatcher start
Session::updatePerfHints()
updatePerfHints(): guid=0ll, CaptureIntent=1
updatePerfHints(): NvCameraCoreUseCase_Preview
NvPHSSendThroughputHints: sensorId=0, m_usecase=4, m_type=1, m_value=30, m_timeout_ms=1000

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

No output buffers for 2
InstructionList:
  + GraphSettings
      | SensorMode: 640x480 BayerS16RGGB 30.0fps
      | output 0: 640x480 BL U8_V8_ER 420SP
      | inputClipRect 0: (0.00,0.00, 1.00,1.00)

  + Instruction List
      | id: 0
      +  0: CCDataSetupStage
          | EstimatedIspOutLatencyFrames: 5
          | NumConcurrentCaptures: 1
          | UnprocessedYuvBufferMask: 0
      +  1: ACSynchronizeStage
      +  2: AeAfApplyStage
      +  3: AcPluginStage
          | operation: opApply
      +  4: AcMergeStage
          | IspIn: [640, 480]
          | IspOut0: [640, 480]
          | IspOut1: [0, 0]
          | IspOut2: [0, 0]
      +  5: TempBufferAcquireStage
          | Buffer Index: 2
          | BufferRequirements: 640x1 Pitch NonColor8
      +  6: TempBufferAcquireStage
          | Buffer Index: 3
          | BufferRequirements: 524288x1 Pitch NonColor8
      +  7: SensorISPCaptureStage
          | Source GUID: 0
          | Output A Buffer: 0
          | SensorMetadata Buffer: 2
          | Output IspStats Buffer: 3
      +  8: StatsBufferAcquireStage
          | Buffer Index: 1
          | BufferRequirements: 640x480 Pitch Y8_ER 420
      +  9: BlitStage
          | Input Buffer: 0
          | Output Buffer: 1
          | Filter: Nearest
          | Transform: None
          | Src Rect: Not used
          | Dst Rect: Not used
      + 10: StatsUpdateStage
          | Output Meta Buffer: 2
          | Output IspStats Buffer: 3
      + 11: BufferReturnStage
          | Output A Buffer: 2
      + 12: BufferReturnStage
          | Output A Buffer: 3
      + 13: AcPluginStage
          | operation: opAnalyze
      + 14: AfAnalysisStage
      + 15: MonitorStage
      + 16: ExifStage
      + 17: MakerNoteStage
      + 18: BufferReturnStage
          | Output A Buffer: 0
      + 19: MetadataReturnStage
      + 20: PerfStatsStage

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

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

Thread 1 is working on CC 101 session 0 globalID 101 step 0
CC 101 session 0 completed step 0 in fiber 0x7f34000b20
cc 101(1) session 0 runCount=0 runIspOut=0, latest ccId=0
CC 101 session 0 completed step 1 in fiber 0x7f34000b20
NV AE and AfApply algorithms are active.
Created fiber 0x7f34000b20 for CC 101 globalID 101 session 0
Created fiber 0x7f34000dd0 for CC 102 globalID 102 session 0
Thread 2 is working on CC 102 session 0 globalID 102 step 0
Session::updatePerfHints()
updatePerfHints(): guid=0ll, CaptureIntent=1
updatePerfHints(): NvCameraCoreUseCase_Preview
NvPHSSendThroughputHints: sensorId=0, m_usecase=4, m_type=1, m_value=30, m_timeout_ms=1000

CC 102 session 0 completed step 0 in fiber 0x7f34000dd0
NvPHSSendThroughputHints: sensorId=0, m_usecase=4, m_type=15, m_value=0, m_timeout_ms=1000

cc 102(2) session 0 runCount=1 runIspOut=0, latest ccId=0
CC 102 session 0 completed step 1 in fiber 0x7f34000dd0
CC 101 session 0 completed step 2 in fiber 0x7f34000b20
NV AE and AfApply algorithms are active.
CC 101 session 0 completed step 3 in fiber 0x7f34000b20
CC 102 session 0 completed step 2 in fiber 0x7f34000dd0
CC 102 session 0 completed step 3 in fiber 0x7f34000dd0
CC 102 session 0 stalled step 4 in fiber 0x7f34000dd0
FiberScheduler: cc 102, session 0 fiber 0x7f34000dd0 not ready to execute stalled on 0x7f88975a30 stage...

Thread 2 getting next capture
Thread 3 is waiting
Thread 2 is waiting
CC 101 session 0 completed step 4 in fiber 0x7f34000b20
Thread 4 is working on CC 102 session 0 globalID 102 step 4
CC 102 session 0 completed step 4 in fiber 0x7f34000dd0
CC 102 session 0 completed step 5 in fiber 0x7f34000dd0
CC 102 session 0 completed step 6 in fiber 0x7f34000dd0
CC 101 session 0 completed step 5 in fiber 0x7f34000b20
CC 102 session 0 stalled step 7 in fiber 0x7f34000dd0
FiberScheduler: cc 102, session 0 fiber 0x7f34000dd0 not ready to execute stalled on 0x7f88a5d2b0 stage...

Thread 4 getting next capture
Thread 5 is waiting
Thread 4 is waiting
CC 101 session 0 completed step 6 in fiber 0x7f34000b20
SCF: Error BadParameter: Vector index out of bounds (in /dvs/git/dirty/git-master_linux/camera/utils/nvcamerautils/inc/Vector.h, function get(), line 337)
CC 101 session 0 processing step 7 in fiber 0x7f34000b20
Thread 6 is working on CC 102 session 0 globalID 102 step 7
FiberScheduler: cc 101, session 0, fiber 0x7f34000b20 in progress...

Thread 1 getting next capture
Thread 1 is waiting
Thread 7 is waiting
SCF: Error BadParameter: Vector index out of bounds (in /dvs/git/dirty/git-master_linux/camera/utils/nvcamerautils/inc/Vector.h, function get(), line 337)
CC 102 session 0 processing step 7 in fiber 0x7f34000dd0
FiberScheduler: cc 102, session 0, fiber 0x7f34000dd0 in progress...

Thread 6 getting next capture
Thread 6 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 640x480
writeFrameRate:	INPUT frameRate:30.000000
writeGain:	INPUT gainCtrl:10 analogGain:1.000000
writeExposure:	INPUT expTime:0.033333
SCF: Error Timeout:  (propagating from src/services/capture/CaptureServiceEvent.cpp, function wait(), line 59)
Error: Camera HwEvents wait, this may indicate a hardware timeout occured,abort current/incoming cc
Created fiber 0x7f34000f70 for CC 103 globalID 103 session 0
Thread 9 is working on CC 103 session 0 globalID 103 step 0
Fiber 0x7f34000f70 is aborting in CC 103 Session 0
FiberScheduler: cc 103 session 0, fiber 0x7f34000f70 aborted

FiberScheduler: fiber 0x7f34000f70 exiting
Thread 9 getting next capture
Thread 10 is waiting
Thread 9 is waiting
Thread 11 is waiting
=== gst-launch-1.0[7329]: Connection closed (7F8DA6F1D0)=== gst-launch-1.0[7329]: WARNING: CameraProvider was not destroyed before client connection terminated.=== gst-launch-1.0[7329]:          The client may have abnormally terminated. Destroying CameraProvider...=== gst-launch-1.0[7329]: CameraProvider destroyed (0x7f88834c90)=== gst-launch-1.0[7329]: WARNING: Cleaning up 1 outstanding requests...=== gst-launch-1.0[7329]: WARNING: Cleaning up 1 outstanding streams...=== gst-launch-1.0[7329]: WARNING: Cleaning up 1 outstanding stream settings...=== gst-launch-1.0[7329]: WARNING: Cleaning up 1 outstanding sessions...waitForIdleLocked remaining request 102 
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)

Could you try to add set_mode_delay_ms=600 to your sensor mode in the DT to try.

https://docs.nvidia.com/jetson/l4t/Tegra%20Linux%20Driver%20Package%20Development%20Guide/camera_sensor_prog.html

I inserted set_mode_delay_ms=“600” to device tree, but I got the same result.

nvidia@nvidia-desktop:~$ sudo su
[sudo] password for nvidia: 
root@nvidia-desktop:/home/nvidia# echo 1 > /sys/kernel/debug/tracing/tracing_on
root@nvidia-desktop:/home/nvidia# echo 30720 > /sys/kernel/debug/tracing/buffer_size_kb
root@nvidia-desktop:/home/nvidia# echo 1 > /sys/kernel/debug/tracing/events/tegra_rtcpu/enable
root@nvidia-desktop:/home/nvidia# echo 1 > /sys/kernel/debug/tracing/events/freertos/enable
root@nvidia-desktop:/home/nvidia# echo 2 > /sys/kernel/debug/camrtc/log-level
bash: /sys/kernel/debug/camrtc/log-level: No such file or directory
root@nvidia-desktop:/home/nvidia# echo 1 > /sys/kernel/debug/tracing/events/camera_common/enable
root@nvidia-desktop:/home/nvidia# echo > /sys/kernel/debug/tracing/trace
root@nvidia-desktop:/home/nvidia# cat /sys/kernel/debug/tracing/trace
# tracer: nop
#
# entries-in-buffer/entries-written: 0/0   #P:4
#
#                              _-----=> irqs-off
#                             / _----=> need-resched
#                            | / _---=> hardirq/softirq
#                            || / _--=> preempt-depth
#                            ||| /     delay
#           TASK-PID   CPU#  ||||    TIMESTAMP  FUNCTION
#              | |       |   ||||       |         |
root@nvidia-desktop:/home/nvidia# pkill nvargus-daemon
root@nvidia-desktop:/home/nvidia# export enableCamPclLogs=5
root@nvidia-desktop:/home/nvidia# export enableCamScfLogs=5
root@nvidia-desktop:/home/nvidia# /usr/sbin/nvargus-daemon
=== NVIDIA Libargus Camera Service (0.97.3)=== Listening for connections...=== gst-launch-1.0[7175]: Connection established (7F96F2F1D0)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 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(0x7f907e9d50)
getInstance: s_instance(0x7f907e9d50)
subscribe: SensorType(gyroscope)
subscribe: create SensorType(gyroscope) sensor(0x7f907ec350)
subscribe: SensorType(accelerometer)
subscribe: create SensorType(accelerometer) sensor(0x7f907f18b0)
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
NvPclHwMatchPartNum: Found calibration Part#: RBPCV2:"RBPCV2"
NvPclHwPrintModuleDefinition -- Name: porg_front_RBPCV2
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: imx378 6-001a
NvPclHwGetModuleList: OFParserListModules Succeeded
NvPclModuleListInitialize: NvPclModule list[0]: porg_front_RBPCV2 position0
NvPclHwScanExternalCameras -- adding video0 to discover list
NvPclHwScanExternalCameras -- adding video0 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 0 match at index[0]
NvPclHwInitializeModule: allocate overrides pathname @ 0x7f90730870
NvPclHwInitializeModule: allocate overrides pathname @ 0x7f9075eb90
NvPclHwInitializeModule: allocate overrides pathname @ 0x7f904dbc60
NvPclHwInitializeModule: allocate overrides pathname @ 0x7f9075eb00
NvPclHwInitializeModule: allocate overrides pathname @ 0x7f90835fe0
NvPclHwInitializeModule: allocate overrides pathname @ 0x7f90833ff0
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/porg_front_RBPCV2.isp] 6/16
CheckOverridesPermissions: stat(/data/vendor/nvcam/settings/porg_front_RBPCV2.isp) call failed
LoadOverridesFile: looking for override file [/opt/nvidia/nvcam/settings/porg_front_RBPCV2.isp] 7/16
CheckOverridesPermissions: stat(/opt/nvidia/nvcam/settings/porg_front_RBPCV2.isp) call failed
LoadOverridesFile: looking for override file [/var/nvidia/nvcam/settings/porg_front_RBPCV2.isp] 8/16
CheckOverridesPermissions: stat(/var/nvidia/nvcam/settings/porg_front_RBPCV2.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/porg_front_RBPCV2.bin] 2/16
Imager: looking for override file [/opt/nvidia/nvcam/settings/porg_front_RBPCV2.bin] 3/16
Imager: looking for override file [/var/nvidia/nvcam/settings/porg_front_RBPCV2.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 [delayed_gain]
OFDPropertyCopyToLong: could not read property [has-eeprom]
OFDPropertyGetString: could not read property [type]
loadSubType: Sensor type missing in DT, 206
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]
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]
initialize: Loaded Driver: 1 Modes Available--------------
NvPclInitializeDrivers: v4l2_sensor ------------------
NvPclOpen: ----------------------
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2549: Error: Invalid isp config attribute: "contrastEnhancement.v2.Preview[0]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2550: Error: Invalid isp config attribute: "contrastEnhancement.v2.Preview[1]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2551: Error: Invalid isp config attribute: "contrastEnhancement.v2.Preview[2]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2552: Error: Invalid isp config attribute: "contrastEnhancement.v2.Preview[3]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2555: Error: Invalid isp config attribute: "contrastEnhancement.v2.Still[0]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2556: Error: Invalid isp config attribute: "contrastEnhancement.v2.Still[1]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2557: Error: Invalid isp config attribute: "contrastEnhancement.v2.Still[2]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2558: Error: Invalid isp config attribute: "contrastEnhancement.v2.Still[3]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2561: Error: Invalid isp config attribute: "contrastEnhancement.v2.Video[0]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2562: Error: Invalid isp config attribute: "contrastEnhancement.v2.Video[1]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2563: Error: Invalid isp config attribute: "contrastEnhancement.v2.Video[2]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2564: Error: Invalid isp config attribute: "contrastEnhancement.v2.Video[3]={0,0,0,0,0,0,0}"
LSC: LSC surface is not based on full res!
=== gst-launch-1.0[7175]: CameraProvider initialized (0x7f90834dc0)sourceRegistry[0] assigned

ispRegistry[0] assigned

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

NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2549: Error: Invalid isp config attribute: "contrastEnhancement.v2.Preview[0]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2550: Error: Invalid isp config attribute: "contrastEnhancement.v2.Preview[1]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2551: Error: Invalid isp config attribute: "contrastEnhancement.v2.Preview[2]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2552: Error: Invalid isp config attribute: "contrastEnhancement.v2.Preview[3]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2555: Error: Invalid isp config attribute: "contrastEnhancement.v2.Still[0]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2556: Error: Invalid isp config attribute: "contrastEnhancement.v2.Still[1]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2557: Error: Invalid isp config attribute: "contrastEnhancement.v2.Still[2]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2558: Error: Invalid isp config attribute: "contrastEnhancement.v2.Still[3]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2561: Error: Invalid isp config attribute: "contrastEnhancement.v2.Video[0]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2562: Error: Invalid isp config attribute: "contrastEnhancement.v2.Video[1]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2563: Error: Invalid isp config attribute: "contrastEnhancement.v2.Video[2]={0,0,0,0,0,0,0}"
NvCameraIspConfigFileLoad: type = 0x15 Config file "isp3_1.cfg" Line 2564: Error: Invalid isp config attribute: "contrastEnhancement.v2.Video[3]={0,0,0,0,0,0,0}"
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.
Worker thread CaptureDispatcher start
Session::updatePerfHints()
updatePerfHints(): guid=0ll, CaptureIntent=1
updatePerfHints(): NvCameraCoreUseCase_Preview
NvPHSSendThroughputHints: sensorId=0, m_usecase=4, m_type=1, m_value=30, m_timeout_ms=1000

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

No output buffers for 2
InstructionList:
  + GraphSettings
      | SensorMode: 640x480 BayerS16RGGB 30.0fps
      | output 0: 640x480 BL U8_V8_ER 420SP
      | inputClipRect 0: (0.00,0.00, 1.00,1.00)

  + Instruction List
      | id: 0
      +  0: CCDataSetupStage
          | EstimatedIspOutLatencyFrames: 5
          | NumConcurrentCaptures: 1
          | UnprocessedYuvBufferMask: 0
      +  1: ACSynchronizeStage
      +  2: AeAfApplyStage
      +  3: AcPluginStage
          | operation: opApply
      +  4: AcMergeStage
          | IspIn: [640, 480]
          | IspOut0: [640, 480]
          | IspOut1: [0, 0]
          | IspOut2: [0, 0]
      +  5: TempBufferAcquireStage
          | Buffer Index: 2
          | BufferRequirements: 640x1 Pitch NonColor8
      +  6: TempBufferAcquireStage
          | Buffer Index: 3
          | BufferRequirements: 524288x1 Pitch NonColor8
      +  7: SensorISPCaptureStage
          | Source GUID: 0
          | Output A Buffer: 0
          | SensorMetadata Buffer: 2
          | Output IspStats Buffer: 3
      +  8: StatsBufferAcquireStage
          | Buffer Index: 1
          | BufferRequirements: 640x480 Pitch Y8_ER 420
      +  9: BlitStage
          | Input Buffer: 0
          | Output Buffer: 1
          | Filter: Nearest
          | Transform: None
          | Src Rect: Not used
          | Dst Rect: Not used
      + 10: StatsUpdateStage
          | Output Meta Buffer: 2
          | Output IspStats Buffer: 3
      + 11: BufferReturnStage
          | Output A Buffer: 2
      + 12: BufferReturnStage
          | Output A Buffer: 3
      + 13: AcPluginStage
          | operation: opAnalyze
      + 14: AfAnalysisStage
      + 15: MonitorStage
      + 16: ExifStage
      + 17: MakerNoteStage
      + 18: BufferReturnStage
          | Output A Buffer: 0
      + 19: MetadataReturnStage
      + 20: PerfStatsStage

Session::updatePerfHints()
Thread 1 is working on CC 101 session 0 globalID 101 step 0
CC 101 session 0 completed step 0 in fiber 0x7f3c000b20
cc 101(1) session 0 runCount=0 runIspOut=0, latest ccId=0
CC 101 session 0 completed step 1 in fiber 0x7f3c000b20
NV AE and AfApply algorithms are active.
Created fiber 0x7f3c000b20 for CC 101 globalID 101 session 0
CC 101 session 0 completed step 2 in fiber 0x7f3c000b20
CC 101 session 0 completed step 3 in fiber 0x7f3c000b20
CC 101 session 0 completed step 4 in fiber 0x7f3c000b20
CC 101 session 0 completed step 5 in fiber 0x7f3c000b20
CC 101 session 0 completed step 6 in fiber 0x7f3c000b20
SCF: Error BadParameter: Vector index out of bounds (in /dvs/git/dirty/git-master_linux/camera/utils/nvcamerautils/inc/Vector.h, function get(), line 337)
CC 101 session 0 processing step 7 in fiber 0x7f3c000b20
FiberScheduler: cc 101, session 0, fiber 0x7f3c000b20 in progress...

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

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

Created fiber 0x7f3c000dd0 for CC 102 globalID 102 session 0
Session::updatePerfHints()
updatePerfHints(): guid=0ll, CaptureIntent=1NvPclSettingsUpdate: Sending Updated Settings through PCL
Thread 3 is working on CC 102 session 0 globalID 102 step 0
CC 102 session 0 completed step 0 in fiber 0x7f3c000dd0
cc 102(2) session 0 runCount=1 runIspOut=0, latest ccId=0
CC 102 session 0 completed step 1 in fiber 0x7f3c000dd0
NV AE and AfApply algorithms are active.
CC 102 session 0 completed step 2 in fiber 0x7f3c000dd0
CC 102 session 0 completed step 3 in fiber 0x7f3c000dd0
CC 102 session 0 completed step 4 in fiber 0x7f3c000dd0
CC 102 session 0 completed step 5 in fiber 0x7f3c000dd0
CC 102 session 0 completed step 6 in fiber 0x7f3c000dd0
SCF: Error BadParameter: Vector index out of bounds (in /dvs/git/dirty/git-master_linux/camera/utils/nvcamerautils/inc/Vector.h, function get(), line 337)
CC 102 session 0 processing step 7 in fiber 0x7f3c000dd0
FiberScheduler: cc 102, session 0, fiber 0x7f3c000dd0 in progress...

Thread 3 getting next capture
NvPclSettingsApply: Applying last settings through PCL
apply:+++++++++++++++++++++++
writeMode: Target mode Id(0): Resolution 640x480

updatePerfHints(): NvCameraCoreUseCase_Preview
NvPHSSendThroughputHints: sensorId=0, m_usecase=4, m_type=1, m_value=30, m_timeout_ms=1000

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

Thread 4 is waiting
Thread 3 is waiting
writeFrameRate:	INPUT frameRate:30.000000
writeGain:	INPUT gainCtrl:10 analogGain:1.000000
writeExposure:	INPUT expTime:0.033333
SCF: Error Timeout:  (propagating from src/services/capture/CaptureServiceEvent.cpp, function wait(), line 59)
Error: Camera HwEvents wait, this may indicate a hardware timeout occured,abort current/incoming cc
Created fiber 0x7f3c000f70 for CC 103 globalID 103 session 0
Thread 5 is working on CC 103 session 0 globalID 103 step 0
Fiber 0x7f3c000f70 is aborting in CC 103 Session 0
FiberScheduler: cc 103 session 0, fiber 0x7f3c000f70 aborted

FiberScheduler: fiber 0x7f3c000f70 exiting
Thread 5 getting next capture
Thread 5 is waiting
Thread 6 is waiting
Thread 7 is waiting
=== gst-launch-1.0[7175]: Connection closed (7F96F2F1D0)=== gst-launch-1.0[7175]: WARNING: CameraProvider was not destroyed before client connection terminated.=== gst-launch-1.0[7175]:          The client may have abnormally terminated. Destroying CameraProvider...=== gst-launch-1.0[7175]: CameraProvider destroyed (0x7f90834dc0)=== gst-launch-1.0[7175]: WARNING: Cleaning up 1 outstanding requests...=== gst-launch-1.0[7175]: WARNING: Cleaning up 1 outstanding streams...=== gst-launch-1.0[7175]: WARNING: Cleaning up 1 outstanding stream settings...=== gst-launch-1.0[7175]: WARNING: Cleaning up 1 outstanding sessions...waitForIdleLocked remaining request 102 
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)

I still can not solve the problem
What else do you know?
gst-launch-1.0 command log is shown below.

nvidia@nvidia-desktop:~$ gst-launch-1.0 nvarguscamerasrc ! "video/x-raw(memory:NVMM), width=(int)640, height=(int)480, framerate=(fraction)30/1" ! nvvidconv ! queue ! xvimagesink
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
GST_ARGUS: Creating output stream
CONSUMER: Waiting until producer is connected...
GST_ARGUS: Available Sensor modes :
GST_ARGUS: 640 x 480 FR = 29.999999 fps Duration = 33333334 ; Analog Gain range min 1.122018, max 12.589254; Exposure Range min 1000, max 65515000;

GST_ARGUS: Running with following settings:
   Camera index = 0 
   Camera mode  = 0 
   Output Stream W = 640 H = 480 
   seconds to Run    = 0 
   Frame Rate = 29.999999 
GST_ARGUS: PowerService: requested_clock_Hz=2016000
GST_ARGUS: Setup Complete, Starting captures for 0 seconds
GST_ARGUS: Starting repeat capture requests.
CONSUMER: Producer has connected; continuing.
^Chandling interrupt.
Interrupt: Stopping pipeline ...
Execution ended after 0:00:10.506136553
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
^C
nvidia@nvidia-desktop:~$

dmesg command log is shown below.

[ 1374.453114] imx378 6-001a: imx378_open:
[ 1374.455721] imx378 6-001a: imx378_power_on: power on
[ 1374.464787] imx378 6-001a: set_mode:stop_streaming
[ 1374.468609] imx378 6-001a: set_mode:COMMON
[ 1374.468615] imx378 6-001a: set_mode:0
[ 1374.577852] imx378 6-001a: set_mode finished
[ 1374.577866] imx378 6-001a: start_streaming
[ 1374.581880] imx378 6-001a: stop_streaming
[ 1374.637060] imx378 6-001a: imx378_power_off: power off
[ 1374.637313] imx378 6-001a: imx378_power_on: power on
[ 1374.646567] imx378 6-001a: imx378_power_off: power off
[ 1375.253797] imx378 6-001a: imx378_power_on: power on
[ 1375.262855] imx378 6-001a: set_mode:stop_streaming
[ 1375.266684] imx378 6-001a: set_mode:COMMON
[ 1375.266691] imx378 6-001a: set_mode:0
[ 1375.357978] imx378 6-001a: set_mode finished
[ 1375.358058] imx378 6-001a: start_streaming
[ 1375.361917] imx378 6-001a: stop_streaming
[ 1375.417122] imx378 6-001a: imx378_power_off: power off
[ 1375.417836] imx378 6-001a: imx378_power_on: power on
[ 1375.427162] imx378 6-001a: imx378_power_off: power off
[ 1375.431956] imx378 6-001a: imx378_power_on: power on
[ 1375.441188] imx378 6-001a: imx378_power_off: power off
[ 1375.492691] imx378 6-001a: imx378_power_on: power on
[ 1375.501819] imx378 6-001a: imx378_power_off: power off
[ 1375.501950] imx378 6-001a: imx378_power_on: power on
[ 1375.511076] imx378 6-001a: imx378_power_off: power off
[ 1375.511197] imx378 6-001a: imx378_power_on: power on
[ 1375.520315] imx378 6-001a: imx378_power_off: power off
[ 1375.791805] imx378 6-001a: imx378_power_on: power on
[ 1375.801017] Internal error: Attempting to execute userspace memory: 86000005 [#1] PREEMPT SMP
[ 1375.809535] Modules linked in: fuse bnep hid_logitech_hidpp hid_logitech_dj overlay nvs nvgpu bluedroid_pm ip_tables x_tables
[ 1375.820907] CPU: 2 PID: 7377 Comm: CaptureSchedule Not tainted 4.9.140 #40
[ 1375.827766] Hardware name: jetson-nano (DT)
[ 1375.831940] task: ffffffc081e37000 task.stack: ffffffc081edc000
[ 1375.837846] PC is at 0x0
[ 1375.840376] LR is at tegracam_s_ctrl+0x27c/0x310
[ 1375.844982] pc : [<0000000000000000>] lr : [<ffffff8008b38e8c>] pstate: 20400145
[ 1375.852360] sp : ffffffc081edfa00
[ 1375.855665] x29: ffffffc081edfa00 x28: 0000000000000000 
[ 1375.860979] x27: ffffffc0f96b0030 x26: ffffffc0f8a0dc00 
[ 1375.866291] x25: 0000000000000001 x24: 0000000000000001 
[ 1375.871604] x23: ffffffc0f3cc9418 x22: ffffff8009fd3b10 
[ 1375.876916] x21: ffffffc0f8a0d118 x20: ffffffc0f8a0dc00 
[ 1375.882226] x19: ffffffc0f8a0dc00 x18: 0000000000000001 
[ 1375.887537] x17: 0000000000000002 x16: 0000000000000000 
[ 1375.892847] x15: ffffffffffffffff x14: ffffffc081edf9e0 
[ 1375.898157] x13: ffffffc081edf8e5 x12: 00000000009a2009 
[ 1375.903474] x11: ffffffc081edf8a0 x10: ffffffc081edf8a0 
[ 1375.908787] x9 : 0000000000000002 x8 : 0000000000000002 
[ 1375.914098] x7 : ffffff8008fa6d88 x6 : 0000000000000090 
[ 1375.919426] x5 : 000000000000008d x4 : 0000000000000001 
[ 1375.924746] x3 : 0000000000000000 x2 : 0000000000000000 
[ 1375.930059] x1 : 0000000000000001 x0 : ffffffc0f8a0d118 

[ 1375.936860] Process CaptureSchedule (pid: 7377, stack limit = 0xffffffc081edc000)
[ 1375.944326] Call trace:
[ 1375.946768] [<          (null)>]           (null)
[ 1375.951501] [<ffffff8008b07838>] try_or_set_cluster+0x170/0x368
[ 1375.957436] [<ffffff8008b07f38>] try_set_ext_ctrls+0x2e8/0x4c8
[ 1375.963265] [<ffffff8008b08190>] v4l2_s_ext_ctrls+0x38/0x48
[ 1375.968833] [<ffffff8008aff7c0>] v4l_s_ext_ctrls+0xa0/0xe0
[ 1375.974317] [<ffffff8008afe044>] __video_do_ioctl+0x204/0x2c8
[ 1375.980061] [<ffffff8008afd9f0>] video_usercopy+0x2a0/0x6a0
[ 1375.985633] [<ffffff8008afde2c>] video_ioctl2+0x3c/0x50
[ 1375.990867] [<ffffff8008af7960>] v4l2_ioctl+0x88/0x118
[ 1375.996014] [<ffffff8008271970>] do_vfs_ioctl+0xb0/0x8d8
[ 1376.001328] [<ffffff8008272224>] SyS_ioctl+0x8c/0xa8
[ 1376.006308] [<ffffff80080838c0>] el0_svc_naked+0x34/0x38
[ 1376.011640] ---[ end trace 97421e8c7f222b61 ]---

Have a check the s_ctrl in sensor driver due to it cause the call trace.

I got a picture when I set the function correctly on tegracam_ctrl_ops.
Thank you.

The color is as follows.
It seems that WB does not work well.
It used to be able to adjust with nvcamerasrc like the following command, but since it changed to nvarguscamerasrc, it can not be adjusted well.

gst-launch-1.0 nvcamerasrc sensor-id=0 fpsRange="30.0 30.0" wbmode=9 wbManualMode=3 aeLock=true ! "video/x-raw(memory:NVMM), width=(int)640, height=(int)480, framerate=(fraction)30/1" ! nvvidconv ! queue ! xvimagesink

Is there a way to fine tune it?

Looks like not relative to WB issue.
It could be the pixel type not correct. Have a confirm the sensor output with the DT define(pixel_phrase).

I adjusted the options of wb and got a good picture.
Thanks.

gst-launch-1.0 nvarguscamerasrc sensor-id=0 wbmode=9 awblock=false aelock=true ! "video/x-raw(memory:NVMM), width=(int)4032, height=(int)3040, framerate=(fraction)20/1" ! nvvidconv flip-method=2 ! "video/x-raw, width=(int)1400, height=(int)787, framerate=(fraction)20/1" ! queue ! xvimagesink