Jetson Nano v4l2 capture working, nvarguscamerasrc capture not working

Hello, I am currently working on a project using JetPack 4.5 with the following hardware:

  • Jetson Nano b01 module
  • Custom carrier
  • Single CSI camera

I made a previous post here and the issue was marked as solved.However the suggested fix did not solve the problem.

I have confirmed that capturing with v4l2-ctl is completely functional and it is possible to capture at the specified framerates. Behaviour with nvargus is as specified previously:

  • Attempted capture with nvarguscamerasrc produces error and causes board reboot.
  • Attempted capture with nvarguscamerasrc causes driver to start executing constant power on/off sequences on the camera.

Recent logs are similar to those in original post. Running the following pipeline:

GST_DEBUG=*nvarguscamerasrc*:9 gst-launch-1.0 -e nvarguscamerasrc num-buffers=10 sensor-id=0 silent=false ! \
"video/x-raw(memory:NVMM),width=2848,height=2840,format=NV12,framerate=43/1" ! \
nvvidconv ! "video/x-raw" ! identity silent=false ! filesink location=frame.yuv -v

Gstreamer output:

Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
0:00:01.124228569  7148   0x55918378a0 DEBUG       nvarguscamerasrc gstnvarguscamerasrc.cpp:1311:gst_nv_argus_camera_set_caps:<nvarguscamerasrc0> Received caps video/x-raw(memory:NVMM), width=(int)2848, height=(int)2840, format=(string)NV12, framerate=(fraction)43/1
/GstPipeline:pipeline0/GstIdentity:identity0: last-message = event   ******* (identity0:sink) E (type: stream-start (10254), GstEventStreamStart, stream-id=(string)1806017ab9dbe7fe5a76942f29e08c9e, flags=(GstStreamFlags)GST_STREAM_FLAG_NONE, group-id=(uint)1;) 0x5591838d10
Setting pipeline to PLAYING ...
New clock: GstSystemClock
/GstPipeline:pipeline0/GstNvArgusCameraSrc:nvarguscamerasrc0.GstPad:src: caps = video/x-raw(memory:NVMM), width=(int)2848, height=(int)2840, format=(string)NV12, framerate=(fraction)43/1
/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:src: caps = video/x-raw(memory:NVMM), width=(int)2848, height=(int)2840, format=(string)NV12, framerate=(fraction)43/1
/GstPipeline:pipeline0/Gstnvvconv:nvvconv0.GstPad:src: caps = video/x-raw, width=(int)2848, height=(int)2840, framerate=(fraction)43/1, format=(string)NV12
/GstPipeline:pipeline0/GstCapsFilter:capsfilter1.GstPad:src: caps = video/x-raw, width=(int)2848, height=(int)2840, framerate=(fraction)43/1, format=(string)NV12
/GstPipeline:pipeline0/GstIdentity:identity0: last-message = event   ******* (identity0:sink) E (type: caps (12814), GstEventCaps, caps=(GstCaps)"video/x-raw\,\ width\=\(int\)2848\,\ height\=\(int\)2840\,\ framerate\=\(fraction\)43/1\,\ format\=\(string\)NV12";) 0x5591838ed0
/GstPipeline:pipeline0/GstIdentity:identity0.GstPad:src: caps = video/x-raw, width=(int)2848, height=(int)2840, framerate=(fraction)43/1, format=(string)NV12
/GstPipeline:pipeline0/GstFileSink:filesink0.GstPad:sink: caps = video/x-raw, width=(int)2848, height=(int)2840, framerate=(fraction)43/1, format=(string)NV12
/GstPipeline:pipeline0/GstIdentity:identity0.GstPad:sink: caps = video/x-raw, width=(int)2848, height=(int)2840, framerate=(fraction)43/1, format=(string)NV12
/GstPipeline:pipeline0/GstCapsFilter:capsfilter1.GstPad:sink: caps = video/x-raw, width=(int)2848, height=(int)2840, framerate=(fraction)43/1, format=(string)NV12
/GstPipeline:pipeline0/Gstnvvconv:nvvconv0.GstPad:sink: caps = video/x-raw(memory:NVMM), width=(int)2848, height=(int)2840, format=(string)NV12, framerate=(fraction)43/1
/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:sink: caps = video/x-raw(memory:NVMM), width=(int)2848, height=(int)2840, format=(string)NV12, framerate=(fraction)43/1
GST_ARGUS: Creating output stream
CONSUMER: Waiting until producer is connected...
GST_ARGUS: Available Sensor modes :
GST_ARGUS: 2848 x 2840 FR = 43.000000 fps Duration = 23255814 ; Analog Gain range min 0.062500, max 63.937500; Exposure Range min 25000, max 683709000;

