MAMEWorld >> EmuChat
View all threads Index   Threaded Mode Threaded  

Pages: 1

Fact
MAME Fan
Reged: 07/23/16
Posts: 11
Send PM


Sound Stuttering in MAME.
#357146 - 07/30/16 09:13 PM


When I play games, such as Michael Jackson's Moonwalker, Grid Seeker: Project Storm Hammer or Space Invaders '95: The Attack Of Lunar Loonies, the sound stutters in them. Please, help me to solve this problem.



SoltanGris42
MAME Fan
Reged: 11/16/13
Posts: 134
Send PM


Re: Sound Stuttering in MAME. new [Re: Fact]
#357147 - 07/30/16 09:18 PM


Stuttering is almost always because the game isn't running at full 100% speed.

This can be because your pc isn't fast enough to run full speed or because a vsync issue is making the game run slightly too fast or slightly too slow. i.e forcing a game with a 60.1Hz refresh rate to 59.94Hz.

Press f11 to when running the games to see if you're at 100% all the time.



Fact
MAME Fan
Reged: 07/23/16
Posts: 11
Send PM


Re: Sound Stuttering in MAME. new [Re: SoltanGris42]
#357148 - 07/30/16 09:47 PM


Can this vsync issue occur if you don't use vsync?

P.S.: I guess not but what if I'm wrong.

Edited by Fact (07/30/16 09:50 PM)



SoltanGris42
MAME Fan
Reged: 11/16/13
Posts: 134
Send PM


Re: Sound Stuttering in MAME. new [Re: Fact]
#357149 - 07/30/16 10:03 PM


> Can this vsync issue occur if you don't use vsync?
>
> P.S.: I guess not but what if I'm wrong.

It shouldn't happen if you're not setting vsync. But graphics drivers can force vsync too, and it's possible that they are and you don't know it. That's why I'm suggesting that you enable the little OSD by pressing f11 so you can see if you're at 100% or at 99% or 101% or something.



Fact
MAME Fan
Reged: 07/23/16
Posts: 11
Send PM


Re: Sound Stuttering in MAME. new [Re: SoltanGris42]
#357151 - 07/30/16 11:20 PM


I've already launched Michael Jackson's Moonwalker and pressed f11. It was showing approximately 88-93%.



Fact
MAME Fan
Reged: 07/23/16
Posts: 11
Send PM


Re: Sound Stuttering in MAME. new [Re: SoltanGris42]
#357152 - 07/30/16 11:24 PM


And I don't think that the problem is in my computer's lack of power simply because I played more modern games on MAME without any problems with sound whatsoever.



Haze
Reged: 09/23/03
Posts: 5242
Send PM


Re: Sound Stuttering in MAME. new [Re: Fact]
#357153 - 07/30/16 11:31 PM


well, list your specs and we can tell you...



SoltanGris42
MAME Fan
Reged: 11/16/13
Posts: 134
Send PM


Re: Sound Stuttering in MAME. new [Re: Fact]
#357155 - 07/30/16 11:59 PM


> I've already launched Michael Jackson's Moonwalker and pressed f11. It was showing
> approximately 88-93%.

Well that's definitely the problem. There's no way to avoid sound stuttering at that speed. That's not a vsync issue either because mwalk us 57Hz so you'd be at 105% speed or so if it was throttling to 60Hz.

I get more like 900-1000% speed on my 4.4GHz i5 on moonwalker, so if you're not running it on a potato I guess your PC would be fast enough.

You are running on a PC right? Not some ancient MAME version on a raspberry pi or something?



Fact
MAME Fan
Reged: 07/23/16
Posts: 11
Send PM


Re: Sound Stuttering in MAME. new [Re: Haze]
#357156 - 07/31/16 12:02 AM


My PC is a HP Compaq Presario CQ57 laptop.
CPU: AMD E-350 1.6 GHz. It's dual-core.
Videocard: AMD Radeon HD 6310. It's integrated.
Ram: 2 gigabytes.



Fact
MAME Fan
Reged: 07/23/16
Posts: 11
Send PM


Re: Sound Stuttering in MAME. new [Re: SoltanGris42]
#357157 - 07/31/16 12:08 AM


I'm running on a HP Compaq Presario CQ57 laptop as I've mentioned before and I use MAMEUIFX32 v0.175.



