nvcamera-daemon error debug

Hi, Shane/Mods

I previously have a custom sensor device that works using v4l2 and nvcamera-daemon through GStreamer. I modified it’s resolution and framerate recently and v4l2 still works fine where I validated the data received. However, when I try to using GStreamer and nvcamerasrc/nvarguscamerasrc, it stuck. Below is the full log after enable Pcl/Scf logs, can anyone take a look and see what might cause this?
From the log I can see probably it’s caused by capture timeout:
CF: 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 0x7f4c0008c0 for CC 103 globalID 103 session 69
Thread 3 is working on CC 103 session 69 globalID 103 step 0
Fiber 0x7f4c0008c0 is aborting in CC 103 Session 69
FiberScheduler: cc 103 session 69, fiber 0x7f4c0008c0 aborted

however, I’m not sure why because v4l2 capture is fine

Thanks
Xiaoyong


root@tegra-ubuntu:/home/nvidia# export enableCamPclLogs=5
root@tegra-ubuntu:/home/nvidia# export enableCamScfLogs=5
root@tegra-ubuntu:/home/nvidia# /usr/sbin/nvcamera-daemon
Thread 1 getting next capture
Thread 1 is waiting
Thread 4 getting next capture
Thread 4 is waiting
Thread 5 getting next capture
Thread 2 getting next capture
Thread 6 getting next capture
Thread 5 is waiting
Thread 7 getting next capture
Thread 7 is waiting
Thread 2 is waiting
Thread 3 getting next capture
Thread 3 is waiting
Thread 6 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(0x7f8d17f070)
getInstance: s_instance(0x7f8d17f070)
subscribe: create SensorType(gyroscope) sensor(0x7f8d1811f0)
subscribe: create SensorType(accelerometer) sensor(0x7f8d186650)
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
NvPclHwGetModuleList: WARNING: Could not map module to ISP config string
NvPclHwGetModuleList: No module data found
NvPclHwPrintModuleDefinition – Name: imx185_up_360
NvPclHwPrintModuleDefinition – Position: 69
NvPclHwPrintModuleDefinition – CalibrationData Found: 1
NvPclHwPrintCameraSubModule – HwCamSubModule[0].Name: v4l2_sensor
NvPclHwPrintCameraSubModule – HwCamSubModule[0].DevName: imx185 6-001b
NvPclHwGetModuleList: WARNING: Could not map module to ISP config string
NvPclHwGetModuleList: No module data found
NvPclHwPrintModuleDefinition – Name: imx185_bottom_360
NvPclHwPrintModuleDefinition – Position: 0
NvPclHwPrintModuleDefinition – CalibrationData Found: 1
NvPclHwPrintCameraSubModule – HwCamSubModule[0].Name: v4l2_sensor
NvPclHwPrintCameraSubModule – HwCamSubModule[0].DevName: imx185 6-001a
NvPclHwGetModuleList: OFParserListModules Succeeded
NvPclModuleListInitialize: NvPclModule list[0]: imx185_up_360 position69
NvPclModuleListInitialize: NvPclModule list[1]: imx185_bottom_360 position0
NvPclHwScanExternalCameras – adding video1 to discover list
NvPclHwScanExternalCameras – adding video0 to discover list
NvPclHwScanExternalCameras – adding video1 to discover list
NvPclHwScanExternalCameras – adding video0 to discover list
initialize: /dev/video0
queryControls: 10100739 control Group Hold
queryControls: 10100740 control HDR enable
queryControls: 10100743 control Fuse ID
queryControls: 10100744 control Sensor Mode
queryControls: 10100745 control Gain
queryControls: 10100746 control Exposure
queryControls: 10100747 control Frame Rate
queryControls: 10100836 control Bypass Mode
queryControls: 10100837 control Override Enable
queryControls: 10100838 control Height Align
queryControls: 10100839 control Size Align
queryControls: 10100840 control Write ISP format
queryControls: 10100841 control Sensor Signal Properties
queryControls: 10100842 control Sensor Image Properties
queryControls: 10100843 control Sensor Control Properties
queryControls: 10100844 control Sensor DV Timings
queryControls: 10100866 control Sensor Modes
Ioctl failed: Invalid argument
initialize: /dev/video1
queryControls: 10100739 control Group Hold
queryControls: 10100740 control HDR enable
queryControls: 10100743 control Fuse ID
queryControls: 10100744 control Sensor Mode
queryControls: 10100745 control Gain
queryControls: 10100746 control Exposure
queryControls: 10100747 control Frame Rate
queryControls: 10100836 control Bypass Mode
queryControls: 10100837 control Override Enable
queryControls: 10100838 control Height Align
queryControls: 10100839 control Size Align
queryControls: 10100840 control Write ISP format
queryControls: 10100841 control Sensor Signal Properties
queryControls: 10100842 control Sensor Image Properties
queryControls: 10100843 control Sensor Control Properties
queryControls: 10100844 control Sensor DV Timings
queryControls: 10100866 control Sensor Modes
Ioctl failed: Invalid argument
NvPclHwScanExternalCameras – adding video1 to discover list
NvPclHwScanExternalCameras – adding video0 to discover list
initialize: /dev/video0
queryControls: 10100739 control Group Hold
queryControls: 10100740 control HDR enable
queryControls: 10100743 control Fuse ID
queryControls: 10100744 control Sensor Mode
queryControls: 10100745 control Gain
queryControls: 10100746 control Exposure
queryControls: 10100747 control Frame Rate
queryControls: 10100836 control Bypass Mode
queryControls: 10100837 control Override Enable
queryControls: 10100838 control Height Align
queryControls: 10100839 control Size Align
queryControls: 10100840 control Write ISP format
queryControls: 10100841 control Sensor Signal Properties
queryControls: 10100842 control Sensor Image Properties
queryControls: 10100843 control Sensor Control Properties
queryControls: 10100844 control Sensor DV Timings
queryControls: 10100866 control Sensor Modes
Ioctl failed: Invalid argument
initialize: /dev/video1
queryControls: 10100739 control Group Hold
queryControls: 10100740 control HDR enable
queryControls: 10100743 control Fuse ID
queryControls: 10100744 control Sensor Mode
queryControls: 10100745 control Gain
queryControls: 10100746 control Exposure
queryControls: 10100747 control Frame Rate
queryControls: 10100836 control Bypass Mode
queryControls: 10100837 control Override Enable
queryControls: 10100838 control Height Align
queryControls: 10100839 control Size Align
queryControls: 10100840 control Write ISP format
queryControls: 10100841 control Sensor Signal Properties
queryControls: 10100842 control Sensor Image Properties
queryControls: 10100843 control Sensor Control Properties
queryControls: 10100844 control Sensor DV Timings
queryControls: 10100866 control Sensor Modes
Ioctl failed: Invalid argument
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 69 match at index[0]
NvPclHwInitializeModule: allocate overrides pathname @ 0x7f8d1b0bc0
NvPclHwInitializeModule: allocate overrides pathname @ 0x7f8d1b0c50
NvPclHwInitializeModule: allocate overrides pathname @ 0x7f8d1b0ce0
NvPclHwInitializeModule: allocate overrides pathname @ 0x7f8d1b0d70
NvPclHwInitializeModule: allocate overrides pathname @ 0x7f8d1b0e00
NvPclHwInitializeModule: allocate overrides pathname @ 0x7f8d1b0e90
LoadOverridesFile: looking for override file [/Calib/camera_override.isp] 1/16CheckOverridesPermissions: cannot stat file [/Calib/camera_override.isp]
LoadOverridesFile: looking for override file [/data/nvcam/settings/camera_overrides.isp] 2/16CheckOverridesPermissions: cannot stat file [/data/nvcam/settings/camera_overrides.isp]
LoadOverridesFile: looking for override file [/opt/nvidia/nvcam/settings/camera_overrides.isp] 3/16CheckOverridesPermissions: cannot stat file [/opt/nvidia/nvcam/settings/camera_overrides.isp]
LoadOverridesFile: looking for override file [/var/nvidia/nvcam/settings/camera_overrides.isp] 4/16CheckOverridesPermissions: cannot stat file [/var/nvidia/nvcam/settings/camera_overrides.isp]
LoadOverridesFile: looking for override file [/data/nvcam/camera_overrides.isp] 5/16CheckOverridesPermissions: cannot stat file [/data/nvcam/camera_overrides.isp]
LoadOverridesFile: looking for override file [/data/nvcam/settings/imx185_up_360.isp] 6/16CheckOverridesPermissions: cannot stat file [/data/nvcam/settings/imx185_up_360.isp]
LoadOverridesFile: looking for override file [/opt/nvidia/nvcam/settings/imx185_up_360.isp] 7/16CheckOverridesPermissions: cannot stat file [/opt/nvidia/nvcam/settings/imx185_up_360.isp]
LoadOverridesFile: looking for override file [/var/nvidia/nvcam/settings/imx185_up_360.isp] 8/16CheckOverridesPermissions: cannot stat file [/var/nvidia/nvcam/settings/imx185_up_360.isp]
---- 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/nvcam/settings/factory.bin] 1/16
Imager: looking for override file [/data/nvcam/settings/imx185_up_360.bin] 2/16
Imager: looking for override file [/opt/nvidia/nvcam/settings/imx185_up_360.bin] 3/16
Imager: looking for override file [/var/nvidia/nvcam/settings/imx185_up_360.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]
initialize: imx185 6-001b
queryControls: 10100739 control Group Hold
queryControls: 10100740 control HDR enable
queryControls: 10100743 control Fuse ID
queryControls: 10100744 control Sensor Mode
queryControls: 10100745 control Gain
queryControls: 10100746 control Exposure
queryControls: 10100747 control Frame Rate
queryControls: 10100836 control Bypass Mode
queryControls: 10100837 control Override Enable
queryControls: 10100838 control Height Align
queryControls: 10100839 control Size Align
queryControls: 10100840 control Write ISP format
queryControls: 10100841 control Sensor Signal Properties
queryControls: 10100842 control Sensor Image Properties
queryControls: 10100843 control Sensor Control Properties
queryControls: 10100844 control Sensor DV Timings
queryControls: 10100866 control Sensor Modes
Ioctl failed: Invalid argument
OFDPropertyCopyToLong: could not read property [has-eeprom]
Control OTP Data not found
Control Frame Length not found
Control Coarse Time not found
Control Coarse Time Short not found
queryPixelFormats: type: 1, pixelformat 0x42474752 “RGGB”
Ioctl failed: Invalid argument
Ioctl failed: Invalid argument
Ioctl failed: Invalid argument
Ioctl failed: Invalid argument
Ioctl failed: Invalid argument
Ioctl failed: Invalid argument
Ioctl failed: Invalid argument
Ioctl failed: Invalid argument
Ioctl failed: Invalid argument
Ioctl failed: Invalid argument
Ioctl failed: Invalid argument
loadBinaryBlob: Binary read 0
OFDPropertyGetString: could not read property [type]
loadSubType: Sensor type missing in DT, 199
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]
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]
initialize: Loaded Driver: 2 Modes Available--------------
NvPclInitializeDrivers: v4l2_sensor ------------------
NvPclOpen: ----------------------
LSC: LSC surface is not based on full res!
NvPclOpen: ++++++++++++++++++++++
NvPclStateControllerOpen: Found GUID 0 match at index[1]
NvPclHwInitializeModule: allocate overrides pathname @ 0x7f8d1a86a0
NvPclHwInitializeModule: allocate overrides pathname @ 0x7f8d1a8730
NvPclHwInitializeModule: allocate overrides pathname @ 0x7f8d1a87c0
NvPclHwInitializeModule: allocate overrides pathname @ 0x7f8d1a8850
NvPclHwInitializeModule: allocate overrides pathname @ 0x7f8d1a88e0
NvPclHwInitializeModule: allocate overrides pathname @ 0x7f8d1a8970
LoadOverridesFile: looking for override file [/Calib/camera_override.isp] 1/16CheckOverridesPermissions: cannot stat file [/Calib/camera_override.isp]
LoadOverridesFile: looking for override file [/data/nvcam/settings/camera_overrides.isp] 2/16CheckOverridesPermissions: cannot stat file [/data/nvcam/settings/camera_overrides.isp]
LoadOverridesFile: looking for override file [/opt/nvidia/nvcam/settings/camera_overrides.isp] 3/16CheckOverridesPermissions: cannot stat file [/opt/nvidia/nvcam/settings/camera_overrides.isp]
LoadOverridesFile: looking for override file [/var/nvidia/nvcam/settings/camera_overrides.isp] 4/16CheckOverridesPermissions: cannot stat file [/var/nvidia/nvcam/settings/camera_overrides.isp]
LoadOverridesFile: looking for override file [/data/nvcam/camera_overrides.isp] 5/16CheckOverridesPermissions: cannot stat file [/data/nvcam/camera_overrides.isp]
LoadOverridesFile: looking for override file [/data/nvcam/settings/imx185_bottom_360.isp] 6/16CheckOverridesPermissions: cannot stat file [/data/nvcam/settings/imx185_bottom_360.isp]
LoadOverridesFile: looking for override file [/opt/nvidia/nvcam/settings/imx185_bottom_360.isp] 7/16CheckOverridesPermissions: cannot stat file [/opt/nvidia/nvcam/settings/imx185_bottom_360.isp]
LoadOverridesFile: looking for override file [/var/nvidia/nvcam/settings/imx185_bottom_360.isp] 8/16CheckOverridesPermissions: cannot stat file [/var/nvidia/nvcam/settings/imx185_bottom_360.isp]
---- 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/nvcam/settings/factory.bin] 1/16
Imager: looking for override file [/data/nvcam/settings/imx185_bottom_360.bin] 2/16
Imager: looking for override file [/opt/nvidia/nvcam/settings/imx185_bottom_360.bin] 3/16
Imager: looking for override file [/var/nvidia/nvcam/settings/imx185_bottom_360.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]
initialize: imx185 6-001a
queryControls: 10100739 control Group Hold
queryControls: 10100740 control HDR enable
queryControls: 10100743 control Fuse ID
queryControls: 10100744 control Sensor Mode
queryControls: 10100745 control Gain
queryControls: 10100746 control Exposure
queryControls: 10100747 control Frame Rate
queryControls: 10100836 control Bypass Mode
queryControls: 10100837 control Override Enable
queryControls: 10100838 control Height Align
queryControls: 10100839 control Size Align
queryControls: 10100840 control Write ISP format
queryControls: 10100841 control Sensor Signal Properties
queryControls: 10100842 control Sensor Image Properties
queryControls: 10100843 control Sensor Control Properties
queryControls: 10100844 control Sensor DV Timings
queryControls: 10100866 control Sensor Modes
Ioctl failed: Invalid argument
OFDPropertyCopyToLong: could not read property [has-eeprom]
Control OTP Data not found
Control Frame Length not found
Control Coarse Time not found
Control Coarse Time Short not found
queryPixelFormats: type: 1, pixelformat 0x42474752 “RGGB”
Ioctl failed: Invalid argument
Ioctl failed: Invalid argument
Ioctl failed: Invalid argument
Ioctl failed: Invalid argument
Ioctl failed: Invalid argument
Ioctl failed: Invalid argument
Ioctl failed: Invalid argument
Ioctl failed: Invalid argument
Ioctl failed: Invalid argument
Ioctl failed: Invalid argument
Ioctl failed: Invalid argument
loadBinaryBlob: Binary read 0
OFDPropertyGetString: could not read property [type]
loadSubType: Sensor type missing in DT, 199
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: ----------------------
LSC: LSC surface is not based on full res!
sourceRegistry[0] assigned

