Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: VirtualBox and 3d Acceleration

  1. #1
    Join Date
    Apr 2005
    Beans
    4,338
    Distro
    Ubuntu Development Release

    VirtualBox and 3d Acceleration

    Sun released xVM 2.1, and it has experimental support for 3d. So whos going to try it and see just how good it works?

    from the changelog --

    * Support for hardware virtualization (VT-x and AMD-V) on Mac OS X hosts
    * Support for 64-bit guests on 32-bit host operating systems (experimental; see user manual, chapter 1.6, 64-bit guests, page 16)
    * Added support for Intel Nehalem virtualization enhancements (EPT and VPID; see user manual, chapter 1.2, Software vs. hardware virtualization (VT-x and AMD-V), page 10))
    * Experimental 3D acceleration via OpenGL (see user manual, chapter 4.8, Hardware 3D acceleration (OpenGL), page 66)
    * Experimental LsiLogic and BusLogic SCSI controllers (see user manual, chapter 5.1, Hard disk controllers: IDE, SATA (AHCI), SCSI, page 70)
    * Full VMDK/VHD support including snapshots (see user manual, chapter 5.2, Disk image files (VDI, VMDK, VHD), page 72)
    * New NAT engine with significantly better performance, reliability and ICMP echo (ping) support (bugs #1046, #2438, #2223, #1247)
    * New Host Interface Networking implementations for Windows and Linux hosts with easier setup (replaces TUN/TAP on Linux and manual bridging on Windows)

  2. #2
    Join Date
    Jan 2008
    Location
    Whenever the food is.
    Beans
    1,203
    Distro
    Kubuntu

    Re: VirtualBox and 3d Acceleration

    Maybe I could put a ps2 bios in that vm and see if I can use it just like a ps2?
    Keyboard not found!

    Press any key to continue...

  3. #3
    Join Date
    Oct 2005
    Location
    Queen Creek, AZ
    Beans
    195

    Re: VirtualBox and 3d Acceleration

    Downloading it to upgrade now . I've got it running here at work. I'll try out how Compiz works on it just to see.

  4. #4
    Join Date
    Apr 2005
    Beans
    4,338
    Distro
    Ubuntu Development Release

    Re: VirtualBox and 3d Acceleration

    Derekr44 - Probably wont work, the guide says 3d only works on Windows Guests (and Vista 32-bit guests, but there cant be that many of those).

  5. #5
    Join Date
    Oct 2005
    Location
    Queen Creek, AZ
    Beans
    195

    Re: VirtualBox and 3d Acceleration

    Bummer. I'm here at work and thought I'd give it a shot on my Virtual-Linux.

    Was worth a try

  6. #6
    Join Date
    Sep 2007
    Location
    the Hague, Netherlands
    Beans
    949
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: VirtualBox and 3d Acceleration

    Can't you run Compiz under KDE 4 for windows? You can atleast try and see if KWin's effects work if you do that

  7. #7
    Join Date
    Jun 2006
    Location
    State College, PA, USA
    Beans
    244
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: VirtualBox and 3d Acceleration

    Don't get your hopes up that you can run every windows game now.

    2.1.0 Manual Link

    With this new feature, if an application inside your Windows guest uses 3D features through the OpenGL programming interfaces, these will not be emulated in software (which is slow), but instead VirtualBox will attempt to use your host’s 3D hardware. This works for all supported host platforms (Windows, Mac, Linux, Solaris), provided that your host operating system can make use of your accelerated 3D hardware in the first place.
    The 3D acceleration currently has the following limitations:
    1. It is only available in Windows XP and 32-bit Vista guests with the Windows Guest Additions installed.
    2. Only OpenGL acceleration is presently available in those guests; Direct3D is not yet supported and will be added in a future release.
    3. Because the feature is experimental at this time, it is disabled by default and must be manually enabled in the VM settings
    Technically, VirtualBox implements this by installing an additional hardware 3D driver inside your Windows guest when the Guest Additions are installed. This driver acts as an OpenGL hardware driver and reports to Windows that the (virtual) hardware is capable of 3D hardware acceleration.
    Linux hosts. There are a few problems when compiz is used as the host’s window manager, notably:
    – seamless mode does not work well (garbled screen display if no windows are open in the guest);
    – OpenGL guest acceleration (added with 2.1) is very slow.
    So you may want to read this wikipedia list of OpenGL games, as only OpenGL games are likely to work.
    http://en.wikipedia.org/wiki/OpenGL#OpenGL_Games
    I should add to the list that Call of Duty and Call of Duty 2 are openGL and therefore are likely to work.

    Here is a virtualbox.org thread on games that work.
    http://forums.virtualbox.org/viewtop...r=asc&start=49
    Warcraft III (have to be run with -opengl command line option):
    Last edited by mikedep333; December 19th, 2008 at 10:42 PM. Reason: clarification on games

  8. #8
    Join Date
    Apr 2005
    Beans
    4,338
    Distro
    Ubuntu Development Release

    Re: VirtualBox and 3d Acceleration

    While probably not the best test model, i used OpenArena for testing purposes.

    For the sake of reference, this is on a duo core 2.6x proc, with 2 gig of memory, and a 256meg PCIex Nvidia card. I maxed out the video memory to 128 megs, and selected 3d Acceleration. The VM memory base is 315, I could rebenchmark at a higher rate if anyone would like for their own edification.

    I was averaging 70ish FPS , and in heavy action, 40ish FPS.

    SideNote: This is with all effects turned to low, and textures turned to low (which I would do anyway, so may not be your cup of tea).
    Attached Images Attached Images

  9. #9
    Join Date
    Jun 2006
    Location
    State College, PA, USA
    Beans
    244
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: VirtualBox and 3d Acceleration

    Quote Originally Posted by compiledkernel View Post
    While probably not the best test model, i used OpenArena for testing purposes.

    For the sake of reference, this is on a duo core 2.6x proc, with 2 gig of memory, and a 256meg PCIex Nvidia card. I maxed out the video memory to 128 megs, and selected 3d Acceleration. The VM memory base is 315, I could rebenchmark at a higher rate if anyone would like for their own edification.

    I was averaging 70ish FPS , and in heavy action, 40ish FPS.

    SideNote: This is with all effects turned to low, and textures turned to low (which I would do anyway, so may not be your cup of tea).
    There are native binaries of OpenArena for Linux. Assuming the same version isn't in the ubuntu repos, you can either download the zip from their website, or use getdeb.

    So please test it under Linux using the same settings

    And keep in mind, my Geforce 8800GT pci-e 256 MB is probably 15x as fast as the lowly Geforce 6200 pci-e 256MB. Video memory is a very poor indicator of performance.

  10. #10
    Join Date
    Sep 2007
    Location
    the Hague, Netherlands
    Beans
    949
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: VirtualBox and 3d Acceleration

    Quote Originally Posted by compiledkernel View Post
    While probably not the best test model, i used OpenArena for testing purposes.

    For the sake of reference, this is on a duo core 2.6x proc, with 2 gig of memory, and a 256meg PCIex Nvidia card. I maxed out the video memory to 128 megs, and selected 3d Acceleration. The VM memory base is 315, I could rebenchmark at a higher rate if anyone would like for their own edification.

    I was averaging 70ish FPS , and in heavy action, 40ish FPS.

    SideNote: This is with all effects turned to low, and textures turned to low (which I would do anyway, so may not be your cup of tea).
    Can you test with homeworld 2, that game also has an OpenGL version and is much more demanding than quake 3?

    (If you can't, I will test it one of the coming days and report the results )

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

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