Hello.
We installed two CSI cameras(IMX185) on the TX2.
We wanted to output each image at 1080p@30FPS through the imshow function of OpenCV3.3.
However, when imshow function was used, the videos were played at 15 FPS.
Therefore, we decided to use argus library.
The sysnSensor example in the Argus folder was suitable for our situation.
However the following error occurred after building and running the syncSensor example.
“Failed to get capture session interface”
I can not figure out the cause of this problem.
Below is a part of the syncSensor example.
static bool execute()
{
// Initialize EGL.
PROPAGATE_ERROR(g_display.initialize());
// Initialize the Argus camera provider.
UniqueObj<CameraProvider> cameraProvider(CameraProvider::create());
// Get the ICameraProvider interface from the global CameraProvider.
ICameraProvider *iCameraProvider = interface_cast<ICameraProvider>(cameraProvider);
if (!iCameraProvider)
ORIGINATE_ERROR("Failed to get ICameraProvider interface");
// Get the camera devices.
std::vector<CameraDevice*> cameraDevices;
iCameraProvider->getCameraDevices(&cameraDevices);
if (cameraDevices.size() < 2)
ORIGINATE_ERROR("Must have at least 2 sensors available");
std::vector <CameraDevice*> lrCameras;
lrCameras.push_back(cameraDevices[0]); // Left Camera (the 1st camera will be used for AC)
lrCameras.push_back(cameraDevices[1]); // Right Camera
// Create the capture session, AutoControl will be based on what the 1st device sees.
UniqueObj<CaptureSession> captureSession(iCameraProvider->createCaptureSession(lrCameras));
ICaptureSession *iCaptureSession = interface_cast<ICaptureSession>(captureSession);
if (!iCaptureSession)
ORIGINATE_ERROR("Failed to get capture session interface");
...
}
Thank.
@gyucheol0116
Does multi session for the argus_camera worked for your sensor board?
Enable more log if any clue.
https://elinux.org/Jetson_TX2/28.1_Camera_BringUp#FAQ
@ShaneCCC
I turn on the argus-daemon debug messages. They are as follow
root@tegra-ubuntu:/home/nvidia# /usr/sbin/argus_daemon option for argus
=== Listening for connections... ===
=== Connection 7F8CA351E0 established ===
Thread 1 getting next capture
Thread 1 is waitingThread 2 getting next capture
Thread 3 getting next capture
Thread 2 is waiting
Thread 3 is waiting
Thread 4 getting next capture
Thread 4 is waiting
Thread 5 getting next capture
Thread 5 is waiting
Thread 6 getting next capture
Thread 6 is waiting
Thread 7 getting next capture
Thread 7 is waiting
Thread 8 getting next capture
Thread 8 is waiting
Thread 9 getting next capture
Thread 9 is waiting
Thread 10 getting next capture
Thread 10 is waiting
Thread 11 getting next capture
Thread 11 is waiting
Thread 12 getting next capture
Thread 12 is waiting
Starting services...
Worker thread IspHw statsComplete start
Worker thread IspHw frameComplete start
Worker thread CaptureScheduler checkFramePending start
Worker thread CaptureScheduler frameStart start
Worker thread V4L2CaptureScheduler checkCaptureComplete start
Worker thread V4L2CaptureScheduler issueCaptures start
Worker thread PS handleRequests start
getInstance: s_instance(0x7f88b923e0)
getInstance: s_instance(0x7f88b923e0)
subscribe: create SensorType(gyroscope) sensor(0x7f88b94560)
subscribe: create SensorType(accelerometer) sensor(0x7f88b999c0)
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#: liimx185:"liimx185"
NvPclHwGetModuleList: No module data found
NvPclHwPrintModuleDefinition -- Name: imx185_center_liimx185
NvPclHwPrintModuleDefinition -- Position: 2
NvPclHwPrintModuleDefinition -- CalibrationData Found: 1
NvPclHwPrintCameraSubModule -- HwCamSubModule[0].Name: v4l2_sensor
NvPclHwPrintCameraSubModule -- HwCamSubModule[0].DevName: imx185 32-001a
NvPclHwMatchPartNum: Found calibration Part#: liimx185:"liimx185"
NvPclHwGetModuleList: No module data found
NvPclHwPrintModuleDefinition -- Name: imx185_front_liimx185
NvPclHwPrintModuleDefinition -- Position: 1
NvPclHwPrintModuleDefinition -- CalibrationData Found: 1
NvPclHwPrintCameraSubModule -- HwCamSubModule[0].Name: v4l2_sensor
NvPclHwPrintCameraSubModule -- HwCamSubModule[0].DevName: imx185 31-001a
NvPclHwMatchPartNum: Found calibration Part#: liimx185:"liimx185"
NvPclHwPrintModuleDefinition -- Name: imx185_bottom_liimx185
NvPclHwPrintModuleDefinition -- Position: 0
NvPclHwPrintModuleDefinition -- CalibrationData Found: 1
NvPclHwPrintCameraSubModule -- HwCamSubModule[0].Name: v4l2_sensor
NvPclHwPrintCameraSubModule -- HwCamSubModule[0].DevName: imx185 30-001a
NvPclHwGetModuleList: OFParserListModules Succeeded
NvPclModuleListInitialize: NvPclModule list[0]: imx185_center_liimx185 position2
NvPclModuleListInitialize: NvPclModule list[1]: imx185_front_liimx185 position1
NvPclModuleListInitialize: NvPclModule list[2]: imx185_bottom_liimx185 position0
NvPclHwScanExternalCameras -- adding video2 to discover list
NvPclHwScanExternalCameras -- adding video1 to discover list
NvPclHwScanExternalCameras -- adding video0 to discover list
NvPclHwScanExternalCameras -- adding video2 to discover list
NvPclHwScanExternalCameras -- adding video1 to discover list
NvPclHwScanExternalCameras -- adding video0 to discover list
initialize: /dev/video0
initialize: /dev/video1
initialize: /dev/video2
NvPclHwScanExternalCameras -- adding video2 to discover list
NvPclHwScanExternalCameras -- adding video1 to discover list
NvPclHwScanExternalCameras -- adding video0 to discover list
initialize: /dev/video0
initialize: /dev/video1
initialize: /dev/video2
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
PCLHW_DTParser
setHotplugCallback: Registered new callback client
NvPclSetHotplugCallback: ----------------------
NvPclOpen: ++++++++++++++++++++++
NvPclStateControllerOpen: Found GUID 2 match at index[0]
NvPclHwInitializeModule: allocate overrides pathname @ 0x7f88bb32d0
NvPclHwInitializeModule: allocate overrides pathname @ 0x7f88bb3360
NvPclHwInitializeModule: allocate overrides pathname @ 0x7f88bb33f0
NvPclHwInitializeModule: allocate overrides pathname @ 0x7f88bb3480
NvPclHwInitializeModule: allocate overrides pathname @ 0x7f88bb3510
NvPclHwInitializeModule: allocate overrides pathname @ 0x7f88bb35a0
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: override file [/var/nvidia/nvcam/settings/camera_overrides.isp] has correct owner and mode
---- imager: Found override file [/var/nvidia/nvcam/settings/camera_overrides.isp]. ----
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_center_liimx185.bin] 2/16
Imager: looking for override file [/opt/nvidia/nvcam/settings/imx185_center_liimx185.bin] 3/16
Imager: looking for override file [/var/nvidia/nvcam/settings/imx185_center_liimx185.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 32-001a
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
loadBinaryBlob: Binary read 6
OFDPropertyGetString: could not read property [type]
loadSubType: Sensor type missing in DT, 180
OFDPropertyGetString: could not read property [mode0.x_start]
OFDPropertyGetString: could not read property [mode0.y_start]
OFDPropertyGetString: could not read property [mode0.x_end]
OFDPropertyGetString: could not read property [mode0.y_end]
OFDPropertyGetString: could not read property [mode0.h_scaling]
OFDPropertyGetString: could not read property [mode0.v_scaling]
OFDPropertyGetString: could not read property [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]
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]
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]
OFDPropertyGetString: could not read property [mode4.x_start]
OFDPropertyGetString: could not read property [mode4.y_start]
OFDPropertyGetString: could not read property [mode4.x_end]
OFDPropertyGetString: could not read property [mode4.y_end]
OFDPropertyGetString: could not read property [mode4.h_scaling]
OFDPropertyGetString: could not read property [mode4.v_scaling]
OFDPropertyGetString: could not read property [mode5.x_start]
OFDPropertyGetString: could not read property [mode5.y_start]
OFDPropertyGetString: could not read property [mode5.x_end]
OFDPropertyGetString: could not read property [mode5.y_end]
OFDPropertyGetString: could not read property [mode5.h_scaling]
OFDPropertyGetString: could not read property [mode5.v_scaling]
initialize: Loaded Driver: 6 Modes Available--------------
NvPclInitializeDrivers: v4l2_sensor ------------------
NvPclOpen: ----------------------
NvCameraIspConfigFileLoad: Config file "common.cfg" Line 594: Error: Invalid isp config attribute: "//Thisistheextradelayintroducedwhileprogrammingthegroupholdsettingapartfromdefault//totaldelayof3framesi.e.2framesingroupholdsetttingstoeffectand1frametocapture.//Settingdefaultvalueaszeroasitisdisabledbydefault.ae.MaxGroupHoldDelayFrameCount=0"
NvCameraIspConfigFileLoad: Config file "common.cfg" Line 3177: Error: Invalid isp config attribute element: "fd.Available=TRUE"
NvCameraIspConfigFileLoad: Config file "common.cfg" Line 3178: Error: Invalid isp config attribute element: "fd.ForceEnable=FALSE"
NvCameraIspConfigFileLoad: Config file "isp4.cfg" Line 333: Error: Invalid isp config attribute: "ds.enable=TRUE"
CAM: serial no file already exists, skips storing againNvPclOpen: ++++++++++++++++++++++
NvPclStateControllerOpen: Found GUID 1 match at index[1]
NvPclHwInitializeModule: allocate overrides pathname @ 0x7f88be7c90
NvPclHwInitializeModule: allocate overrides pathname @ 0x7f88be7d20
NvPclHwInitializeModule: allocate overrides pathname @ 0x7f88be7db0
NvPclHwInitializeModule: allocate overrides pathname @ 0x7f88be7e40
NvPclHwInitializeModule: allocate overrides pathname @ 0x7f88be7ed0
NvPclHwInitializeModule: allocate overrides pathname @ 0x7f88be7f60
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: override file [/var/nvidia/nvcam/settings/camera_overrides.isp] has correct owner and mode
---- imager: Found override file [/var/nvidia/nvcam/settings/camera_overrides.isp]. ----
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_front_liimx185.bin] 2/16
Imager: looking for override file [/opt/nvidia/nvcam/settings/imx185_front_liimx185.bin] 3/16
Imager: looking for override file [/var/nvidia/nvcam/settings/imx185_front_liimx185.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 31-001a
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
loadBinaryBlob: Binary read 6
OFDPropertyGetString: could not read property [type]
loadSubType: Sensor type missing in DT, 180
OFDPropertyGetString: could not read property [mode0.x_start]
OFDPropertyGetString: could not read property [mode0.y_start]
OFDPropertyGetString: could not read property [mode0.x_end]
OFDPropertyGetString: could not read property [mode0.y_end]
OFDPropertyGetString: could not read property [mode0.h_scaling]
OFDPropertyGetString: could not read property [mode0.v_scaling]
OFDPropertyGetString: could not read property [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]
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]
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]
OFDPropertyGetString: could not read property [mode4.x_start]
OFDPropertyGetString: could not read property [mode4.y_start]
OFDPropertyGetString: could not read property [mode4.x_end]
OFDPropertyGetString: could not read property [mode4.y_end]
OFDPropertyGetString: could not read property [mode4.h_scaling]
OFDPropertyGetString: could not read property [mode4.v_scaling]
OFDPropertyGetString: could not read property [mode5.x_start]
OFDPropertyGetString: could not read property [mode5.y_start]
OFDPropertyGetString: could not read property [mode5.x_end]
OFDPropertyGetString: could not read property [mode5.y_end]
OFDPropertyGetString: could not read property [mode5.h_scaling]
OFDPropertyGetString: could not read property [mode5.v_scaling]
initialize: Loaded Driver: 6 Modes Available--------------
NvPclInitializeDrivers: v4l2_sensor ------------------
NvPclOpen: ----------------------
NvCameraIspConfigFileLoad: Config file "common.cfg" Line 594: Error: Invalid isp config attribute: "//Thisistheextradelayintroducedwhileprogrammingthegroupholdsettingapartfromdefault//totaldelayof3framesi.e.2framesingroupholdsetttingstoeffectand1frametocapture.//Settingdefaultvalueaszeroasitisdisabledbydefault.ae.MaxGroupHoldDelayFrameCount=0"
NvCameraIspConfigFileLoad: Config file "common.cfg" Line 3177: Error: Invalid isp config attribute element: "fd.Available=TRUE"
NvCameraIspConfigFileLoad: Config file "common.cfg" Line 3178: Error: Invalid isp config attribute element: "fd.ForceEnable=FALSE"
NvCameraIspConfigFileLoad: Config file "isp4.cfg" Line 333: Error: Invalid isp config attribute: "ds.enable=TRUE"
CAM: serial no file already exists, skips storing againNvPclOpen: ++++++++++++++++++++++
NvPclStateControllerOpen: Found GUID 0 match at index[2]
NvPclHwInitializeModule: allocate overrides pathname @ 0x7f88bc42a0
NvPclHwInitializeModule: allocate overrides pathname @ 0x7f88bc4330
NvPclHwInitializeModule: allocate overrides pathname @ 0x7f88bc43c0
NvPclHwInitializeModule: allocate overrides pathname @ 0x7f88bc4450
NvPclHwInitializeModule: allocate overrides pathname @ 0x7f88bc44e0
NvPclHwInitializeModule: allocate overrides pathname @ 0x7f88bc4570
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: override file [/var/nvidia/nvcam/settings/camera_overrides.isp] has correct owner and mode
---- imager: Found override file [/var/nvidia/nvcam/settings/camera_overrides.isp]. ----
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_liimx185.bin] 2/16
Imager: looking for override file [/opt/nvidia/nvcam/settings/imx185_bottom_liimx185.bin] 3/16
Imager: looking for override file [/var/nvidia/nvcam/settings/imx185_bottom_liimx185.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 30-001a
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
loadBinaryBlob: Binary read 0
OFDPropertyGetString: could not read property [type]
loadSubType: Sensor type missing in DT, 180
OFDPropertyGetString: could not read property [mode0.x_start]
OFDPropertyGetString: could not read property [mode0.y_start]
OFDPropertyGetString: could not read property [mode0.x_end]
OFDPropertyGetString: could not read property [mode0.y_end]
OFDPropertyGetString: could not read property [mode0.h_scaling]
OFDPropertyGetString: could not read property [mode0.v_scaling]
OFDPropertyGetString: could not read property [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]
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]
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]
OFDPropertyGetString: could not read property [mode4.x_start]
OFDPropertyGetString: could not read property [mode4.y_start]
OFDPropertyGetString: could not read property [mode4.x_end]
OFDPropertyGetString: could not read property [mode4.y_end]
OFDPropertyGetString: could not read property [mode4.h_scaling]
OFDPropertyGetString: could not read property [mode4.v_scaling]
OFDPropertyGetString: could not read property [mode5.x_start]
OFDPropertyGetString: could not read property [mode5.y_start]
OFDPropertyGetString: could not read property [mode5.x_end]
OFDPropertyGetString: could not read property [mode5.y_end]
OFDPropertyGetString: could not read property [mode5.h_scaling]
OFDPropertyGetString: could not read property [mode5.v_scaling]
initialize: Loaded Driver: 6 Modes Available--------------
NvPclInitializeDrivers: v4l2_sensor ------------------
NvPclOpen: ----------------------
NvCameraIspConfigFileLoad: Config file "common.cfg" Line 594: Error: Invalid isp config attribute: "//Thisistheextradelayintroducedwhileprogrammingthegroupholdsettingapartfromdefault//totaldelayof3framesi.e.2framesingroupholdsetttingstoeffectand1frametocapture.//Settingdefaultvalueaszeroasitisdisabledbydefault.ae.MaxGroupHoldDelayFrameCount=0"
NvCameraIspConfigFileLoad: Config file "common.cfg" Line 3177: Error: Invalid isp config attribute element: "fd.Available=TRUE"
NvCameraIspConfigFileLoad: Config file "common.cfg" Line 3178: Error: Invalid isp config attribute element: "fd.ForceEnable=FALSE"
NvCameraIspConfigFileLoad: Config file "isp4.cfg" Line 333: Error: Invalid isp config attribute: "ds.enable=TRUE"
CameraProvider result: provider=0x7f88bec0b0, shim=0x7f88bbeea0, status=0, rpc status=1, size=9
(Argus) Error InvalidState: Device provided at index 1 sensor modes do not match device at index 0 (in src/api/CameraProviderImpl.cpp, function createCaptureSession(), line 226)
/== CLEANUP 0x7f88bbeea0 ==\
Destroying real provider 0x7f88bec0b0
Stopping services...
Worker thread CaptureScheduler frameStart stop
Worker thread CaptureScheduler checkFramePending stop
Worker thread IspHw statsComplete stop
Worker thread IspHw frameComplete stop
Worker thread V4L2CaptureScheduler issueCaptures stop
Worker thread V4L2CaptureScheduler checkCaptureComplete stop
NvPclClose: ++++++++++++++++++++++
NvPclCloseModuleDrivers: deallocate/free overrides pathname @ 0x7f88bb3480
NvPclCloseModuleDrivers: deallocate/free overrides pathname @ 0x7f88bb3510
NvPclCloseModuleDrivers: deallocate/free overrides pathname @ 0x7f88bb35a0
NvPclCloseModuleDrivers: deallocate/free overrides pathname @ 0x7f88bb32d0
NvPclCloseModuleDrivers: deallocate/free overrides pathname @ 0x7f88bb3360
NvPclCloseModuleDrivers: deallocate/free overrides pathname @ 0x7f88bb33f0
NvPclStateControllerClose: Module imx185_center_liimx185 closed
NvPclClose: ----------------------
NvPclClose: ++++++++++++++++++++++
NvPclCloseModuleDrivers: deallocate/free overrides pathname @ 0x7f88be7e40
NvPclCloseModuleDrivers: deallocate/free overrides pathname @ 0x7f88be7ed0
NvPclCloseModuleDrivers: deallocate/free overrides pathname @ 0x7f88be7f60
NvPclCloseModuleDrivers: deallocate/free overrides pathname @ 0x7f88be7c90
NvPclCloseModuleDrivers: deallocate/free overrides pathname @ 0x7f88be7d20
NvPclCloseModuleDrivers: deallocate/free overrides pathname @ 0x7f88be7db0
NvPclStateControllerClose: Module imx185_front_liimx185 closed
NvPclClose: ----------------------
NvPclClose: ++++++++++++++++++++++
NvPclCloseModuleDrivers: deallocate/free overrides pathname @ 0x7f88bc4450
NvPclCloseModuleDrivers: deallocate/free overrides pathname @ 0x7f88bc44e0
NvPclCloseModuleDrivers: deallocate/free overrides pathname @ 0x7f88bc4570
NvPclCloseModuleDrivers: deallocate/free overrides pathname @ 0x7f88bc42a0
NvPclCloseModuleDrivers: deallocate/free overrides pathname @ 0x7f88bc4330
NvPclCloseModuleDrivers: deallocate/free overrides pathname @ 0x7f88bc43c0
NvPclStateControllerClose: Module imx185_bottom_liimx185 closed
NvPclClose: ----------------------
NvPclShutdown: ++++++++++++++++++++++
NvPclShutdown: ----------------------
Worker thread PS handleRequests stop
Services are stopped
closeInstance: ms_instance((nil))
NvPclRemoveHotplugCallback: ++++++++++++++++++++++
getHotplugMonitor: Getting hotplug monitor instance
shutdownHotplug: Requesting thread exit
hotPlugfunc --
Removed callback client
NvPclRemoveHotplugCallback: ----------------------
FiberScheduler: shutting down; 0 fibers still in map
FiberScheduler: thread 1 exiting
FiberScheduler: thread 3 exiting
FiberScheduler: thread 5 exiting
FiberScheduler: thread 7 exiting
FiberScheduler: thread 9 exiting
FiberScheduler: thread 11 exiting
FiberScheduler: thread 2 exiting
FiberScheduler: thread 6 exiting
FiberScheduler: thread 10 exiting
FiberScheduler: thread 4 exiting
FiberScheduler: thread 12 exiting
FiberScheduler: thread 8 exiting
FiberScheduler: thread 12 has been joined
FiberScheduler: thread 11 has been joined
FiberScheduler: thread 9 has been joined
FiberScheduler: thread 8 has been joined
FiberScheduler: thread 7 has been joined
FiberScheduler: thread 6 has been joined
FiberScheduler: thread 10 has been joined
FiberScheduler: thread 4 has been joined
FiberScheduler: thread 5 has been joined
FiberScheduler: thread 3 has been joined
FiberScheduler: thread 2 has been joined
FiberScheduler: thread 1 has been joined
\== CLEANUP DONE ==/
(Argus) Error EndOfFile: (propagating from libs/rpc_socket_server/ServerSocketManager.cpp, function recvThreadCore(), line 138)
(Argus) Error EndOfFile: (propagating from libs/rpc_socket_server/ServerSocketManager.cpp, function run(), line 56)
=== Connection 7F8CA351E0 closed ===
Cleaning up 0 requests...
Cleaning up 0 queues...
Cleaning up 0 streams...
Cleaning up 0 stream settings...
=== Connection 7F8CA351E0 cleaned up ===
I don’t know what is wrong. please tell me.
Thanks.
@gyucheol0116
It could be the sensor modes report from DT didn’t match with kernel driver.
(Argus) Error InvalidState: Device provided at index 1 sensor modes do not match device at index 0 (in src/api/CameraProviderImpl.cpp, function createCaptureSession(), line 226)
/== CLEANUP 0x7f88bbeea0 ==\