Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Steam Controller Driver causing stuttering across #1870

Closed
Aryetis opened this issue Feb 1, 2017 · 6 comments
Closed

Steam Controller Driver causing stuttering across #1870

Aryetis opened this issue Feb 1, 2017 · 6 comments

Comments

@Aryetis
Copy link

Aryetis commented Feb 1, 2017

sc-xbox.py script is looping every 2 seconds when not detecting a steam controller. Causing the whole system to stutter every 2 seconds. The problem persists upon reboot and update of the system. Only way to fix it is to reinstall the "steam controller driver" package from retropie-setup.

Syslog : https://hijackedbrain.com/data/syslog
snipet from Syslog
Feb 1 20:21:47 retropie kernel: [ 139.181329] input: Steam Controller Keyboard as /devices/virtual/input/input56 Feb 1 20:21:47 retropie /sc-xbox.py: sc-xbox.py: No SteamControler Device found Feb 1 20:21:47 retropie /sc-xbox.py: Traceback (most recent call last):#012 File "/opt/retropie/supplementary/steamcontroller/lib/python3.4/site-packages/python_steamcontroller-1.2-py3.4-linux-armv7l.egg/steamcontroller/daemon.py", line 98, in start#012 self.run()#012 File "/opt/retropie/supplementary/steamcontroller/lib/python3.4/site-packages/python_steamcontroller-1.2-py3.4-linux-armv7l.egg/EGG-INFO/scripts/sc-xbox.py", line 70, in run#012 sc = SteamController(callback=evm.process)#012 File "/opt/retropie/supplementary/steamcontroller/lib/python3.4/site-packages/python_steamcontroller-1.2-py3.4-linux-armv7l.egg/steamcontroller/__init__.py", line 144, in __init__#012 raise ValueError('No SteamControler Device found')#012ValueError: No SteamControler Device found

Steps to reproduce :
1/ Install "Steam Controller Driver" package from retropie-setup
2/ Using retropie-setup, configure "Steam Controller Driver" to work in "xbox360 controller" mode.
3/ Reboot

Link to the related retropie forum's thread : https://retropie.org.uk/forum/topic/7828/stuttering-issue-across-all-the-distrib

@joolswills
Copy link
Member

You have it installed without having a steam controller ? this is a third party tool - so any problem with the script itself can be reported to https://github.com/ynsta/steamcontroller

@Aryetis
Copy link
Author

Aryetis commented Feb 1, 2017

I have a steam controller and it was hooked up, tried both wired and wireless mode but none worked in xbox360 mode and caused stutter. Obviously stutter also occurs if the steam controller is not hooked up.

I'll take a look at their github and see if this issue has been reported.

@joolswills
Copy link
Member

Thanks. just checking (sometimes we have had people install all the drivers even though they didn't have the hardware which can be problematic).

Perhaps upstream can change the way it scans to avoid the stutter. It might be worth seeing if running it at a lower priority helps (add nice before the python script it in /etc/rc.local`

Also adding 2>/dev/null to the end of the commandline to disable error logging may help.

@Aryetis
Copy link
Author

Aryetis commented Feb 1, 2017

Neither nice or 2>dev/null is enough to prevent stutter.

We'll see how it goes upstream.

@ghost
Copy link

ghost commented Nov 11, 2017

Thanks so much! The stuttering was happening for months and couldn’t figure out why. Removing the driver stopped it and it works perfectly now!

@cmitu
Copy link
Contributor

cmitu commented Jun 6, 2024

Closing this, since the latest version of steam-controller has changed the way it runs and there's no polling involved anymore.

@cmitu cmitu closed this as completed Jun 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants