Ubuntu – Cannot Use 3d Acceleration with Ubuntu Guest in VirtualBox

graphicsvirtualboxwindows

I'm running Ubuntu 16.04LTS guest on a Windows 10 host. The guest additions appear to be working since Ubuntu is able to run at full resolution, clipboard sharing works, etc. However, 3d acceleration will not work, causing Unity animations, etc. to run VERY slowly. Typing sudo /usr/lib/nux/unity_support_test -p gives the following result:

OpenGL vendor string:   VMware, Inc.
OpenGL renderer string: Gallium 0.4 on llvmpipe (LLVM 3.8, 256 bits)
OpenGL version string:  3.0 Mesa 11.2.0

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

Yet, checking Software&Updates in Ubuntu shows that the proper VBox drivers are actually being used:

Image of Software&Updates graphics drivers

So I'm not sure why I'm not able to benefit from 3d acceleration.

Best Answer

I experienced exactly the same issue when I installed the dkms driver from the Ubuntu repositories via apt-get. Simply reinstalling the Guest Additions using the VirtualBox Guest Additions CD solved it.

Related Question