GST_ARGUS: Running with following settings:
   Camera index = 0 
   Camera mode  = 0 
   Output Stream W = 2848 H = 2840 
   seconds to Run    = 0 
   Frame Rate = 43.000000 
GST_ARGUS: Setup Complete, Starting captures for 0 seconds
GST_ARGUS: Starting repeat capture requests.
CONSUMER: Producer has connected; continuing.
nvbuf_utils: dmabuf_fd -1 mapped entry NOT found
nvbuf_utils: Can not get HW buffer from FD... Exiting...
ERROR: from element /GstPipeline:pipeline0/GstNvArgusCameraSrc:nvarguscamerasrc0: CANCELLED
Additional debug info:
Argus Error Status
EOS on shutdown enabled -- waiting for EOS after Error
Waiting for EOS...
client_loop: send disconnect: Broken pipe

The nvargus log level was also increased using:

sudo su
service nvargus-daemon stop
export enableCamPclLogs=5
export enableCamScfLogs=5
/usr/sbin/nvargus-daemon

Nvargus-daemon log:

=== NVIDIA Libargus Camera Service (0.97.3)=== Listening for connections...=== gst-launch-1.0[7035]: Connection established (7FAD9231D0)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(0x7fa88c7a50)
getInstance: s_instance(0x7fa88c7a50)
subscribe: SensorType(gyroscope)
subscribe: create SensorType(gyroscope) sensor(0x7fa88121f0)
subscribe: SensorType(accelerometer)
subscribe: create SensorType(accelerometer) sensor(0x7fa88cf500)
AC plugin not present: dlopen "acplugin.so", acplugin.so: cannot open shared object file: No such file or directory
Services are started
NvPclSetHotplugCallback: ++++++++++++++++++++++
---- Imager: Calibration blob file handling supported in this build ----
NvPclHwGetModuleList: OFParserListModules Succeeded
OFParserListModules: module list: /proc/device-tree/tegra-camera-platform/modules/module0
NvPclHwGetModuleList: WARNING: Could not map module to ISP config string
NvPclHwGetModuleList: No module data found
NvPclHwPrintModuleDefinition -- Name: Camera_front_6aaqjc
NvPclHwPrintModuleDefinition -- Position: 1
NvPclHwPrintModuleDefinition -- CalibrationData Found: 1
NvPclHwPrintCameraSubModule -- HwCamSubModule[0].Name: v4l2_sensor
NvPclHwPrintCameraSubModule -- HwCamSubModule[0].DevName: Camera 6-001a
NvPclHwGetModuleList: OFParserListModules Succeeded
NvPclModuleListInitialize: NvPclModule list[0]: Camera_front_6aaqjc position1
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 1 match at index[0]
NvPclHwInitializeModule: allocate overrides pathname @ 0x7fa87e4f80
NvPclHwInitializeModule: allocate overrides pathname @ 0x7fa8847810
NvPclHwInitializeModule: allocate overrides pathname @ 0x7fa87f7ba0
NvPclHwInitializeModule: allocate overrides pathname @ 0x7fa84f9cd0
NvPclHwInitializeModule: allocate overrides pathname @ 0x7fa87e9a90
NvPclHwInitializeModule: allocate overrides pathname @ 0x7fa87e9a00
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/Camera_front_6aaqjc.isp] 6/16
CheckOverridesPermissions: stat(/data/vendor/nvcam/settings/Camera_front_6aaqjc.isp) call failed
LoadOverridesFile: looking for override file [/opt/nvidia/nvcam/settings/Camera_front_6aaqjc.isp] 7/16
CheckOverridesPermissions: stat(/opt/nvidia/nvcam/settings/Camera_front_6aaqjc.isp) call failed
LoadOverridesFile: looking for override file [/var/nvidia/nvcam/settings/Camera_front_6aaqjc.isp] 8/16
CheckOverridesPermissions: stat(/var/nvidia/nvcam/settings/Camera_front_6aaqjc.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/Camera_front_6aaqjc.bin] 2/16
Imager: looking for override file [/opt/nvidia/nvcam/settings/Camera_front_6aaqjc.bin] 3/16
Imager: looking for override file [/var/nvidia/nvcam/settings/Camera_front_6aaqjc.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_sensor)
NvPclCreateDriver: Found a Driver name match (v4l2_sensor)
NvPclConnectDrivers: hImager was NULL, creating new imager
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 [sync_sensor]
OFDPropertyGetString: could not read property [type]
loadSubType: Sensor type missing in DT, 208
OFDPropertyCopyToLong: could not read property [set_mode_delay_ms]
OFDPropertyCopyToLong: could not read property [mode0.vc_id]
OFDPropertyCopyToLong: could not read property [mode0.dynamic_pixel_bit_depth]
OFDPropertyCopyToLongLong: could not read property [mode0.serdes_pix_clk_hz]
OFDPropertyCopyToLongLong: could not read property [mode0.exp_time_1h]
OFDPropertyCopyToFloat: could not read property [mode0.gain_step_pitch]
OFDPropertyCopyToLong: could not read property [mode0.clk_settletime]
OFDPropertyCopyToLong: could not read property [mode0.embedded_metadata_width]
OFDPropertyGetString: could not read property [mode0.x_start]
OFDPropertyGetString: could not read property [mode0.y_start]
OFDPropertyGetString: could not read property [mode0.x_end]
OFDPropertyGetString: could not read property [mode0.y_end]
OFDPropertyGetString: could not read property [mode0.h_scaling]
OFDPropertyGetString: could not read property [mode0.v_scaling]
initialize: Loaded Driver: 1 Modes Available--------------
NvPclInitializeDrivers: v4l2_sensor ------------------
NvPclOpen: ----------------------
LSC: LSC surface is not based on full res!
=== gst-launch-1.0[7035]: CameraProvider initialized (0x7fa892dc90)sourceRegistry[0] assigned

