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: Tweaking MAME for Defender on LCD - Tearing  (Read 1335 times)

0 Members and 1 Guest are viewing this topic.

jimmer

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 561
  • Last login:March 17, 2024, 06:03:11 pm
  • I want to play Defender like at the arcade.
Tweaking MAME for Defender on LCD - Tearing
« on: April 10, 2014, 07:27:31 am »
Before I give up and resort to a CRT, I'm thinking there must be some way to tweak my LCD system.
I don't need a general solution, just looking for a specific fix for Defender on my current system.
Dell Optiplex 745 core2duo 1.86GHz,  WinXP 32bit,  Dell 1707 LCD 1280x1024.

I've tried:     mame.exe -video ddraw -nohws -triplebuffer
It solves the tearing but crashes every so often. And people say it introduces lag. I'm not sure if I can sense that or not, on a bad day I blame it.

I currently run MAME as:    mame.exe -video ddraw -nohws
I like this except for the tearing I get which moves slowly down the screen.

As an experiment I changed the video frame rate of Defender from 60.096Hz to 60.000 Hz. This caused the tear to move very slowly downwards instead of slowly up. Therefore if I tuned the game to my monitor I could probably get the tear to stay still, but that's not a solution.

But this got me to thinking about triplebuffer. How does it work?   And might it work better if I slightly slowed or sped up Defender's video rate?

I could just experiment, but I'd prefer to understand how MAME works.

Any ideas?  or other MAME options I could try?




« Last Edit: April 11, 2014, 08:58:22 am by jimmer »
On forums jimmer speaks for himself as a Defender fan, not as proprietor of www.jbgaming.co.uk  << Is that advertising or disclosure ? or both ?

Sjaak

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 706
  • Last login:April 06, 2024, 05:21:26 pm
Re: Tweaking MAME for Defender on LCD - Tearing
« Reply #1 on: April 10, 2014, 07:31:52 am »
I don't think you should use -nohws

Generic Eric

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4520
  • Last login:March 05, 2024, 09:02:23 am
  • Restore! Don't maim for MAME, build from scratch!
    • forum.arcadecontrols.com/index.php/topic,143226.0.html
Re: Tweaking MAME for Defender on LCD - Tearing
« Reply #2 on: April 10, 2014, 09:41:15 am »
I have a lot of problems with this too.  I've yet to resolve it, because I want to play games on it.  That the mame computer is still the fastest Desktop in the house.

Best of luck.

BadMouth

  • Trade Count: (+6)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 9226
  • Last login:April 22, 2024, 09:54:06 am
  • ...
Re: Tweaking MAME for Defender on LCD - Tearing
« Reply #3 on: April 10, 2014, 10:14:21 am »
triple buffer and vsync, but it adds lag to the controls.

Generic Eric

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4520
  • Last login:March 05, 2024, 09:02:23 am
  • Restore! Don't maim for MAME, build from scratch!
    • forum.arcadecontrols.com/index.php/topic,143226.0.html
Re: Tweaking MAME for Defender on LCD - Tearing
« Reply #4 on: April 10, 2014, 10:20:59 am »
can you overclock to compensate for lag on the controls?  I remember reading about overclocking years ago, but I don't know if that is still a thing or not.

DeLuSioNal29

  • Global Moderator
  • Trade Count: (+6)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 4778
  • Last login:October 20, 2023, 11:39:06 pm
  • Build the impossible -"There is no Spoon"
    • DeLuSioNaL's YouTube Videos
Re: Tweaking MAME for Defender on LCD - Tearing
« Reply #5 on: April 10, 2014, 11:04:55 am »
Have you tried GroovyMAME?  There are settings for LCD setups.
Stop by my Youtube channel and leave a comment:

jimmer

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 561
  • Last login:March 17, 2024, 06:03:11 pm
  • I want to play Defender like at the arcade.
Re: Tweaking MAME for Defender on LCD - Tearing
« Reply #6 on: April 11, 2014, 10:22:02 am »

hmm maybe I haven't got a problem.

-triplebuffer
This hasn't crashed on me since yesterday, and I can't spot any obvious lag.

-waitvsync
Seems to work fine as well. So if triplebuffer crashes, I'll use this.


I don't quite understand what waits for what with the various options but I guess a 60.1fps game on a 60Hz lcd works OK.











On forums jimmer speaks for himself as a Defender fan, not as proprietor of www.jbgaming.co.uk  << Is that advertising or disclosure ? or both ?