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

    Fixing (DualShock 3) Bluetooth Lag

    Scheduled Pinned Locked Moved Help and Support
    bluetoothlagcontrollerps3 controllerps3 bluetooth
    39 Posts 15 Posters 30.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.
    • pjftP
      pjft
      last edited by

      Huh.

      I'm surprised I had never seen this, nor had I devoted much to it.

      Still, I do confirm that at least the results for the controller Pings are indeed impressive, especially after turning off wifi (drop down to hover between ~11ms and ~30ms or so), and then making them slave to round it off and make it almost always around ~10ms to ~12ms.

      Thank you!

      I added two scripts to my RetroPie menu in ES to run this on demand - one to turn off wifi and make them slave, and the other to restore wifi.

      https://retropie.org.uk/forum/topic/1498/solved-how-to-add-something-to-retropie-menu

      I noticed that when I have two controllers paired, the ping performance is slightly worse, and the difference between master/master, slave/slave, or one master and one slave isn't as clear. They both hover between ~12ms and ~40ms when paired simultaneously.

      However, still one order of magnitude lower than if with wifi on (it was common to find them having 100ms and above, with the two controllers paired). So thank you for this!

      1 Reply Last reply Reply Quote 0
      • R
        rsn8887
        last edited by rsn8887

        Yes the difference in ping times between Wi-Fi ON and Wi-Fi OFF with the Sony DS4 controller is huge! And it shows in regular games, too. After turning off Wi-Fi, I can now play Super Mario World quite well. Before turning off wi-fi, jumping accurately was really hard.

        I am still waiting for my Sony DS4 USB dongle to try that out. I hope the dongle will make the controller even snappier and allow me to turn Wi-Fi back on. The problem with the Sony USB dongle is that it can only pair one controller. So for four players, I would need four dongles.

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

          @rsn8887 @pjft Will this also work for other controllers like the 8bitdo's?

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

          pjftP 1 Reply Last reply Reply Quote 0
          • pjftP
            pjft @Rion
            last edited by

            @rion I wouldn't know as I don't have one such controller. Still, the instructions are fairly simple and non-destructive - other than you having to explicitly turn on the WiFi if you want to revert it, everything else goes away with a reboot, so I'd recommend trying it out.

            I don't see why it wouldn't help other Bluetooth controllers, though I can't confirm it would for sure. Let us know if you test it yourself!

            1 Reply Last reply Reply Quote 1
            • J
              jell @ARoxdale
              last edited by

              @aroxdale Thanks for this article. I have SFC30 controllers, and was experiencing quite a bit of lag in certain games, such as Giga Wing and Air Gallet. It made the games unplayable and tweaking the configuration files didn't fix the problem. However, turning off the wifi seemed to help a ton! I found this link: https://raspberrypi.stackexchange.com/questions/43720/disable-wifi-wlan0-on-pi-3 and added to /boot/config.txt:

              dtoverlay=pi3-disable-wifi

              This disabled the wifi on boot and since then, problem games I've tested are playing perfectly (of course much more testing to do :)

              Thank you again. This definitely leveled up my RetroPie experience.

              1 Reply Last reply Reply Quote 0
              • R
                rsn8887
                last edited by

                I feel the official Sony USB Wireless Dongle reduced the lag even more. But two of them side by side causes interference and causes one of the two players to lag extremely.

                I then moved the Sony dongles further apart using a powered USB 2.0 Hub, and now I can play two player games fine with wireless DS4 controllers without any lag.

                Does internal WIFI or internal BT interfere with external BT? In other word shall I switch those things off, or can I switch them all on again?

                1 Reply Last reply Reply Quote 0
                • S
                  ses1984
                  last edited by

                  Has anyone figured out a permanent solution for this yet? This works great but I'm hoping to make it permanent or automated so my family members can get the benefit without dropping to the command line.

                  1 Reply Last reply Reply Quote 0
                  • S
                    SunnyMo
                    last edited by

                    i tried pi 3b+ without any issue, one usb arcade joystick, one xbox360 wireless controller with usb receiver, one ps3 wireless controller connected to pi's internal Bluetooth. all of them worked very well, no lag. the pi uses 5G wifi connected router all the time. maybe 5G wifi signal does not interfere with 2.4G bluetooth signal. i tested many arcade games which are more than 3 players, so ar so good.

                    1 Reply Last reply Reply Quote 0
                    • M
                      mepster @ARoxdale
                      last edited by

                      If anyone has trouble turning your wifi back on after running:
                      $ sudo iwconfig wlan0 txpower off

                      even after running "sudo iwconfig wlan0 power on" (note, "power" not "txpower"), and rebooting, as I did, it may be because your wifi is is "soft blocked" (whatever that is). I fixed by running:

                      $ sudo rfkill unblock wifi

                      as in this thread:
                      https://askubuntu.com/questions/62166/siocsifflags-operation-not-possible-due-to-rf-kill

                      M 1 Reply Last reply Reply Quote 0
                      • M
                        mepster @mepster
                        last edited by mepster

                        Also, instead of turning off wifi, you can use a USB bluetooth dongle instead of the onboard bluetooth, as in this thread. You get much lower lag to your ps3 controllers and you can keep your wifi on:

                        https://retropie.org.uk/forum/topic/14493/retropie-lag-missed-key-inputs-on-oem-ps3-bluetooth-controllers/4

                        1 Reply Last reply Reply Quote 0
                        • M
                          marine88
                          last edited by

                          @ARoxdale said in Fixing (DualShock 3) Bluetooth Lag:

                          https://github.com/retropie/retropie-setup/wiki/Setting-up-an-8bitdo-Bluetooth-controller

                          hi there im using fake ps3 controllers (shanwan) an I have a lot of lag on it the only way for me to pair is using ps3controller i cant connect using sixaxis or 8bitdo. i can´t make this any way of fixing it?

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

                            @marine88 Pleas open a new topic, this topic is 3 years old.

                            M 1 Reply Last reply Reply Quote 0
                            • M
                              marine88 @mitu
                              last edited by

                              @mitu ok thank you

                              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.