RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    input lag in mario bros? Any actual fixes

    Scheduled Pinned Locked Moved Help and Support
    marioinput lagfixes
    18 Posts 6 Posters 9.9k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      Deltax5
      last edited by

      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.

      edmaul69E 2 Replies Last reply Reply Quote 0
      • edmaul69E
        edmaul69 @Deltax5
        last edited by

        @deltax5 did yu try to see if your tv has a game mode to reduce lag?

        1 Reply Last reply Reply Quote 0
        • D
          Deltax5
          last edited by Deltax5

          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.

          edmaul69E 1 Reply Last reply Reply Quote 0
          • edmaul69E
            edmaul69 @Deltax5
            last edited by

            @deltax5 yeah i dont have that issue. What is the output amps on your power supply?

            1 Reply Last reply Reply Quote 0
            • D
              Deltax5
              last edited by Deltax5

              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.

              edmaul69E lostlessL 2 Replies Last reply Reply Quote 0
              • edmaul69E
                edmaul69 @Deltax5
                last edited by

                @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.

                1 Reply Last reply Reply Quote 0
                • edmaul69E
                  edmaul69 @Deltax5
                  last edited by

                  @deltax5 also you have to manually overclock by setting the settings in /boot/config.txt. You cant do it in raspi config.

                  1 Reply Last reply Reply Quote 0
                  • lostlessL
                    lostless @Deltax5
                    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.

                    1 Reply Last reply Reply Quote 0
                    • chipsnblipC
                      chipsnblip
                      last edited by

                      @lostless said in input lag in mario bros? Any actual fixes:

                      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

                      1 Reply Last reply Reply Quote 1
                      • spruce_m00seS
                        spruce_m00se
                        last edited by

                        funnily enough, I had the same thing on my wii virtual console the other night, only on mario bros

                        1 Reply Last reply Reply Quote 0
                        • D
                          Deltax5
                          last edited by Deltax5

                          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.

                          edmaul69E 1 Reply Last reply Reply Quote 0
                          • edmaul69E
                            edmaul69 @Deltax5
                            last edited by

                            @deltax5 small jumps usually means turbo fire is turned on.

                            1 Reply Last reply Reply Quote 0
                            • D
                              Deltax5
                              last edited by

                              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.

                              DarksaviorD 1 Reply Last reply Reply Quote 0
                              • DarksaviorD
                                Darksavior @Deltax5
                                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.

                                1 Reply Last reply Reply Quote 0
                                • D
                                  Deltax5
                                  last edited by Deltax5

                                  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.

                                  1 Reply Last reply Reply Quote 0
                                  • D
                                    Deltax5
                                    last edited by

                                    @deltax5 said in input lag in mario bros? Any actual fixes:

                                    cpu governater

                                    and where is the cpu governater setting?

                                    1 Reply Last reply Reply Quote 0
                                    • DarksaviorD
                                      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.

                                      1 Reply Last reply Reply Quote 0
                                      • D
                                        Deltax5
                                        last edited by

                                        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.

                                        1 Reply Last reply Reply Quote 0
                                        • First post
                                          Last post

                                        Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

                                        Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.