sample_camera_multiple_gmsl "cannot connect to camera"

We are using a Drive PX2 Autochauffeur with two GMSL AR0231 RGB “Rev 4” cameras. We are currently running Driveworks v0.2.0 with the corresponding version (Alpha 2.0) of Vibrante Linux. I am aware that there is a newer version, but because we have spent a lot of time installing software on this unit, it is not convenient at this time to upgrade.

I am trying to get the sample_camera_multiple_gmsl app to display images from the two cameras, which are connected to A0 and A1. The cameras each work correctly one at a time with the sample_camera_gmsl app. But with the multiple app, I get an error every time (see below) and no image is displayed. I have tried a few different combinations for the selector-mast and camera count parameters with no effect on the results.

Right now I am testing with the pre-built samples, be we will be using these sample apps as the basis for an interface to our autonomous driving algorithm, so it is important we establish they function correctly. How can I get this working?

Thanks,
-Michael

nvidia@tegra-ubuntu:/usr/local/driveworks/bin$ ./sample_camera_multiple_gmsl --type-ab=ar0231 --camera-count=2 --selector-mask=1100
Program Arguments:
--camera-count=2
--offscreen=0
--selector-mask=1100
--slave=0
--type-ab=ar0231
--type-cd=c-ov10640-b1
--type-ef=c-ov10640-b1

nvrm_gpu: Bug 1781434 workaround enabled.
nvrm_gpu: Bug 1778448 workaround enabled.
nvrm_gpu: Bug 1780185 workaround enabled.
Initialize DriveWorks SDK v0.2.0
Release build with GNU 4.9.2 from v0.2.0-rc8-0-gf0835b8 against PDK v4.1.2.0
SDK: no resource mounted
SDK: Create NvMediaDevice
SDK: use EGL display as provided
SAL: identified board as DrivePX2-TegraA
SensorFactory::createSensor() -> camera.gmsl, csi-port=ab,camera-type=ar0231,camera-count=4,camera-mask=1100,slave=0
CameraGMSL: required FPS = 30, resolution = 1920x1208
***** aurix state *****
 CAM_PWR_ON: 0x0
 TEGRA_GMSL: TEGRA B
 TEGRA_FPDL: TEGRA B
 TEGRA_A_HDMI: MXM
 TEGRA_B_HDMI: MXM
 TEGRA_PCI: TEGRA B
 FAN_STATE: UNKNOWN
***********************
***** aurix state *****
 CAM_PWR_ON: 0x1
 TEGRA_GMSL: UNKNOWN
 TEGRA_FPDL: UNKNOWN
 TEGRA_A_HDMI: UNKNOWN
 TEGRA_B_HDMI: UNKNOWN
 TEGRA_PCI: UNKNOWN
 FAN_STATE: UNKNOWN
***********************
nvmedia: ERROR: SetupVideoLink: Can't detect config link(2)
nvmedia: ERROR: Init: Failed to setup video link
***** aurix state *****
 CAM_PWR_ON: 0x0
 TEGRA_GMSL: UNKNOWN
 TEGRA_FPDL: UNKNOWN
 TEGRA_A_HDMI: UNKNOWN
 TEGRA_B_HDMI: UNKNOWN
 TEGRA_PCI: UNKNOWN
 FAN_STATE: UNKNOWN
***********************
Driveworks exception thrown: DW_SAL_CANNOT_CREATE_SENSOR: CameraGMSL: cannot connect to camera
Cannot create driver: camera.gmsl with params: csi-port=ab,camera-type=ar0231,camera-count=4,camera-mask=1100,slave=0
Error: DW_SAL_CANNOT_CREATE_SENSOR
Need to specify at least 1 at most 12 cameras to be used

Can you try changing --selector-mask to 0011

./sample_camera_multiple_gmsl --type-ab=ar0231 --camera-count=2 --selector-mask=0011

It worked for me

Thanks,that seems to work for me. Onward!