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: Trackball and Vsync (Mame)  (Read 1443 times)

0 Members and 1 Guest are viewing this topic.

Andypc

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 107
  • Last login:November 18, 2024, 01:45:58 pm
Trackball and Vsync (Mame)
« on: September 04, 2012, 02:29:29 pm »
I just set-up a Shuttle PC with Mame 0.143 to use in my Golden Tee Cab for Trackball games. I initially had a problem with the Trackball in that the input was lagging up to 10 seconds behind the actual trackball movement. After much searching on the Internet I found an old post from 2006 on some random forum stating that Vsync, Triple Buffering and Wait Sync all cause problems and lag with analog controls. I disabled Vsync and the Trackball works perfectly. Missile Command, World Class Bowling work perfectly. Unfortunately the games I really wanted to play i.e. Tehkan World Cup and Marble Madness play perfectly, but get screen tearing. Any Idea's on how to get round this issue? I don't really want to use switch res as the monitor controls are not that accessible to keep adjusting the monitor for different resolutions. Are the any versions of Mame that allow Vsync to work with a Trackball.

Gray_Area

  • -Banned-
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3363
  • Last login:June 23, 2013, 06:52:30 pm
  • -Banned-
Re: Trackball and Vsync (Mame)
« Reply #1 on: September 09, 2012, 07:14:22 pm »
First, try a later version of MAME. I'm having no issue with .146 .

If problems persist: what MAME video display options are you running, and what kind of monitor?
-Banned-

Andypc

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 107
  • Last login:November 18, 2024, 01:45:58 pm
Re: Trackball and Vsync (Mame)
« Reply #2 on: September 10, 2012, 12:07:00 pm »
Problem solved.  I disabled Multithreading and tried Vsync again and it works perfectly. It appears that if you have Multithreading and Vsync or Multithreading and Triple Buffering enabled at the same time it causes problems and lag with analog controls. Vsync or Multithreading on their own are fine, but not if enabled together. Multithreading is not essential as all the trackball games run full speed anyway. I am running version 0.141 of mame on a tri-sync arcade monitor.

Gray_Area

  • -Banned-
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3363
  • Last login:June 23, 2013, 06:52:30 pm
  • -Banned-
Re: Trackball and Vsync (Mame)
« Reply #3 on: September 12, 2012, 03:48:22 pm »
Problem solved.  I disabled Multithreading and tried Vsync again and it works perfectly. It appears that if you have Multithreading and Vsync or Multithreading and Triple Buffering enabled at the same time it causes problems and lag with analog controls. Vsync or Multithreading on their own are fine, but not if enabled together. Multithreading is not essential as all the trackball games run full speed anyway. I am running version 0.141 of mame on a tri-sync arcade monitor.

Oh. I remember something like this coming up at MAMEWorld, perhaps around the time of 141, and that it was a default option, but has since been de-selected by default, possibly for the above-experienced issue.
-Banned-