hack のためのネタ帳, etc,,,

状況

Windows 10 Pro 上の VirtualBox を 6.0.0 → 6.0.4 に update したところ、guest の Ubuntu 16.04.6 LTS の画面描画に問題が生じた。
原因は例によって、guest additional の 3D acceleration 絡みらしく、3D acceleration 切って再起動すると画面は表示される。

これ、5.1.30 では問題なかったのが、5.2.2 までのどこかの段階で腐って、5.2.4 で一旦直ったのに、 5.2.6 でまたしてもエンバグした後、
5.2.8 で直って、6.0.0 まで大丈夫だったのに、6.0.2 で再度こじらせた模様。
Changelog を見る限り
  • Windows guests: multiple monitor fixes with VBoxSVGA graphics
  • Windows guests: black screen with VBoxSVGA graphics when 3D is disabled (bug #18205)
の修正が怪しそう。
毎度のことながら、定期的に画面描画腐らせるのって品質管理どうなってんだよ!?

と言うことで、以下から、VBoxGuestAdditions_6.0.0.iso 拾って来て guest additional だけ 6.0.0 に戻しておいた。
2019-03-26: 追記
「Oracle VM VirtualBox マネージャー」から VM の「設定」を開いて、
「ディスプレイ」の「スクリーン」にある「Graphics Controller」が「VBoxVGA」になってた。
上記 ChangeLog は VBoxSVGA に関する物だし、ヘルプを見ると、
「3.6. Display Settings / 3.6.1. Screen Tab / Graphics Controller」の所に以下のような記述があった。
VBoxSVGA: The default graphics controller for new VMs that use Linux or Windows 7 or later. 
This graphics controller improves performance and 3D support when compared to the legacy VBoxVGA option. 
VBoxVGA: Use this graphics controller for legacy guest OSes. This is the default graphics controller for Windows versions before Windows 7. 
VMSVGA: Use this graphics controller to emulate a VMware SVGA graphics device. 
None: Does not emulate a graphics adapter type. 
なんかパフォーマンス等も改善されそうな雰囲気なので、試しに「VBoxSVGA 」に変更してみたんだが、これが完全に外れだった。
解像度が SVGA と XGA しか選べなくなってしまったので、とりあえず、GA 6.0.4 に戻してみたんだが効果が認められず、
hardware rendering も以下の状況になってしまった。
$ /usr/lib/nux/unity_support_test -p
OpenGL vendor string:   VMware, Inc.
OpenGL renderer string: llvmpipe (LLVM 6.0, 256 bits)
OpenGL version string:  3.0 Mesa 18.0.5

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
xorg の log を見てみると、どうやら vboxvideo ドライバの読み込みに失敗している模様。
$ grep -i vbox /var/log/Xorg.0.log
[    12.147] (==) Matched vboxvideo as autoconfigured driver 0
[    12.147] (II) LoadModule: "vboxvideo"
[    12.148] (WW) Warning, couldn't open module vboxvideo
[    12.148] (II) UnloadModule: "vboxvideo"
[    12.148] (II) Unloading vboxvideo
[    12.148] (EE) Failed to load module "vboxvideo" (module does not exist, 0)
[    12.152] (==) Matched vboxvideo as autoconfigured driver 0
[    12.152] (II) LoadModule: "vboxvideo"
[    12.152] (WW) Warning, couldn't open module vboxvideo
[    12.152] (II) UnloadModule: "vboxvideo"
[    12.152] (II) Unloading vboxvideo
[    12.152] (EE) Failed to load module "vboxvideo" (module does not exist, 0)
他の人も、これ引っかかってて、VBoxVGA に落ち着いてるみたい。
という事で、とりあえず、VBoxVGA と GA 6.0.0 に戻したんだが、
あれ?
hardware rendering は有効になってるけど、vboxvideo は結局読み込み失敗するのか?
$ /usr/lib/nux/unity_support_test -p
OpenGL Warning: vboxCall failed with VBox status code VERR_BUFFER_OVERFLOW

OpenGL vendor string:   Humper
OpenGL renderer string: Chromium
OpenGL version string:  2.1 Chromium 1.9

Not software rendered:    yes
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:       yes
$ grep vbox /var/log/Xorg.0.log
[   273.857] (==) Matched vboxvideo as autoconfigured driver 0
[   273.857] (==) Matched vboxvideo as autoconfigured driver 1
[   273.857] (II) LoadModule: "vboxvideo"
[   273.857] (WW) Warning, couldn't open module vboxvideo
[   273.857] (II) UnloadModule: "vboxvideo"
[   273.857] (II) Unloading vboxvideo
[   273.857] (EE) Failed to load module "vboxvideo" (module does not exist, 0)
[   273.858] (==) Matched vboxvideo as autoconfigured driver 0
[   273.858] (==) Matched vboxvideo as autoconfigured driver 1
[   273.858] (II) LoadModule: "vboxvideo"
[   273.858] (WW) Warning, couldn't open module vboxvideo
[   273.858] (II) UnloadModule: "vboxvideo"
[   273.858] (II) Unloading vboxvideo
[   273.858] (EE) Failed to load module "vboxvideo" (module does not exist, 0)

コメントをかく


「http://」を含む投稿は禁止されています。

利用規約をご確認のうえご記入下さい

Wiki内検索

フリーエリア

管理人/副管理人のみ編集できます