Haze
Reged: 09/23/03
Posts: 5242
Send PM


Re: Sound Stuttering in MAME. new [Re: Fact]
#357158 - 07/31/16 12:09 AM


The problem is certainly your PC then, notebook processors like that are designed for low heat / long battery life, not performance and on top of that it's an AMD which typically perform significantly worse with MAME than Intel processors

It's many generations behind the hardware MAME is targeted at and can't run the emulation at full speed, that's why you're getting sound skipping. As others have said, Moonwalker runs at 900-1000% speed on current hardware, your hardware is at least 10x slower for single core performance, we can't actively target that.



Dullaron
Diablo III - Dunard #1884
Reged: 07/22/05
Posts: 6118
Loc: Fort Worth, Tx
Send PM


Re: Sound Stuttering in MAME. new [Re: Fact]
#357160 - 07/31/16 12:24 AM


> When I play games, such as Michael Jackson's Moonwalker, Grid Seeker: Project Storm
> Hammer or Space Invaders '95: The Attack Of Lunar Loonies, the sound stutters in
> them. Please, help me to solve this problem.

Pointing out that you can get a desktop computer that can uses your laptop internet or any of the internet box in your house. Make sure it a wifi support. You even use your unlimited phone internet on your computer and laptop. Just open up the wifi and then you are ready to go. You just need a Android phone FoxFi app or something that allow you get free unlimited hotspot. Computers cost about almost the same as the laptop. Check out the iBuyPower computers for example. Those are good ones. I have one and MAME run great on it. My computer spec is showing below. You can get one even better than I got.

If you want to make some speed changes.



W11 Home 64-bit + Nobara OS / AMD Radeon RX 5700 XT / AMD Ryzen 7 3700X 8-Core 3.59 GHz / RAM 64 GB



SoltanGris42
MAME Fan
Reged: 11/16/13
Posts: 134
Send PM


Re: Sound Stuttering in MAME. new [Re: Fact]
#357161 - 07/31/16 12:26 AM


> I'm running on a HP Compaq Presario CQ57 laptop as I've mentioned before and I use
> MAMEUIFX32 v0.175.

Actually when I run moonwalker unthottled and go into a game it's more like 650% on my pc and your pc is 36% of my clock speed. If I ran at 1.6GHz, I'd get arounf 230% speed.

So if your AMD apu is less than 45% clock-for-clock compared to the newest generation intel processors than you won't get full speed on this game.

That's almost certainly the issue. Your cpu just isn't fast enough.



Fact
MAME Fan
Reged: 07/23/16
Posts: 11
Send PM


Re: Sound Stuttering in MAME. new [Re: SoltanGris42]
#357164 - 07/31/16 01:03 AM


And yet that's enough to run all the Neo Geo games including Metal Slug 5 perfectly fine. Even Dimahoo, a shmup made in 2000, works perfectly fine.



Haze
Reged: 09/23/03
Posts: 5242
Send PM


Re: Sound Stuttering in MAME. new [Re: Fact]
#357165 - 07/31/16 01:12 AM


> And yet that's enough to run all the Neo Geo games including Metal Slug 5 perfectly
> fine. Even Dimahoo, a shmup made in 2000, works perfectly fine.

NeoGeo and CPS are less complex hardware, and therefore require less power to emulate.

Date means nothing, how 'high quality' the games looks means nothing; Pong is one of the most demanding things to emulate (run it, you'll probably get about 20% speed) and yet it's one of the oldest well known arcade games, and there's practically nothing going on there.



Fact
MAME Fan
Reged: 07/23/16
Posts: 11
Send PM


Re: Sound Stuttering in MAME. new [Re: Haze]
#357166 - 07/31/16 01:39 AM


I didn't know that!



StilettoAdministrator
They're always after me Lucky ROMS!
Reged: 03/07/04
Posts: 6472
Send PM


Re: Sound Stuttering in MAME. new [Re: Fact]
#357189 - 07/31/16 04:50 PM


> I didn't know that!

Here, read: http://wiki.mamedev.org/index.php/FAQ:Performance

- Stiletto


Pages: 1

MAMEWorld >> EmuChat
View all threads Index   Threaded Mode Threaded  

Extra information Permissions
Moderator:  Robbbert, Tafoid 
0 registered and 24 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 6660