Page 1 of 1

3D performance

Posted: 1. Jan 2011, 23:50
by avagames
I have WinXP SP2 guest on an Ubintu 10.4 host with ATI 5770.
Direct3D applications works two times slower through VirtualBox than through Wine.
AFAIK Wine also used by VB for 3D. Why there is so big difference?

Re: 3D performance

Posted: 2. Jan 2011, 21:23
by Technologov
VirtualBox provides much more complex layer of abstraction

Wine:
Windows API->Wine D3D->Linux OpenGL

VirtualBox:
Windows Guest->Wine D3D->Chromium OpenGL layer->VirtualBox x86 virtualization engine->Linux OpenGL (host)

The more complex the abstraction layer.. the slower it is...

Read Virtualization Theory:
http://www.mashkiatsair.com/lfl/virtualization.html

-Technologov

Re: 3D performance

Posted: 3. Jan 2011, 01:47
by avagames
Thanks for explanation.
I thought there is something like:
Windows Guest -> Wine D3D (at Linux host) -> Linux OpenGL