因此,我在提交虚拟机之前先在虚拟机上对其进行了试用,但在此过程中除了遇到任何问题外,什么都没有。
我已经安装了VB Guest Additions和我已经启用了3D加速,但是当我尝试启用图形驱动程序时,我遇到了以下问题:
我发现没有指南对我有帮助,因为大多数人只是说“安装来宾添加项并重新启动虚拟机”,这对我完全没有帮助。
VM规格:
基本操作系统0.3.1 x64
VirtualBox 5.0.10
2 GB RAM
主机规格(如果这些都不重要):
Windows 8.1 x64
英特尔i7-3770
nVidia GeForce GTX 680
lsmod | grep vbox
的输出vboxsf 45056 0
vboxvideo 16384 0
vboxguest 249856 2 vboxsf
drm 344064 2 vboxvideo
sudo lspci -v
的输出00:00.0 Host bridge: Intel Corporation 440FX - 82441FX PMC [Natoma] (rev 02)
Flags: fast devsel
00:01.0 ISA bridge: Intel Corporation 82371SB PIIX3 ISA [Natoma/Triton II]
Flags: bus master, medium devsel, latency 0
00:01.1 IDE interface: Intel Corporation 82371AB/EB/MB PIIX4 IDE (rev 01) (prog-if 8a [Master SecP PriP])
Flags: bus master, fast devsel, latency 64
[virtual] Memory at 000001f0 (32-bit, non-prefetchable) [size=8]
[virtual] Memory at 000003f0 (type 3, non-prefetchable)
[virtual] Memory at 00000170 (32-bit, non-prefetchable) [size=8]
[virtual] Memory at 00000370 (type 3, non-prefetchable)
I/O ports at d000 [size=16]
Kernel driver in use: ata_piix
00:02.0 VGA compatible controller: InnoTek Systemberatung GmbH VirtualBox Graphics Adapter (prog-if 00 [VGA controller])
Flags: bus master, fast devsel, latency 0, IRQ 18
Memory at e0000000 (32-bit, prefetchable) [size=16M]
Expansion ROM at <unassigned> [disabled]
00:03.0 Ethernet controller: Intel Corporation 82540EM Gigabit Ethernet Controller (rev 02)
Subsystem: Intel Corporation PRO/1000 MT Desktop Adapter
Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 19
Memory at f0000000 (32-bit, non-prefetchable) [size=128K]
I/O ports at d010 [size=8]
Capabilities: [dc] Power Management version 2
Capabilities: [e4] PCI-X non-bridge device
Kernel driver in use: e1000
00:04.0 System peripheral: InnoTek Systemberatung GmbH VirtualBox Guest Service
Flags: bus master, fast devsel, latency 0, IRQ 20
I/O ports at d020 [size=32]
Memory at f0400000 (32-bit, non-prefetchable) [size=4M]
Memory at f0800000 (32-bit, prefetchable) [size=16K]
Kernel driver in use: vboxguest
00:05.0 Multimedia audio controller: Intel Corporation 82801AA AC'97 Audio Controller (rev 01)
Subsystem: Dell Device 0177
Flags: bus master, medium devsel, latency 64, IRQ 21
I/O ports at d100 [size=256]
I/O ports at d200 [size=64]
Kernel driver in use: snd_intel8x0
00:06.0 USB controller: Apple Inc. KeyLargo/Intrepid USB (prog-if 10 [OHCI])
Flags: bus master, fast devsel, latency 64, IRQ 22
Memory at f0804000 (32-bit, non-prefetchable) [size=4K]
Kernel driver in use: ohci-pci
00:07.0 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 08)
Flags: bus master, medium devsel, latency 0, IRQ 9
00:0d.0 SATA controller: Intel Corporation 82801HM/HEM (ICH8M/ICH8M-E) SATA Controller [AHCI mode] (rev 02) (prog-if 01 [AHCI 1.0])
Flags: bus master, fast devsel, latency 64, IRQ 21
I/O ports at d240 [size=8]
I/O ports at 0000
I/O ports at d250 [size=8]
I/O ports at 0000
I/O ports at d260 [size=16]
Memory at f0806000 (32-bit, non-prefetchable) [size=8K]
Capabilities: [70] Power Management version 3
Capabilities: [a8] SATA HBA v1.0
Kernel driver in use: ahci
评论
您可以添加lsmod的输出吗? grep vbox和sudo lspci -v是否在vbox计算机中运行?@Sneetsher完成了。
Elementary在我的笔记本电脑上非常稳定且美观。还没有在VM上尝试过,但我建议您安装它
@SuiciDoga我在日常开发中使用的几乎所有软件包在基本版本上都是过时的,这对我来说根本不是很有用
首先让我问一个问题,为什么要在VM上进行3d加速?因为您无法在虚拟机中测试游戏。您无法在vm中测试任何编程的opencl,opengl或并行性。所有这些都需要本机硬件控制。在虚拟盒子旁边没有出色的图形驱动程序。如果您想测试初级,我建议您进行实时启动会话并测试所有您想要的。刷新可启动的USB PenDrive。从usb pendrive引导,然后选择试用而不是安装。有关我们使用ubuntu LTS的软件包的信息,因此已知它已经过时了。但是您使用什么库或软件包进行开发?