Running GMSL Sample

Im having problem running the camera GMSL sample executable.

sudo ./sample_camera_gmsl --camera-type=ar0231-rccb-bae-sf3324 --camera-group=a
[26-08-2020 19:49:38] Platform: Detected DDPX - Tegra A
[26-08-2020 19:49:38] TimeSource: monotonic epoch time offset is 1598484751182964
[26-08-2020 19:49:38] PTP Time is available from NVPPS Driver
[26-08-2020 19:49:38] Platform: number of GPU devices detected 2
[26-08-2020 19:49:38] Platform: currently selected GPU device discrete ID 0
[26-08-2020 19:49:38] SDK: Resources mounted from …/./data/
[26-08-2020 19:49:38] SDK: Create NvMediaDevice
[26-08-2020 19:49:38] SDK: use EGL display as provided
[26-08-2020 19:49:39] TimeSource: monotonic epoch time offset is 1598484751182964
[26-08-2020 19:49:39] PTP Time is available from NVPPS Driver
[26-08-2020 19:49:39] Initialize DriveWorks SDK v2.2.3136
[26-08-2020 19:49:39] Release build with GNU 7.3.1 from heads/buildbrain-branch-0-gca7b4b26e65 against Drive PDK v5.1.6.1
[26-08-2020 19:49:39] Initialize DriveWorks VisualizationSDK v2.2.3136
[26-08-2020 19:49:39] Initialize DriveWorksGL SDK v2.2.3136
[26-08-2020 19:49:39] SensorFactory::createSensor() -> camera.gmsl, output-format=yuv,fifo-size=3,isp-mode=yuv420-uint8,camera-type=ar0231-rccb-bae-sf3324,camera-group=a,slave=0
[26-08-2020 19:49:39] CameraGMSL: Create NvMediaIPPManager
[26-08-2020 19:49:39] 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
[26-08-2020 19:49:39] 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-08-26 19:49:39] 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

Similar errors are produces by other samples that process camera data. These camera were working previously, however after a reflash they have stopped. I also updated the Aurix firmware version to no effect. Is there anything that we have seemly overlooked ?

Robert

Please provide the following info:
Hardware Platform: DRIVE AGX Pegasus™ Developer Kit
Software Version: DRIVE Software 10
Host Machine Version: native Ubuntu 18.04
SDK Manager Version: latest

Dear @rcodd.downey,
Could you share aurix version and confirm if you connected camera to A0.

Dear @rcodd.downey,
Could you provide any update?

The pagasus was starting a preflight checker on boot which prevented the camera being opened. I found its PID using lsof /dev/isc-mgr.0.a and killed the process

1 Like

Dear @rcodd.downey,
So did that fix your issue?