Enable 3D HW acceleration on VMWare Workstation 10 on Ubuntu 14.04
Solution 1
Edit the file ~/.vmware/preferences
and look for a line that starts with mks.gl.allowBlacklistedDrivers
, if it is not present - you can add it into the file.
This should be changed to mks.gl.allowBlacklistedDrivers = "TRUE"
(note the double quotes around TRUE)
Solution 2
Add mks.gl.allowBlacklistedDrivers = "TRUE"
in the .vmx file.
It has worked for Linux Mint Cinnamon as host with kernel 3.16 and Debian 8.2 Cinnamon as guest.
Solution 3
For me, I had to add mks.gl.allowBlacklistedDrivers = "TRUE"
to my virtual machine (.vmx) file
Related videos on Youtube
Siemen
Updated on September 18, 2022Comments
-
Siemen over 1 year
I am trying to enable hardware accelerated 3D graphics in a Win 8.1 VM in VMware Workstation 10.0.3 on Ubuntu 14.04.1 LTS (Trusty Tahr) to play the game Smite smoothly. I have checked that the HW acceleration works in Ubuntu:
$ /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 10.2.2 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
In VMware Workstation, on the VM under "Virtual Machine Settings" -> "Display" -> "Accelerate 3D Graphics" is checked.
But while booting the VM, it says "No 3D support is available from the host".
How comes VMware does not detect HW 3D acceleration? How can I fix this?
Thanks!
-
Siemen over 9 yearsThanks, @charles-green - that seems to work. The game is down ATM, but the VM boots up without complaining about missing 3D support.
-
binaryanomaly about 9 yearsWorks here, too. Thx!
-
huntman almost 9 yearsJust wanted to note that this also works in Workstation 11. By default, the
mks.gl.allowBlacklistedDrivers
parameter is not present in the preferences file, but adding it does work. Thanks. -
e-info128 almost 9 yearsNot work in vmware 10
-
Charles Green almost 9 years@WHK Does your hardware support 3D, and do you have appropriate drivers loaded in the host operating system?
-
Guicara over 8 yearsWork in VMware Workstation 12.
-
Drewdin almost 8 yearsI didn't have a Preferences file so I modified the VMX on Workstation 12. Worked like a charm.
-
Pabru almost 8 yearsNote for those migrating XP guests from VirtualBox to VMWare Workstation 12 Player Linux 64-bit following a Sysprep process - adding this option to my .vmx file fixed an issue where the mouse pointer was stuck in a single place on the screen and couldn't move. After adding this line the mouse was working again.
-
Lilian A. Moraru over 7 yearsVMWare Workstation 12 - works.
-
Maxwell175 about 7 yearsThanks! Works great with VMWare Player 12, Ubuntu 15.04, and Intel HD 4600 Graphics!
-
dragon788 about 7 yearsThis worked great for getting my VM to boot with accelerated graphics on a system that has the Nvidia "Optimus" technology that dynamically switches between Intel and Nvidia graphics.
-
Enigma about 7 yearsThis caused my VM to crash upon booting into a graphical environment. Workstation 12.
-
Alexis Devleeschauwer over 6 years+1 for putting it in
~/.vmware/preferences
instead of the VMX file. That way the setting is scoped to the host with the "bad" video driver and not to the individual VM. -
shadowbq about 6 yearsWorks in VMware Workstation 14.1
-
Chang Qian about 6 yearsWorked for VMware Player 14.1.1 on Fedora 27
-
nickjb almost 6 yearsWorks on Workstation 14.1.2 on Ubuntu 18.0.4
-
sohnryang about 5 yearsWorks on Workstation 15.0.2 build-10952284 on Arch, too.
-
sohnryang about 5 yearsShould use
mks.gl.allowBlacklistedDrivers = "TRUE"
-
Charles Green about 5 years@Pierre.Vriens This is required for some of the VirtualBox machines to load drivers that are sometimes a little problematic. There's quite a bit of information over at https://communities.vmware.com/thread/573123
-
Arpit Bhakta about 5 yearsworked like a charm in 2019 on VM Workstation with Win10 guest on Linux Host
-
AveryFreeman over 3 yearsWorked in workstation 16.0.0 on Ubuntu 20.10