bsnes-emu / bsnes

bsnes is a Super Nintendo (SNES) emulator focused on performance, features, and ease of use.
Other
1.63k stars 154 forks source link

Retroarch core has severe lag and slowdown #317

Open pokemonfan6498 opened 6 days ago

pokemonfan6498 commented 6 days ago

i was testing the bsnes core and i noticed that it has severe lag which is strange because snes9x runs fine and that's not just regular snes roms and bs roms Gameboy roms running on sgb an sgb2 also have severe lag and cpu overclock (if on switch) doesn't help much

Screwtapello commented 6 days ago

bsnes has much higher CPU requirements than snes9x, and running Super Game Boy games with bsnes is even worse, since it has to emulate the Game Boy hardware on top of the SNES hardware. If by "on switch" you mean RetroArch running on a jailbroken Nintendo Switch, I would not expect the Switch to run any games in the bsnes core at a playable framerate.

pokemonfan6498 commented 6 days ago

really

Kawa-oneechan commented 6 days ago

Yeah, really.

carmiker commented 6 days ago

The way bsnes polls for input can lead to inherent lag depending on how/when the frontend updates the input state which bsnes is polling. There are options in RetroArch that work around this problem somewhat. If you are able to run at full speed (60fps), this is not a CPU usage problem. In RetroArch you can try switching the Polling Behavior option in the Latency menu to the opposite of whatever it is now, and see if that helps.

hizzlekizzle commented 6 days ago

yeah, "lag" can be ambiguous. If OP means "latency," then yeah, @carmiker 's suggestion could be worth checking out. If they mean "frame drops" it's definitely related to hardware requirements vs CPU grunt.

On my Nvidia Shield, I could run bsnes on regular SNES games at full speed, but I could never get higher than 45 fps with 2x hd-mode-7 scale. I don't recall how well it handled SGB. Regardless, I believe the Shield's clock speed is something like double the Switch's, so performance is likely to be worse on the Switch.