ispRegistry[1] assigned

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

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

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

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

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

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

No output buffers for 2
InstructionList:
  + GraphSettings
      | SensorMode: 2848x2840 BayerS16RGGB 43.0fps
      | output 0: 2848x2840 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: [2848, 2840]
          | IspOut0: [2848, 2840]
          | IspOut1: [0, 0]
          | IspOut2: [0, 0]
      +  5: TempBufferAcquireStage
          | Buffer Index: 2
          | BufferRequirements: 2848x1 Pitch NonColor8
      +  6: TempBufferAcquireStage
          | Buffer Index: 3
          | BufferRequirements: 524288x1 Pitch NonColor8
      +  7: SensorISPCaptureStage
          | Source GUID: 1
          | Output A Buffer: 0
          | SensorMetadata Buffer: 2
          | Output IspStats Buffer: 3
      +  8: StatsBufferAcquireStage
          | Buffer Index: 1
          | BufferRequirements: 640x638 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=1ll, CaptureIntent=1
updatePerfHints(): NvCameraCoreUseCase_Preview
NvPHSSendThroughputHints: sensorId=1, m_usecase=4, m_type=1, m_value=30, m_timeout_ms=1000

Created fiber 0x7f50000b20 for CC 101 globalID 101 session 1
NvPHSSendThroughputHints: sensorId=1, m_usecase=4, m_type=15, m_value=0, m_timeout_ms=1000

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

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

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

Thread 2 getting next capture
Thread 2 is waiting
Thread 3 is waiting
CC 101 session 1 completed step 4 in fiber 0x7f50000b20
Thread 4 is working on CC 102 session 1 globalID 102 step 4
CC 101 session 1 completed step 5 in fiber 0x7f50000b20
CC 101 session 1 completed step 6 in fiber 0x7f50000b20
CC 101 session 1 processing step 7 in fiber 0x7f50000b20
FiberScheduler: cc 101, session 1, fiber 0x7f50000b20 in progress...

