Dx Error when trying to play Gothic 2

Discussions about using Windows guests in VirtualBox.
Post Reply
Basinator
Posts: 6
Joined: 14. Feb 2010, 16:23
Primary OS: Ubuntu other
VBox Version: OSE other
Guest OSses: Win XP

Dx Error when trying to play Gothic 2

Post by Basinator »

(Steam version)
I am using Lubuntu LTS as linux host.2D_InitPerDX: Can't create D3DX context. Error: DDERR_INVALIDCAPS.

I installed additional Dx (from VBox) in protected mode, didn't help.

On starting the game, I get the message "X: XD3D_InitPerDX: Can't create D3DX context. Error: DDERR_INVALIDCAPS." (Game doesn't start)

I ran dxdiag, the Dx 8 & 9 tests worked, Dx7 didn't on the DirectDraw 3D Acceleration:
"Aborting the test in 40 (Mirroring primary UI with background buffer will be created): HRESULT = 0x88760064 (error code)"
(Roughly translated)

I also get the a warning about outdated files when I look at the Dx files (in Dxdiag):
D3D8.dll & D3D9.dll
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: just about all that run

Re: Dx Error when trying to play Gothic 2

Post by loukingjr »

FWIW, Not all games will run in a virtual environment. Virtual machines aren't well suited for gaming.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
Basinator
Posts: 6
Joined: 14. Feb 2010, 16:23
Primary OS: Ubuntu other
VBox Version: OSE other
Guest OSses: Win XP

Re: Dx Error when trying to play Gothic 2

Post by Basinator »

FWIW? To be honest, I installed the Win XP Vm because i got some issues with wine :°(
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: just about all that run

Re: Dx Error when trying to play Gothic 2

Post by loukingjr »

Did you try PlayOnLinux? If nothing else it takes the tedium out of trying to set up Wine.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
Basinator
Posts: 6
Joined: 14. Feb 2010, 16:23
Primary OS: Ubuntu other
VBox Version: OSE other
Guest OSses: Win XP

Re: Dx Error when trying to play Gothic 2

Post by Basinator »

There doesn't seem to be a POL config for G2 on Steam (or G2 in general that isn't from GOG).

Actually, G2 works with wine for me, but the sound lags behind and sounding (heh!) unpleasant at times. But unfortunally I couldn't launch mods with it working yet (which is why i wanted to play F2 in the first place

Would it help to install dx7/8/9 manuall on the windows VM?
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: just about all that run

Re: Dx Error when trying to play Gothic 2

Post by loukingjr »

I doubt it but I'm not sure. I don't play games in VirtualBox. Perhaps someone else knows.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
Post Reply