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: Custom vido modes on MAME on arcade monitor and refresh rates  (Read 1605 times)

0 Members and 1 Guest are viewing this topic.

TheManuel

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 825
  • Last login:April 09, 2025, 10:13:43 pm
  • On and off hobbyist
Custom vido modes on MAME on arcade monitor and refresh rates
« on: December 04, 2007, 09:48:16 am »
If I use Soft-15KHz to create modes with a refresh rate that matches the games original and use this on an arcade monitor, is there still the potential for tearing artifacts or is there a way to run the monitor at the exact refresh rate of the original game?

What are the MAME video options typically used for arcade monitors to address this?

Thanks.
"The Manuel"

ahofle

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4544
  • Last login:August 30, 2023, 05:10:22 pm
    • Arcade Ambience Project
Re: Custom vido modes on MAME on arcade monitor and refresh rates
« Reply #1 on: December 04, 2007, 10:58:38 am »
Yes there is still a potential for tearing.  I get tearing in some games that even run at the exact refresh and resolution in MAME.  I have no idea why MAME does this.  :dunno

TheManuel

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 825
  • Last login:April 09, 2025, 10:13:43 pm
  • On and off hobbyist
Re: Custom vido modes on MAME on arcade monitor and refresh rates
« Reply #2 on: December 04, 2007, 11:55:40 am »
Well that just sucks.
I read here something to the effect that MAME has a timer and the monitor has its own so that even if you specify the same exact refresh rate as the original game your monitor might be off by a little:
http://www.retroblast.com/Articles/RetroBlast-MAME-Monitor-Tweaks.php

Have you played with triple buffer?
According to that article, if you enable syncrefresh and triple buffer, MAME will only draw each frame at the timing of the monitor so there will be no tearing.  The disadvantage is that the game will run at the speed of the monitor refresh so if a game ran at 53fps, then you will force it to run faster to stay at 60fps. 
However, I suppose that if you specify a video mode at with the same refresh rate as the original game, say 60Hz, you will get the benefit of no tearing and the difference in speed (due to the monitor not running exactly at 60Hz) should be negligible.
Would you interested in giving this a try and letting us know if it worked?
Basically, just enable syncrefresh and triplebuffer and compare to your current parameters

Has anyone played with this to try to get it right?
« Last Edit: December 04, 2007, 12:07:02 pm by TheManuel »
"The Manuel"

ahofle

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4544
  • Last login:August 30, 2023, 05:10:22 pm
    • Arcade Ambience Project
Re: Custom vido modes on MAME on arcade monitor and refresh rates
« Reply #3 on: December 04, 2007, 12:12:36 pm »
Yes I've tried both triple buffering and sync to refresh.  Neither works perfectly.  Triple buffer removes the tear, at the expense of a periodic video stutter (and sometimes causes sound stuttering).  Sync to refresh also sometimes causes sound stuttering and doesn't seem to help remove the tear.

TheManuel

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 825
  • Last login:April 09, 2025, 10:13:43 pm
  • On and off hobbyist
Re: Custom vido modes on MAME on arcade monitor and refresh rates
« Reply #4 on: December 04, 2007, 12:43:05 pm »
Quote
Yes I've tried both triple buffering and sync to refresh.  Neither works perfectly.  Triple buffer removes the tear, at the expense of a periodic video stutter (and sometimes causes sound stuttering).  Sync to refresh also sometimes causes sound stuttering and doesn't seem to help remove the tear

Oh crap!
Looks like we're stuck on that one.
How can you then wake up in the morning every day and get through life?  ;D
"The Manuel"

ahofle

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4544
  • Last login:August 30, 2023, 05:10:22 pm
    • Arcade Ambience Project
Re: Custom vido modes on MAME on arcade monitor and refresh rates
« Reply #5 on: December 04, 2007, 01:27:52 pm »
With the hope that someday this will work correctly without tearing in MAME.  :laugh2:

You should try those options though.  Some people seem to be happy with them.

TheManuel

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 825
  • Last login:April 09, 2025, 10:13:43 pm
  • On and off hobbyist
Re: Custom vido modes on MAME on arcade monitor and refresh rates
« Reply #6 on: December 04, 2007, 01:36:38 pm »
 :laugh2:
I sure will try it as soon as I get my hands on an arcade monitor.
"The Manuel"

TheManuel

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 825
  • Last login:April 09, 2025, 10:13:43 pm
  • On and off hobbyist
Re: Custom vido modes on MAME on arcade monitor and refresh rates
« Reply #7 on: December 04, 2007, 09:15:51 pm »
Hey ahofle:
I think this horse has a little meat left for us to beat up.
When you enable syncrefresh and triplebuffer, hit f10 and check if the emulation is being unthrottled.  If it is, then you are not really getting triplebuffer and that might explain the tearing.

According to this tread in the mameworld forum, some drivers support the feature and some don't.

Regards.
"The Manuel"