Thread 1 getting next capture
Thread 5 is waiting
Thread 1 is waiting
CC 102 session 1 completed step 4 in fiber 0x7f50000dd0
CC 102 session 1 completed step 5 in fiber 0x7f50000dd0
NvPclSettingsUpdate: Sending Updated Settings through PCL
NvPclSettingsApply: Applying last settings through PCL
apply:+++++++++++++++++++++++
writeMode: Target mode Id(0): Resolution 2848x2840
writeFrameRate:	INPUT frameRate:43.000000
writeGain:	INPUT gainCtrl:1 analogGain:0.062500
updateOutputSettings:	OUTPUT frameRate:43.000000
updateOutputSettings:	OUTPUT analogGain:0.062500
apply:-----------------------
NvPclSettingsApply: Reading PCL settings
CC 102 session 1 completed step 6 in fiber 0x7f50000dd0
NvPclSettingsUpdate: Sending Updated Settings through PCL
NvPclSettingsApply: Applying last settings through PCL
CC 102 session 1 processing step 7 in fiber 0x7f50000dd0apply:+++++++++++++++++++++++
writeGain:	INPUT gainCtrl:16 analogGain:1.433333
writeExposure:	INPUT expTime:0.023256

FiberScheduler: cc 102, session 1, fiber 0x7f50000dd0 in progress...

updateOutputSettings:	OUTPUT analogGain:1.375000
updateOutputSettings:	OUTPUT expTime:0.023255
Thread 4 getting next capture
Thread 6 is waiting
Thread 4 is waiting
apply:-----------------------
NvPclSettingsApply: Reading PCL settings
PowerServiceHw:addRequest: table size: before: 0, after:1
	request table for ISP 1:
	req[0]: output1 width=0, output1 height=0, output1 Bpp=0
	req[0]: output2 width=0, output2 height=0, output2 Bpp=0
	req[0]: input width=2848, input height=2840, input Bpp=12
	req[0]: output width=190, output height=190, output Bpp=16
	req[0]: input fps=43
	req[0]: guID=1, stage type=SensorIspCapture
	req[0]: clock=0 Hz, iso bw=73614 KB/s, non-iso bw=0 KB/s
	req[450]: timeout=0
PowerServiceHwIsp:setLaBw: m_bwVal_Iso=73614 and m_bwVal_NonIso=0 KBpS

PowerServiceCore:setCameraBw: totalIsoBw=73614
NvPclSettingsUpdate: Sending Updated Settings through PCL
NvPclSettingsApply: Applying last settings through PCL
apply:+++++++++++++++++++++++
apply:-----------------------
NvPclSettingsApply: Reading PCL settings
NvPclSettingsUpdate: Sending Updated Settings through PCL
NvPclSettingsApply: Applying last settings through PCL
apply:+++++++++++++++++++++++
apply:-----------------------
NvPclSettingsApply: Reading PCL settings
NvPclSettingsUpdate: Sending Updated Settings through PCL
NvPclSettingsApply: Applying last settings through PCL
apply:+++++++++++++++++++++++
apply:-----------------------
NvPclSettingsApply: Reading PCL settings
NvPclSettingsUpdate: Sending Updated Settings through PCL
NvPclSettingsApply: Applying last settings through PCL
apply:+++++++++++++++++++++++
apply:-----------------------
NvPclSettingsApply: Reading PCL settings
Created fiber 0x7f50000f70 for CC 103 globalID 103 session 1PowerServiceHw:addRequest: table size: before: 1, after:2
Thread 7 is working on CC 103 session 1 globalID 103 step 0

	request table for ISP 1:
	req[0]: output1 width=0, output1 height=0, output1 Bpp=0
	req[0]: output2 width=0, output2 height=0, output2 Bpp=0
	req[0]: input width=2848, input height=2840, input Bpp=12
	req[0]: output width=190, output height=190, output Bpp=16
	req[0]: input fps=43
	req[0]: guID=1, stage type=SensorIspCapture
	req[0]: clock=0 Hz, iso bw=73614 KB/s, non-iso bw=0 KB/s
	req[424]: timeout=0
	req[1]: output1 width=0, output1 height=0, output1 Bpp=0
	req[1]: output2 width=0, output2 height=0, output2 Bpp=0
	req[1]: input width=2848, input height=2840, input Bpp=12
	req[1]: output width=2848, output height=2840, output Bpp=12
	req[1]: input fps=43
	req[1]: guID=1, stage type=SensorIspCapture
	req[1]: clock=0 Hz, iso bw=795453 KB/s, non-iso bw=0 KB/s
	req[450]: timeout=0
