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: Question on how to undo triplebuffer  (Read 2700 times)

0 Members and 1 Guest are viewing this topic.

moogrum

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 10
  • Last login:June 07, 2015, 04:07:09 pm
  • I want to build my own arcade controls!
Question on how to undo triplebuffer
« 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!

stellarola

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 644
  • Last login:June 24, 2020, 11:46:59 pm
  • .::For the love of the game::.
Re: Question on how to undo triplebuffer
« Reply #1 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

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 7435
  • Last login:October 23, 2024, 01:59:38 pm
  • Quote me with care
Re: Question on how to undo triplebuffer
« Reply #2 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?
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

haynor666

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1502
  • Last login:Today at 05:37:16 pm
  • retro maniac
Re: Question on how to undo triplebuffer
« Reply #3 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.
« Last Edit: December 10, 2014, 01:29:20 pm by haynor666 »

moogrum

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 10
  • Last login:June 07, 2015, 04:07:09 pm
  • I want to build my own arcade controls!
Re: Question on how to undo triplebuffer
« Reply #4 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?

moogrum

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 10
  • Last login:June 07, 2015, 04:07:09 pm
  • I want to build my own arcade controls!
Re: Question on how to undo triplebuffer
« Reply #5 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?

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 7435
  • Last login:October 23, 2024, 01:59:38 pm
  • Quote me with care
Re: Question on how to undo triplebuffer
« Reply #6 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

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.
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