Unable to use GPU via docker(Open AD Kit) #5432
-
I'm having trouble with the performance of rosbag simulation using docker 'devel' image. And I think the this happens because my GPU is not working correctly. Through the following workflow, I arrived at the hypothesis that the GPU is not functioning properly. Does anyone have the same issue, or could you please give me some advice? ---Workflow1 -planning simulation--- ---Workflow2 -rosbag simulation--- So inside the /docker/run.sh, I added a script at docker run command to mount 'autoware_data'(${AUTOWARE_DATA}is the script I added(Path to my autoware_data in my host.)). The simulation has large latency visualizing lidar pointcloud. PS) |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 2 replies
-
@KTKTKT0401 Hello! I had the similar issue before: not only the pointcloud topic has huge delay and also the other topics are the same. Perhaps following the Cyclonedds configuration might be needed inside of the docker container.
Personally the most effective one was |
Beta Was this translation helpful? Give feedback.
-
Sorry, there was one missing information in my message. My proposal
|
Beta Was this translation helpful? Give feedback.
-
hi @KTKTKT0401 if you pull the right docker ,and pull up with right “docker run command”,docker will work normally by calling your nv-gpu, please follow autoware official document link happy hacking! Xingang |
Beta Was this translation helpful? Give feedback.
-
Hi, @liuXinGangChina I tried the rocker command(https://autowarefoundation.github.io/autoware-documentation/release-v1.0_beta/installation/autoware/docker-installation/), and failed to run autoware. So, I tried to find out the docker image in github. Although, there are so many tagged version of autoware with differnet names(https://github.com/autowarefoundation/autoware/pkgs/container/autoware/versions?filters%5Bversion_type%5D=tagged). |
Beta Was this translation helpful? Give feedback.
-
Hi @liuXinGangChina! I've tried the docker installation for quick start, and used the image in the link provided. The results are below. 2)Cannot open rviz2 By adding the '--device /dev/dri' to the rocker command, I was able to do 'Planning simulation' inside the container. Command is below. 3)Cannot use rosbag simulation Although, there are still errors occuring when I start playing rosbag data. Does anyone has the same issue? |
Beta Was this translation helpful? Give feedback.
-
hi ktktkt, happy hacking 心刚 |
Beta Was this translation helpful? Give feedback.
Sorry for late reply
Please try this one docker link
since docker name pattern change a little bit and the document has not catch up yet
Happy haciking!
Xingang