Results 1 to 10 of 11

Thread: VirtualBox 4.0 Acceleration Leaves Room For Improvement

Hybrid View

  1. #1
    Join Date
    Jan 2007
    Posts
    13,422

    Default VirtualBox 4.0 Acceleration Leaves Room For Improvement

    Phoronix: VirtualBox 4.0 Acceleration Leaves Room For Improvement

    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.

    http://www.phoronix.com/vr.php?view=15743

  2. #2
    Join Date
    Oct 2010
    Posts
    31

    Default

    KVM/QEMU still lacks OpenGL acceleration support for guests.
    Does it? I thought I saw something about this just the other day.

  3. #3
    Join Date
    Sep 2008
    Posts
    989

    Default

    VMware 3d accel is quite good indeed, but I notice that the Windows guest support is much better than the Linux guest support. They support Direct3D pretty well on Windows -- regardless of whether your host is Linux or Windows.

    The Linux guest support, OTOH, is officially limited to just 2d accel; but if you install the svga gallium3d driver, you can get some basic 3d.

    Problem being that it seems to have some mode switching weirdness still (for months and months); I can't get it to render correctly at any guest resolution above 800x600. It works pretty well for compiz at 800x600 though.

  4. #4
    Join Date
    Jun 2008
    Posts
    197

    Default

    Has anyone actually used the Gallium3D Direct3D 10/11 state tracker for anything? I'm guessing it doesn't do anything right now (like much of the linux graphics world).

    How is VMWare's virtual Direct3D very good regardless of host-OS if they're supposedly using gallium as well?

  5. #5
    Join Date
    Jan 2010
    Location
    Portugal
    Posts
    944

    Default

    I never got 3D support to work with a windows xp guest, but the other day I tried a live-cd image of openSUSE 11.3 (which already includes the virtualbox guest additions installed by default) and I was pretty amazed by how good the desktop effects run. I guess it's the only thing that works, judging from this article.

    Quote Originally Posted by cruiseoveride View Post
    Has anyone actually used the Gallium3D Direct3D 10/11 state tracker for anything?
    That was also on my mind. Has anyone ever done anything with that state tracker? I mean anything that we can look at?

  6. #6
    Join Date
    Oct 2007
    Location
    Under the bridge
    Posts
    2,099

    Default

    I have been using VBox for testing purposes ever since it added 3d support. I don't know how well D3D works, but OpenGL runs pretty nicely on both Windows and Linux guests. You get OpenGL 2.1 plus extensions, which is quite good.

  7. #7
    Join Date
    Sep 2006
    Posts
    714

    Default

    Quote Originally Posted by oliw View Post
    Does it? I thought I saw something about this just the other day.
    KVM with Redhat's SPICE protocol can provide remote access to your virtual machine's desktop with 2D acceleration.

    It's actually very slick and very fast. Remote desktop using Spice is much faster then Microsoft's RDP or Citrix ICA by a long shot.

    By itself 'unoptimized' just using VGA compatibility there is window tearing and such when you move things around. But it's still much faster then VNC.

    With proper QXL drivers installed it's as quick as using unaccelerated graphics on bare hardware. That is when running Spice + QXL drivers it has the same experience as if you were running unaccelerated on real hardware.

    There is no 3D acceleration yet. It's in the planning stages according to the spice-space documentation.

    You'll probably be able to use SPICE quite easily with Ubuntu Natty.

  8. #8
    Join Date
    Dec 2007
    Posts
    137

    Default

    I'm currently a regular user of Virtualbox (Ubuntu 10.10/Xfce/Compiz guest on Win 7 64-bit host) and while it's mostly sufficient, the 3D acceleration still has a tendency to crash my VM. With 4.0.2, the crashes were only caused by full-screening an app in the guest. I updated to 4.0.4 the other day, rebuilt my guest addons and now I'm getting crashes for no discernible reason whatsoever. Yay.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •