Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Slight sound stuttering with Mappy and Championship sprint? Worth update?  (Read 5397 times)

0 Members and 1 Guest are viewing this topic.

emuola

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 131
  • Last login:June 15, 2017, 02:19:54 am
Cab is nearing perfection now :) I  noticed that Mappy has a weird problem with audio, it kinda stutters. Championshiop sprint has a similar sounding problem. I'm running the latest live-cd version (64-bit, GroovyMAME/UME v0.148u1.014).

I remember there were some audio related problems back in the day with the 64-bit version, but I was wondering if it's reasonable to update to the latest GroovyMame. Sorry, I'm always a little afraid of updating when everything (almost perfectly) works.

Any known problems with audio in 64-bit version or any significant reasons to update?

haynor666

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1547
  • Last login:July 25, 2025, 04:09:52 pm
  • retro maniac
Re: Slight sound stuttering with Mappy and Championship sprint? Worth update?
« Reply #1 on: December 06, 2014, 08:53:57 am »
I had similiar problems on windows xp x64. In my case this was resolution 288x240 with freq 60,54 instead 60,606. I simply changed monitor parameter from generenic_15 to arcade_15 and groovymame this time generates 288x240@60,606.

However that's strange bacause it should sync audio to 60,54 means lower pitch a bit instead skips some samples.

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 7463
  • Last login:July 19, 2025, 04:03:33 am
  • Quote me with care
Re: Slight sound stuttering with Mappy and Championship sprint? Worth update?
« Reply #2 on: December 06, 2014, 10:32:53 am »
However that's strange bacause it should sync audio to 60,54 means lower pitch a bit instead skips some samples.

That's odd, it should be synchronizing audio unless you've enabled -frame_delay.
Important note: posts reporting GM issues without a log will be IGNORED.
Steps to create a log:
 - From command line, run: groovymame.exe -v romname >romname.txt
 - Attach resulting romname.txt file to your post, instead of pasting it.

CRT Emudriver, VMMaker & Arcade OSD downloads, documentation and discussion:  Eiusdemmodi

emuola

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 131
  • Last login:June 15, 2017, 02:19:54 am
Re: Slight sound stuttering with Mappy and Championship sprint? Worth update?
« Reply #3 on: December 06, 2014, 10:37:01 am »
I had similiar problems on windows xp x64. In my case this was resolution 288x240 with freq 60,54 instead 60,606. I simply changed monitor parameter from generenic_15 to arcade_15 and groovymame this time generates 288x240@60,606.

However that's strange bacause it should sync audio to 60,54 means lower pitch a bit instead skips some samples.

It shows 288 x 224 @ 60.606061 for Mappy. Weird thing is, there are tens of games that run without problems.

haynor666

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1547
  • Last login:July 25, 2025, 04:09:52 pm
  • retro maniac
Re: Slight sound stuttering with Mappy and Championship sprint? Worth update?
« Reply #4 on: December 06, 2014, 10:44:53 am »
Calamity, I've skipped this option generally. I'm not fantastic player so this 3 or 4 frames delay does not worries me.

Only for games that works with 30 Hz I was forced frame_delay 5 to get 100% of game for example all games from drivers cischeat, mcr, mcr3, mcd68 and Iron Horse.

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 7463
  • Last login:July 19, 2025, 04:03:33 am
  • Quote me with care
Re: Slight sound stuttering with Mappy and Championship sprint? Worth update?
« Reply #5 on: December 07, 2014, 05:10:50 am »
Cab is nearing perfection now :) I  noticed that Mappy has a weird problem with audio, it kinda stutters. Championshiop sprint has a similar sounding problem. I'm running the latest live-cd version (64-bit, GroovyMAME/UME v0.148u1.014).

Hi emuola,

Do you have a vertical cabinet? How are you playing Mappy? Does it show a speed percentage of 100%?
Important note: posts reporting GM issues without a log will be IGNORED.
Steps to create a log:
 - From command line, run: groovymame.exe -v romname >romname.txt
 - Attach resulting romname.txt file to your post, instead of pasting it.

CRT Emudriver, VMMaker & Arcade OSD downloads, documentation and discussion:  Eiusdemmodi

emuola

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 131
  • Last login:June 15, 2017, 02:19:54 am
