Robotics StackExchange | Archived questions

How to run gazebo with a specific graphic card or no graphic card?ye

Hey , I am trying to run a tensorflow image classifier along with a Gazebo simulation .

I have a Nvidia GT730 with 2GB graphics .

The problem i am facing is , when i start up gazebo , it eats up most of the GPU memory , this makes my tensorflow node as non run-able .

Is there some parameter i can give with gzclient , so that gazebo runs solely on the CPU or integrated GPU .

Asked by chrissunny94 on 2018-11-22 04:12:08 UTC

Comments

This seems like it is a question about Gazebo's configuration, so please ask it over at the Gazebo Answers forum.

If/when you do, please post a comment here with a link to your new question so we keep things connected.

Thanks.

Asked by gvdhoorn on 2018-11-22 04:18:07 UTC

Link to post on Gazebo Answers: How to run gazebo with a specific graphic card or no graphic card?.

Asked by gvdhoorn on 2018-11-24 10:48:46 UTC

https://gist.github.com/alexlee-gk/76a409f62a53883971a18a11af93241b

This is a solution i found for this problem , we have to set the xserver to run on the integrated GPU rather than the external GPU.

This seems to solve the problem for me .

Asked by chrissunny94 on 2018-11-26 06:13:33 UTC

Answers