bstone icon indicating copy to clipboard operation
bstone copied to clipboard

Slow on athlon 1ghz

Open TheElf01 opened this issue 8 years ago • 2 comments

Hi! first, great work, thanks

i have a athlon 1ghz XP 32bits PC I use for classical gaming, dosbox and ports. Im happy to have the chance to play one of my favorites games in a port with better graphics

The problem is that the game is slow, the movement is not framerate constant, is like playing in my old 286 12mhz If i pick objects or kill someone, i get a second delay because the sound

I tried to play in 640x400 and 320x200 but same performance. By the way, when use 640x400 or 320x200 resolutions the game detect a bad aspect ratio, i need to force stretch

At 320x200 the game performs much better in dosbox or ntvdm+vdmsound that the port

I already tried "--vid_renderer [soft|ogl]" and "--vid_scale factor" options

Any ideas? thanks a lot

TheElf01 avatar Aug 10 '16 18:08 TheElf01

Any ideas? thanks a lot

Unfortunately a more powerful machine is the only solution for now. I'll try to optimize video and audio subsystems in future.

By the way, when use 640x400 or 320x200 resolutions the game detect a bad aspect ratio, i need to force stretch

The port does not support any other aspect ratio but 4:3 like the original game and the monitors back to those days. So each line in that resolution displayed wider by 20%.

If i pick objects or kill someone, i get a second delay because the sound

The original game did not use CPU but sound card for audio processing. The port emulates audio processing using CPU only. That's why delay may appear. Also, SDL2 uses separate thread for audio subsystem. And if CPU has only one core this can be also an issue.

bibendovsky avatar Aug 12 '16 05:08 bibendovsky

Hi! thanks for reply

About performance, i hope you can optimize the port in a future. Good luck, and thanks for the work

The sound problem, i dont have this problem in any other SDL port, but maybe is what do you say, because use a separate thread cause problem in a monocore system...

About aspect, the original game, dont have any aspect ratio, was the CRT screen that defined it

There is not a big problem, because the stretch option "solve" this problem, but maybe will be a good option future, support integer resolutions for CRT users (well, like original game)

Thanks

TheElf01 avatar Aug 12 '16 12:08 TheElf01