Re: Slight sound stuttering with Mappy and Championship sprint? Worth update?
« Reply #6 on: December 07, 2014, 05:34:35 am »
Cab is nearing perfection now :) I  noticed that Mappy has a weird problem with audio, it kinda stutters. Championshiop sprint has a similar sounding problem. I'm running the latest live-cd version (64-bit, GroovyMAME/UME v0.148u1.014).

Hi emuola,

Do you have a vertical cabinet? How are you playing Mappy? Does it show a speed percentage of 100%?

I have a horiz M3129 cab. Mappy has sound problems, but for example Bomb Jack works great :) What do you mean by "how do you play Mappy"? Btw, I noticed that switchres shows this resolution on the info screen "608 x 288p 53.055 Hz 16500 KHz" and the original is shown as " 288 x 224 @ 60.606061 Hz"

I'll have to hook up a keyboard to be able to see the fps. I'll post the fps after lunch :)
« Last Edit: December 07, 2014, 05:36:16 am by emuola »

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 7463
  • Last login:July 19, 2025, 04:03:33 am
  • Quote me with care
Re: Slight sound stuttering with Mappy and Championship sprint? Worth update?
« Reply #7 on: December 07, 2014, 05:50:49 am »
I have a horiz M3129 cab. Mappy has sound problems, but for example Bomb Jack works great :) What do you mean by "how do you play Mappy"? Btw, I noticed that switchres shows this resolution on the info screen "608 x 288p 53.055 Hz 16500 KHz" and the original is shown as " 288 x 224 @ 60.606061 Hz"

I'll have to hook up a keyboard to be able to see the fps. I'll post the fps after lunch :)

Ok, that's fine. Regarding Mappy I meant if you're playing it rotated, as you've confirmed (288p@53Hz). You have two options:

- Enable -syncrefresh in a mappy.ini file. This will slow down the game forcing it to synchronize at 53 Hz. Sound pitch will be lower too, or
- Force 288p games to run at an interlaced resolution. You do this by creating a custom crt_range and setting ProgressiveLinesMax as 256 (or whatever value). The speed will be the original 60.606 Hz and the sound will be fine too.

Starting with Switchres 0.015c (GroovyMAME 0.155 & 0.156) there's a new implementation for Linux that allows running at a lower refresh while keeping the sound untouched (equivalent to the -triplebuffer option in Windows). So yes, there's a reason to update. However the new version is based on SDL2, so you'll need to update your system too to support this. Currently there's a beta live cd with SDL2 but because it's beta it's missing many things so I don't recommend you to install it. I'd say you should be able to use the newer builds in your system as long as you install the SDL2 libraries. Also, if you update GM make sure to create a fresh mame.ini using the new build because your current mame.ini won't work.

« Last Edit: December 07, 2014, 05:59:03 am by Calamity »
Important note: posts reporting GM issues without a log will be IGNORED.
Steps to create a log:
 - From command line, run: groovymame.exe -v romname >romname.txt
 - Attach resulting romname.txt file to your post, instead of pasting it.

CRT Emudriver, VMMaker & Arcade OSD downloads, documentation and discussion:  Eiusdemmodi

emuola

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 131
  • Last login:June 15, 2017, 02:19:54 am
Re: Slight sound stuttering with Mappy and Championship sprint? Worth update?
« Reply #8 on: December 07, 2014, 06:39:38 am »
I have a horiz M3129 cab. Mappy has sound problems, but for example Bomb Jack works great :) What do you mean by "how do you play Mappy"? Btw, I noticed that switchres shows this resolution on the info screen "608 x 288p 53.055 Hz 16500 KHz" and the original is shown as " 288 x 224 @ 60.606061 Hz"

I'll have to hook up a keyboard to be able to see the fps. I'll post the fps after lunch :)

Ok, that's fine. Regarding Mappy I meant if you're playing it rotated, as you've confirmed (288p@53Hz). You have two options:

- Enable -syncrefresh in a mappy.ini file. This will slow down the game forcing it to synchronize at 53 Hz. Sound pitch will be lower too, or
- Force 288p games to run at an interlaced resolution. You do this by creating a custom crt_range and setting ProgressiveLinesMax as 256 (or whatever value). The speed will be the original 60.606 Hz and the sound will be fine too.

