Page 2 of 2 FirstFirst 12
Results 11 to 15 of 15

Thread: VirtualBox 4.1 OpenGL 3D Guest Performance

  1. #11
    Join Date
    Sep 2007
    Posts
    997

    Default

    Quote Originally Posted by BlackStar View Post
    These charts imply that the bottleneck is in the communication tunnel between the guest and the host. The communication overhead is large enough that it trumps any impact increased resolution may have.

    For instance, LiveArena ranges between 2.2 ms/frame and 11.5 ms/frame on bare metal, and between 46.7 ms/frame and 48.5 ms/frame through the tunnel. This implies some 40+-5 ms of overhead when run through the tunnel - or some other bug in VirtualBox (4.1.2 a few months out of date, the latest version is 4.1.6).

    Edit: Ah Linux guest? That's quite a bit slower than a Windows guest, because Linux guests don't get 2d acceleration and don't play well with OpenGL compositors (there are two different OpenGL compositors running, one in the guest and one on the host, which does lead to sync issues). This is what happens with two compositors: 3d in guest -> send 3d commands to host -> 3d compositor in guest -> send 3d commands to host -> 3d compositor in host -> display on screen. Disable the guest compositor and you get other problems: 3d in guest -> send 3d commands to host -> read result from host (non-accelerated!) -> display in guest -> 3d compositor in host -> display on screen.

    It's going to be slow no matter what you do. For best results, you'd need to disable the host and guest compositors and implement 2d acceleration in the guest.
    Wouldn't it be a more intriguing test to try PCI Express x16 VGA Passthrough? If using Intel sandy bridge architecture, to try vt-d compatible hardware w/ vt-d turned on in the bios and then test the open source games in virtualbox?

    That is, if vt-d works in Vbox yet. But, I thought maybe the only way right now to get any sort of performance improvement.

    I'm just asking...

    Seems to me a lot has to happen for Vbox to take 'generic video card' and produce much in terms of performance when playing games......

  2. #12
    Join Date
    Dec 2010
    Location
    MA, USA
    Posts
    1,302

    Default

    Quote Originally Posted by Panix View Post
    Wouldn't it be a more intriguing test to try PCI Express x16 VGA Passthrough? If using Intel sandy bridge architecture, to try vt-d compatible hardware w/ vt-d turned on in the bios and then test the open source games in virtualbox?

    That is, if vt-d works in Vbox yet. But, I thought maybe the only way right now to get any sort of performance improvement.

    I'm just asking...

    Seems to me a lot has to happen for Vbox to take 'generic video card' and produce much in terms of performance when playing games......
    I have already tried vga passthrough using an unused, discrete video card on an AMD IOMMU system. the gpu is recognized and can be installed but it can't be activated. i have tried everything i can think of and it still doesn't work. vga/gpu passthrough is not at all similar to regular pci, so there's more changes to be done.

  3. #13
    Join Date
    Oct 2007
    Location
    Under the bridge
    Posts
    2,142

    Default

    Quote Originally Posted by schmidtbag View Post
    I have already tried vga passthrough using an unused, discrete video card on an AMD IOMMU system. the gpu is recognized and can be installed but it can't be activated. i have tried everything i can think of and it still doesn't work. vga/gpu passthrough is not at all similar to regular pci, so there's more changes to be done.
    Intriguing! I thought VirtualBox didn't support IOMMU but apparently I was wrong. Do you know which CPUs offer this capability (any chance for a Phenom 2 965BE?)

  4. #14
    Join Date
    Aug 2007
    Posts
    6,622

    Default

    The CPU is not that important in case of AMD, but the chipset. Every series 9 chipset and 890FX can be used for that.

  5. #15
    Join Date
    Oct 2006
    Location
    Israel
    Posts
    597

    Default

    As far as I remember, Xen is the only VGA pass-through capable VM platform. (As far as I can see VBox is PCI-E pass-though capable, but not VGA pass-through.)

    - Gilboa
    DEV: Intel S2600C0, 2xE52658V2, 32GB, 4x2TB, GTX780, F20/x86_64, Dell U2711.
    SRV: Intel S5520SC, 2xX5680, 36GB, 4x2TB, GTX550, F20/x86_64, Dell U2412..
    BACK: Tyan Tempest i5400XT, 2xE5335, 8GB, 3x1.5TB, 9800GTX, F20/x86-64.
    LAP: ASUS N56VJ, i7-3630QM, 16GB, 1TB, 635M, F20/x86_64.

Posting Permissions

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