PowerServiceHw:updateRequests: table size: before: 2, after:2
	request table for ISP 1:
CC 103 session 1 completed step 0 in fiber 0x7f50000f70
cc 103(3) session 1 runCount=2 runIspOut=0, latest ccId=0
CC 103 session 1 completed step 1 in fiber 0x7f50000f70
NV AE and AfApply algorithms are active.
CC 103 session 1 completed step 2 in fiber 0x7f50000f70
CC 103 session 1 completed step 3 in fiber 0x7f50000f70
	req[0]: output1 width=0, output1 height=0, output1 Bpp=0
	req[0]: output2 width=0, output2 height=0, output2 Bpp=0
	req[0]: input width=2848, input height=2840, input Bpp=12
	req[0]: output width=190, output height=190, output Bpp=16
	req[0]: input fps=43
	req[0]: guID=1, stage type=SensorIspCapture
	req[0]: clock=0 Hz, iso bw=73614 KB/s, non-iso bw=0 KB/s
	req[423]: timeout=0
	req[1]: output1 width=0, output1 height=0, output1 Bpp=0
	req[1]: output2 width=0, output2 height=0, output2 Bpp=0
	req[1]: input width=2848, input height=2840, input Bpp=12
	req[1]: output width=2848, output height=2840, output Bpp=12
	req[1]: input fps=43
	req[1]: guID=1, stage type=SensorIspCapture
	req[1]: clock=0 Hz, iso bw=795453 KB/s, non-iso bw=0 KB/s
	req[449]: timeout=0
PowerServiceHwIsp:setLaBw: m_bwVal_Iso=795453 and m_bwVal_NonIso=0 KBpS

PowerServiceCore:setCameraBw: totalIsoBw=795453
CC 103 session 1 completed step 4 in fiber 0x7f50000f70
Session::updatePerfHints()
updatePerfHints(): guid=1ll, CaptureIntent=1
updatePerfHints(): NvCameraCoreUseCase_Preview
NvPHSSendThroughputHints: sensorId=1, m_usecase=4, m_type=1, m_value=30, m_timeout_ms=1000

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

CC 103 session 1 completed step 5 in fiber 0x7f50000f70
CC 103 session 1 completed step 6 in fiber 0x7f50000f70
CC 103 session 1 processing step 7 in fiber 0x7f50000f70
FiberScheduler: cc 103, session 1, fiber 0x7f50000f70 in progress...

Thread 7 getting next capture
Thread 8 is waiting
Thread 7 is waiting

These are the logs shown before the board reboots. If there are any other fixes to this issue, please let me know.

Thanks
Jafeth Garcia

Confirm tegra_sinterface in device tree and try modify discontinuous_clk to try.
Also boost the nvcsi/vi/isp clocks to confirm it.

Hello, I tried all of the suggested solutions and didn’t seem to fix the issue. Is it possible that nvargus has an issue with the resolution?

The sensor I’m working with outputs a square image.

Didn’t see any error message about resolution. Maybe check the frame length/exposure configure is any different with v4l2-ctl.

We managed a capture with nvargus but what seemed to allow the capture was changing the timing of when the package footer was sent. However this was at a lower resolution and capturing with the full resolution of the sensor isn’t possible with this fix.

There is no update from you for a period, assuming this is not an issue any more.
Hence we are closing this topic. If need further support, please open a new one.
Thanks

Do you mean there’s no problem with small resolution?
What’s the sensor model? Does the driver do software reset before sensor mode REG initialize?

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