Last week, an event occurred that, in principle, could be erased in the history of soft-building, but it seemed interesting to me. Nowadays, virtualization systems are developing with small, cautious steps, so finding something interesting, or at least significant, the difference between versions 2.x and 3.x or even 4.x is not always possible.
Therefore, I flipped through
release notes to VirtualBox version 2.1.0 without much interest. But for what caught the eye and forced to read more carefully, it is "Broadcast OpenGL calls directly to the host machine driver."
')
I have been using VirtualBox myself for a long time in order to simultaneously connect to a corporate VPN and simultaneously download torrents, launch programs that only exist in Windows, or test various destructive actions.
In principle, it is clear that processor calculations will still occur inside the guest and the same performance as on pure Windows will not work. In addition, unfortunately, the games on pure OpenGL come out less and less - all manufacturers gradually move to DirectX. Nevertheless, for me it was interesting and worth seeing how it works.
So, call transmission is disabled by default, so you need to enable the 3D Acceleration option in the settings of the machine, on the General tab.
Next, you need to update the guest Additions installed inside guest to install the new video driver. Reboot the guest. Everything is ready to check.
For performance testing, I used OpenArena and a demo from here
http://dri.freedesktop.org/wiki/BenchmarkingI set the quality settings to be the same, but the main problem is to set the resolution. As far as I understand the guest in VirtualBox cannot get exclusive access to the screen, so even in full-screen mode everything will be drawn as in a window, so for testing I set 1024x768 and adjusted the window size to these parameters.
The average fps on the demo inside VirtualBox is 43 fps. On clean Vista - 85 fps.
I don’t know how much vmware or wine gives out, but for me to begin with it’s very good - you can start a SecondLife client or rush into simple toys directly from a virtual machine and don’t deny yourself anything :)
PS Over the weekend, there was still a podcast with one of the developers of VirtualBox -
http://habrahabr.ru/blogs/hpodcasts/47312