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

asked 2018-11-22 03:12:08 -0500

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 .

edit retag flag offensive reopen merge delete

Closed for the following reason Gazebo Question: The Gazebo community prefers to answer questions at: http://answers.gazebosim.org by gvdhoorn
close date 2018-11-22 03:17:22.343169

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.

gvdhoorn gravatar image gvdhoorn  ( 2018-11-22 03:18:07 -0500 )edit
gvdhoorn gravatar image gvdhoorn  ( 2018-11-24 09:48:46 -0500 )edit

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

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 .

chrissunny94 gravatar image chrissunny94  ( 2018-11-26 05:13:33 -0500 )edit