运行gazebo,报错“VMware: vmw_ioctl_command error Invalid argument.”

在终端下设置环境变量为0

export SVGA_VGPU10=0

之后即可运行gazebo 或者roscore & rosrun gazebo_ros gazebo 

OpenGL support can be disabled by setting the environment variable SVGA_VGPU10=0.

Gazebo starts now and runs compared to the not 3D accelerated way pretty smooth on a T460p if the resolution of the VM guest system is not too high (<< 4K).

To make the change permanent use:

echo "export SVGA_VGPU10=0" >> ~/.bashrc

 

你可能感兴趣的:(ROS)