• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
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

USB Controller "Hitches" When Playing Games

Scheduled Pinned Locked Moved Help and Support
usb controllerraspberry pi 4bfreezexbox controller
18 Posts 7 Posters 1.7k 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
    dankcushions Global Moderator @Fiddla01
    last edited by 16 Jul 2021, 00:55

    @fiddla01 said in USB Controller "Hitches" When Playing Games:

    With only one controller plugged in, I couldn't manage to make the hitch occur once.

    this sounds like a powered USB hub might help. ie, one that has its own AC adapter. i can't think of another reason why plugging more controllers in would exacerbate the issue.

    F 1 Reply Last reply 16 Jul 2021, 13:44 Reply Quote 0
    • F
      Fiddla01 @dankcushions
      last edited by 16 Jul 2021, 13:44

      @dankcushions I don't think the issue is power related, since the pi isn't giving me any warnings about power, and because I am now giving it 3A. My best guess is that its a software based problem, probably related to retroarch's method of assigning usb devices to controllers. The problem is that I can't think of any way of diagnosing the problem.

      I could try a powered USB hub if I find one for cheap, but I want to try and avoid that because I have already gone over my budget for this pet project of mine.

      L D 2 Replies Last reply 16 Jul 2021, 14:26 Reply Quote 0
      • L
        Lister of Smeg @Fiddla01
        last edited by Lister of Smeg 16 Jul 2021, 14:26

        @fiddla01
        I honestly don't know if this situation applies but your post reminded me of something I had read about usb polling in
        THIS thread
        " (add usbhid.jspoll=1 at end of line in /boot/cmdline.txt in Raspbian)" - it's easy to try and easy to reverse if it doesn't help
        *copied the following from stack exchange - might be useful??
        With the command:

        /opt/vc/bin/vcgencmd get_throttled
        If the answer is:

        throttled=0x0
        You're good with the supplied voltage and SoC temperature.

        The bits on the returned number mean:

        Bit Hex value Meaning
        0 1 Under-voltage detected
        1 2 Arm frequency capped
        2 4 Currently throttled
        3 8 Soft temperature limit active
        16 10000 Under-voltage has occurred
        17 20000 Arm frequency capping has occurred
        18 40000 Throttling has occurred
        19 80000 Soft temperature limit has occurred
        A value of 0x50000 means 16 & 18 -- from the boot moment up to now Under-Voltage has ocurred at some point as well as Throttling has occured.

        1 Reply Last reply Reply Quote 0
        • D
          dankcushions Global Moderator @Fiddla01
          last edited by 16 Jul 2021, 15:19

          @fiddla01 notwithstanding @Lister-of-Smeg ’s suggestion (which could be the fix), i don’t believe usb power issues would be indicated by the lighting symbol, since that is showing power shortage to the CPU, not USB, nor would it necessarily be fixed by better PSU, because pi USB power output is capped and not improved by better PSU.

          however my experience is with the pi2/3, where powered hubs were near-mandatory for multiple USB devices. i have not needed one for my pi4, so far.

          1 Reply Last reply Reply Quote 0
          • F
            Fiddla01
            last edited by 19 Jul 2021, 22:03

            @Lister-of-Smeg Thanks for the resources. Unfortunately, increasing the polling rate for usb didn't make a difference with the problem. Additionally, I ran /opt/vc/bin/vcgencmd get_throttled and at no time (even when the problem was happening at that same time) were there any throttling issues.
            I think @dankcushions may be correct that the USB power output simply isn't enough, and a powered usb hub might be the only option. The USB power output stays the same unless I wanted to take a soldering iron to the pcb itself, which I am certainly not willing to do.

            F 1 Reply Last reply 21 Jul 2021, 00:23 Reply Quote 0
            • F
              Fiddla01 @Fiddla01
              last edited by 21 Jul 2021, 00:23

              @fiddla01 * UPDATE * I have bought a powered USB hub, and the problem still persists. I bought "Plugable 4 Port Hub with Battery Charging 1.1 Support" (USB2-HUB4BC), which had its own 5V 2.5A power supply. The problem appeared to happen a little less often, but I am testing these by myself so the testing wasn't incredibly extensive. The problem still scales with the amount of controllers used, and all controllers are being plugged into the powered USB hub.

              I can nearly conclusively say that the problem is not a power draw issue, as I have ensured that not only the pi has its recommended amount of power, but the USB power draw is also minimal.

              If anyone has ideas as to why this problem is occurring, I am still willing to try anything to make the issue go away

              L 1 Reply Last reply 21 Jul 2021, 08:54 Reply Quote 0
              • L
                Lister of Smeg @Fiddla01
                last edited by Lister of Smeg 21 Jul 2021, 08:54

                @fiddla01
                do you have a spare sd card that you could flash a fresh image to (just a minimal install for testing with a few games)
                could one of the gamepads be to blame?
                one other thing to note - dirt/grease/corrosion on usb contacts would increase current draw. A quick clean with some alcohol isn't going to hurt (worth giving the contacts on the sd card a wipe too)
                Have a look at '5 usb not working' on this link https://circuitdigest.com/article/top-10-common-issues-while-using-raspberry-pi

                K 1 Reply Last reply 21 Jul 2021, 09:48 Reply Quote 0
                • K
                  kounabi22 @Lister of Smeg
                  last edited by kounabi22 21 Jul 2021, 09:48

                  @Fiddla01

                  Do you have the sound output to 3.5 jack or Hdmi?
                  If you have 3.5 jack then try hdmi ,the problem will solved.

                  F 1 Reply Last reply 21 Jul 2021, 20:06 Reply Quote 1
                  • K
                    kounabi22 @Fiddla01
                    last edited by 21 Jul 2021, 19:07

                    This post is deleted!
                    1 Reply Last reply Reply Quote 0
                    • F
                      Fiddla01 @kounabi22
                      last edited by 21 Jul 2021, 20:06

                      @kounabi22 I think you found the cause of the problem! I actually don't just have the sound output to the 3.5 jack, I am using it as component video output, utilizing a component to rca adapter cable. I plan to have this pi connected to a crt, so this is necessary. In more detail, in /boot/config.txt I have sdtv_mode=0 and enable_tvout=1 uncommented.

                      I tested to see if switching back to hdmi video and audio would work, and sure enough I could not replicate the problem in the worst conditions. When I have video/audio output through the 3.5mm jack, the audio outputs don't make a difference; the audio and video come out of the component cable all the same, and the problem still persists.

                      If you know why having sound and/or video output through the 3.5mm jack causes this problem, please let me know. Once again, I consider component output a necessity for my project, so If there's a way to use the 3.5mm jack as well as ensure the usb does not freeze occasionally I will do it.

                      For those of you that are going to suggest an HDMI to component converter, I know it'll work, but ideally I want to use an output straight from the pi, and also I don't want to spend any more money than I already have.

                      Thanks kounabi22 for knowing about that problem!

                      K L 2 Replies Last reply 22 Jul 2021, 07:40 Reply Quote 0
                      • K
                        Kanz1A @Fiddla01
                        last edited by Kanz1A 22 Jul 2021, 07:40

                        Pi Model Pi 4 B 8 gb
                        Case: ExperimentalPi Piboy DMG
                        Power Supply used: 5v 2A usb power adapter + usb to usb c cable
                        RetroPie Version Used: 4.7.1
                        USB Devices connected: microsoft xbox 360 controller (wireless)

                        @fiddla01
                        I have got the same problem.
                        Had no Problems with the Retropie IMG 4.7.1 but after I autoupdates all packages, i got the problem.
                        I reinstall retroarch... does not help
                        I reset the controls in Emulationstation, does not help
                        I installed und reinstalled Xdriv and xboxdrv, does not help.
                        without any driver.... does not help.
                        But it is, like you wrote, hickups in controls. Like the gamepad is freezing for some seconds.
                        I don'nt know where the problem is, but when I take a fresh image without any Updates, everything works fines.
                        Must be an "error" in one part of softwareupdate.

                        K F 2 Replies Last reply 22 Jul 2021, 08:14 Reply Quote 0
                        • K
                          Kanz1A @Kanz1A
                          last edited by 22 Jul 2021, 08:14

                          when i connect the Piboy via HDMI to the TV and not using the screen, the control problems are away.

                          <Do you have the sound output to 3.5 jack or Hdmi?
                          If you have 3.5 jack then try hdmi ,the problem will solved.> from kounabi22

                          like you sad....think the audio changes when you put in the hmdi cabel...

                          There is no way to use 3.5 jack without this Problems or?

                          1 Reply Last reply Reply Quote 0
                          • F
                            Fiddla01 @Kanz1A
                            last edited by 22 Jul 2021, 16:14

                            @kanz1a It's encouraging to hear that it worked on an older image, which means it is most likely a fixable driver or software bug, rather than a hardware oversight.

                            I have investigated just about everything related to usb, and controller drivers that I could find, and nothing seems to fix the problem except for diverting all signals away from the 3.5mm jack. I hope there is some solution, and if not I hope a hotfix/patch is possible in the future.

                            1 Reply Last reply Reply Quote 0
                            • L
                              LouF @Fiddla01
                              last edited by LouF 9 Sept 2021, 11:04 9 Sept 2021, 09:50

                              @fiddla01

                              Late reply, but confirming...

                              I wanted and did the same thing with the same result. I switched back to HDMI to composite video and audio converter and the system works well, again.

                              https://retropie.org.uk/forum/topic/29625/startup-audio-quality-is-bad-a-v-connectivity?_=1631181389467

                              Pi#2: 4B-2Gb, 5.10.11-v7l+ firmware, 3A power supply
                              RetroPie v. 4.7.1 pre-made SD image, transferred from Pi#1
                              Emulation Station v. 2.9.6RP
                              RetroArch 1.8.8
                              Controller: Vilros SNES wireless USB
                              WD easystore HDD - 1TB

                              Pi#1: 4B-2Gb, 5.4.72-v7l+

                              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.

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