当前位置: 首页>>技术教程>>正文


无法在 VirtualBox 内的 Ubuntu 14.04 上启用 3D 加速

,

问题描述

我在 MacBook Pro 15.4″ 和 OSX 10.9.3 上运行 VirtualBox 4.3.12。在 VirtualBox 中我有 Ubuntu 14.04(从 13.10 升级)。

我几乎可以肯定,VirtualBox 从 4.3.10 版本升级后,3D 加速停止工作,但它也可能升级到 14.04(或以下软件包升级之一)。

我多次按照 this answer 的指示进行操作,但没有成功。输出仍然显示 3D 加速未启用:

$ /usr/lib/nux/unity_support_test -p
OpenGL vendor string:   VMware, Inc.
OpenGL renderer string: Gallium 0.4 on llvmpipe (LLVM 3.4, 128 bits)
OpenGL version string:  2.1 Mesa 10.1.3

Not software rendered:    no
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:       no

我在 VirtualBox Bug Tracker 中发现了 bug #12941,但似乎这不是我的情况,因为我没有任何 openGL 错误。

有什么想法如何处理这个问题吗?

最佳方案

我遇到了完全相同的问题,只是我在 Windows 7 主机上运行 VirtualBox 4.3.12r93733,而不是 OSX。

在尝试了许多不同的方法但没有成功之后,我查看了 linked VirtualBox bug report,它声称“已于 2014 年 5 月 27 日在 VirtualBox 4.3.x 及更高版本中修复”。

last comment (as of today) 有一个 link to a recent CD image for the VirtualBox Guest Additions

在我的 14.04 guest 中安装后,命令行

/usr/lib/nux/unity_support_test -p

终于报道了

Unity 3D supported: yes

所有 Unity 窗口动画都像黄油一样流畅。

2014年7月20日更新:

根据此答案的最新评论,不再需要下载 CD 映像,因为它最终成为 official VirtualBox distribution 的一部分。因此,如果您升级,您将获得固定的来宾添加。

如果您使用没有固定 Guest Additions 的 VirtualBox 版本,您可以从 VirtualBox download repository 获取 CD 映像 – 只需找到正确版本的文件夹并获取其中的 VBoxGuestAdditions_*.iso 文件。

参考资料

本文由Ubuntu问答整理, 博文地址: https://ubuntuqa.com/article/13727.html,未经允许,请勿转载。