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: Tearing, vsync, and input lag  (Read 3619 times)

0 Members and 1 Guest are viewing this topic.

newmanfamilyvlogs

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1694
  • Last login:June 15, 2022, 05:20:38 pm
    • forum.arcadecontrols.com/index.php/topic,103584.msg1096585.html#msg1096585
    • Newman Family Vlogs
Tearing, vsync, and input lag
« on: December 11, 2010, 08:37:51 pm »
So the Armoircade is up and running and the family is loving it. But it's not quite right yet...
I've got a k7400 running via soft15khz on xp64 and the video tearing is horrible. But if I enable tripple buffering or vsync the input lag is unbearable. Its particularly bad in trackball games. Centipede is unplayable, getting upwards of 2 seconds of lag if im really aggressive with it.

Wat do? :(

Certainly there is a proper solution I'm just unaware of.

Jack Burton

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1384
  • Last login:April 07, 2025, 02:12:05 pm
  • .

RayB

  • I'm not wearing pants! HA!
  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 11279
  • Last login:August 18, 2025, 10:59:20 pm
  • There's my post
    • RayB.com
Re: Tearing, vsync, and input lag
« Reply #2 on: December 12, 2010, 11:47:39 pm »
Faster hardware
NO MORE!!

newmanfamilyvlogs

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1694
  • Last login:June 15, 2022, 05:20:38 pm
    • forum.arcadecontrols.com/index.php/topic,103584.msg1096585.html#msg1096585
    • Newman Family Vlogs
Re: Tearing, vsync, and input lag
« Reply #3 on: December 13, 2010, 06:00:24 am »
I don't think faster hardware is the issue. This is an E8500 running at 3.6Ghz with a decent midrange ATI card. Centipede was running full speed ten years ago on hardware that was outdated THEN.

Games run flawlessly without any sort of syncing enabled, except for the tearing. Alien Syndrome as a lot of smooth scrolling areas that make this particularly visible.

if I enable triple buffering, things look great, except for the lag that is introduced. For joystick games I don't think i'd ever notice, but for trackball games it makes the game unplayable.

I can very literally roll the track ball in a couple of loops very quickly then pull my hand back and watch it finish making the motion for the next few seconds. This does not happen with any of the syncing options off. It's almost as if it's polling the input at a much higher rate than the game syncs to, and then playing back the 'buffer' at game speed.

RayB

  • I'm not wearing pants! HA!
  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 11279
  • Last login:August 18, 2025, 10:59:20 pm
  • There's my post
    • RayB.com
Re: Tearing, vsync, and input lag
« Reply #4 on: December 13, 2010, 10:38:14 pm »
The only thing that's supposed to fix tearing is Vertical Sync. Turn that on, but not triple-buffer.

NO MORE!!

newmanfamilyvlogs

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1694
  • Last login:June 15, 2022, 05:20:38 pm
    • forum.arcadecontrols.com/index.php/topic,103584.msg1096585.html#msg1096585
    • Newman Family Vlogs
Re: Tearing, vsync, and input lag
« Reply #5 on: December 13, 2010, 10:42:04 pm »
I've done that as well. It still produces the same input buffering/lag phenomena. :(
Surely im just missing something simple. There is nothing exotic about my setup.

Gray_Area

  • -Banned-
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3363
  • Last login:June 23, 2013, 06:52:30 pm
  • -Banned-
Re: Tearing, vsync, and input lag
« Reply #6 on: December 14, 2010, 03:23:45 am »
I've noticed threads like this in recent times. The common denominators seem to be newer computers and recent MAME.
-Banned-

RVZ

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 109
  • Last login:January 04, 2022, 08:51:42 am
    • Metal Slug!
Re: Tearing, vsync, and input lag
« Reply #7 on: December 15, 2010, 02:19:04 pm »
I also have this problem on my arcade.  Eventually just gave up.  I did get some better results with the tearing by using different drivers I think.  But some games like Wonderboy I just can't fix.  The tearing is horrible, but when I enable vsync, the sound is all screwed up.  The pc is a dual core pc, so it's not the hardware.  And like others have said, I've been into Mame for more than 10 years now, and it definitely wasn't like this back then.  And then it was on much slower pc's.

newmanfamilyvlogs

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1694
  • Last login:June 15, 2022, 05:20:38 pm
    • forum.arcadecontrols.com/index.php/topic,103584.msg1096585.html#msg1096585
    • Newman Family Vlogs
Re: Tearing, vsync, and input lag
« Reply #8 on: December 15, 2010, 03:04:00 pm »
I've been doing some digging and it looks like there may be an issue with ATI cards that causes the input 'queing' lag. I'm still researching. Going to have to try a few different video cards and see what happens.

Sound stuttering with vsync has been addressed with SailorSat's cabmame (though it does affect the pitch of the sound produced, that certainly wouldn't bother me any).