Dear Sir,
I find Xavier B can not connect to the GMSL camera on DriveOS10.0, and the error messages are listed below. Is there any solution? Thank you so much.
failed at /dvs/git/dirty/gitlab-master_av/dw/sdk/samples/sensors/camera/camera_gmsl/main.cpp:174
→ line 174 → CHECK_DW_ERROR(dwSAL_createSensor(&m_camera, params, m_sal));
=====================================================================================
nvidia@tegra-ubuntu:/usr/local/driveworks/bin$ ./sample_camera_gmsl --camera-type=ar0231-rccb-bae-sf3325
[08-01-2020 13:39:20] Platform: Detected P3570 - Tegra B
[08-01-2020 13:39:20] TimeSource: monotonic epoch time offset is 1578461578784865
[08-01-2020 13:39:20] TimeSource: Could not detect valid PTP time source at nvpps. Fallback to eth0
[08-01-2020 13:39:20] TimeSource Eth: PTP ioctl returned error. Synchronized time will not be available from this timesource.
[08-01-2020 13:39:20] TimeSource: Could not detect valid PTP time source at ‘eth0’. Fallback to CLOCK_MONOTONIC.
[08-01-2020 13:39:20] Platform: number of GPU devices detected 2
[08-01-2020 13:39:20] Platform: currently selected GPU device discrete ID 0
[08-01-2020 13:39:20] SDK: Resources mounted from …/./data/
[08-01-2020 13:39:20] SDK: Create NvMediaDevice
[08-01-2020 13:39:20] SDK: use EGL display as provided
[08-01-2020 13:39:20] Initialize DriveWorks SDK v2.2.3137-experimental
[08-01-2020 13:39:20] Experimental Release build with GNU 7.3.1 from heads/release-2.2-0-gc13e640 against Drive PDK v5.1.6.0
[08-01-2020 13:39:20] Initialize DriveWorks VisualizationSDK v2.2.3136
[08-01-2020 13:39:20] Initialize DriveWorksGL SDK v2.2.3136
[08-01-2020 13:39:20] SensorFactory::createSensor() → camera.gmsl, output-format=yuv,fifo-size=3,isp-mode=yuv420-uint8,camera-type=ar0231-rccb-bae-sf3325,camera-group=a,slave=0
[08-01-2020 13:39:20] CameraGMSL: Couldn’t set CameraGMSL setup thread sched params!
[08-01-2020 13:39:20] CameraGMSL: Create NvMediaIPPManager
[08-01-2020 13:39:20] CameraGMSL: required FPS = 30, resolution = 1920x1208
nvmedia isc: GetCameraPowerControlLevel: 936: Camera power control library: NVCCP
[08-01-2020 13:39:20] Driveworks exception thrown: DW_SAL_CANNOT_CREATE_SENSOR: CameraGMSL: cannot connect to camera
terminate called after throwing an instance of ‘std::runtime_error’
what(): [2020-01-08 13:39:20] DW Error DW_SAL_CANNOT_CREATE_SENSOR executing DW function:
dwSAL_createSensor(&m_camera, params, m_sal)
at /dvs/git/dirty/gitlab-master_av/dw/sdk/samples/sensors/camera/camera_gmsl/main.cpp:174
Aborted (core dumped)
Did you run the same sample in XavierA and B at the same time?
If yes, XavierB needs to run in slave mode like below.
Please add --tegra-slave=1 and re-test it. Thanks.
terminate called after throwing an instance of ‘std::runtime_error’
what(): [2020-01-08 15:46:09] DW Error DW_SAL_CANNOT_CREATE_SENSOR executing DW function:
dwSAL_createSensor(&m_camera, params, m_sal)
at /dvs/git/dirty/gitlab-master_av/dw/sdk/samples/sensors/camera/camera_gmsl/main.cpp:174
Aborted (core dumped)
[08-01-2020 15:46:09] CameraGMSL: Couldn't set CameraGMSL setup thread sched params!
[08-01-2020 15:46:09] CameraGMSL: Create NvMediaIPPManager
[08-01-2020 15:46:09] CameraGMSL: required FPS = 30, resolution = 1920x1208
nvmedia isc: GetCameraPowerControlLevel: 936: Camera power control library: NVCCP
[08-01-2020 15:46:09] Driveworks exception thrown: DW_SAL_CANNOT_CREATE_SENSOR: CameraGMSL: cannot connect to camera
The camera seems to be disconnected.
Could you please make sure the camera is connected properly?
And could you please check if the camera sample works properly on XavierA? Thanks.
The camera seems to be disconnected.
Could you please make sure the camera is connected properly?
And could you please check if the camera sample works properly on XavierA? Thanks.
------> Yes, the camera can work on XavierA , and the sample is the same on Xavier A & Xavier B.