VirtualBox 4.0 OpenGL Acceleration Leaves Room For Improvement

Published on March 03, 2011
Written by Michael Larabel
Page 2 of 2
Discuss This Article

In our testing of VirtualBox 4.0.4 with a Linux guest and host (and the host using NVIDIA's binary display driver), it's just not the most demanding OpenGL software (like SPECViewPerf or Unigine's tech demos) that cause the virtual machine to lock-up or become aborted, but even some older OpenGL games like World of Padman had issues too. In fact, only two of the tested Phoronix Test Suite test profiles had properly worked with a VirtualBox 4.0.4 Ubuntu 10.10 guest when 3D acceleration was enabled and the guest addition drivers installed: Nexuiz and OpenArena.

Testing was done on a System76 Serval Professional Sandy Bridge notebook with an Intel Core i7 2820QM CPU, 8GB of system memory, 80GB Intel SSD, and NVIDIA GeForce GTX 485M graphics. The guest and host were using Ubuntu 10.10, the Linux 2.6.35 kernel, GNOME 2.32.0 desktop with Compiz, X.Org Server 1.9.0, NVIDIA 270.29 display driver, and an EXT4 file-system.

While Nexuiz is certainly playable with a high-end NVIDIA GeForce GTX 485M "Fermi" graphics processor with the latest binary display driver, within the VirtualBox 4.0.4 guest with having 3D acceleration enabled and the video memory capacity maxed out for the guest at 128MB, the frame-rate didn't even hit 16 FPS. As indicated by the straight line across tested resolutions for Nexuiz, the performance was CPU bottlenecked.

Even OpenArena, which is playable with nearly any graphics card and even on the open-source Mesa / Gallium3D drivers, the performance was being choked by the CPU and was not playable under the VirtualBox 4.0.4 guest. These results can be further analyzed on OpenBenchmarking.org.

The 3D acceleration in VirtualBox 4.0 for Linux is at least usable and stable at the desktop if you just care about running Compiz or other desktop effects, but for more demanding rendering work, it is not too pleasant at this time. At least, however, there is 3D acceleration support available to the guests compared to other Linux virtualization solutions that lack such support. To not much surprise, the best 2D/3D acceleration that we have found in the virtualization world is with VMware.

Discuss this article in our forums, IRC channel, or email the author. You can also follow our content via RSS and on social networks like Facebook, Identi.ca, and Twitter (@Phoronix and @MichaelLarabel). Subscribe to Phoronix Premium to view our content without advertisements, view entire articles on a single page, and experience other benefits.

2
Next Page >>
Latest Hardware Reviews
  1. Intel Haswell HD Graphics 4600 vs. AMD Radeon Graphics On Linux
  2. Intel Haswell HD Graphics 4600 Performance On Ubuntu Linux
  3. Intel Core i7 4770K "Haswell" Benchmarks On Ubuntu Linux
  4. The First Experience Of Intel Haswell On Linux
Latest Software Articles
  1. Optimized Binaries Provide Great Benefits For Intel Haswell
  2. 11-Way Linux, BSD Platform Comparison
  3. SNA Acceleration Works Great For Intel Core i7 Haswell
  4. The Linux Evolution For Intel Haswell's Performance
Latest Linux News
  1. KDE's KWin Made Lots Of Progress In 4.11
  2. Ubuntu Announces Carrier Advisory Group
  3. Qt 5.1 Release Candidate 1 Has Arrived
  4. In-Fighting Continues Over Mir On Non-Unity Ubuntu
  5. Subversion 1.8 Presents New Features
  6. LLVM 3.3 Officially Released
  7. LLVM/Clang Now Uses Loop Vectorizer At New Levels
  8. Intel GPU Driver Tries To Rip Out FBDEV Support
  9. Coreboot Doing AMD USB 3.0, Q35 QEMU Emulation
  10. VP9 Codec Now Enabled By Default In Chrome
  11. openSUSE 13.1 M2 Plays On PulseAudio 4.0
Latest Forum Talk
  1. Intel GPU Driver Tries To Rip Out FBDEV Support
  2. Planetary Annihilation Plans To Come To Linux
  3. In-Fighting Continues Over Mir On Non-Unity Ubuntu
  4. Ubuntu Announces Carrier Advisory Group
  5. VP9 Codec Now Enabled By Default In Chrome
  6. Handbrake 0.9.9 Supports OpenCL Offloading
  1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Motherboards
  5. Peripherals
  6. Processors
  7. Software
  8. Operating Systems
  9. All Articles
  1. Linux Benchmarking
  2. OpenBenchmarking.org
  3. Phoronix Test Suite