Gazebo | Ignition | Community
Ask Your Question

Why Gazebo 1.3 so slow?

asked 2013-01-09 11:18:19 -0600

r0nald gravatar image

updated 2013-01-09 11:18:30 -0600

I have tried the Gazebo which came together with ROS Fuerte(I guess version 1.0) and I now installed Gazebo 1.3, which has a different UI and is terribly slow.

Is it expected that the newer Gazebo takes so much more resources (uses full virtual core of my i7 processor)? Rotating, zooming and panning the world is extreamly slow.

edit retag flag offensive close merge delete


Is this a problem with the UI being sluggish or physics update? What does the "Real Time Factor:" window near the bottom say?

hsu gravatar imagehsu ( 2013-01-09 11:43:04 -0600 )edit

The standard UI elements outside the world view are ok. But changing the view in the world is very slow, even when the simulation paused. "Real Time Factor" changes between 0.99 and 1.0. I inserted the robot model from Gazebo tutorial, made it move and it isn't moving smoothly.

r0nald gravatar imager0nald ( 2013-01-09 12:08:09 -0600 )edit

sounds like your gui might be using software acceleration. Can you post the outputs of glxinfo? and if one of the lines says: "client glx vendor string: Mesa Project and SGI", then it's not doing hardware acceleration.

hsu gravatar imagehsu ( 2013-01-09 12:55:07 -0600 )edit

Output of the flxinfo :

Yes, it does say "client glx vendor string: Mesa Project and SGI"

r0nald gravatar imager0nald ( 2013-01-09 16:21:43 -0600 )edit

that means you're not using your gpu's hardware acceleration, mesa software acceleration is expected to be cpu intensive and slow (I've seen upwards of 6 cores on my i7). To take advantage of your gpu, make sure you have the right driver installed.

hsu gravatar imagehsu ( 2013-01-09 17:01:16 -0600 )edit

3 Answers

Sort by ยป oldest newest most voted

answered 2013-01-11 19:35:39 -0600

hsu gravatar image

Gazebo client GUI performance suffers with software rendering when glx supported GPU hardware & driver is absent. To fix this, enable hardware acceleration by finding and installing a working GPU driver.

edit flag offensive delete link more


There seems to be a common bug in Ubuntu which affects the Intel graphics of my Thinkpad X220 ( ). Is there a way to turn off some 3D rendering features of Gazebo to trade detailed graphics for better performance?

r0nald gravatar imager0nald ( 2013-01-12 08:21:33 -0600 )edit

I don't know exactly what package needed to be updated, but I got the performance improved now. The string "client glx vendor string: Mesa Project and SGI" is still there, but what changed was :

"OpenGL vendor string: Tungsten Graphics, Inc" to "OpenGL vendor string: Intel Open Source Technolog

r0nald gravatar imager0nald ( 2013-01-12 16:36:10 -0600 )edit

try and see if you can tell what package installed your system's working

hsu gravatar imagehsu ( 2013-01-12 20:50:36 -0600 )edit

lrwxrwxrwx 1 root root 13 Jan 10 19:21 /usr/lib/i386-linux-gnu/ -> mesa/

r0nald gravatar imager0nald ( 2013-01-13 05:30:09 -0600 )edit

Although the Gazebo UI became more usable, heightmap textures are still black, similarly to the bug described here: If I zoom very far from the terrain, then it becomes visible.

r0nald gravatar imager0nald ( 2013-01-14 06:04:46 -0600 )edit

answered 2013-01-13 10:55:31 -0600

nkoenig gravatar image
edit flag offensive delete link more

answered 2013-01-13 10:55:52 -0600

nkoenig gravatar image
edit flag offensive delete link more
Login/Signup to Answer

Question Tools



Asked: 2013-01-09 11:18:19 -0600

Seen: 2,105 times

Last updated: Jan 13 '13