VOGONS


SDL 1.2 buggy

Topic actions

First post, by ErikGG

User metadata
Rank Member
Rank
Member

Well I'm following the "Official" DOSBox CVS very closely and some time ago I noticed the ddraw support got compiled in.

I tried the given compiled version and noticed that ddraw wasn't working.
DOSBox gave three exactly the same errors when starting Tombraider 1:
"Failed to create ddraw surface, back to normal surface."
The window stays black. Only music plays.

Then I checked the SDL.dll 1.2 on the SDL site and copied that one over the "old" one. Same problem.

Then I copied the SDL.dll from ykhwongs latest build to the CVS and it worked without a hitch.

So I guess there is a bug in the SDL.dll 1.2 with Directdraw

Running on Windows 2000 pro, Pentium III 1GHz, 256MB, ATI Mobility Radeon, DirectX9c

Oh and well, offcourse, good job.
With this build I can finally play Tombraider 1 decently without a hitch.
Though running Tombraider on my "gaming" computer, a 3.2GHZ Pentium 4 HT, Radeon X300 PCIEx ( I know 😅 ), 1GB.
I think DOSBox has gotten past the graphics bottleneck. But now it has entered the CPU bottleneck. I'm saying this because I was able to run TombRaider in 1024x768 without loosing mayor performance then when running it in original resolutions. It looked like changing resolutions didn't make any dent on performance. Increasing frameskip or lowering it, didn't make the game run any faster or slower.

Anyways good work and well done.

Just to let you guys know.

Erik.

Reply 1 of 2, by gulikoza

User metadata
Rank Oldbie
Rank
Oldbie

ddraw needs a fix since like forever 😀

SDL_dx5video.c:

- #if 0 /* FIXME: enable this when SDL consistently reports lost surfaces */
+ #if 1 /* FIXME: enable this when SDL consistently reports lost surfaces */

http://www.si-gamer.net/gulikoza