Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Sound stuttering in mame32

107 views
Skip to first unread message

Gazz

unread,
Apr 13, 2002, 5:26:18 PM4/13/02
to
Been having a little problem lately, (not just the s-video to rgb thing,
runing composite for now :), but when i play a game in mame, i get
stuttering on the sound!, i.e the backgroung music will play ok for about 2
seconds, then it will kind of stumble/stutter, a little like a dirty lense
on a cd player, it does it for all the sound files, music, speach, the sound
of accepting a credit, it6s like the system is very busy, but running a game
like bomb jack twin, i'm only using about 25% proccesor power,

(P3 1Ghz, 256 meg ram, soundblaster pci128 sound card),
it never used to do this, and its only in mame that it does it, i've
recently installed TVTool, and thought it might be that when sending the
video signal to the TV, but it does the sound stuttering even when TVTool is
shut down, and i'm running on the monitor!,

Has anyone got any suggestions?, i've re-installed mame.59, loaded the
latest sound card drivers, got the latest video card drivers [geforce2 gts]
(just in-case),
i recently re-set the user config data 'cos i lost the tab key, but the
sound settings are as they were, as standard,

help


Gazz

unread,
Apr 13, 2002, 6:26:26 PM4/13/02
to
OK, just did a few more tests, some i should have done sooner, sorry, found
it by playing a different game, and i'm getting major frame skips to run
bubble bobble (the origional one), and its very jerky,

found out why, i put task manager on the other monitor, and as soon as i
start up a game in mame, cpu usage for the mame window running the game
jumps up to 96%, giving me a total of 100%cpu usage, when mames not running
a game, its at about 12 to 15%,

i've tried deleting mame, and re-installing it, but for some reason it's
keeping something on the registry, because with a fresh download and install
of mame, it remembers tha gemes i've played, how many times, favorite games,
and all the settings (screen size, controllers, key maps etc),

can anyone shed any light as to why mame would suddenly start to hog all the
cpu??, and any way to do a totaly fresh install of mame??

Gary


innocent_lamb

unread,
Apr 13, 2002, 6:48:46 PM4/13/02
to
On Sat, 13 Apr 2002 16:26:26 -0600, Gazz wrote:

> can anyone shed any light as to why mame would suddenly start to hog all
> the cpu??,

Because it needs it.

Depending on the game that you're trying to run, Mame can requre a great
amount of CPU time. That's just the way that it is; some gams are very
very demanding.

Your sound stuttering problem shows that your CPU is not fast enough to
run the game that you're trying to play. You can try getting rid of any
programs that are running in the background, but likely the only real
solution will be to get a faster CPU.

> and any way to do a totaly fresh install of mame??

Mame32 has some entries in the registry, as you've already discovered.

Use Regedit to find and delete them if that's is what you wish to do.

Cyber Spyder

unread,
Apr 14, 2002, 1:38:10 AM4/14/02
to
I was having a similar problem when shutting down mame. Everything would
run fine until i closed mame, then cpu usage would jump to 100% and my
entire system would be sluggish. Sounds would stutter, mouse would
freeze on the screen every 3 seconds, programs would take 3 minutes to
load. Then i downloaded fixit utilities 4.0 and it did a scan of my
system registry and found 354 invalid entries and deleted them. Now
everything runs great and i'm still only using a PII 450 / 256megs.
Granted i can only run stun runner at 2 FPS, but hey.... i still haven't
picked up a KVM switch to hook up the P4 1.4 gig yet. Try getting a
similar program to flush out the registry and other useless stuff hidden
in your system. It worked for me, and so far you are the only other
person (besides myself) i've seen mention that 100% cpu usage thing.

Ron

Peale

unread,
Apr 14, 2002, 3:40:34 PM4/14/02
to
Cyber Spyder wrote:

> Granted i can only run stun runner at 2 FPS, but hey.... i still haven't

Alright...I've seen several entries for Stun Runner over the last couple
days, and can't find it in the MAME list. What gives?


Peale

Peale

unread,
Apr 14, 2002, 3:42:35 PM4/14/02
to

D'oh...stupid S.T.U.N. shows up at the beginning of the list, not the
end.


Peale

Gazz

unread,
Apr 14, 2002, 5:51:26 PM4/14/02
to
Update on my cpu hogging mame....

firstly i need to say that i love mame, but has anyone been driven over the
edge because of it :)

