Browse Source

ubuntu.sh: add fix for gazebo's OpenGL problem in VMs

That makes gazebo crash in VMWare 3D graphics accelration.
sbg
Matthias Grob 5 years ago committed by Daniel Agar
parent
commit
547bd4c667
  1. 4
      Tools/setup/ubuntu.sh

4
Tools/setup/ubuntu.sh

@ -205,6 +205,10 @@ if [[ $INSTALL_SIM == "true" ]]; then @@ -205,6 +205,10 @@ if [[ $INSTALL_SIM == "true" ]]; then
protobuf-compiler \
;
if sudo dmidecode -t system | grep -q "Manufacturer: VMware, Inc." ; then
# fix VMWare 3D graphics acceleration for gazebo
echo "export SVGA_VGPU10=0" >> ~/.profile
fi
fi
if [[ $INSTALL_NUTTX == "true" ]]; then

Loading…
Cancel
Save