MAMEWorld >> EmuChat
View all threads Index   Flat Mode Flat  

DaRayu
MAME Fan
Reged: 02/05/13
Posts: 162
Send PM
Re: Input lag
04/22/13 10:51 PM


> However, using Donkey Kong and 1943, I found that the time
> from the caps lock LED coming on to the first apparent on-screen action (first jump
> sequence frame, or first fired shot frame) was consistently 3 frames.

The important thing now is: How does it react when you use vsync in window and in fullscreen mode? Using it without any special options is just the base value. To check input lag, it's interesting to know how much longer it takes for vsync (and maybe triple buffer) in both, window and fullscreen.


> I also tried my desktop Linux system with an integrated AMD graphics card (on the
> motherboard) and SDLmame, can't remember what version, but a few versions old at
> least, and the delay was a consistent 7 frames.

That's much too long.


> I do wonder what the 'minimum' achievable delay is, I suspect it's not possible to do
> better than 3 frames

From a purely software point of view you can easily test it: Pause the game, then press Shift + P + jump button. (That means: While in pause mode, MAME advances one frame and on this frame, the jump button is pressed.) Then continue pressing Shift + P (further frame advance) until Mario jumps. This way you can see how the game is programmed.
In "Vs. Super Mario Bros.", it takes one frame to jump: If the moment where you press Shift + P + Jump counts as frame 0, then the jump occurs at frame 1.
At the character selection screen of "Street Fighter II" it doesn't even take this one screen. Press the button and the fighter changes immediately, at frame 0.
So, yes, the game itself on a software level reacts immediately.

However, this still doesn't explain how much it would take for an actual physical gamepad in real world time to send the signal. I'd be really curious if three frames is the actual delay or if the real arcade is faster.

One possible way to verify this: As far as I see it, the Vs. system is basically nothing more than an NES. Same with the PlayChoice-10. So, even if we don't have an actual arcade machine to alter, couldn't someone who knows a bit about that stuff connect an LED to an NES controller that lights when you press a certain button? Then the test could be done with the actual "Super Mario Bros." on a real NES. Then we can see if Mario needs three frames to jump or if the actual hardware is faster. The same results should apply for the arcade version.







