主机在所有VMware来宾上均不提供3d支持


10

所以我在16.04主机上运行VMware Workstation 12 Player。我跑来的每位客人都抱怨“主机没有3d支持”和“硬件图形加速不可用”“播放器中的加速3D图形已被检查。我有带AMD驱动程序的AMD RX480 8gig GPU

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
检查主机上是否有OpenGL加速,glxinfo | grep Direct应输出“直接渲染:是”。另一个站点也建议您尝试一下<br/>编辑文件〜/ .vmware / preferences并查找以mks.gl.allowBlacklistedDrivers开头的行(如果不存在)-您可以将其添加到文件。应将其更改为mks.gl.allowBlacklistedDrivers =“ TRUE”(注意TRUE周围的双引号)<br/>如果这些命令不起作用,请从命令行运行vmware,请在控制台中查看输出是否有任何线索。
GrannySez '16

@GrannySez编辑
meccooll 2016年

1
mks.gl.allowBlacklistedDrivers = "TRUE"做了花招!您可以将其添加为答案
meccooll 2016年

1
@GrannySez该命令应该是glxinfo | grep -i Direct因为d 输出中的字母是小写
Anwar

Answers:


20

[我的设置:Ubuntu 16.10 64位主机(从16.04升级)+ VMware Workstation 12.5x + Windows 10 64位客户机]

我引用了两个相同的错误。对我有用的是:

vim .vmware/preferences

mks.gl.allowBlacklistedDrivers = "TRUE"

感谢Dizwell Informatics


2
谢谢!令人难以置信的是,我不得不在这里提供这些信息,而不是在VMware网站或文档中找到它……
mzuther

在VMWare 15上像魅力一样工作!
Sinisa

在VMWare Workstation 15.1上运行的KDE Neon 18 Host,Ubuntu和Windows guest虚拟机上可以很好地工作。经过多年的痛苦终于解决了!
Silicomancer

2
谢谢!在VMware Workstation 15播放器的KDE Neon 5.17中,它也为我工作。我已经在这里找到了一个解决方案扩展/解释:namhuy.net/227/...
胡安·戈麦斯·卡里略

可在Ubuntu 20.04 LTS,VMWare Workstation 15
Jimbo Alba上使用
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.