所以我在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"
@GrannySez编辑
—
meccooll 2016年
mks.gl.allowBlacklistedDrivers = "TRUE"
做了花招!您可以将其添加为答案
@GrannySez该命令应该是
—
Anwar
glxinfo | grep -i Direct
因为d
输出中的字母是小写
glxinfo | grep Direct
应输出“直接渲染:是”。另一个站点也建议您尝试一下<br/>编辑文件〜/ .vmware / preferences并查找以mks.gl.allowBlacklistedDrivers开头的行(如果不存在)-您可以将其添加到文件。应将其更改为mks.gl.allowBlacklistedDrivers =“ TRUE”(注意TRUE周围的双引号)<br/>如果这些命令不起作用,请从命令行运行vmware,请在控制台中查看输出是否有任何线索。