Build Your Own Arcade Controls Forum

Software Support => GroovyMAME => Topic started by: moogrum on December 09, 2014, 08:32:19 pm

Title: Question on how to undo triplebuffer
Post by: moogrum on December 09, 2014, 08:32:19 pm
I am running hyperspin with groovymame and everything was working great until I noticed some lines not syncing up on vs. excitebike.  I figured triplebuffer would be a great solution, so I set triplebuffer 1 in my ini.  Every game I ran now ran slow and at unstable speeds( like the speed would change)!  ok, so maybe my system can't handle triplebuffer, I thought.  Set triplebuffer back to zero, and problem persists!  WTH, it used to run fine without triplebuffer!   Is there anything else I should be checking that may need to be undone as a result of enabling triplebuffer?  The games run fine when not launched from hyperspin, so this might be a hyperspin issue, but I didn't change anything in hyperspin, so my guess is it's a setting issue.  Any advice welcome!
Title: Re: Question on how to undo triplebuffer
Post by: stellarola on December 09, 2014, 09:25:22 pm
Have you tried removing the game's *.cfg file? It's located in MAME\cfg\romname.cfg
Title: Re: Question on how to undo triplebuffer
Post by: Calamity on December 10, 2014, 04:06:10 am
Hi moogrum,

Triplebuffer shouldn't be enabled as a general option. GM uses it when necessary, but in general it uses syncrefresh as the preferred option.

It sounds like you might have enabled -frame_delay in mame.ini?
Title: Re: Question on how to undo triplebuffer
Post by: haynor666 on December 10, 2014, 01:26:43 pm
cfg files does not have options that could alter mame performance. I get similiar result with frame_delay enabled or set too high value.

Right now my config is default. I didn't change cleanstretch, syncrefresh or triplebuffer. The only default values I've changed are monitor type from generic_15 to arcade_15 and from horizontal to rotate_r. I've tested plenty games on E8500 overclocked to 3,8 GHz and so far no problems.
Title: Re: Question on how to undo triplebuffer
Post by: moogrum on December 12, 2014, 09:02:52 pm
Hi moogrum,

Triplebuffer shouldn't be enabled as a general option. GM uses it when necessary, but in general it uses syncrefresh as the preferred option.

It sounds like you might have enabled -frame_delay in mame.ini?

There is no line for frame delay in my mame.ini.  Should there be?  Here are some of my performance combinations

MAME > fine
mame launched from hyperspin > fine
Groovymame > fine
Groovymame launched from hyperspin > choppy
Groovymame launched from windows while hyperspin running > choppy

Some of my mame.ini settings:
triplebuffer: 0
multithreading: 0
syncrefresh: 0
switchres: 0 (should this be 1?)
audio_latency: 2

So why would turning triplebuffer on, then off, cause this behavior?  Did I fry a chip or something?  clog up some memory?   It doesn't seem to make any sense to me.  Could it be a hyperlaunch setting?
Title: Re: Question on how to undo triplebuffer
Post by: moogrum on December 12, 2014, 09:08:56 pm
OK, I switched to launching groovmame from hyperspin without using hyperlaunch, and that solved the problem.  But I like some of the hyperlaunch features, so I am curious which one is causing such a delay.  I will investigate.  Any thoughts in the meantime?
Title: Re: Question on how to undo triplebuffer
Post by: Calamity on December 13, 2014, 05:52:05 am
There is no line for frame delay in my mame.ini. Should there be?

Sure. If it's not there, it means you didn't create mame.ini from the GM executable, which is a required step. Read this: http://forum.arcadecontrols.com/index.php/topic,135823.0.html (http://forum.arcadecontrols.com/index.php/topic,135823.0.html)

Quote
OK, I switched to launching groovmame from hyperspin without using hyperlaunch, and that solved the problem.  But I like some of the hyperlaunch features, so I am curious which one is causing such a delay.  I will investigate.  Any thoughts in the meantime?

Hyperlaunch should be avoided when using GM. I believe it can be configured so it doesn't interfere with GM, but I don't use it myself so I can't help you with this. Search this subforum for Hyperlaunch related problems.