Home | Tutorials | Wiki | Issues
Ask Your Question
0

DRC Simulator can't run again, after installing Gazebo!

asked 2012-11-11 12:13:28 -0600

Tung Go gravatar image

updated 2012-11-12 01:38:21 -0600

Last week, DRC Sim still ran pretty smoothly after i installed it in the pre - compiled binaries selection .

But then when i tried to install a stand-alone version of Gazebo, as suggested in the official DRC Kickoff Tutorials, to get familiar with it, it became a disaster!

Now, DRC Sim can't even run again, with a warning window poping up (sorry, i can't attach the screenshot here. It's required that i have at least 60 karma to do so) . Frustrated, I've browsed through all ROS and Gazebo Q&As without any answer. Here's how the terminal diagnosed the problem:

process[tf2_buffer_server-6]: started with pid [4002]
[ WARN] [1352705611.085392264]: You've passed in true for auto_start for the C++ action server at [/tf2_buffer_server]. You should always pass in false to avoid race conditions.
Warning [parser.cc:375] Gazebo SDF has no <gazebo> element in file[/usr/share/drcsim-1.0/models/drc_robot/model.sdf]
Exception AttributeError: AttributeError("'_DummyThread' object has no attribute '_Thread__block'",) in <module 'threading' from '/usr/lib/python2.7/threading.pyc'> ignored
process[drc_robot_controllers_spawner-7]: started with pid [4031]
Warning [parser_urdf.cc:1125] urdf2gazebo: link[left_camera_optical_frame] has no inertia, parent joint [left_camera_optical_frame_joint] ignored
.Warning [parser_urdf.cc:1129] urdf2gazebo: link[left_camera_optical_frame] has no inertia, not modeled in gazebo
Warning [parser_urdf.cc:1125] urdf2gazebo: link[right_camera_optical_frame] has no inertia, parent joint [right_camera_optical_frame_joint] ignored
.Warning [parser_urdf.cc:1129] urdf2gazebo: link[right_camera_optical_frame] has no inertia, not modeled in gazebo
Exception AttributeError: AttributeError("'_DummyThread' object has no attribute '_Thread__block'",) in <module 'threading' from '/usr/lib/python2.7/threading.pyc'> ignored
process[camhand_controllers_spawner-8]: started with pid [4032]
Warning [parser.cc:286] parse from urdf file [/usr/share/drcsim-1.0/models/drc_robot/model.sdf].
X Error of failed request:  BadRequest (invalid request code or no such operation)
  Major opcode of failed request:  154 (GLX)
  Minor opcode of failed request:  19 (X_GLXQueryServerString)
  Serial number of failed request:  12
  Current serial number in output stream:  12
Error [Transport.cc:102] Unable to get topic namespaces in [50] tries.
Error [Node.cc:72] No namespace found
Warning [gazebo_main.cc:57] escalating to SIGKILL on server
[gazebo-2] process has finished cleanly
log file: /home/airobot/.ros/log/412ca1fe-2c9b-11e2-81f2-4c80930ee359/gazebo-2*.log

Any help or suggestion, please?

edit retag flag offensive close merge delete

Comments

Can you post the results of glxinfo |grep direct ?

SL Remy gravatar imageSL Remy ( 2012-11-14 10:18:27 -0600 )edit

2 Answers

Sort by ยป oldest newest most voted
0

answered 2012-11-12 12:12:36 -0600

hsu gravatar image

The error:

X Error of failed request:  BadRequest (invalid request code or no such operation)

looks suspiciously like an issue with the GPU driver. Did the linux kernel get updated and the system requires a reboot?

What does glxinfo say?

edit flag offensive delete link more

Comments

name of display: :0.0 X Error of failed request: BadRequest (invalid request code or no such operation) Major opcode of failed request: 154 (GLX) Minor opcode of failed request: 19 (X_GLXQueryServerString) Serial number of failed request: 12 Current serial number in output stream:12

Tung Go gravatar imageTung Go ( 2012-11-12 23:18:03 -0600 )edit

one possibility is the kernel got updated while you were updating gazebo/drcsim, so the gpu driver is in limbo. If that's the case, just reboot your computer to rectify this situation.

hsu gravatar imagehsu ( 2012-11-12 23:48:40 -0600 )edit

@hsu: As you and a friend of mine suggested, i did reboot it. But nothing improved! Still the problem occurs now. Another friend of mine also diagnosed and recommended the GPU need an update. Mine is an AMD Radeon. Any further suggesion? Thanks @hsu.

Tung Go gravatar imageTung Go ( 2012-11-13 04:22:33 -0600 )edit

There are a variety of things that you might need to do to get your GPU working properly. But none of that is Gazebo-specific and so is out of scope for this forum. You need to get glxinfo succeeding and returning direct rendering: Yes in its output before it makes sense to talk about Gazebo.

gerkey gravatar imagegerkey ( 2012-11-13 09:37:26 -0600 )edit
0

answered 2012-11-11 21:27:13 -0600

hugomatic gravatar image

Try installing drcsim. The stand-alone Gazebo installation instructions are for users of Gazebo that do not want to install the DRC simulation.

sudo apt-get install drcsim

edit flag offensive delete link more

Comments

Thanks @hugomatic. Actually, DRC was installed and run successfully before the trouble at hand. Still the error persists. Please, check out the updated results of launching the DRC simulator in my edited post above. Thanks again.

Tung Go gravatar imageTung Go ( 2012-11-12 01:40:14 -0600 )edit
Login/Signup to Answer

Question Tools

Stats

Asked: 2012-11-11 12:13:28 -0600

Seen: 430 times

Last updated: Nov 12 '12