ispRegistry[0] assigned

Using Source GUID 45
Worker thread ViCsiHw frameComplete start
Worker thread ViCsiHw frameStart start
NvPclPowerOn: +++++++++++
NvPclPowerOn: -----------
Using ISP A
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
NvPclSettingsUpdate: Sending Updated Settings through PCL
NvPclSettingsApply: Applying last settings through PCL
apply:+++++++++++++++++++++++
writeMode: Target mode Id(0): Resolution 3456x2560
setActiveBufferMemory: 2
INPUT: Width 3456 Height 2560 pixelformat RGGB
writeFrameRate: INPUT frameRate:20.000000
writeGain: INPUT gainCtrl:400000 analogGain:1.000000
writeExposure: INPUT expTime:0.050000
updateOutputSettings: OUTPUT frameRate:20.000000
updateOutputSettings: OUTPUT analogGain:1.122018
updateOutputSettings: OUTPUT expTime:0.050000
apply:-----------------------
NvPclSettingsApply: Reading PCL settings
SCF: Error BadParameter: Invalid GUID (in src/services/power/PowerServiceRequest.cpp, function setRequest(), line 96)
SCF: Error BadParameter: (propagating from src/services/capture/CaptureServiceCore.cpp, function makePowerRequest(), line 716)
SCF: Error BadParameter: (propagating from src/services/capture/CaptureServiceDeviceSensor.cpp, function enableSensor(), line 401)
SCF: Error BadParameter: (propagating from src/services/capture/CaptureServiceDeviceViCsi.cpp, function setMode(), line 540)
SCF: Error BadParameter: (propagating from src/services/capture/CaptureServiceDevice.cpp, function setSourceMode(), line 1234)
No output buffers for 2

