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

That makes gazebo crash in VMWare 3D graphics accelration.
This commit is contained in:
Matthias Grob
2020-06-29 22:18:08 +02:00
committed by Daniel Agar
parent 9fed9f534e
commit 547bd4c667
+4
View File
@@ -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