![Virtualbox 3D 加速不起作用](https://rvso.com/image/1083738/Virtualbox%203D%20%E5%8A%A0%E9%80%9F%E4%B8%8D%E8%B5%B7%E4%BD%9C%E7%94%A8%20.png)
我在 Windows 7 64 位元主機上有 virtualbox 4.3.16 和 64 位元 Ubuntu 14.04 LTS 來賓。一切似乎都工作正常,除了任何與圖形相關的東西都非常慢。這是我所做的:
1.我使用「sudo apt-get install virtualbox-guest-x11」安裝了 virtualbox 來賓新增項目。這好像是在4.3.10版本中安裝了virtualbox-guest-x11
2.然後我更改了虛擬機器的設定以啟用 3D 加速。
3.我重新啟動了我的虛擬機器。現在螢幕解析度很好,但速度仍然很慢。
4.我運行命令“/usr/lib/nux/unity_support_test -p”,輸出與此非常相似(可能版本號不符)
$ /usr/lib/nux/unity_support_test -p
libGL error: failed to authenticate magic 6
libGL error: failed to load driver: vboxvideo
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
這告訴我,3D 加速仍然無法正常運作。我想,我也應該使用 4.3.16 版本中的 guest-additions(就像我的 Virtualbox)。
我嘗試卸載我的來賓添加
sudo apt-get remove virtualbox-guest-utils
和
sudo apt-get remove virtualbox-guest-x11
我從以下位置下載了新的來賓新增內容http://download.virtualbox.org/virtualbox/4.3.16/。並嘗試使用安裝它們
sudo sh ./VBoxLinuxAdditions.run
該程式表示,仍然安裝了一個來賓新增版本。因此我跑了:
sudo sh ./VBoxLinuxAdditions.run uninstall
然後我嘗試再次安裝。該程式仍然說有一個版本已安裝,但這次我只是讓它安裝並重新啟動。結果是,輸出發生了變化,但仍然無法正常工作。
$: /usr/lib/nux/unity_support_test -p
libGL error: pci id for fd 4: 80ee:beef, driver (null)
OpenGL Warning: glFlushVertexArrayRangeNV not found in mesa table
OpenGL Warning: glVertexArrayRangeNV not found in mesa table
OpenGL Warning: glCombinerInputNV not found in mesa table
OpenGL Warning: glCombinerOutputNV not found in mesa table
OpenGL Warning: glCombinerParameterfNV not found in mesa table
OpenGL Warning: glCombinerParameterfvNV not found in mesa table
OpenGL Warning: glCombinerParameteriNV not found in mesa table
OpenGL Warning: glCombinerParameterivNV not found in mesa table
OpenGL Warning: glFinalCombinerInputNV not found in mesa table
OpenGL Warning: glGetCombinerInputParameterfvNV not found in mesa table
OpenGL Warning: glGetCombinerInputParameterivNV not found in mesa table
OpenGL Warning: glGetCombinerOutputParameterfvNV not found in mesa table
OpenGL Warning: glGetCombinerOutputParameterivNV not found in mesa table
OpenGL Warning: glGetFinalCombinerInputParameterfvNV not found in mesa table
OpenGL Warning: glGetFinalCombinerInputParameterivNV not found in mesa table
OpenGL Warning: glDeleteFencesNV not found in mesa table
OpenGL Warning: glFinishFenceNV not found in mesa table
OpenGL Warning: glGenFencesNV not found in mesa table
OpenGL Warning: glGetFenceivNV not found in mesa table
OpenGL Warning: glIsFenceNV not found in mesa table
OpenGL Warning: glSetFenceNV not found in mesa table
OpenGL Warning: glTestFenceNV not found in mesa table
libGL error: core dri or dri2 extension not found
libGL error: failed to load driver: vboxvideo
OpenGL vendor string: Humper
OpenGL renderer string: Chromium
OpenGL version string: 1.1 Chromium 1.9
Not software rendered: yes
Not blacklisted: yes
GLX fbconfig: yes
GLX texture from pixmap: yes
GL npot or rect textures: no
GL vertex program: no
GL fragment program: no
GL vertex buffer object: no
GL framebuffer object: no
GL version is 1.4+: no
Unity 3D supported: no
我還可以做些什麼?如果這是一個已知問題(根據我的研究,Virtualbox 最近在 3D 加速方面遇到了問題),哪種設定(Virtualbox 版本、Ubuntu 版本)已知可以正常工作?