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: Screen Glitches (tearing?) MAME on slower machine with TFT  (Read 1473 times)

0 Members and 1 Guest are viewing this topic.

jimmer

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 562
  • Last login:February 17, 2025, 02:48:38 pm
  • I want to play Defender like at the arcade.
Screen Glitches (tearing?) MAME on slower machine with TFT
« on: September 02, 2013, 08:45:53 am »

I'm running mame0148 on a pentium4 2.8GHz   using options   mame.exe -video ddraw -nohws. ( using ddraw to get rid of the blurry edges to the graphics)

I getting screen tearing eg on Defender when scrolling right there is a line through the landscape where above the line is shifted to the right of below the line. Less noticeable when eg landers get split through the middle.

Will a faster machine help this?  Unthrottled the above runs at only 105%. I'm thinking of approx 3x faster machine eg Core 2 duo.

Or should I try older versions of Mame? which ones?




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 ?

BadMouth

  • Trade Count: (+6)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 9273
  • Last login:August 19, 2025, 03:10:32 pm
  • ...
Re: Screen Glitches (tearing?) MAME on slower machine with TFT
« Reply #1 on: September 02, 2013, 09:46:12 am »
Try turning on v-sync. 
If that doesn't work, turning triple buffer on will fix it, but at the expense of a little control lag.

I don't think the speed of your system makes a difference, but I'm no expert.
I believe it's just caused by a difference in the refresh rate of your monitor vs what MAME is sending.
« Last Edit: September 02, 2013, 10:02:09 am by BadMouth »

jimmer

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 562
  • Last login:February 17, 2025, 02:48:38 pm
  • I want to play Defender like at the arcade.
Re: Screen Glitches (tearing?) MAME on slower machine with TFT
« Reply #2 on: September 02, 2013, 04:05:27 pm »
Thanks.

When I tried waitvsync the game locked up after the first wave (keyboard inputs not working), wasn't able to get control of PC (ctrl-alt-del opened task manager, but Defender was trying to stay on top of the othwer windows)

So I tried triplebuffer next and that seems to have done the job (I read somewhere else that triplebuffer is better than waitvsync)

I just bought a core2duo on eBay so that may have been a waste of £40 (well waste of £10 postage if I sell it).
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 ?