Best settings to get runahead working on retropie
Hi i am new to the retropie scene and with the first game I tried on my snes (Super Mario World) I could feel some delay. I saw elsewhere someone could get runahead to work on their raspberry pi 3 model b which I also have by using run 2 instances but for me even when I run two instances and trying to runahead only 1 frame the game and audio slows down enough to notice and was wanting some help how to optimise to my settings.
barbudreadmon last edited by
@karnagee What version of snes9x are you running ? 2010 ? While you would have lesser compatibility, i would recommend using an older version (2002 or 2005) :
- Will be faster
- I think 2010 have some savestate issues (runahead rely on this) since i heard netplay (also rely on this) doesn't work with it.
@barbudreadmon I was using 2010 with gl video driver and switched to 2005 which let me run up to 2 frames with no visual problem and the input lag was gone but the audio was still breaking.
I switched to dispmanx video driver and it felt slighter better with input lag on 2010 with runahead off. Then with runahead on and both cores with on 1 frame it felt really good with no visual or audio errors but slows down as soon as I got to 2 frames. I then switched to snes 2005 using dispmanx video driver and the sound broke straight away with the 1 frame but felt smooth other then that then with 2 frames it felt perfect but the audio was unrecognisable.
hen with runahead on and both cores with on 1 frame it felt really good with no visual or audio errors but slows down as soon as I got to 2 frames.
Are you sure the games in question have two frames of lag to spare? Most only have one frame and adding any more to the runahead will cause problems.
I believe super mario world does and I tested other games and super mario bros 3 on nes and 2 frames was causing issues with things happening before they should have like deaths. So 1 frame seems to be the sweet spot for 90% of games on nes and snes. Also without using runahead i believe dispmanx with threading turned off seems to be the next best thing for reduced input lag.