RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login

    Overclock USB Controller Polling Rate

    Scheduled Pinned Locked Moved Ideas and Development
    overclockusbcontrollerlatencypolling rate
    14 Posts 8 Posters 3.6k 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.
    • V
      vretro
      last edited by

      Is it possible on Raspberry Pi to Overclock the USB Polling Rate to reduce input latency of attached controllers?

      I learned of the concept from this post about doing exactly that on the MiSTer device, which has a Linux Kernel:
      https://github.com/eniva/MisSTer_Guides/wiki/Overclock-USB-Controllers-Polling-Rate

      1 Reply Last reply Reply Quote 0
      • mituM
        mitu Global Moderator
        last edited by

        I'd say it's not possible, since it uses a custom kernel and the modifications they may have done are not included in the Raspbian provided kernel.

        1 Reply Last reply Reply Quote 0
        • RionR
          Rion
          last edited by Rion

          @vretro @mitu

          Sure it is. @Brunnis recently covered this is his post An input lag-investigation

          1000 Hz polling for USB gamepads (add usbhid.jspoll=1 at end of line in /boot/cmdline.txt in Raspbian).

          FBNeo rom filtering
          Mame2003 Arcade Bezels
          Fba Arcade Bezels
          Fba NeoGeo Bezels

          mituM V WeirdHW 3 Replies Last reply Reply Quote 2
          • mituM
            mitu Global Moderator @Rion
            last edited by

            @Rion That's great, it means that the kernel used by MiSter board is older than the one included in Raspberry Pi if it needs additional patches.

            1 Reply Last reply Reply Quote 0
            • V
              vretro @Rion
              last edited by vretro

              I knew it had to be possible some how @Rion, while not using the exact same method as seen on MiSTer @mitu, thanks @Rion and thank you @Brunnis - every millisecond counts!

              There are some good extra tips for reducing latency in that post worth checking out:
              https://forums.libretro.com/t/an-input-lag-investigation/4407/848

              Hopefully we can get “usbhid.jspoll=1” added to the end line of “/boot/cmdline.txt” in a future build of RetroPie.

              /cc @BuZz

              1 Reply Last reply Reply Quote 0
              • TheBattleMasterT
                TheBattleMaster
                last edited by

                Besides adding that line to cmdline.txt, are other actions or precautions necessary?
                Is this on the same level of risk (of increasing temp.) as overclocking the GPU/CPU of the Pi?

                RionR 1 Reply Last reply Reply Quote 0
                • BuZzB
                  BuZz administrators
                  last edited by

                  It won't be added by default. Users are free to make these changes.

                  To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                  1 Reply Last reply Reply Quote 1
                  • WeirdHW
                    WeirdH @Rion
                    last edited by

                    @Rion said in Overclock USB Controller Polling Rate:

                    @vretro @mitu

                    Sure it is. @Brunnis recently covered this is his post An input lag-investigation

                    1000 Hz polling for USB gamepads (add usbhid.jspoll=1 at end of line in /boot/cmdline.txt in Raspbian).

                    Is this also possible or even beneficial for usb input encoders for arcade controls? (I believe I have DragonRise)

                    IanDaemonI RionR 2 Replies Last reply Reply Quote 1
                    • IanDaemonI
                      IanDaemon @WeirdH
                      last edited by

                      @WeirdH I'm curious as to the answer to your “usb encoder” question, however I have to wonder that if it was always beneficial (or at least not a detriment) the functionality would be the default. Again, I look forward to the answer to your question.

                      • 5 Favorite Arcade Games in MAME
                      • Cocktail Cabinet Games
                      • Check out the MAME RoW
                      WeirdHW 1 Reply Last reply Reply Quote 0
                      • RionR
                        Rion @TheBattleMaster
                        last edited by Rion

                        @TheBattleMaster said in Overclock USB Controller Polling Rate:

                        Besides adding that line to cmdline.txt, are other actions or precautions necessary?
                        Is this on the same level of risk (of increasing temp.) as overclocking the GPU/CPU of the Pi?

                        No you are just changing the Polling Rate for usb joysticks/game pads.

                        FBNeo rom filtering
                        Mame2003 Arcade Bezels
                        Fba Arcade Bezels
                        Fba NeoGeo Bezels

                        TheBattleMasterT 1 Reply Last reply Reply Quote 1
                        • RionR
                          Rion @WeirdH
                          last edited by Rion

                          @WeirdH I don't know if it's possible to change the Pooling Rate for Keyboards in Raspian. Mouse and joysticks/gamepads are implemented that i know of.

                          Found this while searching for the topic.

                          Increase USB polling rate across all devices in linux?

                          FBNeo rom filtering
                          Mame2003 Arcade Bezels
                          Fba Arcade Bezels
                          Fba NeoGeo Bezels

                          1 Reply Last reply Reply Quote 0
                          • TheBattleMasterT
                            TheBattleMaster @Rion
                            last edited by

                            @Rion said in Overclock USB Controller Polling Rate:

                            @TheBattleMaster said in Overclock USB Controller Polling Rate:

                            Besides adding that line to cmdline.txt, are other actions or precautions necessary?
                            Is this on the same level of risk (of increasing temp.) as overclocking the GPU/CPU of the Pi?

                            No you are just changing the Polling Rate for usb joysticks/game pads.

                            Thanks for the info! Just needed some confirmation, because I haven't bought a fan for my setup yet.

                            1 Reply Last reply Reply Quote 1
                            • WeirdHW
                              WeirdH @IanDaemon
                              last edited by

                              @IanDaemon I just changed the line in my cmdline.txt, but I don't really notice anything different.

                              1 Reply Last reply Reply Quote 0
                              • GreenHawk84G
                                GreenHawk84
                                last edited by

                                Hello, I tried this with my Xin-Mo arcade setup and while it sorta made things more responsive in games, it ended up making some wacky things happen in EmulationStation. When scrolling through systems left-right it would skip over a system sometimes even though I pressed it once. Same goes for up-down in the game lists, it would skip games over as if it were double tapping.

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