InstructionList:

  • GraphSettings
    | SensorMode: 3456x2560 BayerS16RGGB 20.0fps
    | output 0: 3456x2560 BL U8_V8 420SP

  • Instruction List
    | id: 0

    • 0: CCDataSetupStage
      | EstimatedIspOutLatencyFrames: 5
      | NumConcurrentCaptures: 1
      | UnprocessedYuvBufferMask: 0

    • 1: ACSynchronizeStage

    • 2: AeAfApplyStage

    • 3: AcPluginStage
      | operation: opApply

    • 4: AcMergeStage
      | IspIn: [3456, 2560]
      | IspOut0: [3456, 2560]
      | IspOut1: [0, 0]
      | IspOut2: [0, 0]

    • 5: TempBufferAcquireStage
      | Buffer Index: 2
      | BufferRequirements: 3456x1 Pitch NonColor8

    • 6: SensorISPCaptureStage
      | Source GUID: 69
      | Output A Buffer: 0
      | SensorMetadata Buffer: 2

    • 7: StatsBufferAcquireStage
      | Buffer Index: 1
      | BufferRequirements: 640x474 Pitch Y8 420

    • 8: BlitStage
      | Input Buffer: 0
      | Output Buffer: 1
      | Filter: Nearest
      | Transform: None
      | Src Rect: Not used
      | Dst Rect: Not used

    • 9: StatsUpdateStage
      | Outut Meta Buffer: 2

    • 10: BufferReturnStage
      | Output A Buffer: 2

    • 11: AcPluginStage
      | operation: opAnalyze

    • 12: AfAnalysisStage

    • 13: MonitorStage

    • 14: ExifStage

    • 15: MakerNoteStage

    • 16: BufferReturnStage
      | Output A Buffer: 0

    • 17: MetadataReturnStage

    • 18: PerfStatsStage

