USB Controller "Hitches" When Playing Games
-
@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. -
@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
-
@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 -
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. -
This post is deleted! -
@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!
-
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. -
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 kounabi22like 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?
-
@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.
-
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.
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.