Setup
- Dell Inspiron 7520 Laptop
- Windows 7 / 10
- Oracle VirtualBox 5.2.18
- Ubuntu 16.04 LTS VM
- Settings -> Display -> 3D Hardware Acceleration Enabled
- Gazebo7
Fix
Change BIOS Settings
If laptop has hybrid GPUs switch to only discrete GPU (nVidia/AMD), otherwise skip. Note: This may not be required.
- Enter BIOS, Enable Discrete GPUs which disables hybrid (will consume more power)
- When booted, system (Windows host) will automatically update drivers, then reboot
Setup VM
Install packages
sudo apt remove libcheese-gtk23
sudo apt install xserver-xorg-core
Reboot VM
Troubleshooting VM
If you lose mouse and keyboard after the previous step:
- Reboot VM, on startup hit the
Esc
or Shift
keys to enter grub startup menu - Select _Advanced Options_
- Select _Ubuntu-Kernel-xxxxx (recovery)_ (Should be the first recovery option)
- Select _Network_ to get network access
- Select _Drop to root shell_
Install mouse and keyboard packages
apt install xserver-xorg-input-all
Press Ctrl-D
to leave root shell
- Select _Resume_