Created fiber 0x7f4c0008c0 for CC 101 globalID 101 session 69
Thread 1 is working on CC 101 session 69 globalID 101 step 0
CC 101 session 69 completed step 0 in fiber 0x7f4c0008c0
cc 101(0) session 69 runCount=0 runIspOut=0, latest ccId=0
CC 101 session 69 completed step 1 in fiber 0x7f4c0008c0
NV AE and AfApply algorithms are active.
CC 101 session 69 completed step 2 in fiber 0x7f4c0008c0
Created fiber 0x7f4c000b70 for CC 102 globalID 102 session 69
CC 101 session 69 completed step 3 in fiber 0x7f4c0008c0
Thread 4 is working on CC 102 session 69 globalID 102 step 0
CC 102 session 69 completed step 0 in fiber 0x7f4c000b70
cc 102(1) session 69 runCount=1 runIspOut=0, latest ccId=0
CC 102 session 69 completed step 1 in fiber 0x7f4c000b70
NV AE and AfApply algorithms are active.
CC 101 session 69 completed step 4 in fiber 0x7f4c0008c0
CC 101 session 69 completed step 5 in fiber 0x7f4c0008c0
CC 102 session 69 completed step 2 in fiber 0x7f4c000b70
CC 102 session 69 completed step 3 in fiber 0x7f4c000b70
CC 101 session 69 processing step 6 in fiber 0x7f4c0008c0
FiberScheduler: cc 101, session 69, fiber 0x7f4c0008c0 in progress…

