Please provide the following info:
Hardware Platform: DRIVE AGX Xavier™ Developer Kit
Software Version: DRIVE Software 10
Host Machine Version: native Ubuntu 18.04
SDK Manager Version: 188.8.131.5238
We are working with a Drive AGX Board and some Sony IMX390 sensors.
Currently, we are looking for a server implementation that provides nvmedia buffers to some processes so, we found this camera_server application from driveworks that does what we need but we are unable to launch it properly.
This is the camera_server’s documentation
In that page, there is only information about the Sekonix sensor, how can we use the camera_server with other sensors?
This is the error log:
/usr/local/driveworks/tools/sensors/camera_server --offscreen=1 --params camera-type=i390,camera-group=a,camera-count=1,fifo-size=12,output-format=yuv+raw [22-09-2019 12:30:56] Platform: Detected DDPX - Tegra A [22-09-2019 12:30:56] TimeSource: monotonic epoch time offset is 1569027511525122 [22-09-2019 12:30:56] PTP Time is available from NVPPS Driver [22-09-2019 12:30:56] Platform: number of GPU devices detected 1 [22-09-2019 12:30:56] Platform: currently selected GPU device integrated ID 0 [22-09-2019 12:30:56] SDK: Resources mounted from /usr/local/driveworks-2.2/data/ [22-09-2019 12:30:56] SDK: Create NvMediaDevice [22-09-2019 12:30:56] egl::Display: found 1 EGL devices [22-09-2019 12:30:56] egl::Display: use drm device: drm-nvdc [22-09-2019 12:30:57] TimeSource: monotonic epoch time offset is 1569027511525121 [22-09-2019 12:30:57] PTP Time is available from NVPPS Driver [22-09-2019 12:30:57] Initialize DriveWorks SDK v2.2.3136 [22-09-2019 12:30:57] Release build with GNU 7.3.1 from heads/buildbrain-branch-0-gca7b4b26e65 against Drive PDK v184.108.40.206 [22-09-2019 12:30:57] SensorFactory::createSensor() -> camera.gmsl, params [22-09-2019 12:30:57] Driveworks exception thrown: DW_FAILURE: CameraType: fromName no suitable camera type found terminate called after throwing an instance of 'std::runtime_error' what(): [2019-09-22 12:30:57] DW Error DW_FAILURE executing DW function: dwSAL_createSensor(&m_camera, sensorParams, m_sal) at /dvs/git/dirty/gitlab-master_av/dw/sdk/tools/camera_server/main.cpp:184 Aborted (core dumped)
We have tested others values in camera-type without luck, as example: imx390, imx390-rggb-bae-none, etc.
Is this application limited to be used with a Sekonix sensor?
Any information to run this application with a different sensor than a Sekonix will help us.