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.
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:
Before running execute
This is enough to achieve 60fps on a modest PC.
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