Thread 1 getting next capture
Thread 1 is waiting
Thread 5 is waiting
NvPclSettingsUpdate: Sending Updated Settings through PCL
NvPclSettingsApply: Applying last settings through PCL
apply:+++++++++++++++++++++++
apply:-----------------------
NvPclSettingsApply: Reading PCL settings
SCF: Error BadParameter: Invalid GUID (in src/services/power/PowerServiceRequest.cpp, function setRequest(), line 96)
SCF: Error BadParameter: (propagating from src/services/capture/CaptureServiceCore.cpp, function makePowerRequest(), line 716)
SCF: Error BadParameter: (propagating from src/services/capture/CaptureServiceDeviceSensor.cpp, function enableSensor(), line 401)
SCF: Error BadParameter: (propagating from src/services/capture/CaptureServiceDeviceViCsi.cpp, function setMode(), line 540)
CC 102 session 69 completed step 4 in fiber 0x7f4c000b70
CC 102 session 69 completed step 5 in fiber 0x7f4c000b70
CC 102 session 69 processing step 6 in fiber 0x7f4c000b70
FiberScheduler: cc 102, session 69, fiber 0x7f4c000b70 in progress…

Thread 4 getting next capture
Thread 4 is waiting
SCF: Error BadParameter: (propagating from src/services/capture/CaptureServiceCore.cpp, function updateMode(), line 315)
SCF: Error BadParameter: (propagating from src/services/capture/CaptureServiceDevice.cpp, function issueCaptures(), line 1039)
Thread 7 is waiting
FiberScheduler: cc 101, session 69, fiber 0x7f4c0008c0 aborted in async operation