Entire thread
Subject Posted by Posted on
* Input lag DaRayu 04/07/13 11:47 AM
. * Hey, this thread looks like it spawned a decent conversation.... italieAdministrator  04/27/13 08:19 PM
. * Re: Input lag jumpmaniac81  04/07/13 04:12 PM
. * Re: Input lag DaRayu  04/07/13 11:19 PM
. * Re: Input lag DaRayu  04/10/13 11:17 PM
. * Re: Input lag DaRayu  04/11/13 10:57 PM
. * Re: Input lag AWJ  04/11/13 11:44 PM
. * Re: Input lag DaRayu  04/11/13 11:47 PM
. * Re: Input lag B2K24  04/12/13 01:56 AM
. * Re: Input lag DaRayu  04/13/13 02:10 PM
. * Re: Input lag R. Belmont  04/13/13 10:08 PM
. * Re: Input lag DaRayu  04/14/13 05:36 PM
. * Re: Input lag SmitdoggAdministrator  04/14/13 05:50 PM
. * Re: Input lag DaRayu  04/14/13 11:18 PM
. * Re: Input lag Bryan Ischo  04/22/13 06:23 PM
. * Re: Input lag DaRayu  04/22/13 10:51 PM
. * Re: Input lag Bryan Ischo  04/23/13 09:08 AM
. * Re: Input lag Bryan Ischo  04/24/13 10:04 PM
. * Re: Input lag Bryan Ischo  04/23/13 02:01 AM
. * Re: Input lag Anonymous  04/23/13 12:37 AM
. * Re: Input lag R. Belmont  04/15/13 06:27 PM
. * Re: Input lag DaRayu  04/15/13 10:30 PM
. * Microstutter; ATi's dark little secret. Firehawke  04/16/13 05:00 AM
. * Re: Microstutter; ATi's dark little secret. StilettoAdministrator  04/16/13 05:44 AM
. * Flip Queue Size Calamity  04/17/13 01:50 PM
. * Re: Flip Queue Size R. Belmont  04/17/13 02:48 PM
. * Re: Flip Queue Size Calamity  04/17/13 04:01 PM
. * Re: Flip Queue Size R. Belmont  04/17/13 05:41 PM
. * Re: Flip Queue Size DaRayu  04/18/13 12:32 AM
. * Re: Flip Queue Size grog  04/18/13 11:38 AM
. * Re: Flip Queue Size DaRayu  04/18/13 12:52 PM
. * Re: Flip Queue Size grog  04/18/13 01:27 PM
. * Re: Flip Queue Size DaRayu  04/18/13 02:28 PM
. * Re: Flip Queue Size grog  04/18/13 06:21 PM
. * Re: Flip Queue Size R. Belmont  04/19/13 04:21 AM
. * Re: Flip Queue Size DaRayu  04/19/13 08:38 AM
. * Re: Flip Queue Size Calamity  04/19/13 11:07 AM
. * Re: Flip Queue Size DaRayu  04/19/13 11:53 AM
. * Re: Flip Queue Size Calamity  04/19/13 08:04 PM
. * Re: Flip Queue Size DaRayu  04/20/13 01:59 PM
. * Re: Flip Queue Size Calamity  04/20/13 11:24 PM
. * Re: Flip Queue Size DaRayu  04/21/13 11:51 AM
. * Re: Flip Queue Size Calamity  04/21/13 03:45 PM
. * Re: Flip Queue Size DaRayu  04/21/13 06:54 PM
. * Re: Flip Queue Size Calamity  04/24/13 12:06 AM
. * Re: Flip Queue Size DaRayu  04/24/13 04:27 PM
. * Re: Flip Queue Size Bryan Ischo  04/24/13 10:27 PM
. * Re: Flip Queue Size SmitdoggAdministrator  04/25/13 06:35 PM
. * Re: Flip Queue Size Bryan Ischo  04/25/13 06:45 PM
. * Re: Flip Queue Size Sune  04/25/13 12:35 AM
. * Re: Flip Queue Size Bryan Ischo  04/25/13 12:51 AM
. * Re: Flip Queue Size Anonymous  04/25/13 03:28 PM
. * Re: Flip Queue Size Bryan Ischo  04/25/13 06:07 PM
. * Re: Flip Queue Size Vas Crabb  04/26/13 03:35 AM
. * Re: Flip Queue Size Bryan Ischo  04/26/13 06:03 PM
. * Re: Flip Queue Size Vas Crabb  04/27/13 02:02 AM
. * Re: Flip Queue Size DaRayu  04/25/13 11:45 PM
. * Re: Flip Queue Size Anonymous  04/25/13 07:58 PM
. * Re: Flip Queue Size SmitdoggAdministrator  04/25/13 06:39 PM
. * Re: Flip Queue Size Bryan Ischo  04/25/13 06:47 PM
. * Re: Flip Queue Size casm  04/25/13 09:13 PM
. * Re: Flip Queue Size Sune  04/25/13 01:14 AM
. * Re: Flip Queue Size Bryan Ischo  04/25/13 01:35 AM
. * Re: Flip Queue Size DaRayu  04/25/13 12:42 PM
. * Re: Flip Queue Size Bryan Ischo  04/25/13 06:10 PM
. * Re: Flip Queue Size StilettoAdministrator  04/25/13 03:19 AM
. * Re: Flip Queue Size Bryan Ischo  04/25/13 05:31 AM
. * Re: Flip Queue Size StilettoAdministrator  04/25/13 06:12 AM
. * Re: Flip Queue Size Anonymous  04/24/13 08:51 PM
. * Re: Flip Queue Size DaRayu  04/24/13 09:52 PM
. * Re: Flip Queue Size Sune  04/25/13 12:44 AM
. * Re: Flip Queue Size GatKong  04/23/13 08:04 PM
. * Re: Flip Queue Size DaRayu  04/19/13 08:09 PM
. * Re: Flip Queue Size grog  04/19/13 09:24 PM
. * Re: Flip Queue Size DaRayu  04/19/13 10:13 PM
. * Re: Flip Queue Size R. Belmont  04/19/13 04:44 PM
. * Re: Microstutter; ATi's dark little secret. R. Belmont  04/16/13 05:07 PM
. * Re: Microstutter; ATi's dark little secret. Anonymous  04/16/13 10:59 AM
. * Re: Input lag Anonymous  04/15/13 10:54 PM
. * Re: Input lag R. Belmont  04/16/13 05:03 PM

Extra information Permissions
Moderator:  Robbbert, Tafoid 
0 registered and 31 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 9048