Starting with Switchres 0.015c (GroovyMAME 0.155 & 0.156) there's a new implementation for Linux that allows running at a lower refresh while keeping the sound untouched (equivalent to the -triplebuffer option in Windows). So yes, there's a reason to update. However the new version is based on SDL2, so you'll need to update your system too to support this. Currently there's a beta live cd with SDL2 but because it's beta it's missing many things so I don't recommend you to install it. I'd say you should be able to use the newer builds in your system as long as you install the SDL2 libraries. Also, if you update GM make sure to create a fresh mame.ini using the new build because your current mame.ini won't work.


Ok, thanks again Calamity :) I tried to create mappy.ini in /home/arcade/ini and put "syncrefresh" on the first line (also tried "-syncrefresh"), but it does not seems to do anything :/ Wrong syntax or what?

I guess I'll hold on a little longer with the update, I'll have to make and image with Clonezilla first :)

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 7463
  • Last login:July 19, 2025, 04:03:33 am
  • Quote me with care
Re: Slight sound stuttering with Mappy and Championship sprint? Worth update?
« Reply #9 on: December 07, 2014, 06:53:17 am »
Create a blank .ini file and add:

syncrefresh 1

That's all.
Important note: posts reporting GM issues without a log will be IGNORED.
Steps to create a log:
 - From command line, run: groovymame.exe -v romname >romname.txt
 - Attach resulting romname.txt file to your post, instead of pasting it.

CRT Emudriver, VMMaker & Arcade OSD downloads, documentation and discussion:  Eiusdemmodi

emuola

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 131
  • Last login:June 15, 2017, 02:19:54 am
Re: Slight sound stuttering with Mappy and Championship sprint? Worth update?
« Reply #10 on: December 07, 2014, 07:02:23 am »
Create a blank .ini file and add:

syncrefresh 1

That's all.

 :notworthy: :notworthy: Yes! Thank you. I don't mind the little drop in sound pitch as the game runs smoothly :)One more thing: Why does my mame.ini have "syncrefresh 1" in core options? Is that wrong (applies for mame in general??

haynor666

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1547
  • Last login:July 25, 2025, 04:09:52 pm
  • retro maniac
Re: Slight sound stuttering with Mappy and Championship sprint? Worth update?
« Reply #11 on: December 07, 2014, 07:44:32 am »
I use syncrefresh 1 in mame.ini and never bothered about this option in [game].ini or source/[driver].ini. Works great so far.

adder

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 640
  • Last login:February 04, 2021, 10:51:51 am
  • Location: Easy St.
Re: Slight sound stuttering with Mappy and Championship sprint? Worth update?
« Reply #12 on: December 07, 2014, 07:57:16 am »
generally speaking i think if you set syncrefresh, waitvsync and triplebuffer all to 0, then groovymame chooses the most suitable option for you. i had to do this as previously if i was using only syncrefresh set to 1 and the others set to 0, then the 30hz games like rampage were running at twice speed.

haynor666

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1547
  • Last login:July 25, 2025, 04:09:52 pm
  • retro maniac
Re: Slight sound stuttering with Mappy and Championship sprint? Worth update?
« Reply #13 on: December 07, 2014, 08:52:43 am »
I had the same problem with 30 Hz games. With these games I use frame_delay 4 or 5. If I had some sound problems then I disable syncrefresh.

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 7463
  • Last login:July 19, 2025, 04:03:33 am
  • Quote me with care
Re: Slight sound stuttering with Mappy and Championship sprint? Worth update?
« Reply #14 on: December 07, 2014, 09:48:27 am »
generally speaking i think if you set syncrefresh, waitvsync and triplebuffer all to 0, then groovymame chooses the most suitable option for you.

That's correct. In GroovyMAME, for these options, as well as for cleanstretch, "0" in mame.ini means automatic.

Switchres in GM sets options with higher priority than mame.ini, so if these options are "0" in mame.ini GM will be able to override them to make the best adjustment depending on the resulting refresh from the modeline generator (which is a function of your monitor configuration).

If you want to force a specific setting then you put it in an .ini file with higher priority than Switchres (all but mame.ini: game.ini, driver.ini, etc.)

You can see what settings are being applied by creating a log.

For -triplebuffer (Windows) to actually work as intended, -multithreading must be enabled first in mame.ini. This must be done manually as it is disabled by default for stability reasons (mainly because it caused issues for people using super invasive frontends that kill the emulator process by hooking the escape key and things like that).

