Hi Nvidia,
Recently we developed lane detection app on Drive PX2 device and found the critical issue that initialized NvMedia part consuming a long time, we can see the following running log.
Initialize DriveWorks SDK v0.3.422
Release build with GNU 4.9.2 from v0.3.1-rc2-0-g0475f26 against PDK v4.1.6.3
SDK: Resources mounted from /usr/local/driveworks-0.3/data/resources
SDK: Create NvMediaDevice
egl::Display: found 2 EGL devices
egl::Display: use drm device: drm-nvdc
SDK: dGPU has been detected as device number 0
SDK: iGPU has been detected as device number 1
SDK: Default GPU Device set to device number 0
Program Arguments:
–camera-index=0
–camera-type=ar0231
–csi-port=ab
–fov=60
–height=576
–input-type=video
–offscreen=0
–slave=0
–stopFrame=2205
–threshold-lanenet=0.3
–video=…/data/video_lane.h264
–width=960
Initialize DriveWorks SDK v0.3.422
Release build with GNU 4.9.2 from v0.3.1-rc2-0-g0475f26 against PDK v4.1.6.3
SDK: Resource failed to mount from ‘…/data/resources’: VirtualFileSystem: A virtual file system has already been opened with different parameters
SDK: Resources mounted from /usr/local/driveworks-0.3/data/resources
SDK: Create NvMediaDevice
SDK: use EGL display as provided
SDK: dGPU has been detected as device number 0
SDK: iGPU has been detected as device number 1
SDK: Default GPU Device set to device number 0
SAL: identified board as DrivePX2-TegraA
After displayed below log,
“SDK: Resources mounted from /usr/local/driveworks-0.3/data/resources”
we need to wait for a long time ,then could see the next log
“SDK: Create NvMediaDevice”
Could you provide some suggestions to us how to call NvMedia on Drive PX2? or why app block here?
Another, could you share some about NvMedia docs to us?
Thanks.
Hu Xingui