1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Memory
  5. Motherboards
  6. Processors
  7. Software
  8. Storage
  9. Operating Systems


Facebook RSS Twitter Twitter Google Plus


Phoronix Test Suite

OpenBenchmarking.org

VirtualBox 4.0 OpenGL Acceleration Leaves Room For Improvement

Michael Larabel

Published on 3 March 2011
Written by Michael Larabel
Page 1 of 2 - 10 Comments

VirtualBox, the Sun/Oracle virtualization platform, has supported OpenGL acceleration and Direct3D acceleration within virtual machines for more than two years. When the host system has hardware GPU acceleration, OpenGL/Direct3D calls can be passed from the guest to the host when the VirtualBox guest driver is installed. There has been the Linux 3D support since VirtualBox 2.2 and was initially limited to OpenGL 1.4 support and in the summer of 2009 it turned to OpenGL 2.0. We had not delivered any early benchmarks as the initial support was too buggy, but even with the recently released VirtualBox 4.0, while the support is usable and stable for the most part, it is still far from being very efficient and will crash under some OpenGL software.

While Oracle's VirtualBox 3D acceleration may not perfect, at least it is there. KVM/QEMU still lacks OpenGL acceleration support for guests. Within the Xen camp, there is/was a virtual, open-source Gallium3D driver for guests, but it did not receive too much attention outside of HP's laboratories where it was developed. VMware's virtualization solutions support a Gallium3D driver too. VMware bought out Tungsten Graphics, which was the company behind Mesa and Gallium3D and with that, they have all of the most experienced open-source Linux graphics driver developers. VMware's graphics acceleration is very good. Unfortunately, VMware's user agreement bars us from carrying out any benchmarks officially (though that's not to say the community can't benchmark VMware's products on their own and upload them to OpenBenchmarking.org), so we are left with sharing results for just Oracle VM VirtualBox.

Support for 3D acceleration in guests needs to be enabled from the VirtualBox management software and then the "VirtualBox Guest Additions" installed onto the guest operating system. Under Linux, this installs the "Chromium" (not to be confused with the Google open-source web-browser) graphics driver for passing the OpenGL calls to the host operating system. The VirtualBox developers have previously rejected using the Gallium3D architecture. Using Gallium3D would also make it feasible to also open up other forms of acceleration to guests such as for OpenCL, OpenVG, OpenGL ES, and Xorg EXA/XvMC. VirtualBox does provide 2D acceleration support when using their driver. The VirtualBox Direct3D driver is also limited to Direct3D 8/9 while there is a Gallium3D Direct3D 10/11 state tracker in existence.

Latest Articles & Reviews
  1. Samsung 850 EVO SSD Linux Benchmarks
  2. Kubuntu 15.04 Is Turning Out Quite Nice, Good Way To Try Out The Latest KDE
  3. 5-Way Linux Distribution Comparison On The Core i3 NUC
  4. OCZ ARC 100 Linux SSD Benchmarks
  5. Lenovo ThinkPad X1 Carbon Works Great As A Linux Ultrabook
  6. Transcend SSD370 256GB
Latest Linux News
  1. OpenBSD Sponsors Work For Better Browser Security
  2. Improved ODF Reading Support Comes To KDE's Calligra
  3. Another Step Closer On The New Linux Benchmarking Test Farm
  4. Confirmed: Vulkan Is The Next-Gen Graphics API
  5. Kdenlive Ported To Qt5/KF5, Coming To KDE Applications 15.04
  6. HTC & Valve Partnered Up For The Steam VR Headset
  7. 8cc: A Small C11 Compiler
  8. Not Everyone Likes The Possible "VULKAN" Name For Next-Gen OpenGL
  9. The Binary Blobs Making Up Coreboot
  10. Linux 4.0 & LLVM vs. GCC Yielded Much Interest This Month
Most Viewed News This Week
  1. Screenshots Of The GNOME 3.16 Changes
  2. More Proof That Allwinner Is Violating The GPL
  3. The Tremendous Features Of Fedora 22
  4. Krita 2.9 Released, Their Biggest Release Ever
  5. A Single UEFI Executable With The Linux Kernel, Initrd & Command Line
  6. Linux 4.0 Doesn't Have The Weirdest Codename
  7. Canonical Comes Up With Its Own FUSE Filesystem For Linux Containers
  8. Firefox 36 Brings Full HTTP/2 Support
%%CLICK_URL_UNESC%%