![Virtualbox 3D アクセラレーションが動作しない](https://rvso.com/image/1083738/Virtualbox%203D%20%E3%82%A2%E3%82%AF%E3%82%BB%E3%83%A9%E3%83%AC%E3%83%BC%E3%82%B7%E3%83%A7%E3%83%B3%E3%81%8C%E5%8B%95%E4%BD%9C%E3%81%97%E3%81%AA%E3%81%84%20.png)
私は、Windows 7 64 ビット ホスト上に 64 ビット Ubuntu 14.04 LTS ゲストを搭載した VirtualBox 4.3.16 を使用しています。グラフィック関連の動作が非常に遅いことを除けば、すべて正常に動作しているようです。私が行ったことは次のとおりです。
1.「sudo apt-get install virtualbox-guest-x11」を使用して、virtualbox guest additions をインストールしました。これにより、バージョン 4.3.10 の virtualbox-guest-x11 がインストールされたようです。
2. 次に、仮想マシンの設定を変更して 3D アクセラレーションを有効にしました。
3. VM を再起動しました。画面解像度は正常になりましたが、動作はまだ非常に遅いままです。
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 のゲスト追加機能も (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
プログラムは、guest-additions のバージョンがまだインストールされていると表示しました。そこで、次を実行しました:
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 バージョン) が正常に機能することがわかっていますか?