libretro / picodrive

Fast MegaDrive/MegaCD/32X emulator
Other
43 stars 64 forks source link

libretro core slower than native PSP build #112

Closed bmaupin closed 4 years ago

bmaupin commented 5 years ago

Testing with Sonic 1, I get FPS dips as low as 51 with the libretro core with noticable audio popping/crackling.

With the native picodrive build I get near constant 60 FPS, not dipping below 59 FPS.

It does not seem to be caused by:

Needs investigation:

hizzlekizzle commented 5 years ago

Can you build the libretro core from a very old commit (e.g., around when it was first libretro-ized)? This would at least tell you if it's changes to the core since that point in time.

bmaupin commented 4 years ago

I found a random native build of picodrive 1.92 for PSP online, did some testing, and this is what I found:

Based on those tests, frame skipping, audio quality, and renderer all affected performance. I see frame skipping as a bit of a last resort. While the audio quality did improve performance, it seemed to use APIs specific to the PSP (and not included in the vanilla SDK if I recall correctly).

That leaves the renderer, so I went ahead and added an option to enable the fast renderer. I'll submit a PR soon.