24

I'm running VMware Workstation 12 Player on an Ubuntu 16.04 host and every guest I run complains that:

No 3D support is available from the host.

and:

Hardware graphics acceleration is not available.

Accelerate 3D graphics is checked off in the player. I have an AMD RX480 8 GB GPU with AMD drivers:

$ sudo lspci -knn | grep -A2 VGA
02:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI]
        Device [1002:67df] (rev c7)
        Subsystem: PC Partner Limited / Sapphire Technology Device [174b:e347]
        Kernel driver in use: amdgpu
$ glxinfo | grep direct
direct rendering: Yes
$ vmplayer &
Gtk-Message: Failed to load module "atk-bridge": /usr/lib/x86_64-linux-gnu/libatspi.so.0: undefined symbol: g_type_class_adjust_private_offset
Gtk-Message: Failed to load module "unity-gtk-module": libunity-gtk-module.so: cannot open shared object file: No such file or directory
(vmware-modconfig:4752): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",
...repeats x20 ...
vmware-modconfig:4752): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",
(vmware-modconfig:4752): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",
Gtk-Message: Failed to load module "canberra-gtk-module": libcanberra-gtk-module.so: cannot open shared object file: No such file or directory
Gtk-Message: Failed to load module "atk-bridge": /usr/lib/x86_64-linux-gnu/libatspi.so.0: undefined symbol: g_type_class_adjust_private_offset
Gtk-Message: Failed to load module "unity-gtk-module": libunity-gtk-module.so: cannot open shared object file: No such file or directory
(vmplayer:4747): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",
(vmplayer:4747): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",
Gtk-Message: Failed to load module "canberra-gtk-module": libcanberra-gtk-module.so: cannot open shared object file: No such file or directory
I/O warning : failed to load external entity "/etc/vmware/hostd/proxy.xml"
2
  • 3
    Check that you have OpenGL acceleration on your host glxinfo | grep Direct should output "Direct rendering: yes". There is also a suggestion from another site to try this<br/>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)<br/>If these don't work run vmware from the command line, watch the output in the console for any clues.
    – GrannySez
    Commented Oct 3, 2016 at 23:13
  • 1
    mks.gl.allowBlacklistedDrivers = "TRUE" did the trick thnx!! You can add it as an answer
    – meccooll
    Commented Oct 5, 2016 at 2:50

1 Answer 1

47

I had the same two errors which you cite. What worked for me is:

  1. Open ~/.vmware/preferences with your favorite text editor (here vim):

    vim ~/.vmware/preferences
    
  2. Add the following line:

    mks.gl.allowBlacklistedDrivers = "TRUE"
    

My setup:

  • Ubuntu 16.10 64-bit Host (upgraded from 16.04)
  • VMware Workstation 12.5x
  • Windows 10 64-bit Guest
7
  • 3
    Thanks! It's unbelievable I had to come here for this information instead of finding it on the VMware website or in the documentation... Commented Mar 6, 2019 at 16:48
  • Worked like a charm on VMWare 15!
    – Siniša
    Commented Mar 21, 2019 at 5:31
  • 2
    Thanks! It also worked for me in KDE Neon 5.17 with VMware Workstation 15 player. I have found an extended solution/explanation here: namhuy.net/227/…
    – call0fcode
    Commented Oct 21, 2019 at 17:12
  • 2
    Works on Ubuntu 20.04 LTS, VMWare Workstation 15
    – Jimbo Alba
    Commented May 14, 2020 at 10:55
  • 1
    Works on Ubuntu 22.04 Jammy and VMWare Workstation 17 ... It was on trouble following a Nvidia driver update ...
    – Antonio
    Commented Oct 3, 2023 at 15:07

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.