input lag in mario bros? Any actual fixes
I noticed when running and jumping at edges like pipes I can't seem to jump in time making me just run off the ledge. Is this cuz of input lag. Just poped both my real snes and nes and I can run and jump right at the egde or the legs or pipe just fine. Im using a tomee snes adapter that has low input lag so it's advertised with the same snes controller I used on my snes. Same effect with my ps4 controller. Both nes and snes versions of the game on retro pi. Prob hapens to other games spent all this time making retro pi to my liking.
Some fixes i found where
Add the following to /etc/rc.local:
echo ondemand > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo ondemand > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor
echo ondemand > /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor
echo ondemand > /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor
I put that right before the exit line did I put it currect. Still no go otherwise.
Someone stated to change the cpu governater to performance but I can't find that setting in Setup scriped.
Another post said they fixed it by installing another operating system and changing the keyboard bluetooth settings there and it saved to retropie also. I don't know where I read that or what operating system. Does anyone know actually what to do this is coming from my head I read like 2 hours ago. How do i install another operating system over retro pie without retropi damaging?
I havn't overclocked yet but it won't let me prob have to activate it or something.
It getting on my nerves and want to play mario in piece cuz I did so much work making retro pie to my liking with video previews and all that.
@deltax5 did yu try to see if your tv has a game mode to reduce lag?
I have a seiki tv there is no game mode. Just borrowed my buddy's framemister with both snes and nes and it works just just fine with the same tv. Basicly I have to jump around half a block for it to jump wile running with the pi.
@deltax5 yeah i dont have that issue. What is the output amps on your power supply?
it's a cana kit power supply. I don't see what the power supply has to do with it.
I press the jump bottom it jumps. But I really noticed it when running trying to jump right off the ledge. Maybe i just suck at it. IDK it doesn't do it as much on the real thing.
@deltax5 you could have issues from an underpowered system. But if your canakit is a 2.5 amp it should be fine. That is what i use. One thing that i have seen is having too long of a usb cable cause this issue. What all is hooked up to your pi? Some people have to disable their wifi and bluetooth to reduce lag.
@deltax5 also you have to manually overclock by setting the settings in /boot/config.txt. You cant do it in raspi config.
lostless last edited by
@deltax5 I say the pie just has an extra layer of lag with its inputs. The usb has to be pulled vs a near instant input. Plus the delay of processing the emulation and then finally creating the frame and outputting an image. The framemeister only had to convert analog to digital. No other lag other than the time it takes your tv to display the image. Which has the same lag both ways.
chipsnblip last edited by
other than the time it takes your tv to display the image. Which has the same lag both ways.
run through this artcle and see if any of it helps: https://github.com/RetroPie/RetroPie-Setup/wiki/Input-Lag
spruce_m00se last edited by
funnily enough, I had the same thing on my wii virtual console the other night, only on mario bros
Just tried snesx9 emulator on the pc and still have the same problem. But zsnesw had better results and bsnes accuracy in retro arc had the best resalts for running and jumping. But for some reason b button only did small jumps in bsnes and a did high wile the other emulators was the same kind of jumps.
I dought raspberry pi could ever handle acceracy emulators. cuz those require high spec pc so i hear.
@deltax5 small jumps usually means turbo fire is turned on.
Arg sorry I figured it out. My receiver had settings on. Turn on throu and direct and it's alot better. Can't beleave that made it that bad. But comparing the 2 now there is still a difference when running then jumping but it's not as bad.
I don't understand why retropie doesn't have more snes emulators.
ZSNES is also for linux isn't it, is there a way to put it in retropi? I like it better in windows then snesx9.
Darksavior last edited by Darksavior
@deltax5 retropie has at least 4 different snes9x emulators. They have their pros and cons. There will never be an arm version of zsnes. Snes9x is also more accurate than zsnes. Higan being the most accurate but the requirements are too high to ever run properly on a pi.
I care about button delay the most. Maybe a better controller someone can reccemend me? WOuld that even help. Once again i have a tomee snes adapter (it's advertised low latancy) and a original snes controller attached.
Sigh I prob need a better tv. Not getting one till the next systems come out.
and where is the cpu governater setting?
Darksavior last edited by Darksavior
Check rtings.com for input lag on tv's. The new ones do around 20ms with their game mode. My older 4k Samsung tv does like 30something but I don't notice the input lag.
I mainly use real snes pads connected to real snes controller ports soldered straight to gpio but I also use a usb ps3 and a madcatz joystick and don't notice lag either.
Some resort in using the dispmanx driver which is 1 frame less than the default. No shader support, no yellow text, and I don't think it's being worked on anymore.
well just tried it on a psp. It was way better there. it just small. I missed some jumps but I think cuz im very rusty maybe. Had to use 1.1 so it wouldn't tare.
That's based on the x9 emulator so im guessing my tv is so crappy.