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: Groovymame Sound Stutters  (Read 14910 times)

0 Members and 1 Guest are viewing this topic.

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 7463
  • Last login:July 01, 2025, 01:29:14 pm
  • Quote me with care
Re: Groovymame Sound Stutters
« Reply #40 on: November 02, 2013, 07:18:48 am »
Hi rawbe,

What hardware (CPU) are you running GM on (please, just to discard CPU issues)?

Running groovymame using this params: -noswitchres -nomodeline -nosyncrefresh -notriplebuffer
... should result in same performance as baseline MAME with default settings (aspect ratio may be off however), just for testing.

There's something odd in your logs that I forgot to comment, was this intentional? :

DirectSound: Primary buffer: 11025 Hz, 16 bits, 2 channels

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

rawbe

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 205
  • Last login:June 17, 2025, 05:54:46 pm
Re: Groovymame Sound Stutters
« Reply #41 on: November 02, 2013, 09:13:35 am »
After a fresh mame -cc I disabled the modeline function and Galaga's sound is perfect. Of course now the game doesn't fit my screen.

My computer is an AMD Athlon XP(sp 3)1700 1.47 GHz with 2gb ram.
« Last Edit: November 02, 2013, 09:26:20 am by rawbe »

Sledge

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 500
  • Last login:February 04, 2025, 06:16:59 am
Re: Groovymame Sound Stutters
« Reply #42 on: November 03, 2013, 04:42:55 am »
My computer is an AMD Athlon XP(sp 3)1700 1.47 GHz with 2gb ram.
Might be something to do with this.
I'm running an E8500 with an AVGA and galaga is rock solid on 100% (ddraw)

rawbe

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 205
  • Last login:June 17, 2025, 05:54:46 pm
Re: Groovymame Sound Stutters
« Reply #43 on: November 04, 2013, 10:16:10 am »
Sledge-

I understand it is not the fastest computer but I am surprised that it is having problems keeping up with Groovymame. Like I stated before, regular Mame runs fine with no sound hiccups.

rawbe

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 205
  • Last login:June 17, 2025, 05:54:46 pm
Re: Groovymame Sound Stutters
« Reply #44 on: November 07, 2013, 04:44:03 pm »
I have tested mameuifx and 3 different Mames and have no sound issues. I have tried countless sound configurations with GM and still get sound stutters. I also picked up a $5 sound card just out of curiosity it was my drivers messing with GM. No luck. :banghead:

But Groovymame looks SO GOOD!!!!
« Last Edit: November 07, 2013, 04:46:18 pm by rawbe »

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 7463
  • Last login:July 01, 2025, 01:29:14 pm
  • Quote me with care
Re: Groovymame Sound Stutters
« Reply #45 on: November 08, 2013, 05:28:09 pm »
Hi rawbe,

GM requires more CPU power than normal MAME because vsync itself consumes many CPU cycles, and it is enabled all the time in GM, either with -syncrefresh or -triplebuffer. Your CPU has a single core, this means that it can't benefit of the multithreaded -triplebuffering in order to alliviate the vsync overhead. Remind some posts above that I reported slowdowns in Galaga running on a P4 3.0 GHz which is faster than your system. If you can live with some tearing for galaga, using these options inside galaga.ini should make GM perform just like normal MAME:

galaga.ini
Code: [Select]
triplebuffer 0
syncrefresh 0
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

Sledge

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 500
  • Last login:February 04, 2025, 06:16:59 am
Re: Groovymame Sound Stutters
« Reply #46 on: November 08, 2013, 07:07:24 pm »
Or upgrade your hardware :)
decent PC's for GM can be really cheap now!

ANY excuse to upgrade is a good excuse!

rawbe

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 205
  • Last login:June 17, 2025, 05:54:46 pm
Re: Groovymame Sound Stutters
« Reply #47 on: November 11, 2013, 01:36:10 pm »
Do you think a P4 3.2ghz 2gb ram would be enough CPU to get my audio sounding correct?
« Last Edit: November 11, 2013, 02:19:18 pm by rawbe »

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 7463
  • Last login:July 01, 2025, 01:29:14 pm
  • Quote me with care
Re: Groovymame Sound Stutters
« Reply #48 on: November 12, 2013, 06:15:11 am »
Hi rawbe,

As explained, it's not the sound what's incorrect, it's the overall performance, it's just that it's manifesting as sound issues because sound is the first thing that breaks when performance is poor.

That said, I tested this myself on a P4 3.00 and I noticed sound stuttering during the first explosion at the grid pattern, after that the sound was fine during gameplay. I assume 3.20 GHz should perform a little bit better, but it's still an underpowered CPU to run modern MAME. Consider Core2Duo as a bare minimum.
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