For games that run at 30 Hz, in normal conditions (default options in mame.ini), -triplebuffer would be invoked by GM keeping the speed at 100% without requiring -frame_delay.


Important note: posts reporting GM issues without a log will be IGNORED.
Steps to create a log:
 - From command line, run: groovymame.exe -v romname >romname.txt
 - Attach resulting romname.txt file to your post, instead of pasting it.

CRT Emudriver, VMMaker & Arcade OSD downloads, documentation and discussion:  Eiusdemmodi

emuola

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 131
  • Last login:June 15, 2017, 02:19:54 am
Re: Slight sound stuttering with Mappy and Championship sprint? Worth update?
« Reply #15 on: December 07, 2014, 12:25:14 pm »
generally speaking i think if you set syncrefresh, waitvsync and triplebuffer all to 0, then groovymame chooses the most suitable option for you.

That's correct. In GroovyMAME, for these options, as well as for cleanstretch, "0" in mame.ini means automatic.

Switchres in GM sets options with higher priority than mame.ini, so if these options are "0" in mame.ini GM will be able to override them to make the best adjustment depending on the resulting refresh from the modeline generator (which is a function of your monitor configuration).

If you want to force a specific setting then you put it in an .ini file with higher priority than Switchres (all but mame.ini: game.ini, driver.ini, etc.)

You can see what settings are being applied by creating a log.

For -triplebuffer (Windows) to actually work as intended, -multithreading must be enabled first in mame.ini. This must be done manually as it is disabled by default for stability reasons (mainly because it caused issues for people using super invasive frontends that kill the emulator process by hooking the escape key and things like that).

For games that run at 30 Hz, in normal conditions (default options in mame.ini), -triplebuffer would be invoked by GM keeping the speed at 100% without requiring -frame_delay.

Ok, as default I have all these set to "1", except triplebuffer, which does not exists at all in my mame.ini (linux). Why are these like that as default in GroovyArcade? I'd presume they would be "correct" at the first place?

Should I set these all to 0 then? Just wondering :) Great to have this kind of expertise in this forum guys  :notworthy:
« Last Edit: December 07, 2014, 12:27:46 pm by emuola »

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 7463
  • Last login:July 19, 2025, 04:03:33 am
  • Quote me with care
Re: Slight sound stuttering with Mappy and Championship sprint? Worth update?
« Reply #16 on: December 07, 2014, 12:40:27 pm »
Quote
Why are these like that as default in GroovyArcade?

I'd say it was like that in older versions (yours is still based on Switchres 0.014).
Important note: posts reporting GM issues without a log will be IGNORED.
Steps to create a log:
 - From command line, run: groovymame.exe -v romname >romname.txt
 - Attach resulting romname.txt file to your post, instead of pasting it.

CRT Emudriver, VMMaker & Arcade OSD downloads, documentation and discussion:  Eiusdemmodi

emuola

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 131
  • Last login:June 15, 2017, 02:19:54 am
Re: Slight sound stuttering with Mappy and Championship sprint? Worth update?
« Reply #17 on: December 07, 2014, 01:20:19 pm »
Quote
Why are these like that as default in GroovyArcade?

I'd say it was like that in older versions (yours is still based on Switchres 0.014).

Ok, I have the first of 0.015-series. Should I change those then? :)

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 7463
  • Last login:July 19, 2025, 04:03:33 am
  • Quote me with care
Re: Slight sound stuttering with Mappy and Championship sprint? Worth update?
« Reply #18 on: December 07, 2014, 01:31:41 pm »
Quote
Why are these like that as default in GroovyArcade?

I'd say it was like that in older versions (yours is still based on Switchres 0.014).

Ok, I have the first of 0.015-series. Should I change those then? :)

Then it is fine to leave -syncrefresh & -waitvsync as "0" in mame.ini.

I forgot to mention: there's a better way to enable -syncrefresh even in those cases where the refresh is off rather than creating individial .inis for the games affected. Use the -syncrefresh_tolerance option. By default it's set to 2.0 Hz. This means that -syncrefresh is used unless the refresh obtained is off by more than 2.0 Hz. Increase this value to allow more tolerance.
Important note: posts reporting GM issues without a log will be IGNORED.
Steps to create a log:
 - From command line, run: groovymame.exe -v romname >romname.txt
 - Attach resulting romname.txt file to your post, instead of pasting it.

