Ubuntu – Can not enable 3D acceleration on Ubuntu 14.04 inside VirtualBox

hardware accelerationvirtualbox

I'm running VirtualBox 4.3.12 on MacBook Pro 15.4" with OSX 10.9.3. Inside VirtualBox I have Ubuntu 14.04 (upgraded from 13.10).

I'm almost sure, that 3D Acceleration stopped working after VirtualBox upgrade from 4.3.10 version, but it also may be upgrade to 14.04 (or one of the following packages upgrade).

I've following directions from this answer several times, but no luck. Output still says that 3D Acceleration is not enabled:

$ /usr/lib/nux/unity_support_test -p
OpenGL vendor string:   VMware, Inc.
OpenGL renderer string: Gallium 0.4 on llvmpipe (LLVM 3.4, 128 bits)
OpenGL version string:  2.1 Mesa 10.1.3

Not software rendered:    no
Not blacklisted:          yes
GLX fbconfig:             yes
GLX texture from pixmap:  yes
GL npot or rect textures: yes
GL vertex program:        yes
GL fragment program:      yes
GL vertex buffer object:  yes
GL framebuffer object:    yes
GL version is 1.4+:       yes

Unity 3D supported:       no

I found bug #12941 in VirtualBox Bug Tracker, but seems it isn't my case since I don't have any openGL errors.

Any ideas how to handle this?

Best Answer

I had the exact same issue except that I run VirtualBox 4.3.12r93733 on a Windows 7 host, not OSX.

After trying many different things without success, I had a look at the linked VirtualBox bug report which claimed "fixed as of 27 May 2014 in VirtualBox 4.3.x and later releases".

The very last comment (as of today) has a link to a recent CD image for the VirtualBox Guest Additions.

After installing this in my 14.04 guest, the command line

/usr/lib/nux/unity_support_test -p

finally reports

Unity 3D supported: yes

and all the Unity window animations are smooth as butter.

Update 2014-07-20:

According to the latest comments on this answer, there is no need for downloading the CD image any more, as it has finally become part of the official VirtualBox distribution. So if you upgrade, you'll get the fixed Guest Additions.

If you're stuck with a VirtualBox version without the fixed Guest Additions, you can get the CD images from the VirtualBox download repository - just find the correct version's folder and get the VBoxGuestAdditions_*.iso file inside it.

Related Question