well, i've narrowed it down a bit more, its the pissing TV out!! argggghhhh,
i've been pissing around with the tv out function on my card for the past
week, drilled holes all over the house for the cables, i'm on the verge of
messing around in my TV to add a s-video (Y/C) connector input to the set
(means playing around hooking wires up around the comb filter, thats all i
got so far :),
got a usb hub, ran the cable under the carpet (ment cutting a channel in the
underlay to make it lay flush), mounted the hub near the bed, (looks kewl in
a geeky kinda way :), and when i go to play mame in the
bedroom...............

THE BLOODY TV OUT FUNCTION MAKES THE CPU USAGE JUMP TO 100%, i ran around
the house naked, screaming last night (ok, you prolly didnt need to know
that),
When i run mame on the monitor, i get about 35% cpu usage, it only goes up
to about 60% when running S.T.U.N. runner, BUT, as soon as i switch the TV
out function on, and start a game up in mame.. blam, 100% usage, and frame
skip city here we come,

i'm guessing its becaue of the resolution mame has to convert the game into
for TV display??, because i found out i can only get bomb jack twin to work
on the TV when i force it into 800x600 mode, but i left that game in
800x600, and played in on the monitor, and wham, 100% cpu usage, turn mame
back to auto resolution for the games, and 35% usage!! what gives?

i've got a GeForca 2 gts video card, on an AGP slot, and from what i've seen
of the card, it has its own processor and memory, it that only there for the
RGB output?, does the TV chip run off the motherboards resorces i wonder,

can anyone help,

i'd make up a lead to go from the vga output of the card, directly to the
scart's RGB input of the TV, and just switch over via a switch box that i've
got, but i'd be to afraid of getting the resolution or refresh rate wrong
one day, and knackering the telly,

If anyone can give me a few more suggestions on this, i'll be eternaly
gratefull, gonna get that registry cleaner and try that, but i've only
recently done a fresh install of winXP, on a formatted disk, but hey,
windows stands for crap you dont need :)

Gary


mk

unread,
May 2, 2002, 7:42:09 AM5/2/02
to
innocent_lamb <nos...@example.com> wrote in message news:<pan.2002.04.13.16...@example.com>...

> On Sat, 13 Apr 2002 16:26:26 -0600, Gazz wrote:
>
> > can anyone shed any light as to why mame would suddenly start to hog all
> > the cpu??,
>
> Because it needs it.
>
> Depending on the game that you're trying to run, Mame can requre a great
> amount of CPU time. That's just the way that it is; some gams are very
> very demanding.
>
> Your sound stuttering problem shows that your CPU is not fast enough to
> run the game that you're trying to play. You can try getting rid of any
> programs that are running in the background, but likely the only real
> solution will be to get a faster CPU.


Come on, he was talking about any MAME game, and didn't he have a 1GHz
CPU anyway?

I'm just commenting to this because I just ran MAME32 0.59 for the first
time on a P3-500/128Mb/Win95 machine, and I am having exactly the same
problem with stuttering sound and slow performance! And I am not talking
about Galaxy Fight or STUN Runner, but basically any game. E.g. Commando,
1942 etc., all the games which were smooth as butter in e.g. 0.57, now in
0.59 they are very jerky, slow, stuttering sound and the sound mostly seems
to come delayed, keyboard is rather unresponsive (pressing OK in the starting
MAME screen is delayed by a second or so).

I tried updating DirectX from 7.0 to 8.0a in case this new MAME32 is requiring
newer DX, but it had no effect whatsoever.

Has anyone else experienced the same? Is it simply that MAME32 0.59 requires
much more CPU power compared to 0.57 and so, even with old games? What's the
deal?

lassi

unread,
May 2, 2002, 10:30:18 AM5/2/02
to
mussa...@hotmail.com (mk) wrote in
news:200defa5.0205...@posting.google.com:

> innocent_lamb <nos...@example.com> wrote in message
> news:<pan.2002.04.13.16...@example.com>...
>> On Sat, 13 Apr 2002 16:26:26 -0600, Gazz wrote:
>>
>> > can anyone shed any light as to why mame would suddenly start to
>> > hog all the cpu??,
>>
>> Because it needs it.

doesn't explain why older games would suddenly start needing 1ghz when
they ran fine on 300mhz.


>> Depending on the game that you're trying to run, Mame can requre a
>> great amount of CPU time. That's just the way that it is; some gams
>> are very very demanding.
>>
>> Your sound stuttering problem shows that your CPU is not fast enough
>> to run the game that you're trying to play. You can try getting rid
>> of any programs that are running in the background, but likely the
>> only real solution will be to get a faster CPU.
>
>
> Come on, he was talking about any MAME game, and didn't he have a 1GHz
> CPU anyway?

