MAMEWorld Central >> EmuChat
View all threads Index   Flat Mode Flat  

Oomek
MAME Fan
Reged: 05/07/12
Posts: 11
Send PM
Re: Mame lags 3 frames in BGFX
12/23/16 11:15 PM


I've done some more measurements on Windows 7 to exclude any issues Win10 might have caused. I'm giving you the amount of vblanks the crt passes between the keyboard event and the screen update.

MAME 180 syncrefresh vsync nothrottle notriplebuffer
D3D 5 VBlanks
BGFX 6 VBlanks

GroovyMAME 180 syncrefresh vsync throttle notriplebuffer frame_delay 5
D3D 1-2 VBlanks
BGFX 3-4 VBlanks

The reason of having throttle enabled in GM is that the frame_delay relies on it, but it still does sync the game to the refresh rate. MAME needs to have it disabled otherwise it stutters. GM also incorporates the input polling patch which fixing another 1 frame of latency added by mame after recent input routine changes.

So in original mame the difference is 1 frame between d3d and bgfx. I was comparing Mame BGFx to GroovyMAME BGFX (which is unchanged) in my previous tests.

Anyway the lag is horendous, 6 vblanks is 100ms. When you play on GM for a while with 1 frame of latency and then switch to Mame, it's unplayable.







Entire thread
Subject Posted by Posted on
* Mame lags 3 frames in BGFX Oomek 12/23/16 06:03 AM
. * Re: Mame lags 3 frames in BGFX Envisaged0ne  12/23/16 06:15 PM
. * Re: Mame lags 3 frames in BGFX Oomek  12/23/16 09:54 PM
. * Re: Mame lags 3 frames in BGFX Envisaged0ne  12/24/16 01:58 AM
. * Re: Mame lags 3 frames in BGFX Haze  12/23/16 09:56 PM
. * Re: Mame lags 3 frames in BGFX Oomek  12/23/16 11:15 PM
. * Re: Mame lags 3 frames in BGFX Traso  12/24/16 12:32 AM
. * Re: Mame lags 3 frames in BGFX Oomek  12/24/16 04:00 AM
. * Re: Mame lags 3 frames in BGFX Oomek  12/24/16 04:08 AM
. * Re: Mame lags 3 frames in BGFX anikom15  12/29/16 10:52 PM
. * Re: Mame lags 3 frames in BGFX asasega  12/29/16 10:43 PM
. * Re: Mame lags 3 frames in BGFX uman  12/31/16 03:57 PM
. * Re: Mame lags 3 frames in BGFX anikom15  01/01/17 07:04 AM
. * Re: Mame lags 3 frames in BGFX Calamity  01/01/17 01:24 PM
. * Re: Mame lags 3 frames in BGFX anikom15  01/02/17 12:29 AM
. * Looks like they're in sync, that's his point I think (nt) Traso  01/03/17 02:12 AM
. * You can't tell if it's in sync with a ——ty camcorder.... (nt) anikom15  01/03/17 02:19 AM
. * Re: Mame lags 3 frames in BGFX MooglyGuy  12/23/16 02:46 PM
. * Re: Mame lags 3 frames in BGFX Oomek  12/23/16 02:54 PM
. * Re: Mame lags 3 frames in BGFX MooglyGuy  12/23/16 03:33 PM
. * Re: Mame lags 3 frames in BGFX Oomek  12/23/16 03:54 PM
. * Re: Mame lags 3 frames in BGFX anikom15  12/23/16 09:09 PM
. * Re: Mame lags 3 frames in BGFX Oomek  12/23/16 09:49 PM
. * Re: Mame lags 3 frames in BGFX anikom15  12/24/16 12:20 AM
. * Re: Mame lags 3 frames in BGFX Oomek  12/24/16 03:57 AM
. * Re: Mame lags 3 frames in BGFX anikom15  12/29/16 10:50 PM
. * Re: Mame lags 3 frames in BGFX Haze  12/23/16 03:59 PM
. * Re: Mame lags 3 frames in BGFX Vas Crabb  12/23/16 04:06 PM
. * Re: Mame lags 3 frames in BGFX R. Belmont  01/01/17 04:13 PM

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