Dear @VickNV,
- This is my own small application (I took the sample camera_gmsl_custom as reference)
I see the same errors when starting sample_camera_gmsl_custom and nvsipl_camera samples. Outputs are in the end of the comment
- This happen everytime.
- No, starting the single A0 camera works and it also impossible to access other cameras (in contrast to approach with IPP, where I always got the output of the first camera)
OUTPUT OF sample_camera_gmsl_custom --rig=rig2Processed.json (also attached as txt rig2Processed.txt (2.8 KB) ):
nvidia@tegra-ubuntu:/usr/local/driveworks-2.2/bin$ ./sample_camera_gmsl_custom --rig=/home/nvidia/mfortova/rig2Processed.json
[26-10-2020 15:46:01] Platform: Detected DDPX - Tegra A
[26-10-2020 15:46:01] TimeSource: monotonic epoch time offset is 1603432678553179
[26-10-2020 15:46:01] TimeSource Nvpss : PTP ioctl returned error. Synchronized time will not be available from this timesource.
[26-10-2020 15:46:01] TimeSource: Could not detect valid PTP time source at nvpps. Fallback to eth0
[26-10-2020 15:46:01] TimeSource Eth: PTP ioctl returned error. Synchronized time will not be available from this timesource.
[26-10-2020 15:46:01] TimeSource: Could not detect valid PTP time source at 'eth0'. Fallback to CLOCK_MONOTONIC.
[26-10-2020 15:46:01] Platform: number of GPU devices detected 2
[26-10-2020 15:46:01] Platform: currently selected GPU device discrete ID 0
[26-10-2020 15:46:01] SDK: Resources mounted from .././data/
[26-10-20./sample_camera_gmsl_custom --rig=/home/nvidia/mfortova/rigSingleProcessed.json20 15:46:01] SDK: Create NvMediaDevice
[26-10-2020 15:46:01] SDK: use EGL display as provided
[26-10-2020 15:46:01] TimeSource: monotonic epoch time offset is 1603432678553179
[26-10-2020 15:46:01] TimeSource Nvpss : PTP ioctl returned error. Synchronized time will not be available from this timesource.
[26-10-2020 15:46:01] TimeSource: Could not detect valid PTP time source at nvpps. Fallback to eth0
[26-10-2020 15:46:01] TimeSource Eth: PTP ioctl returned error. Synchronized time will not be available from this timesource.
[26-10-2020 15:46:01] TimeSource: Could not detect valid PTP time source at 'eth0'. Fallback to CLOCK_MONOTONIC.
[26-10-2020 15:46:01] Initialize DriveWorks SDK v2.2.3136
[26-10-2020 15:46:01] Release build with GNU 7.3.1 from heads/buildbrain-branch-0-gca7b4b26e65 against Drive PDK v5.1.6.1
[26-10-2020 15:46:01] Loading rig file: /home/nvidia/mfortova/rig2Processed.json
onInitialize: creating camera.gmsl.master with params: config-type=devBlock,configuration={MODE:master|INTERFACE:csi-a|CAMERA_NAME:SF3324|NUM:2},output-format=processed
[26-10-2020 15:46:01] SensorFactory::createSensor() -> camera.gmsl.master, config-type=devBlock,configuration={MODE:master|INTERFACE:csi-a|CAMERA_NAME:SF3324|NUM:2},output-format=processed
libnvsipl_query.so: CNvMCameraModuleInfo.cpp : 76: ParseJson: Could not find matching serializer
libnvsipl_query.so: CNvMDeviceInfoList.cpp : 100: GetCustomCameraModule: Failed to find matching module MAX96712TPG
libnvsipl_query.so: CNvMDeviceBlockInfo.cpp : 156: ParseJson: Failed to find matching camera module
libnvsipl_query.so: CNvMPlatformCfgInfo.cpp : 50: ParseJson: CNvMPlatformCfgInfo::ParseJson failed.
libnvsipl_query.so: CNvMQuery.cpp : 45: ParsePlatformConfig: Failed to parse a PlatformCfg
[26-10-2020 15:46:01] CameraGMSLMaster::parseDevBlock Getting device info list.
[26-10-2020 15:46:01] devBlock: 0 Mode = master Interface = csi-a Camera_name = SF3324 Num = 2
[26-10-2020 15:46:01] Camera Match Name: SF3324 Description: Sekonix SF3324 module - 120-deg FOV, DVP AR0231-RCCB, MAX96705 linkIndex: 4294967295 serInfo.Name: MAX96705
[26-10-2020 15:46:01] SIPLMaster::SIPLMaster: Setting up master camera
[26-10-2020 15:46:01] Platform: devBlockInit
[26-10-2020 15:46:01] Platform Config: devBlockInit
[26-10-2020 15:46:01] Description: Configuration set by Device Block arguments: config-type=devBlock,configuration={MODE:master|INTERFACE:csi-a|CAMERA_NAME:SF3324|NUM:2},output-format=processed
[26-10-2020 15:46:01] Number of device blocks: 1
[26-10-2020 15:46:01] Device Block : 0
[26-10-2020 15:46:01] csiPort: 0
[26-10-2020 15:46:01] i2cDevice: 0
[26-10-2020 15:46:01] Deserializer Name: MAX96712
[26-10-2020 15:46:01] Deserializer Description: Maxim 96712 Aggregator
[26-10-2020 15:46:01] Deserializer i2cAddress: 41
[26-10-2020 15:46:01] Simulator Mode: 0
[26-10-2020 15:46:01] Slave Mode: 0
[26-10-2020 15:46:01] Phy Mode: 0
[26-10-2020 15:46:01] Number of camera modules: 2
[26-10-2020 15:46:01] CameraModule index: 0
[26-10-2020 15:46:01] Name :SF3324
[26-10-2020 15:46:01] Description: Sekonix SF3324 module - 120-deg FOV, DVP AR0231-RCCB, MAX96705
[26-10-2020 15:46:01] Serializer name: MAX96705
[26-10-2020 15:46:01] Serializer description: Maxim 96705 Serializer
[26-10-2020 15:46:01] Serializer i2cAdress: 64
[26-10-2020 15:46:01] Number of EEPROMs: 0
[26-10-2020 15:46:01] Number of Sensors: 1
[26-10-2020 15:46:01] Sensor index: 0
[26-10-2020 15:46:01] Sensor ID: 0
[26-10-2020 15:46:01] Sensor name: AR0231
[26-10-2020 15:46:01] Sensor description: OnSemi AR0231 Sensor
[26-10-2020 15:46:01] Sensor i2cAddress: 16
[26-10-2020 15:46:01] Sensor isTPGEnabled: 0
[26-10-2020 15:46:01] Sensor isTriggerMode: 1
[26-10-2020 15:46:01] Sensor Number of Virt. Chan.: 0
[26-10-2020 15:46:01] Virt. Chan. Index: 0
[26-10-2020 15:46:01] cfa: 35
[26-10-2020 15:46:01] embeddedTopLines: 24
[26-10-2020 15:46:01] embeddedBottomLines: 4
[26-10-2020 15:46:01] inputFormat: raw12
[26-10-2020 15:46:01] height: 1208
[26-10-2020 15:46:01] width: 1920
[26-10-2020 15:46:01] fps: 30.0000000
[26-10-2020 15:46:01] Embedded Data: 0
[26-10-2020 15:46:01] CameraModule index: 1
[26-10-2020 15:46:01] Name :SF3324
[26-10-2020 15:46:01] Description: Sekonix SF3324 module - 120-deg FOV, DVP AR0231-RCCB, MAX96705
[26-10-2020 15:46:01] Serializer name: MAX96705
[26-10-2020 15:46:01] Serializer description: Maxim 96705 Serializer
[26-10-2020 15:46:01] Serializer i2cAdress: 64
[26-10-2020 15:46:01] Number of EEPROMs: 0
[26-10-2020 15:46:01] Number of Sensors: 1
[26-10-2020 15:46:01] Sensor index: 0
[26-10-2020 15:46:01] Sensor ID: 1
[26-10-2020 15:46:01] Sensor name: AR0231
[26-10-2020 15:46:01] Sensor description: OnSemi AR0231 Sensor
[26-10-2020 15:46:01] Sensor i2cAddress: 16
[26-10-2020 15:46:01] Sensor isTPGEnabled: 0
[26-10-2020 15:46:01] Sensor isTriggerMode: 1
[26-10-2020 15:46:01] Sensor Number of Virt. Chan.: 0
[26-10-2020 15:46:01] Virt. Chan. Index: 0
[26-10-2020 15:46:01] cfa: 35
[26-10-2020 15:46:01] embeddedTopLines: 24
[26-10-2020 15:46:01] embeddedBottomLines: 4
[26-10-2020 15:46:01] inputFormat: raw12
[26-10-2020 15:46:01] height: 1208
[26-10-2020 15:46:01] width: 1920
[26-10-2020 15:46:01] fps: 30.0000000
[26-10-2020 15:46:01] Embedded Data: 0
[26-10-2020 15:46:01] CameraGMSLMaster::create: Enabling pipeline notifications
[26-10-2020 15:46:01] SIPLMaster:: EnableNotifyer for 2 pipes.
[26-10-2020 15:46:01] CameraGMSLMaster::setOutputDescription Setting output consumer descriptors for sensor: Sensor0HW_ISP0NvMediaImage uIndex: 0 OutputType: 1
[26-10-2020 15:46:01] CameraGMSLMaster::setOutputDescription Setting output consumer descriptors for sensor: Sensor1HW_ISP0NvMediaImage uIndex: 1 OutputType: 1
[26-10-2020 15:46:01] CameraGMSLMaster:: Initliazing master camera
nvmedia isc: GetCameraPowerControlLevel: 936: Camera power control library: NVCCP
MAX96712: Revision 2 detected
MAX96712: Enable periodic AEQ on Link 0
MAX96705: Pre-emphasis set to 0xaa
MAX96705: Revision 1 detected!
Sensor AR0231 RCCB Rev7 detected!
nvmedia: ERROR: MAX96712: Link 1: GMSL1 config link lock not detected(100)
libnvsipl_devblk.so: CNvMTransportLink_Max96712_96705.cpp: 258: SetupConfigLink: NvMediaISCCheckLink(ISC_MAX96712_GMSL1_CONFIG_LINK_LOCK) failed! with NvMedia error: 7
libnvsipl_devblk.so: CNvMTransportLink_Max96712_96705.cpp: 372: Init: SetupConfigLink failed! with error: 7f
libnvsipl_devblk.so: CNvMMAX96712CameraModule.cpp: 42: Init: TransportLink Init failed! with error: 7f
libnvsipl_devblk.so: CNvMDeviceBlock.cpp: 179: Init: Init failed for module on link = 1
libnvsipl.so: CNvMDeviceBlockMgr.hpp: 90: ThreadFunc: ThreadCreate failed. (7f)
libnvsipl.so: CNvMDeviceBlockMgr.cpp: 83: Init: Failed to initialize device block:0
libnvsipl.so: CNvMCamera.cpp: 169: Init: CNvMCamera::Init failed! with error: 7f
libnvsipl_devblk.so: CNvMDeviceBlock.cpp: 226: Stop: CNvMDeviceBlock has not been started
libnvsipl.so: CNvMDeviceBlockMgr.cpp: 132: Stop: Deviceblock fails to stop
libnvsipl.so: CNvMCamera.cpp: 259: Stop: m_upDeviceBlockMgr fails to stop
[26-10-2020 15:46:03] Driveworks exception thrown: DW_INTERNAL_ERROR: CameraGMSLMaster: Failed to initialize master camera! SIPL errror code = 127
terminate called after throwing an instance of 'std::runtime_error'
what(): [2020-10-26 15:46:03] DW Error DW_INTERNAL_ERROR executing DW function:
dwSAL_createSensor(&m_cameraMaster, paramsMaster, m_sal)
at /dvs/git/dirty/gitlab-master_av/dw/sdk/samples/sensors/camera/camera_gmsl_custom/main.cpp:136
Aborted (core dumped)
nvidia@tegra-ubuntu:/usr/local/driveworks-2.2/bin$
OUTPUT OF nvsipl_camera: with --link-enable-masks "0x0011 0x0000 0x0000 0x0000"
nvidia@tegra-ubuntu:~/mfortova$ ./nvsipl_camera -c "SF3324_DPHY_x2" --link-enable-masks "0x0011 0x0000 0x0000 0x0000" --showfps -d 0 -w 1 --verbosity 2
libnvsipl_query.so: CNvMCameraModuleInfo.cpp : 76: ParseJson: Could not find matching serializer
libnvsipl_query.so: CNvMDeviceInfoList.cpp : 100: GetCustomCameraModule: Failed to find matching module MAX96712TPG
libnvsipl_query.so: CNvMDeviceBlockInfo.cpp : 156: ParseJson: Failed to find matching camera module
libnvsipl_query.so: CNvMPlatformCfgInfo.cpp : 50: ParseJson: CNvMPlatformCfgInfo::ParseJson failed.
libnvsipl_query.so: CNvMQuery.cpp : 45: ParsePlatformConfig: Failed to parse a PlatformCfg
nvmedia isc: GetCameraPowerControlLevel: 936: Camera power control library: NVCCP
MAX96712: Revision 2 detected
MAX96712: Enable periodic AEQ on Link 0
MAX96705: Pre-emphasis set to 0xaa
nvmedia: ERROR: MAX96712: Link 1: GMSL1 config link lock not detected(100)
libnvsipl_devblk.so: CNvMTransportLink_Max96712_96705.cpp: 258: SetupConfigLink: NvMediaISCCheckLink(ISC_MAX96712_GMSL1_CONFIG_LINK_LOCK) failed! with NvMedia error: 7
libnvsipl_devblk.so: CNvMTransportLink_Max96712_96705.cpp: 372: Init: SetupConfigLink failed! with error: 7f
libnvsipl_devblk.so: CNvMMAX96712CameraModule.cpp: 42: Init: TransportLink Init failed! with error: 7f
libnvsipl_devblk.so: CNvMDeviceBlock.cpp: 179: Init: Init failed for module on link = 0
libnvsipl.so: CNvMDeviceBlockMgr.hpp: 90: ThreadFunc: ThreadCreate failed. (7f)
libnvsipl.so: CNvMDeviceBlockMgr.cpp: 83: Init: Failed to initialize device block:0
libnvsipl.so: CNvMCamera.cpp: 169: Init: CNvMCamera::Init failed! with error: 7f
nvsipl_camera: ERROR: Master initialization failed. status: 127
libnvsipl_devblk.so: CNvMDeviceBlock.cpp: 226: Stop: CNvMDeviceBlock has not been started
libnvsipl.so: CNvMDeviceBlockMgr.cpp: 132: Stop: Deviceblock fails to stop
libnvsipl.so: CNvMCamera.cpp: 259: Stop: m_upDeviceBlockMgr fails to stop
nvidia@tegra-ubuntu:~/mfortova$