How to run driveworks sample

Please provide the following info (tick the boxes after creating this topic):
Software Version

DRIVE OS 6.0.6

Target Operating System
Linux

Hardware Platform
DRIVE AGX Orin Developer Kit (940-63710-0010-300)

SDK Manager Version
2.0.0.11402 x86_64

Host Machine Version
native Ubuntu Linux 20.04 Host installed with SDK Manager

Could you please tell us step-by-step how to run a driveworks sample ? like usb camera ? Do we need to run from the host pc or Agx system ?
While loading on host sample_hello_world and we get the error : error while loading shared libraries: libcuda.so.1:cannot open shared object file:no such file or directory

Another error found:
root@suv7682u:/usr/local/driveworks-5.10/bin# ./sample_hello_world


Welcome to Driveworks SDK
[30-10-2023 14:50:33] Platform: Detected Generic x86 Platform
[30-10-2023 14:50:33] TimeSource: monotonic epoch time offset is 1698669791871973
[30-10-2023 14:50:33] Adding variable DW_Base:DW_Version
[30-10-2023 14:50:33] Added variable DW_Base:DW_Version
[30-10-2023 14:50:33] Driveworks exception thrown: Platform: cannot acquire CUDA context. Error cudaErrorNoDevice: no CUDA-capable device is detected

Cannot init SDK
root@suv7682u:/usr/local/driveworks-5.10/bin#

I suggest checking this forum search link for solutions related to your specific issues:
https://forums.developer.nvidia.com/search?q=%23drive-agx-orin%3Adrive-agx-orin-general%20%20"cannot%20acquire%20CUDA%20context"%20status%3Asolved

1 Like

Dear @adrian.2.kereky,
The error indicate you don’t have GPU on host. Could you confirm if there is GPU on your host?

yes. we are using a Ubuntu VM . the laptop has nvidia t1200 gpu

Utilizing a VM isn’t supported. Please attempt on native Ubuntu 20.04. Thank you.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.