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: Poor Video Refresh - Yuck!  (Read 1189 times)

0 Members and 1 Guest are viewing this topic.

Woodshop Flunky

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 681
  • Last login:August 20, 2017, 05:24:57 am
Poor Video Refresh - Yuck!
« on: February 05, 2011, 10:48:54 am »
I've got MAME running on an P3 with 512meg running XP.  I also have the same MAME setup running on a Core 2 Duo with 4gig running Windows 7.

I'm using a CRT VGA monitor rotated vertically.

The problem I'm noticing (on both setups) is that some games like Xevious and Twin Cobra seem to have a "shift" in the graphics that kind of scrolls across the screen.  It's kind of like looking at the monitor through the blades of a fan, but not nearly so pronounced.

Is this to do with the games originally being developed for 15Khz monitors, and I'm using a multi-scan monitor running at a higher resolution and scan rate?

Or is there some other issue.  I've only noticed it on scrolling games.

Any ideas?

Thanks!

Complete mini arcade cabinet plans available.

MonMotha

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2378
  • Last login:February 19, 2018, 05:45:54 pm
Re: Poor Video Refresh - Yuck!
« Reply #1 on: February 05, 2011, 11:00:15 am »
This sounds like "tearing".  Check that you have vsync or triple buffering turned on in your emulator.

lilshawn

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7513
  • Last login:June 27, 2025, 09:56:31 am
  • I break stuff...then fix it...sometimes
Re: Poor Video Refresh - Yuck!
« Reply #2 on: February 05, 2011, 02:30:19 pm »
v-sync. nuff said.

:if nuff said=0 then

The artifact occurs when the video feed sent to the device isn't in sync with the display's refresh, be it due to non-matching refresh rates, or simply lack of sync between the two. During video motion, screen tearing creates a torn look as edges of objects (such as a wall or a tree) fail to line up.

During the vertical blanking interval, the driver would order the video card to either rapidly copy the off-screen graphics area into the active display area (double buffering), or treat both memory areas as displayable, and simply switch back and forth between them (page flipping).

Woodshop Flunky

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 681
  • Last login:August 20, 2017, 05:24:57 am
Re: Poor Video Refresh - Yuck!
« Reply #3 on: February 05, 2011, 06:27:48 pm »
Yep!  That fixed it.  Looks great now!  I set waitvsync=1 and left syncrefresh=0 in the config file.

Thanks a ton!

Complete mini arcade cabinet plans available.