Hi @SivaRamaKrishnaNV,
Yes, that is true. With two cameras, the sample works fine. As soon as I connect the third camera, the sample fails.
Yes, I connected the three cameras to the green, red and blue wires.
Yes, I did. All cameras work fine.
The terminal output for the multiple camera sample with two cameras (this works!):
nvidia@tegra-ubuntu:/usr/local/driveworks/bin$ ./sample_camera_multiple_gmsl --type-a=ar0231-rccb-bae-sf3324 --selector-mask=1100
[23-05-2022 13:45:34] Platform: Detected DDPX - Tegra A
[23-05-2022 13:45:34] TimeSource: monotonic epoch time offset is 1653311597025532
[23-05-2022 13:45:34] PTP Time is available from NVPPS Driver
[23-05-2022 13:45:34] Platform: number of GPU devices detected 2
[23-05-2022 13:45:34] Platform: currently selected GPU device discrete ID 0
[23-05-2022 13:45:34] SDK: Resources mounted from .././data/
[23-05-2022 13:45:34] SDK: Create NvMediaDevice
[23-05-2022 13:45:34] SDK: use EGL display as provided
[23-05-2022 13:45:34] TimeSource: monotonic epoch time offset is 1653311597025532
[23-05-2022 13:45:34] PTP Time is available from NVPPS Driver
[23-05-2022 13:45:34] Initialize DriveWorks SDK v2.2.3136
[23-05-2022 13:45:34] Release build with GNU 7.3.1 from heads/buildbrain-branch-0-gca7b4b26e65 against Drive PDK v5.1.6.1
[23-05-2022 13:45:34] SensorFactory::createSensor() -> camera.gmsl, camera-group=a,camera-type=ar0231-rccb-bae-sf3324,camera-count=4,camera-mask=1100,slave=0
[23-05-2022 13:45:34] CameraGMSL: Couldn't set CameraGMSL setup thread sched params!
[23-05-2022 13:45:34] CameraGMSL: Create NvMediaIPPManager
[23-05-2022 13:45:34] CameraGMSL: required FPS = 30, resolution = 1920x1208
nvmedia isc: GetCameraPowerControlLevel: 936: Camera power control library: NVCCP
Max96712 Rev 2 detected!
MAX96712: Enable periodic AEQ on Link 0
MAX96712: Enable periodic AEQ on Link 1
MAX96705: Pre-emphasis set to 0xaa
Sensor AR0231 RCCB Rev7 detected!
Sensor AR0231 RCCB Rev7 detected!
[23-05-2022 13:45:35] CameraGMSL: default IPP event callback function set
Successfully initialized 2 cameras of type ar0231-rccb-bae-sf3324 in port a with resolution of 1920x1208 at framerate of 30.000000 FPS
Successfully started cameras in port a
[23-05-2022 13:45:35] Initialize DriveWorks VisualizationSDK v2.2.3136
[23-05-2022 13:45:35] Initialize DriveWorksGL SDK v2.2.3136
Total cameras 2
[23-05-2022 13:45:36] StreamConsumerGL: successfully initialized
window resized to 1200x800
[23-05-2022 13:45:36] CameraGMSL: Frame: 13 CaptureTimestamp: 1653313536192018 - ICP DROP in camera 1
[23-05-2022 13:45:36] CameraGMSL: Frame: 13 CaptureTimestamp: 1653313536192018 - ICP DROP in camera 0
The terminal output for the multiple camera sample with three cameras (gives error!):
nvidia@tegra-ubuntu:/usr/local/driveworks/bin$ ./sample_camera_multiple_gmsl --type-a=ar0231-rccb-bae-sf3324 --selector-mask=1110
[23-05-2022 13:50:50] Platform: Detected DDPX - Tegra A
[23-05-2022 13:50:50] TimeSource: monotonic epoch time offset is 1653313713014407
[23-05-2022 13:50:50] PTP Time is available from NVPPS Driver
[23-05-2022 13:50:50] Platform: number of GPU devices detected 2
[23-05-2022 13:50:50] Platform: currently selected GPU device discrete ID 0
[23-05-2022 13:50:50] SDK: Resources mounted from .././data/
[23-05-2022 13:50:50] SDK: Create NvMediaDevice
[23-05-2022 13:50:50] SDK: use EGL display as provided
[23-05-2022 13:50:50] TimeSource: monotonic epoch time offset is 1653313713014406
[23-05-2022 13:50:50] PTP Time is available from NVPPS Driver
[23-05-2022 13:50:50] Initialize DriveWorks SDK v2.2.3136
[23-05-2022 13:50:50] Release build with GNU 7.3.1 from heads/buildbrain-branch-0-gca7b4b26e65 against Drive PDK v5.1.6.1
[23-05-2022 13:50:50] SensorFactory::createSensor() -> camera.gmsl, camera-group=a,camera-type=ar0231-rccb-bae-sf3324,camera-count=4,camera-mask=1110,slave=0
[23-05-2022 13:50:50] CameraGMSL: Couldn't set CameraGMSL setup thread sched params!
[23-05-2022 13:50:50] CameraGMSL: Create NvMediaIPPManager
[23-05-2022 13:50:50] CameraGMSL: required FPS = 30, resolution = 1920x1208
iscRootDevOpen: can't open /dev/isc-mgr.0.a - Device or resource busy
NvMediaISCRootDeviceCreate: Unable to open root device
nvmedia: ERROR: Init: Failed to create NvMedia ISC root device
[23-05-2022 13:50:50] Driveworks exception thrown: DW_SAL_CANNOT_CREATE_SENSOR: CameraGMSL: cannot connect to camera
terminate called after throwing an instance of 'std::runtime_error'
what(): [2022-05-23 13:50:50] DW Error DW_SAL_CANNOT_CREATE_SENSOR executing DW function:
dwSAL_createSensor(&m_camera[portID], params, m_sal)
at /dvs/git/dirty/gitlab-master_av/dw/sdk/samples/sensors/camera/camera_multiple_gmsl/main.cpp:147
Aborted (core dumped)
Did I correctly start the sample with the followng command or am I missing something? (I used three ar0231-rccb-bae-sf3324 cameras connected to the green, red and blue wires):
./sample_camera_multiple_gmsl --type-a=ar0231-rccb-bae-sf3324 --selector-mask=1110
Your help would be appreciated, since we need a working setup with multiple cameras.