SCF: Error Timeout: (propagating from src/api/Buffer.cpp, function waitForUnlock(), line 591)
SCF: Error Timeout: (propagating from src/components/CaptureContainerImpl.cpp, function returnBuffer(), line 358)
FiberScheduler: fiber 0x7f4c0008c0 exiting
SCF: Error BadParameter: (propagating from src/common/Utils.cpp, function workerThread(), line 114)
SCF: Error BadParameter: Worker thread CaptureScheduler frameStart failed (in src/common/Utils.cpp, function workerThread(), line 131)
disposing CC 101 Session 69
Thread 2 is waiting
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 0x7f4c0008c0 for CC 103 globalID 103 session 69
Thread 3 is working on CC 103 session 69 globalID 103 step 0
Fiber 0x7f4c0008c0 is aborting in CC 103 Session 69
FiberScheduler: cc 103 session 69, fiber 0x7f4c0008c0 aborted

launchCC abort cc 104 session 69
Created fiber 0x7f8d19a1b0 for CC 104 globalID 104 session 69
SCF: Error Timeout: (propagating from src/api/Session.cpp, function capture(), line 830)
Thread 6 is working on CC 104 session 69 globalID 104 step 0
Fiber 0x7f8d19a1b0 is aborting in CC 104 Session 69
FiberScheduler: cc 104 session 69, fiber 0x7f8d19a1b0 aborted

launchCC abort cc 105 session 69
Created fiber 0x7f8d1ae970 for CC 105 globalID 105 session 69
SCF: Error Timeout: (propagating from src/api/Session.cpp, function capture(), line 830)
Thread 8 is working on CC 105 session 69 globalID 105 step 0
Fiber 0x7f8d1ae970 is aborting in CC 105 Session 69
FiberScheduler: cc 105 session 69, fiber 0x7f8d1ae970 aborted

launchCC abort cc 106 session 69
Created fiber 0x7f8d276f30 for CC 106 globalID 106 session 69
SCF: Error Timeout: (propagating from src/api/Session.cpp, function capture(), line 830)
Thread 9 is working on CC 106 session 69 globalID 106 step 0
Fiber 0x7f8d276f30 is aborting in CC 106 Session 69
FiberScheduler: cc 106 session 69, fiber 0x7f8d276f30 aborted

launchCC abort cc 107 session 69
Created fiber 0x7f8d277fa0 for CC 107 globalID 107 session 69
SCF: Error Timeout: (propagating from src/api/Session.cpp, function capture(), line 830)
Thread 10 is working on CC 107 session 69 globalID 107 step 0
Fiber 0x7f8d277fa0 is aborting in CC 107 Session 69
FiberScheduler: cc 107 session 69, fiber 0x7f8d277fa0 aborted

FiberScheduler: fiber 0x7f8d19a1b0 exiting
Thread 6 getting next capture
disposing CC 104 Session 69
Thread 6 is waiting
Thread 12 is waiting
Thread 11 is waiting
launchCC abort cc 108 session 69
Created fiber 0x7f8d19a1b0 for CC 108 globalID 108 session 69
SCF: Error Timeout: (propagating from src/api/Session.cpp, function capture(), line 830)
Thread 1 is working on CC 108 session 69 globalID 108 step 0
Fiber 0x7f8d19a1b0 is aborting in CC 108 Session 69
FiberScheduler: cc 108 session 69, fiber 0x7f8d19a1b0 aborted

launchCC abort cc 109 session 69
Created fiber 0x7f8d278880 for CC 109 globalID 109 session 69
SCF: Error Timeout: (propagating from src/api/Session.cpp, function capture(), line 830)
Thread 5 is working on CC 109 session 69 globalID 109 step 0
Fiber 0x7f8d278880 is aborting in CC 109 Session 69
FiberScheduler: cc 109 session 69, fiber 0x7f8d278880 aborted

