bsnes
bsnes copied to clipboard
Retroarch core has severe lag and slowdown
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
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.
really
Yeah, really.
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.
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.
Probably a duplicate of #254
Try running RetroArch with OMP_WAIT_POLICY=passive and see if it improves things. At least in my port it went from lagging as much as standalone/libretro core to no noticeable lag
meanwhile bsnes JG dropped openmp entirely, so it's unaffected
but im using retroarch core how im supposed to edit that? and plus this is for libnx port of retroarch aka Nintendo switch version
On Thu, Jul 31, 2025, 03:28 Alice Mikhaylenko @.***> wrote:
alice-mkh left a comment (bsnes-emu/bsnes#317) https://github.com/bsnes-emu/bsnes/issues/317#issuecomment-3138285960
Probably a duplicate of #254 https://github.com/bsnes-emu/bsnes/issues/254
Try running RetroArch with OMP_WAIT_POLICY=passive and see if it improves things. At least in my port it went from lagging as much as standalone/libretro core to no noticeable lag
meanwhile bsnes JG dropped openmp entirely, so it's unaffected
— Reply to this email directly, view it on GitHub https://github.com/bsnes-emu/bsnes/issues/317#issuecomment-3138285960, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARF4YJXGVWWS4VAYTM7ZBMD3LFWM3AVCNFSM6AAAAACCYPD2T2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTCMZYGI4DKOJWGA . You are receiving this because you authored the thread.Message ID: @.***>
I was suggesting to run the entire retroarch like that. But yeah, on switch you probably can't :/
that sucs because normal libnx bsnes has severe lag even with cpu overclock to maximum limit
On Thu, Jul 31, 2025, 13:24 Alice Mikhaylenko @.***> wrote:
alice-mkh left a comment (bsnes-emu/bsnes#317) https://github.com/bsnes-emu/bsnes/issues/317#issuecomment-3139546260
I was suggesting to run the entire retroarch like that. But yeah, on switch you probably can't :/
— Reply to this email directly, view it on GitHub https://github.com/bsnes-emu/bsnes/issues/317#issuecomment-3139546260, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARF4YJTIWS6PVUXWSYRJOWT3LH4GBAVCNFSM6AAAAACCYPD2T2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTCMZZGU2DMMRWGA . You are receiving this because you authored the thread.Message ID: @.***>
Yeah
What sucks is that it's seemingly impossible to set this variable programmatically - otherwise that would be an easy fix
The only thing that worked for me was setting it before even loading the core, from the frontend
plus there's no libnx fork of bsnes jg either
On Thu, Jul 31, 2025, 13:37 Alice Mikhaylenko @.***> wrote:
alice-mkh left a comment (bsnes-emu/bsnes#317) https://github.com/bsnes-emu/bsnes/issues/317#issuecomment-3139619482
Yeah
What sucks is that it's seemingly impossible to set this variable programmatically - otherwise that would be an easy fix
The only thing that worked for me was setting it before even loading the core, from the frontend
— Reply to this email directly, view it on GitHub https://github.com/bsnes-emu/bsnes/issues/317#issuecomment-3139619482, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARF4YJUFZJZM2TODDYX2VAD3LH5XFAVCNFSM6AAAAACCYPD2T2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTCMZZGYYTSNBYGI . You are receiving this because you authored the thread.Message ID: @.***>