Multiple GMSL cameras connect to Xavier

Dear Sir,

I want to let two GMSL cameras connect to Xavier GroupA and run “sample_camera_multiple_gmsl” sample, but it can not work. I have already checked the first camera to connect to A0, and the second one to connect to A1 following H/W spec indication…I don’t know how to let two GMSL cameras work. Is there any limitation for “sample_camera_multiple_gmsl” sample? Thanks.

Dear melinda.hung,
Which camera are you using? Also, please provide the used command and output log.

Dear SivaRamaKrishna,
My camera type and used command results are listed as below. Thanks.

camera : ar0231-rccb-bae-sf3325

nvidia@tegra-ubuntu:/usr/local/driveworks/bin$ ./sample_camera_slave
[11-12-2019 11:23:06] Platform: Detected DDPX - Tegra A
[11-12-2019 11:23:06] TimeSource: monotonic epoch time offset is 1576033786860731
[11-12-2019 11:23:06] PTP Time is available from NVPPS Driver
[11-12-2019 11:23:06] Platform: number of GPU devices detected 1
[11-12-2019 11:23:06] Platform: currently selected GPU device integrated ID 0
[11-12-2019 11:23:06] SDK: Resources mounted from …/./data/
[11-12-2019 11:23:06] SDK: Create NvMediaDevice

terminate called after throwing an instance of ‘std::runtime_error’
what(): [2019-12-11 11:30:15] DW Error DW_FAILURE executing DW function:
dwSAL_createSensor(&m_camera, params, m_sal)
at /dvs/git/dirty/gitlab-master_av/dw/sdk/samples/sensors/camera/camera_slave_raw/main.cpp:164
Aborted (core dumped)

Dear melinda.hung,
Could you check the below command to test running 2 cameras when connected to A0 and A1 ports.

./sample_camera_multiple_gmsl --type-a=ar0231-rccb-bae-sf3325 --selector-mask=0011

Dear SivaRamaKrishna ,
Thanks for your reply.
It works!
./sample_camera_multiple_gmsl --type-a=ar0231-rccb-bae-sf3325 --selector-mask=0011

And I find some problems as below.
1. I found I can not play A1 camera only, if I enter the two commands as below. The X-window always show A0 camera video…

./sample_camera_multiple_gmsl --type-a=ar0231-rccb-bae-sf3325 --selector-mask=0010
./sample_camera_multiple_gmsl --type-a=ar0231-rccb-bae-sf3325 --selector-mask=0011

2. But some samples do not have “–selector-mask” parameter, how to set the multiple camera?

GMSL SIPL Custom Camera Capture Sample
RAW GMSL Camera Capture Sample
Slave Camera Capture Sample
nvidia@tegra-ubuntu:/usr/local/driveworks/bin$ ./sample_camera_slave"
RAW Slave Camera Capture Sample
nvidia@tegra-ubuntu:/usr/local/driveworks/bin$ ./sample_camera_slave_raw"

Dear melinda.hung,

Could you please refer to for the sample?

  1. Could you please help to check the sample with other group ex)b, c or d?

  2. The parameter is for multiple camera sample. Please see above link.

Dear Sir,
I run GMSL SIPL Custom Camera Capture Sample as below command, and it always failed to run on E3550. The contents are as the snapshot as below. Do you have any idea about the error? Thanks.

Run command —> nvidia@tegra-ubuntu:/usr/local/driveworks/bin$./sample_camera_gmsl_custom