launchCC abort cc 110 session 69
Created fiber 0x7f8d2798f0 for CC 110 globalID 110 session 69
SCF: Error Timeout: (propagating from src/api/Session.cpp, function capture(), line 830)
Thread 4 is working on CC 110 session 69 globalID 110 step 0
Fiber 0x7f8d2798f0 is aborting in CC 110 Session 69
FiberScheduler: cc 110 session 69, fiber 0x7f8d2798f0 aborted

FiberScheduler: fiber 0x7f8d1ae970 exiting
Thread 8 getting next capture
disposing CC 105 Session 69
Thread 8 is waiting
Thread 7 is waiting
Thread 2 is waiting
FiberScheduler: fiber 0x7f8d277fa0 exiting
Thread 10 getting next capture
disposing CC 107 Session 69
FiberScheduler: fiber 0x7f4c0008c0 exiting
FiberScheduler: fiber 0x7f8d276f30 exiting
Thread 10 is waiting
Thread 6 is waiting
Thread 12 is waiting
Thread 11 is waiting
Thread 9 getting next capture
disposing CC 106 Session 69
Thread 8 is waiting
Thread 9 is waiting
Thread 3 getting next capturedisposing CC 103 Session 69

FiberScheduler: fiber 0x7f8d278880 exiting
Thread 2 is waiting
Thread 3 is waiting
Thread 7 is waiting
Thread 5 getting next capture
disposing CC 109 Session 69
Thread 5 is waiting
Thread 10 is waiting
Thread 6 is waiting
FiberScheduler: fiber 0x7f8d2798f0 exiting
Thread 4 getting next capture
Thread 4 is waiting
Thread 11 is waiting
Thread 12 is waiting
FiberScheduler: fiber 0x7f8d19a1b0 exiting
Thread 1 getting next capture
disposing CC 108 Session 69
Thread 1 is waiting
Thread 9 is waiting
Thread 8 is waiting
waitForIdleLocked remaining request 102
SCF: Error Timeout: waitForIdle() timed out (in src/api/Session.cpp, function waitForIdleLocked(), line 916)
Session 69 aborting capture 102 (API ID: 1)
^C
root@tegra-ubuntu:/home/nvidia#

hello xiaoyongtijee,

may I have more details about your environments.
for example,

  1. may I know which JetPack release you’re working with.
  2. you got an invalid GUID failure. had you check Sensor Driver Programming Guide for the debugging tips.
SCF: Error BadParameter: Invalid GUID (in src/services/power/PowerServiceRequest.cpp, function setRequest(), line 96)
SCF: Error BadParameter: (propagating from src/services/capture/CaptureServiceCore.cpp, function makePowerRequest(), line 716)
SCF: Error BadParameter: (propagating from src/services/capture/CaptureServiceDeviceSensor.cpp, function enableSensor(), line 401)
SCF: Error BadParameter: (propagating from src/services/capture/CaptureServiceDeviceViCsi.cpp, function setMode(), line 540)

I’m using JetPack 3.2 L4T 28.2.1 for tx1. I’ve check all the debugging steps in the guide and all results are normal, including v4l2-ctl, v4l2-compliance, media-ctl and etc. I also used yavta and saved and validated frames.
What is invalid GUID failure, is there a way to tell which GUID is it refer to?

thanks

A little progress, I think some of the errors nvcamera-daemon reported are not critical, however, the issue might be related to csi data type and frame parameters. I suspect that because if I only run nvcamerasrc (or nvarguscamrasrc) and dump to fakesink, it runs. However, nstead of 3456x2560 I set for sensor, I get a few hundreds bytes for each frame, all start with “28 03” and ends with something like “80 00 9c 7f 00 00 00”

Here is the command I used
gst-launch-1.0 nvcamerasrc num-buffers=30 sensor-id=0 dump-bayer=true ! ‘video/x-raw(memory:NVMM), width=3456, height=2560, framerate=(fraction)15/1’ ! fakesink dump=true -e

and here are some of the output from nvcamera-daemon, I noticed output bpp was changing from 8 to 16 and 12, width/height changes as well. It would be great if someone can shed some lights on where are these values come from and why we only get very limited data here even when v4l2-ctl and yavta can get full frame.

