libretro / snes9x2005

Snes9x 2005. Port of SNES9x 1.43 for libretro (was previously called CAT SFC).
Other
15 stars 32 forks source link

[New 3DS] Snes9x 2005 Plus suffers from audio stutter and low framerate #45

Closed roflcopter777 closed 7 years ago

roflcopter777 commented 7 years ago

Description Many games drop to 45-50 fps on New 3DS/2DS XL hardware (both use the 804 MHz CPU), games such as Final Fantasy VI and Donkey Kong Country, none of which use extra microprocessors, struggle to maintain 60 fps on what should be more powerful hardware than the O3DS. Special chip games run at an even lower framerate, often down to 35-40 fps.

Expected behavior I've tried Snes9x 2002, and it runs fine, but it's also ancient, not to mention the audio core runs the SPC700 at an octave higher than later Snes9x S-SMP cores.

Actual behavior Normal non-microprocessor games are running much slower, even on an older core like Snes9x 2005 and 2005 plus (which has 1.52's audio core AFAIK). Snes9x 2010 performs much slower than this, and people need to refrain from using it. What's baffling is Snes9x 3DS runs full speed, but lacks Blargg's sound core.

Steps to reproduce the bug

Load Snes9x 2005/plus Load any non-chip game Run around in a level until frame/audio drops occur and crackling begins I have tried adjusting vsync, audio sync, latency, frameskip, etc but to no avail. Will the N3DS see any potential performance tweaks for this particular core in the near future? Genesis Plus GX, Nestopia, and Gambatte all run at full speed from my tests, no frame drops or audio stuttering occurred in my testing.

Bisect Results Since 1.6.7 I believe

Version/Commit

RetroArch: 1.6.7 official, no nightly builds used Environment information

OS: New 3DS/2DS XL 11.5 Luma CFW installed Compiler: [In case you are running local builds]

Videos showing performance issues: Video link of 1.6.7 regular: https://www.dropbox.com/s/h1cfchavi0dosxo/DSCN9580.MOV?dl=0

And

Video of 1.6.7 9/19/17 nightly: https://www.dropbox.com/s/d7f3u7fieq0sta0/DSCN9581.MOV?dl=0

What I've changed in settings: N3DS info: System version: 11.5 CFW: Luma 3DS Method of app: CIA installation

Settings I changed: Changed audio resample from sinc to CC Changed audio driver to CSND Changed sync audio to "off" Changed audio latency to 200 ms (overkill, but for the sake of it)

I don't know what can be done.