Cannot enable 3D acceleration on virtualbox
Matthew Harrington
I'm using VirtualBox Version 5.0.40_Ubuntu r115130 on Ubuntu 16.04 64bit.
I need to enable the 3D acceleration to play Age of Empires III, but the option is disabled. How can I enable it?
91 Answer
To be able to use 3D Acceleration in Virtualbox guest OS several things are required:
Host must have or support 3D, which should be turned on
If host has to enable one must first turn off the guest to access the option in the VBox Machine settings for that guest OS.
Except:
VirtualBox provides experimental 3D hardware support for Windows, Linux, and Solaris Guest Additions. This feature provides support for 3D applications in the VM that uses OpenGL or DirectX 8/9 programming interfaces. VirtualBox will try to use the 3D hardware of the host as opposed to emulating via software. Performance and efficiency is increased when VirtualBox does this. Windows, Mac, Solaris, and Linux are all supported hosts for this feature (given that the host OS can actually utilize the accelerated 3D hardware).
3D acceleration is accessible only by certain guests of Windows, Linux, and Solaris:
Windows guests-Support is limited to 32-bit editions of XP and Vista OpenGL on Linux-Requires kernel 2.6.27 and later as well as X.org server version 1.5 and later. Fedora 10 and Ubuntu 8.10 have been verified to be in good working condition. OpenGL on Solaris-Requires X.org server version 1.5 and later
NOTE: Guest Additions also must be installed. 3D acceleration must be manually enabled in the virtual machine settings. m3D support is disabled by default.
See here for more information:
1