Uuv_simulator: gazebo_gui-2 issue

Created on 25 May 2017  ·  5Comments  ·  Source: uuvsimulator/uuv_simulator

Hi, I have install the uuv simulator in Ubuntu 16.04 ROS kinetic using VMware following the wiki steps. I input the commands roslaunch uuv_descriptions empty_underwater_world.launch and got the following logs:
....
VMware: vmw_ioctl_command error Invalid argument.
Aborted (core dumped)
[gazebo_gui-2] process has died [pid 43452, exit code 134, cmd /opt/ros/kinetic/lib/gazebo_ros/gzclient __name:=gazebo_gui __log:=/home/name/.ros/log/6751db6c-4111-11e7-9c52-000c29919bea/gazebo_gui-2.log].
log file: /home/name/.ros/log/6751db6c-4111-11e7-9c52-000c29919bea/gazebo_gui-2*.log

So how could I get rid of this issue? Thank you.

Most helpful comment

Hi,

one quick fix is to run the following in your terminal

export LIBGL_ALWAYS_SOFTWARE=1

Gazebo should stop crashing then, but the simulation can run much slower than on native Ubuntu. If I am not mistaken, VMWare should also have some drivers that should be installed as well.
Could you try this and give us a feedback?

Best,
Musa

All 5 comments

Hi,

running Gazebo within a virtual machine can cause problems due to the 3D graphics.

Have you seen this entry on Gazebo answers describing the same problem? Maybe the solutions mentioned there can help you.

Best,
Sebastian

Hi,

one quick fix is to run the following in your terminal

export LIBGL_ALWAYS_SOFTWARE=1

Gazebo should stop crashing then, but the simulation can run much slower than on native Ubuntu. If I am not mistaken, VMWare should also have some drivers that should be installed as well.
Could you try this and give us a feedback?

Best,
Musa

Hi, did you manage to solve your issue? If you did, can you send a message saying how you did it?

I had the same issue and

export LIBGL_ALWAYS_SOFTWARE=1

managed to solve it

Thanks

A heads up for anyone else finding this when attempting to get Gazebo working in a VMWare VM.

This combination allows partial 3d acceleration:

  • Windows 7 Host
  • VmWare 15.5.2 build-15785246
  • Ubuntu 18.04.4 LTS
  • Graphics: SVGA3D; build: RELEASE; LLVM;
  • Gazebo multi-robot simulator, version 9.0.0

Before running execute

  • export SVGA_VGPU10=0
    (This rolls back the driver to use to an earlier version of OpenGL protocol)

This is enough to achieve 60fps on a modest PC.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Timple picture Timple  ·  7Comments

atomoclast picture atomoclast  ·  23Comments

bst picture bst  ·  33Comments

musamarcusso picture musamarcusso  ·  12Comments

Timple picture Timple  ·  24Comments