Home | Tutorials | Wiki | Issues
Ask Your Question
0

Gazebo impossible to install??

asked 2016-05-31 14:36:16 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

Ok so this is my first forum post here, I'm having alot of trouble getting Gazebo to launch.

My computer is pretty junky: Dell Latitude D520; Intel Centrino @ 1.66 GHz, 1 GB RAM. I have installed Gazebo, but it will not launch. When I type "gazebo" into terminal, one of two things will happen:

  1. I get this:
    X Error of failed request: BadDrawable (invalid Pixmap or Window parameter) Major opcode of failed request: 154 (DRI2) Minor opcode of failed request: 3 (DRI2CreateDrawable) Resource id in failed request: 0x3e00002 Serial number of failed request: 31 Current serial number in output stream: 33 X Error of failed request: BadDrawable (invalid Pixmap or Window parameter) Major opcode of failed request: 154 (DRI2) Minor opcode of failed request: 3 (DRI2CreateDrawable) Resource id in failed request: 0x4000002 Serial number of failed request: 31 Current serial number in output stream: 33

  2. Literally Nothing happens. Like: nothing runs, no output to terminal, no windows open, not even a crash window. It looks like this:
    icepaka89@icepaka89-Latitude-D520:~$ gazebo
    icepaka89@icepaka89-Latitude-D520:~$

There is barely even a delay before it goes to a new line. Clearly from the errors i do get, it's something to do with my graphics card, but I'm not quite sure what... Can anyone help me out here?? Thanks!

edit retag flag offensive close merge delete

Comments

You can run gazebo in verbose mode to get more output: $ gazebo --verbose. Based on your computer's specs, I doubt you'll get gazebo to run. You might be able to run the server (no gui) portion of gazebo using $ gazserver --verbose

nkoenig gravatar imagenkoenig ( 2016-05-31 17:37:33 -0500 )edit

what GPU are you using? If you have Radeon GPU, in my experience only proprietary fglrx drivers work.

hsu gravatar imagehsu ( 2016-05-31 17:51:22 -0500 )edit

1 Answer

Sort by » oldest newest most voted
0

answered 2016-05-31 17:49:19 -0500

hsu gravatar image

repeating what @nkoenig says about

gazebo --verbose

also, the BadDrawable error is usually seen with unsupported GPU. If that's the cause, you can only run headless. To force headless mode, unset the DISPLAY environment variable then run gzserver with verbose flag:

$ unset DISPLAY
$ gzserver --verbose
Gazebo multi-robot simulator, version 7.1.0
Copyright (C) 2012-2016 Open Source Robotics Foundation.
Released under the Apache 2 License.
http://gazebosim.org

[Msg] Waiting for master.
[Msg] Connected to gazebo master @ http://127.0.0.1:11345
[Msg] Publicized address: 172.23.1.164
[Err] [RenderEngine.cc:699] Can't open display: 
[Wrn] [RenderEngine.cc:97] Unable to create X window. Rendering will be disabled
[Wrn] [RenderEngine.cc:301] Cannot initialize render engine since render path type is NONE. Ignore this warning ifrendering has been turned off on purpose.

gazebo should be running but without any rendering capabilities enabled. You can open a different terminal and run gz stats to confirm and check performance, for example:

$ gz stats
Factor[1.00] SimTime[5.67] RealTime[5.70] Paused[F]
Factor[1.00] SimTime[5.88] RealTime[5.90] Paused[F]
Factor[1.00] SimTime[6.07] RealTime[6.10] Paused[F]
edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2016-05-31 14:36:16 -0500

Seen: 1,302 times

Last updated: May 31 '16