• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
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 4 Dec 2019, 16:26

    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
    • M
      mitu Global Moderator
      last edited by 4 Dec 2019, 17:13

      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
      • R
        Rion
        last edited by Rion 12 Jun 2019, 16:10 6 Dec 2019, 16:09

        @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

        M V W 3 Replies Last reply 6 Dec 2019, 17:13 Reply Quote 2
        • M
          mitu Global Moderator @Rion
          last edited by 6 Dec 2019, 17:13

          @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 12 Aug 2019, 03:09 8 Dec 2019, 00:22

            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
            • T
              TheBattleMaster
              last edited by 8 Dec 2019, 01:24

              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?

              R 1 Reply Last reply 12 Dec 2019, 07:07 Reply Quote 0
              • B
                BuZz administrators
                last edited by 8 Dec 2019, 11:30

                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
                • W
                  WeirdH @Rion
                  last edited by 11 Dec 2019, 16:17

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

                  I R 2 Replies Last reply 11 Dec 2019, 16:40 Reply Quote 1
                  • I
                    IanDaemon @WeirdH
                    last edited by 11 Dec 2019, 16:40

                    @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
                    W 1 Reply Last reply 17 Dec 2019, 17:34 Reply Quote 0
                    • R
                      Rion @TheBattleMaster
                      last edited by Rion 12 Dec 2019, 15:57 12 Dec 2019, 07:07

                      @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

                      T 1 Reply Last reply 14 Dec 2019, 03:33 Reply Quote 1
                      • R
                        Rion @WeirdH
                        last edited by Rion 12 Dec 2019, 16:04

                        @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
                        • T
                          TheBattleMaster @Rion
                          last edited by 14 Dec 2019, 03:33

                          @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
                          • W
                            WeirdH @IanDaemon
                            last edited by 17 Dec 2019, 17:34

                            @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
                            • G
                              GreenHawk84
                              last edited by 27 Jan 2020, 18:37

                              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.

                                [[user:consent.lead]]
                                [[user:consent.not_received]]