VOGONS


First post, by Gemini000

User metadata
Rank l33t
Rank
l33t

Something curious I've noticed regarding DOSBox 0.74 on my new Win8 system compared to my WinXP system...

On my XP system, trying to run DOSBox in OpenGL mode just led to crashes, while the DirectDraw mode ran perfectly fine and would apply filtering to whatever scaler I was using.

On my new Win8 system though, DirectDraw is not doing any filtering, yet OpenGL works and does do filtering. In fact, even though I set a fixed resolution for my DOS games, when running DOSBox in DDraw mode on my Win8 system, there's three-second delays every time the game being played switches video modes, even though no actual video mode switch occurs with Windows itself. :o

Weirdness... though now that I think about it... maybe DirectDraw simply isn't installed? I'll investigate further as I'm still getting used to the differences between Windows 8 and everything prior.

--- Kris Asick (Gemini)
--- Pixelmusement Website: www.pixelships.com
--- Ancient DOS Games Webshow: www.pixelships.com/adg

Reply 1 of 10, by duralisis

User metadata
Rank Newbie
Rank
Newbie

I've read on various MS dev forums that DirecDraw is depricated under Windows 8 and routed though the API differently. I wonder how DosBox behaves when run w/ XP compatibility mode set?

Reply 2 of 10, by Gemini000

User metadata
Rank l33t
Rank
l33t

None too much better. In fact, I've noticed that ALL DirectDraw-reliant programs are running poorly with hardware acceleration. Better without, but not perfect.

I've tried some wrappers like DDHack, DDWrapper, and DXGL, but none of them seem to work. (Though to be fair, the only game I've tried using them with so far is Bookworm Adventures, since it was easy to install off of Steam without have to dig through all my boxes of CDs which are still packed up.)

Not that I can't just use OpenGL mode with DOSBox, but until now, DirectDraw was the better approach. I dunno Microsoft, your tactics to only include splotchy DirectDraw support in Windows 8 isn't exactly pro-money-making. :P

--- Kris Asick (Gemini)
--- Pixelmusement Website: www.pixelships.com
--- Ancient DOS Games Webshow: www.pixelships.com/adg

Reply 3 of 10, by robertmo

User metadata
Rank l33t++
Rank
l33t++

why DirectDraw was better for you?

Reply 4 of 10, by Stiletto

User metadata
Rank l33t++
Rank
l33t++

Do you have DirectX 9 installed, and does it make a difference?

"I see a little silhouette-o of a man, Scaramouche, Scaramouche, will you
do the Fandango!" - Queen

Stiletto

Reply 5 of 10, by Gemini000

User metadata
Rank l33t
Rank
l33t
robertmo wrote:

why DirectDraw was better for you?

On my old XP system, OpenGL mode crashed all the time with DOSBox. :P

No problems yet with it on my new Win8 system though. :)

Stiletto wrote:

Do you have DirectX 9 installed, and does it make a difference?

I don't think DirectX 9 properly installs if DirectX 10+ is present, considering I didn't have to restart my computer after installing DX9, nor did it make a difference in anything.

Might want to consider adding a Direct3D mode to DOSBox instead (if there isn't one already I don't know about, or if it's in an upcomming release) though since OpenGL works I imagine the only people who would benefit would be those on a Win8 system who can't run the OpenGL mode for whatever reason. :P

--- Kris Asick (Gemini)
--- Pixelmusement Website: www.pixelships.com
--- Ancient DOS Games Webshow: www.pixelships.com/adg

Reply 6 of 10, by bloodbat

User metadata
Rank Oldbie
Rank
Oldbie
Gemini000 wrote:
On my old XP system, OpenGL mode crashed all the time with DOSBox. :P […]
Show full quote
robertmo wrote:

why DirectDraw was better for you?

On my old XP system, OpenGL mode crashed all the time with DOSBox. 😜

No problems yet with it on my new Win8 system though. 😀

Stiletto wrote:

Do you have DirectX 9 installed, and does it make a difference?

I don't think DirectX 9 properly installs if DirectX 10+ is present, considering I didn't have to restart my computer after installing DX9, nor did it make a difference in anything.

Might want to consider adding a Direct3D mode to DOSBox instead (if there isn't one already I don't know about, or if it's in an upcomming release) though since OpenGL works I imagine the only people who would benefit would be those on a Win8 system who can't run the OpenGL mode for whatever reason. 😜

There's a Direct3D patch present at least in DosBox Daum and my build.
For a number of years there has been no need (usually) to restart (Vista and 7) after installing DirectX , but it's there (look in %systemroot%/system32 for, at least, d3d9.dll).
I don't think people will have problems with OpenGL if they can run Windows 8.

Reply 7 of 10, by robertmo

User metadata
Rank l33t++
Rank
l33t++

I remember opengl for dosbox was slow on radeon cards. Don't know how it is now.

Reply 8 of 10, by bloodbat

User metadata
Rank Oldbie
Rank
Oldbie

I think that was Gulikoza's reason for doing the D3D patch...I have a Radeon card and OpenGL wasn't all that slow, but I use D3D nowadays.

Reply 9 of 10, by Gemini000

User metadata
Rank l33t
Rank
l33t

Additional Note: A combination of the following two config settings is ALSO causing OpenGL to not engage on Windows 8:

output=opengl
machine=vgaonly

With these settings, it defaults back to surface output mode.

--- Kris Asick (Gemini)
--- Pixelmusement Website: www.pixelships.com
--- Ancient DOS Games Webshow: www.pixelships.com/adg

Reply 10 of 10, by robertmo

User metadata
Rank l33t++
Rank
l33t++

yes it is known that opengl/openglnb/overlay doesn't work with 16bit colour (so vgaonly/16-bit games/16-bit scalers)