GPU issues while invoking DW-graph-UI in docker

Please provide the following info (tick the boxes after creating this topic):
Software Version
DRIVE OS 6.0.8.1
[*] DRIVE OS 6.0.6
DRIVE OS 6.0.5
DRIVE OS 6.0.4 (rev. 1)
DRIVE OS 6.0.4 SDK
other

Target Operating System
[*] Linux
QNX
other

Hardware Platform
DRIVE AGX Orin Developer Kit (940-63710-0010-300)
DRIVE AGX Orin Developer Kit (940-63710-0010-200)
DRIVE AGX Orin Developer Kit (940-63710-0010-100)
DRIVE AGX Orin Developer Kit (940-63710-0010-D00)
DRIVE AGX Orin Developer Kit (940-63710-0010-C00)
[*] DRIVE AGX Orin Developer Kit (not sure its number)
other

SDK Manager Version
1.9.3.10904
[*] other

Host Machine Version
native Ubuntu Linux 20.04 Host installed with SDK Manager
[*] native Ubuntu Linux 20.04 Host installed with DRIVE OS Docker Containers
native Ubuntu Linux 18.04 Host installed with DRIVE OS Docker Containers
other

Hello,

We are trying to run ./dw-graph-ui.bash in the docker and it is not working in it. we are seeing that it is detecting the intel GPU but we do have NVIDIA RTX - 3060 in it. Can you please guide us how to solve this error.

Dear @prit.shah,
Can you test it on DRIVE OS 6.0.8.1 docker?
Firstly, could you check running :/usr/local/cuda-11.4/samples/1_Utilities/deviceQuery to see if it runs without any issue.
Please share the used command to launch the docker container? See if DriveWorks SDK Reference: Getting Started Using the NVIDIA DRIVE OS NGC Docker Container helps?

Yes, it is working in the 6.0.8.1 docker.

Firstly, could you check running :/usr/local/cuda-11.4/samples/1_Utilities/deviceQuery to see if it runs without any issue. We have checked running this code in Drive OS 6.0.6 and its working (RESULT = PASS)

Please share the used command to launch the docker container? docker run -it -v /dev/bus/usb:/dev/bus/usb
-v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY --gpus=all --privileged
–net=host \ nvcr.io/drive/driveos-sdk/drive-agx-orin-linux-aarch64-sdk-build-x86:latest (Samples Compilation From Source)

Additional Question: We have installed docker offline and dw-graph-ui is working offline , will that be okay if we work offline(not from docker) ?

Dear @prit.shah,

dw-graph-ui is working offline , will that be okay if we work offline

That’s ok. It generates Json files. We can mount(using -v option with docker) the json files back to docker to generate the c++ stubs.

Thanks for the information.

We have already installed driveworks content of docker, so that we can use it offline. Even we are converting JSON files to C++ stubs offline and it is working fine.

Also the mounting part which you mentioned in the previous reply (-v), can you please provide us an example on basis of that for the understanding purpose?

Thanks.

add -v /path/to/host/folder:/home/nvidia above command. Here /path/to/host/folder gets mapped to /home/nvidia on docker.

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