-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Video Juddering in Windowed Mode #22
Comments
From @sergiobenrocha2 on September 20, 2016 10:43 Press F twice to fullcreen --> window --> fullscreen, see if it fix |
From @sergiobenrocha2 on September 20, 2016 10:55 Btw, are you using a joypad? |
From @Awakened0 on September 20, 2016 17:51 I was testing it with keyboard, but also can use my Xbox One pad. Switching screen modes doesn't seem to fix it. But, I was testing in windowed mode, where the stuttering is much worse. In full screen, I only notice the occasional hitch on the latest nightly compared to the old build. Both GL and Vulkan have the same behavior. |
From @sergiobenrocha2 on September 20, 2016 18:0 What OS? Tell us the specs |
From @Awakened0 on September 20, 2016 18:13 Windows 10 |
From @Ryunam on September 20, 2016 19:31 I can confirm the same exact drop in performance. There is a major and highly noticeable difference if compared to any build prior to the very recent 0.5 update. I have performed some extensive tests using two different builds, '0e19' and '851db', which I had kept from some previous RA setups. With both 0e19 and 851db I get very smooth performance, perfect audio and video sync, no trace of stuttering and I can both raise Frame Delay and decrease Audio Latency (as low as 16ms!) with no apparent side effect on gameplay. On the contrary, mGBA 0.5 can't seem to sustain 16ms of Audio latency at all: it turns to a choppy and unresponsive mess. If I raise that parameter to 32ms, it goes back to playable status, however both in fullscreen and windowed the whole execution constantly stutters, hitching every 1.5 second. It seems as though it has a hard time maintaining a stable framerate, whichever is the content you load. EDIT: Upon further notice, on my machine I can obtain smooth performance again if I raise the Audio Latency back to the default 64ms. Still, I guess there is a very clear performance difference between 0.4 and 0.5, with the former being much more flexible with said audio adjustments. OS: Windows 10 x64 |
From @sergiobenrocha2 on September 21, 2016 0:41 I'm testing on Linux (xubuntu 14.04), with Alsa driver, 48 ms latency. Even the times I get choppy audio, the FPS remains at 60... it's triggered randomly when I just load the core, I can notice in the bios screen; sometimes happens when I plug a joypad. Going to window and coming back to fullscreen seems to fix it (Alt Tab too). Is it the same issue? |
From @Awakened0 on September 21, 2016 1:7 My pad is always plugged in, so I don't think hotplugging is causing it. |
From @twinaphex on September 21, 2016 2:42 @endrift Any thoughts on this? |
From @endrift on September 21, 2016 2:51 @sergiobenrocha2 poked me like 4 times about this and I've never had any concrete ideas. Moreover, I'm not going to poke at this seriously for at least two weeks; I burnt out pretty hard trying to get 0.5.0 out so I'm taking some time to recover. |
From @endrift on September 21, 2016 2:55 I will bring attention to this line of code, though: https://github.com/libretro/mgba/blob/master/src/platform/libretro/libretro.c#L290 I wonder if the fact that you went from a frame-based audio approach to a discrete packet based approach broke your buffering somehow. I'd tried to read your paper on dynamic rate control at one point, but it left so many terms undefined and a lot of parameters unexplained, so I'm not actually sure if it could be related. |
From @Sigmavirus on September 21, 2016 4:45 Can't really say that I experienced this kind of stuttery that's been talking about here when I tested it yesterday on my machine using the latest core (I came previously from an older mGBA core from May this year) Played a couple of games around 5-10 minutes each and they were smooth as butter, this was also with VSync enabled and nothing else changed. These are my specs BTW i7 4790K @ 4.0GHz Is there something special you have to do enable to notice the stuttery? |
From @Ryunam on September 21, 2016 11:36 @Sigmavirus : you can try testing both a previous core and the new 0.5 build with Hard GPU Sync ON, 32ms of Audio Latency and switching between Windowed and Fullscreen during gameplay. |
From @Sigmavirus on September 21, 2016 12:1 That sounds like quite an unusual use/test case scenario and not something I normally do but OK. |
From @sergiobenrocha2 on September 21, 2016 22:14 For who wants to test aliaspider patch:
|
From @endrift on September 21, 2016 22:15 I figured out an issue with GB audio/video that could cause the streams to desync; It's fixed now, but that might be what the source of that comment was. |
From @Awakened0 on October 6, 2016 23:42 I tested out 0.5.1 from the buildbot and the stuttering in windowed mode is still there unfortunately. |
Yeah I finally managed to understand what's going on here. |
From @Awakened0 on September 20, 2016 3:8
I have a build from 9/18/16 that runs smooth as butter, but the latest buildbot build from today (9/19/16) runs all stuttery. Almost like Vsync isn't working? The difference between the old and new build is easy to tell by just moving around the main town in FF1 in the Dawn of Souls remake.
Copied from original issue: libretro/mgba#43
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: