Main > Software Forum

So What Cause's The Stuttering Sound Problem With DirectDraw??

(1/10) > >>

lettuce:
What cause's mame's sound to start stuttering every so often if your using 'DirectDraw' and disabled 'Hardware Stretch' and have the following enabled,

Tripplebuffer
Wait On Vsync
Sync to Monitor Fresh

Is it just an error with the mame program, or its it down to system requirements. Would using a decent PCI soundcard and disabling the onboard sound cure the problem, or is it CPU related as doesnt direct draw use more cpu processing power? As i have noticed that when having either Tripplebuffer, wait on vsync or sync to monitor refresh enable seems to hamper the emulation speed.  If you press F11 within a game it shows the speed in the top right corner of the screen and is about 85% with either Tripplebuffer, wait on vsync or sync to monitor refresh enable, turn these off and it stays at 100% so im guessing a better cpu would improve this value? Just seems strange that with hardware stretch and tripplebuffer etc enabled the games run ok, but disable hardware stretch and it doesnt

Edit: Guess i should list my system stats

AMD 64 3400+
1 GB RAM
Onboard Soundcard

Minwah:

--- Quote from: lettuce on August 09, 2007, 10:18:53 am ---Is it just an error with the mame program, or its it done to system requirements. Would using a decent PCI soundcard and disabling the onboard sound cure the problem

--- End quote ---

It probably won't cure the problem but it may help to some extent.


--- Quote ---If you press F11 within a game it shows the speed in the top right corner of the screen and is about 85% with either Tripplebuffer, wait on vsync or sync to monitor refresh enable, trun these off and it stays at 100% so im guessing a better cpu would improve this value?

--- End quote ---

All those settings slow things down when enabled, so yes a better CPU would help.  I would go with just triplebuffer, for a comprimise between speed and 'looking nice'.

You could also try some different resolutions and refresh rates.  Make sure the refresh rate of the mode you're using is not less than that of the game - this causes some problems (or used to before the last major video changes).

lettuce:

--- Quote from: Minwah on August 09, 2007, 10:26:19 am ---All those settings slow things down when enabled, so yes a better CPU would help.
--- End quote ---

Well the reason i use these settings is because im using a Ultimarc ArcadeVGA card, and thats how you have to set the ini files up to get an authentic arcade look and so the resolutions cant be change either really.


--- Quote from: Minwah on August 09, 2007, 10:26:19 am ---I would go with just triplebuffer, for a comprimise between speed and 'looking nice'.
--- End quote ---

Yeah i usually just have tripplebuffer enabled as this stops the screen tearing. The games dont slow down though, its just the sound that stutters so im not totally sure what the 85% when pressing F11 represents??

On a side note, just tried a few games on my Main PC (AMD64 X2 4800, Creative soundblaster X-fi  card, 3GB RAM) and they all ran 100% without no sound skipping, but i guess thats to be suspected considering the PC it was running on, still though i would have thought an AMD 64 3400+ and 1GB of RAM would of been plenty too!! So will later version of MAME iron out this problem?

I was just woundering if it was just one component that would fix the problem, and then i would upgrade whatever it was (cpu, soundcard or RAM). For instance i dont really want to spend money on getting a soundcard to find out it hasnt fixed the problem




8way:
Try an older version of mame, that will solve your problem.

Howard_Casto:

--- Quote from: 8way on August 09, 2007, 11:35:38 am ---Try an older version of mame, that will solve your problem.

--- End quote ---

Actually no it won't.  An older version of mame is a work-around (which btw probably won't help as your processor is plenty fast enough), but not a solution.  You need to tell us which games specifically are giving you issues.  If you are using directdraw instead of direct3d then THAT is your problem most likely as directdraw is much slower.  If your card doesn't support direct3d then it must be the original arcadevga (based on a radeon 7000) and it needs to be upgraded.

See the directdraw code is very inefficient, regardless of the version of mame you are using.  It's a long-standing mame issue and was never really fixed when the new rendering system was put in place either.  That's why I shake my head when people around here still give advice like "it doesn't really matter which video card you use in mame".  Well it didn't (because you got poor performance regardless) but now it does!  My system specs are very similar to yours and with the exception that I use hwstretch, so are my settings.  Look into the things I said and I hope that helps!

Navigation

[0] Message Index

[#] Next page

Go to full version