CRT Emudriver, VMMaker & Arcade OSD downloads, documentation and discussion:  Eiusdemmodi

emuola

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 131
  • Last login:June 15, 2017, 02:19:54 am
Re: Slight sound stuttering with Mappy and Championship sprint? Worth update?
« Reply #19 on: December 07, 2014, 01:45:33 pm »
Quote
Why are these like that as default in GroovyArcade?

I'd say it was like that in older versions (yours is still based on Switchres 0.014).

Ok, I have the first of 0.015-series. Should I change those then? :)

Then it is fine to leave -syncrefresh & -waitvsync as "0" in mame.ini.

I forgot to mention: there's a better way to enable -syncrefresh even in those cases where the refresh is off rather than creating individial .inis for the games affected. Use the -syncrefresh_tolerance option. By default it's set to 2.0 Hz. This means that -syncrefresh is used unless the refresh obtained is off by more than 2.0 Hz. Increase this value to allow more tolerance.

Awesome :) Btw, when I run switchres from shell I prompts this:

Code: [Select]
SwitchRes version 1.50 by Chris Kennedy (C) 2010 - updated by Antonio Giner (C) 2012
General purpose modeline generator

Build Date:   vie feb 22 09:16:04 CET 2013
Compiler:     GCC 4.7.2
Build System: Linux Archlinux 3.7.9-1-ARCH #1 SMP PREEMPT Mon Feb 18 02:13:30 EET 2013 x86_64 GNU/Linux


ver 1.5 is 0.015?  ???

Sorry to bother you Calamity.

haynor666

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1547
  • Last login:July 25, 2025, 04:09:52 pm
  • retro maniac
Re: Slight sound stuttering with Mappy and Championship sprint? Worth update?
« Reply #20 on: December 07, 2014, 01:50:23 pm »
I've set sync tolerance to 4 at the beginning because of Denjin Makai works at 61 Hz which can't be generated for 320x256.

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 7463
  • Last login:July 19, 2025, 04:03:33 am
  • Quote me with care
Re: Slight sound stuttering with Mappy and Championship sprint? Worth update?
« Reply #21 on: December 07, 2014, 02:12:25 pm »
ver 1.5 is 0.015?  ???

No, I mean the Switchres that's built in GroovyMAME, launch (groovymame -h).
It will be 0.014 for sure if you're still with GM 0.148 (very old btw).
Important note: posts reporting GM issues without a log will be IGNORED.
Steps to create a log:
 - From command line, run: groovymame.exe -v romname >romname.txt
 - Attach resulting romname.txt file to your post, instead of pasting it.

CRT Emudriver, VMMaker & Arcade OSD downloads, documentation and discussion:  Eiusdemmodi

emuola

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 131
  • Last login:June 15, 2017, 02:19:54 am
Re: Slight sound stuttering with Mappy and Championship sprint? Worth update?
« Reply #22 on: December 07, 2014, 03:37:56 pm »
ver 1.5 is 0.015?  ???

No, I mean the Switchres that's built in GroovyMAME, launch (groovymame -h).
It will be 0.014 for sure if you're still with GM 0.148 (very old btw).

Stupid me  :banghead: Ok, yeah, it's 0.014. Ok, I'll update :D I just need some time to make it *100%* sure, it's gonna work. Thank you Calamity for your support. I own you (at least) 10 pints :D

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 7463
  • Last login:July 19, 2025, 04:03:33 am
  • Quote me with care
Re: Slight sound stuttering with Mappy and Championship sprint? Worth update?
« Reply #23 on: December 07, 2014, 04:13:11 pm »
Ves is telling me that it may be difficult to get the SDL2 libraries for that old distribution, in case you wanted to update GM. So maybe you'll want to wait until a new live cd is released.

Beer... you know my weakness ;)
Important note: posts reporting GM issues without a log will be IGNORED.
Steps to create a log:
 - From command line, run: groovymame.exe -v romname >romname.txt
 - Attach resulting romname.txt file to your post, instead of pasting it.

CRT Emudriver, VMMaker & Arcade OSD downloads, documentation and discussion:  Eiusdemmodi