MAMEWorld >> EmuChat
Index   Flat Mode Flat  

DaRayu
MAME Fan
Reged: 02/05/13
Posts: 162
Send PM
Re: Flip Queue Size
04/24/13 04:27 PM


> Have you played with the usb polling rate?

My keyboard isn't USB, it's the old style. Do you think this could have any influence? Are PS2 keyboards slower in fullscreen with vsync?


@Bryan Ischo:

Yeah, strange indeed those discrepancies.


> Thanks for testing this, seriously, it's been long since I wanted to know about some
> real measurement of the flip queue size issue, rather than the typical "I feel it
> lags" crap.

Ironically, when I first came into contact with input lag, it was when I played Nestopia. When I enabled vsync for smooth scrolling, I actually noticed the lag just by "feeling" it. So, I did a Google search and I actually found other people who experienced it as well.
I just find it strange that nobody ever got the idea with using Caps Lock and the LED. But, o.k., I didn't think about it either until I saw the person in the video testing input lag in the different "Street Fighter II" versions for PlayStation, PlayStation 2 and Saturn.


> It's just too bad that as soon as D3D_INTERVAL_ONE is activated, an unwanted flip
> queue seems to be created by ATI drivers. Unfortunately this, again, tips the scales
> in favour of the -deprecated- DirectDraw interface.

In the meantime, DirectDraw has become unacceptable for me. Not only does it decrease artwork size only to increase the small image again. But with bilinear filtering, it even mixes the artwork and the game screen image. For example, if you use an all black artwork image file and play a game with a white background, the border of the game and artwork will be gray since they are put into a single low resolution image and that image is then rescaled.


> Well, this is certainly possible. I admit it's an unexpected result, as it's a well
> known fact that modern visual features like Aero make windowed mode based emulators
> laggy, and you have to move to exclusive mode to avoid it. But this wouldn't apply to
> XP.

Even on Windows 7, I don't use Aero.


> What I wonder is if you're getting a good quality vsync while in windowed mode.

Yes, I do. DirectDraw fullscreen, DirectDraw window, Direct3D window and everything without vsync is fine. Direct3D fullscreen vsync is laggy.


> Anyway, what you're suggesting should be possible, but you'd be limited to the
> desktop resolution, so in order to switch resolutions (to run games on their native
> video modes) you'd need to use ChangeDisplaySettings instead of relying on DirectX
> mode switching and exclusive mode, which would be rather messy.

Doesn't MAME keep the native resolution as well? When I play "Street Fighter II" and my desktop is 1360x768, then MAME's fullscreen resolution is still 1360x768 with the actual game's screen increased by MAME. It doesn't switch to a real screen resolution of 384x288. Would this even be possible? Doesn't a monitor have just a few predefined resolutions anyway? Like 640x480, 800x600, 1024x768, 1360x768? And isn't MAME configured to not change the screen's resolution unless you explicitly set it with -r and -switchres? Or am I completely wrong here? Or maybe I misunderstood what you were saying.

So, do you know where exactly the window is created, so that I can change it in the source code and don't need to search for it first?

What do you think, could the fact that I use a PS2 keyboard instead of USB have anything to do with the lag?







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 290 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 9189