Enable 3D HW acceleration on VMWare Workstation 10 on Ubuntu 14.04

108,951

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

Share:
108,951

Related videos on Youtube

Siemen
Author by

Siemen

Updated on September 18, 2022

Comments

  • Siemen
    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.

    Screenshot

    But while booting the VM, it says "No 3D support is available from the host".

    Screenshot

    How comes VMware does not detect HW 3D acceleration? How can I fix this?

    Thanks!

  • Siemen
    Siemen over 9 years
    Thanks, @charles-green - that seems to work. The game is down ATM, but the VM boots up without complaining about missing 3D support.
  • binaryanomaly
    binaryanomaly about 9 years
    Works here, too. Thx!
  • huntman
    huntman almost 9 years
    Just 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
    e-info128 almost 9 years
    Not work in vmware 10
  • Charles Green
    Charles Green almost 9 years
    @WHK Does your hardware support 3D, and do you have appropriate drivers loaded in the host operating system?
  • Guicara
    Guicara over 8 years
    Work in VMware Workstation 12.
  • Drewdin
    Drewdin almost 8 years
    I didn't have a Preferences file so I modified the VMX on Workstation 12. Worked like a charm.
  • Pabru
    Pabru almost 8 years
    Note 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
    Lilian A. Moraru over 7 years
    VMWare Workstation 12 - works.
  • Maxwell175
    Maxwell175 about 7 years
    Thanks! Works great with VMWare Player 12, Ubuntu 15.04, and Intel HD 4600 Graphics!
  • dragon788
    dragon788 about 7 years
    This 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
    Enigma about 7 years
    This caused my VM to crash upon booting into a graphical environment. Workstation 12.
  • Alexis Devleeschauwer
    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
    shadowbq about 6 years
    Works in VMware Workstation 14.1
  • Chang Qian
    Chang Qian about 6 years
    Worked for VMware Player 14.1.1 on Fedora 27
  • nickjb
    nickjb almost 6 years
    Works on Workstation 14.1.2 on Ubuntu 18.0.4
  • sohnryang
    sohnryang about 5 years
    Works on Workstation 15.0.2 build-10952284 on Arch, too.
  • sohnryang
    sohnryang about 5 years
    Should use mks.gl.allowBlacklistedDrivers = "TRUE"
  • Charles Green
    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
    Arpit Bhakta about 5 years
    worked like a charm in 2019 on VM Workstation with Win10 guest on Linux Host
  • AveryFreeman
    AveryFreeman over 3 years
    Worked in workstation 16.0.0 on Ubuntu 20.10