mgba-emu / mgba

mGBA Game Boy Advance Emulator
https://mgba.io/
Mozilla Public License 2.0
5.42k stars 747 forks source link

FPS drops with OBS #3112

Open mataski opened 4 months ago

mataski commented 4 months ago

Hi, I'm trying to understand if this is OBS problem or mGBA.

E.g. Pokemon Emerald runs smooth 60FPS no frame skips no nothing.

But if you launch OBS and set Game Capture and select mGBA suddenly the frames tank in game, stutter, lag and skip.

Without streaming or recording. You DO NOT stream or record, you just open OBS and hook mGBA executable and that's it.

There's even this ~10 second delay while OBS is hooking and you can notice as soon as it go from black screen to visible game screen on OBS, you can e.g. run around in-game while launching OBS and as soon as it switches from black screen, that means it finished hooking and the frames tank.

I do not have this issue with any 3D full screen game, DX11, Vulkan, any game on Steam, etc. Just with mGBA.

Also related? https://github.com/mgba-emu/mgba/issues/182