btw, I noticed nvcamerasrc and nvarguscamerasrc does similar things, just one talk to nvcamera-daemon and other with argus-daemon. why do we need two of them?

thanks
Xiaoyong


PowerServiceHw:addRequest: table size: before: 1, after:2
request table for VI 0:
req[0]: output Bpp=8
req[0]: sensor pixelRate=1000000000 pixels/sec
req[0]: input width=3456, input height=2560, input Bpp=8
req[0]: input width=3456, input height=2560, input Bpp=8
req[0]: output width=3456, output height=2560, output Bpp=8
req[0]: input fps=15
req[0]: guID=0, stage type=SensorCapture
req[0]: clock=1000000000 Hz, iso bw=2147483647 KB/s, non-iso bw=0 KB/s
req[900]: timeout=0
req[1]: output Bpp=16
req[1]: sensor pixelRate=1000000000 pixels/sec
req[1]: input width=3456, input height=2560, input Bpp=8
req[1]: input width=3456, input height=2560, input Bpp=8
req[1]: output width=3456, output height=2560, output Bpp=16
req[1]: input fps=15
req[1]: guID=0, stage type=SensorCapture
req[1]: clock=1000000000 Hz, iso bw=976562 KB/s, non-iso bw=0 KB/s
req[450]: timeout=0

Thread 4 is waiting

req[0]: sensor pixelRate=0 pixels/sec
req[0]: input width=3456, input height=2560, input Bpp=16
req[0]: input width=3456, input height=2560, input Bpp=16
req[0]: output width=3456, output height=2560, output Bpp=12
req[0]: input fps=15
req[0]: guID=0, stage type=MemIspCapture
req[0]: clock=145981440 Hz, iso bw=0 KB/s, non-iso bw=522240 KB/s
req[450]: timeout=0

PowerServiceHw:updateRequests: table size: before: 1, after:1
request table for ISP 0:
req[0]: output1 width=0, output1 height=0, output1 Bpp=0
req[0]: output2 width=0, output2 height=0, output2 Bpp=0
req[0]: output Bpp=12
req[0]: sensor pixelRate=0 pixels/sec
req[0]: input width=3456, input height=2560, input Bpp=16
req[0]: input width=3456, input height=2560, input Bpp=16
req[0]: output width=3456, output height=2560, output Bpp=12
req[0]: input fps=15
req[0]: guID=0, stage type=MemIspCapture
req[0]: clock=145981440 Hz, iso bw=0 KB/s, non-iso bw=522240 KB/s
req[374]: timeout=0

PowerServiceHw:addRequest: table size: before: 0, after:1
request table for VIC 0:
req[0]: input width=3456, input height=2560, input Bpp=12
req[0]: output width=640, output height=474, output Bpp=13
req[0]: input fps=15
req[0]: guID=0, stage type=Blit
req[0]: clock=29030400 Hz, iso bw=0 KB/s, non-iso bw=206459 KB/s
req[450]: timeout=0
PowerServiceHw:updateRequests: table size: before: 1, after:1
request table for VIC 0:
req[0]: input width=3456, input height=2560, input Bpp=12
req[0]: output width=640, output height=474, output Bpp=13
req[0]: input fps=15
req[0]: guID=0, stage type=Blit
req[0]: clock=29030400 Hz, iso bw=0 KB/s, non-iso bw=206459 KB/s
req[433]: timeout=0

Hi, Jerry/Shane

I modified my format to 2592x1944 and still have the same issue. I noticed in the nvcamera-daemon output it set sensor mode as BayerS16RGGB even though I set it as bit depth 8 in the device tree. I looked through the forum and seems there are others that have issue with RAW8. Do you know what additional change is needed for RAW8 sensor?

thanks
Xiaoyong

hello xiaoyongtijee,

seems you’re working with a RAW8 sensor,
here are several topics Topic 1035547, Topic 1032506, and Topic 1015837 talking about that.
so far, nvcamerasrc don’t support RAW8 input. you should go through v4l2src for that.
thanks

Thanks for the reply, I tried previous RAW10 configuration and it still works so it seems is RAW8 issue. Do you know if it will be supported soon?

thanks
Xiaoyong

hello xiaoyongtijee,

sorry, we don’t have plan to support this currently.
since we do not have RAW8 sensors, it would be great if you could share a raw file which is with standard resolution (720p, 1080p, or 4K). we might taking that to evaluate our software pipeline.
thanks