S-E-D-A / SEDA-AR-TextAnnotation

We leverage an open-source algorithm, PTAM, to generate markerless augmented reality graphics that appears to be part of the user's environment. The graphics aid the user in understanding his/her environment.
Other
4 stars 1 forks source link

3D acceleration causing virtualbox to enter aborted state #12

Closed ddetone closed 10 years ago

ddetone commented 10 years ago

3D acceleration is necessary for real-time graphics display (I ran this experiment using the mesa-tool glxgears):

MAX GPU (VB setting) 8 frames in 5.2 seconds = 1.533 FPS 6 frames in 5.6 seconds = 1.073 FPS 7 frames in 5.6 seconds = 1.240 FPS

MAX GPU + 3D Accel (VB setting) 680 frames in 5.0 seconds = 135.756 FPS 897 frames in 5.0 seconds = 179.318 FPS 1131 frames in 5.0 seconds = 226.170 FPS

Here's my VirtualBox log:

VirtualBox VM 4.3.6 r91406 darwin.amd64 (Dec 18 2013 16:36:59) release log 00:00:00.034786 Log opened 2013-12-26T14:14:32.002127000Z 00:00:00.034788 Build Type: release 00:00:00.034804 OS Product: Darwin 00:00:00.034813 OS Release: 13.0.0 00:00:00.034822 OS Version: Darwin Kernel Version 13.0.0: Thu Sep 19 22:22:27 PDT 2013; root:xnu-2422.1.72~6/RELEASE_X86_64 00:00:00.035020 DMI Product Name: MacBookAir4,2 00:00:00.035296 DMI Product Version: 1.0 00:00:00.035325 Host RAM: 4096MB total, 1480MB available 00:00:00.035329 Executable: /Applications/VirtualBox.app/Contents/MacOS/VBoxHeadless 00:00:00.035331 Process ID: 6641 00:00:00.035332 Package type: DARWIN_64BITS_GENERIC 00:00:00.038995 Installed Extension Packs: 00:00:00.039013 Oracle VM VirtualBox Extension Pack (Version: 4.3.6 r91406; VRDE Module: VBoxVRDP) 00:00:00.056517 SUP: Loaded VMMR0.r0 (/Applications/VirtualBox.app/Contents/MacOS/VMMR0.r0) at 0xffffff80e0a83020 - ModuleInit at ffffff80e0aa06d0 and ModuleTerm at ffffff80e0aa06a0 00:00:00.056540 SUP: VMMR0EntryEx located at ffffff80e0aa05d0, VMMR0EntryFast at ffffff80e0aa0a30 and VMMR0EntryInt at ffffff80e0a9f430 00:00:00.061026 Guest OS type: 'Ubuntu_64' 00:00:00.081680 fHMForced=true - SMP 00:00:00.081721 fHMForced=true - 64-bit guest 00:00:00.081743 fHMForced=true - Darwin host 00:00:00.102494 File system of '/Users/ddetone/VirtualBox VMs/VM_default_1387928736906_77266/Snapshots' (snapshots) is unknown 00:00:00.102523 File system of '/Users/ddetone/VirtualBox VMs/VM_default_1387928736906_77266/box-disk1.vmdk' is hfs 00:00:00.125687 Shared clipboard mode: Off 00:00:00.127170 Drag'n'drop mode: Off 00:00:00.176870 OpenGL Warning: Render SPU: Couldn't create a window, renderspu_SystemCreateWindow failed 00:00:00.176885 OpenGL Warning: Render SPU: Couldn't create a window, renderspu_SystemCreateWindow failed 00:00:00.176889 OpenGL Warning: renderspuWindowInit failed 00:00:00.176897 OpenGL Error: Render SPU: Couldn't get a double-buffered, RGB visual with Z!

The Virtualbox starts fine in GUI mode.

ddetone commented 10 years ago

I created an issue here in the vagrant repo: https://github.com/mitchellh/vagrant/issues/2720

ddetone commented 10 years ago

It appears that VirtualBox doesn't like 3D acceleration in --headless mode (which is used by ssh'ing into the precise64 box). For now I am going to dev in a GUI box (Ubuntu 12.04 64-bit with Unity frontend).

I intend experiment with a different headless box and/or create a ticket with VirtualBox.