3D Acceleration in Windows 10 on VMware Workstation Pro 12 and Ubuntu 16.04 LTS

So, playing around with Workstation 12 on Ubuntu 16.04 and I found when booting a freshly installed copy of Windows 10 Pro, I’d get an alert that 3D acceleration was not working.

I thought this was Odd as it was enabled, and I’d previously checked I had 3d support configured in Linux.

Screenshot from 2016-08-08 15-36-25

Screenshot from 2016-08-08 15-38-00

Checking the test tool for unity, I again confirmed 3D Acceleration was working:

spathi@Loki:~$ /usr/lib/nux/unity_support_test -p
OpenGL vendor string:   Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) Haswell Mobile 
OpenGL version string:  3.0 Mesa 11.2.0

Not software rendered:    yes
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:       yes

The answer to this was to edit my vmware preferences file and add a string to allow Blacklisted drivers. Now, I am not sure why this is required when it can be seen above that the Intel drivers are not blacklisted, but hey, that requires some more research.

So I fired up vim and edited the preferences file in my home directory :

vim ~/.vmware/preferences

And in my case the missing flat wasn’t present at all, so I added the following at the end of the file.

mks.gl.allowBlacklistedDrivers = "TRUE"

I restarted Workstation, low and behold I was no longer receiving errors about 3D acceleration not working.