and frameskipping should jump in too..

> I'm just commenting to this because I just ran MAME32 0.59 for the
> first time on a P3-500/128Mb/Win95 machine, and I am having exactly
> the same problem with stuttering sound and slow performance! And I am
> not talking about Galaxy Fight or STUN Runner, but basically any game.
> E.g. Commando, 1942 etc., all the games which were smooth as butter in
> e.g. 0.57, now in 0.59 they are very jerky, slow, stuttering sound and
> the sound mostly seems to come delayed, keyboard is rather
> unresponsive (pressing OK in the starting MAME screen is delayed by a
> second or so).
>
> I tried updating DirectX from 7.0 to 8.0a in case this new MAME32 is
> requiring newer DX, but it had no effect whatsoever.
>
> Has anyone else experienced the same? Is it simply that MAME32 0.59
> requires much more CPU power compared to 0.57 and so, even with old
> games? What's the deal?

dunno much, but when i get low performance on mame32 it usually is
because the hardware scaling has failed to load.(this happens when the
agp card gets loose at the other end..don't ask how, so you wont have to
think why).


--
-glass
http://mamedonkey.tk

tap

unread,
May 2, 2002, 11:11:15 AM5/2/02
to
lassi <gl...@jussila.nosp4m.adsl.netsonic.fi> wrote:

>> Come on, he was talking about any MAME game, and didn't he have a 1GHz
>> CPU anyway?
>
>and frameskipping should jump in too..

I have the same MAME32 stuttering problem in 0.59, and it appears to
be a throttling problem. Disable throttle with F10 => game runs too
fast and no sound stuttering. With the throttle it crawls. Definite
bug in MAME (32?), the throttle slows MAME32 down too much.

Gazz

unread,
May 2, 2002, 3:13:26 PM5/2/02
to
"tap" <t...@nowhere.com> wrote in message
news:1ll2duc2a91986m7j...@news.kolumbus.fi...

hey guys, t'was me with that problem all those...weeks ago :),

yup i do have a 1 gig machine, 384 meg ram etc etc,

anyhoo, i was getting frame skipping too, just didnt realise it at the time,
what the last poster mentioned seems to expalin it,


"dunno much, but when i get low performance on mame32 it usually is
because the hardware scaling has failed to load"

anyway, my problems came to light when i was trying to use the TV out
function on my nvidia card, i found a bodge round it by turning tripple
buffering off, along with 'switch resolutions to fit', and 'switch colour
depths to fit', (all i have checked now is stretch using hardware, nothing
else),

i found it seemed to be a problem with mame re-sizing the game, droping it,
or raising it to 800x600 for the TV took up all the proccesor power, works
perfectly now, but i am guessing my solution may not be the one your looking
for.. but go and uncheck a few boxes, and see what happens,

Gary

Dire Radiant

unread,
May 2, 2002, 3:38:47 PM5/2/02
to
tap <t...@nowhere.com> played the following on an explodable
self-inflating leather and concrete saxophone:

This might sound really obvious but what else have you got running in
the background. Turn off your virus scanners and any other utilities
you have running. I run MAME on this box with utils running in the
background (Specifically a popup ad killer and an icon mangling util)
but your mileage may vary as different programs use different
resources.

Second, make sure that if MAME fails to run a game becuse theres
something wrong with the rom, you ensure it closed properly before you
try to run another one. That certainly will cause the problems you
described. A 3 finger salute usually takes care of it. That one caught
me out a few times.

Otherwise I can't see that there would be a problem. MAME runs on the
wife's 32 Mb Pentium 233 MMX with its built in non-3D S3 Trio just
peachy, providing you dont try to run STUN Runner or Gunbird 2

-----
Dire Radiant

You too can look less like a cretin! Astound your friends!
Even make brand new ones with FAQQO! The wonder newbie educator!
Get yours today at http://www.tombstones.org.uk/~faq/
FAQQO! Its free! Its fast! Its fun for the whole family!

john iv

unread,
May 2, 2002, 4:03:32 PM5/2/02
to
See help . troubleshooting in Mame32 .60.1. Could also be the -sleep
/ -nosleep switch.

--
www.classicgaming.com/mame32qa
Mame32 .60 [3368 arcade games supported]

0 new messages