Build Your Own Arcade Controls Forum

Main => Main Forum => Topic started by: jimmer on September 02, 2013, 08:45:53 am

Title: Screen Glitches (tearing?) MAME on slower machine with TFT
Post by: jimmer 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?




Title: Re: Screen Glitches (tearing?) MAME on slower machine with TFT
Post by: BadMouth 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.
Title: Re: Screen Glitches (tearing?) MAME on slower machine with TFT
Post by: jimmer 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).