是否有可能在 OS X 上的 Virtual Box 中运行可用的 Ubuntu 15.04?

是否有可能在 OS X 上的 Virtual Box 中运行可用的 Ubuntu 15.04?

我刚刚安装了带有客户机附加功能的 Ubuntu 15.04(在 VirtualBox 5.0.2 上,视频内存=128MB,启用 3d)。即使禁用 HiDPI(Retina),图形也非常“迟钝”。

禁用所有动画后,我发现我仍然无法使用 Dash。它需要大约 3 秒才能淡入,再过大约 3 秒才能再次消失。

sudo apt-get install virtualbox-guest-dkms virtualbox-guest-x11我还用(无变化)替换了客人的添加。

答案没有帮助。

$ /usr/lib/nux/unity_support_test -p
pci id for fd 4: 80ee:beef, driver (null)
libGL error: core dri or dri2 extension not found
libGL error: failed to load driver: vboxvideo
OpenGL vendor string:   VMware, Inc.
OpenGL renderer string: Gallium 0.4 on llvmpipe (LLVM 3.6, 256 bits)
OpenGL version string:  3.0 Mesa 10.5.2

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

$ modprobe -c|grep vboxvideo
alias pci:v000080EEd0000BEEFsv*sd*bc*sc*i* vboxvideo

我还收到有关“vboxvideo:模块验证失败”的消息:

$ cat /var/log/syslog|grep vbox
Aug 30 23:14:09 udev vboxadd[8667]: Starting the VirtualBox Guest Additions ...done.
Aug 30 23:14:10 udev vboxadd-service[8754]: Starting VirtualBox Guest Addition service  ...done.
Aug 30 23:14:10 udev systemd[1]: vboxadd-service.service: control process exited, code=exited status=1
Aug 30 23:14:10 udev systemd[1]: Unit vboxadd-service.service entered failed state.
Aug 30 23:14:10 udev systemd[1]: vboxadd-service.service failed.
Aug 30 23:14:42 udev kernel: [14302.735185] vboxvideo: module verification failed: signature and/or  required key missing - tainting kernel
Aug 30 23:14:42 udev kernel: [14302.736192] [drm] Initialized vboxvideo 1.0.0 20090303 for 0000:00:02.0 on minor 0
Aug 30 23:14:42 udev kernel: [14302.942282] vboxguest: misc device minor 56, IRQ 20, I/O port d020, MMIO at 00000000f0400000 (size 0x400000)
Aug 30 23:14:42 udev kernel: [14302.942283] vboxguest: Successfully loaded version 5.0.2 (interface 0x00010004)
Aug 30 23:14:42 udev kernel: [14306.524633] vboxsf: Successfully loaded version 5.0.2 (interface 0x00010004)
Aug 30 23:14:42 udev systemd-modules-load[188]: Inserted module 'vboxvideo'
Aug 30 23:14:43 udev vboxadd[634]: Starting the VirtualBox Guest Additions ...done.
Aug 30 23:14:43 udev vboxadd-service[896]: Starting VirtualBox Guest Addition service  ...done.
Aug 30 23:14:43 udev systemd[1]: vboxadd-service.service: control process exited, code=exited status=1
Aug 30 23:14:43 udev systemd[1]: Unit vboxadd-service.service entered failed state.
Aug 30 23:14:43 udev systemd[1]: vboxadd-service.service failed.

我猜这是一个错误(我在这里报告了) 但有解决方法吗?我可以强制加载 vboxvideo 吗?

答案1

升级到 VirtualBox 5.0.4 解决了该问题:

$ /usr/lib/nux/unity_support_test -p
pci id for fd 4: 80ee:beef, driver (null)
OpenGL Warning: glFlushVertexArrayRangeNV 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:  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

它仍然无法加载 vboxvideo,但 3D 正在运行并且 Unity 现在可用。

相关内容