pouët.net

Go to bottom

VirtualBox 3.0.0 and DirectX virtualisation

category: general [glöplog]
 
A typical Just So You Know thread - I've quickly tried out VirtualBox 3.0.0 today and tried to see how good the DX support is...

Well, the long and the short of it is basically not very well at the moment. I tried fr08, fr025, Sunflower's Tesla and Equinox's Kings of the Playground.

- fr08 popped up a box saying dx error.
- fr025 popped up the config box but fails silently when launched.
- kings of the playground works fine, frame rate is typically around 20fps (at a guess). (maybe it's opengl?)
- tesla (which IS opengl) works but runs around 1fps.

My system doesn't support VT extensions, but I'd assume that gpu translations wouldn't specifically apply to VT, but I'm uncertain. I will try on my main PC tonight. Host PC specs are C2D E4600, Radeon 1650.

If anyone else experiments, post your results. It'd be interesting to see if this could be used as a capturing / archiving solution. Server side mega hq mega slow kkaptures might be nice for someone to use some day!
added on the 2009-07-06 13:20:47 by rc55 rc55
Did you read chapter 4.8 of the user manual?
added on the 2009-07-06 14:15:50 by kusma kusma
I'll have a look now...
added on the 2009-07-06 14:26:41 by rc55 rc55
Quote:
Note: For Direct 3D acceleration to work in a Windows Guest, VirtualBox
needs to replace Windows system files in the virtual machine. As a result, the
Guest Additions installation program offers Direct 3D acceleration as an op-
tion that must be explicitly enabled.Also, you must install the Guest Additions
in “Safe Mode”; see chapter 13, Known limitations, page 213 for details.


Well, I'll be. Safe mode to install guest additions / D3D support. OK, lets try again...
added on the 2009-07-06 14:29:51 by rc55 rc55
rc55, try chapter 9.999999 too
rc55: Kings Of The Playground uses OpenGL.
added on the 2009-07-06 14:33:23 by keops keops
OK, well, fr08 crashes after the loading bar, fr025 doesn't load, tesla has no improvement and kings of the playground still runs reasonably - however in both cases KOTP has missing textures.

Did you have any differing experience, moose?
added on the 2009-07-06 14:42:54 by rc55 rc55
No, I didn't even know DX9 was supported until I saw this thread.
added on the 2009-07-06 14:59:59 by kusma kusma
I didn't have any luck with it either.
Before installing the guest additions: OpenGL 1.1
After installing the guest additions: OpenGL 1.2, zero extensions, zero shaders...

I want my shaders they promised!
added on the 2009-07-06 16:23:06 by blala blala
Keops: thanks for the info.

petethewolf: That's my favourite chapter! Has an aftertaste of colgate paste! xx

Early days I suppose. I hope they get some good groundwork in.
added on the 2009-07-06 22:46:22 by rc55 rc55
OK, I've had a bit more of a look at it. It looks like Virtualbox uses WINE's Direct3D translation implementation to provide a virtualised graphics card that translates DX8/9 calls to the hosts OpenGL. DX 7+10 are unsupported.

Performance throughout is utterly slow at the moment, however for those interested there are some interesting threads here:
Games and Apps Status:
http://forums.virtualbox.org/viewtopic.php?f=1&t=18953

"VirtualBox should support Direct3D through WineD3D" ticket:
http://www.virtualbox.org/ticket/2940

Interesting approach, but lots of room for improvement.

I would have taken a screenshot but it seems to use some sort of overlay that PrintScreen doesn't work with.
added on the 2009-07-07 12:33:21 by rc55 rc55

login

Go to top