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

Inconsistent Controller Detection #644

Open
Saroufim opened this issue Oct 28, 2020 · 11 comments
Open

Inconsistent Controller Detection #644

Saroufim opened this issue Oct 28, 2020 · 11 comments
Labels
controller Issues with wireless or wired controllers

Comments

@Saroufim
Copy link

Game information
Dragon Age 2 (Proton)
Dark Messiah of Might and Magic (Proton)
Overlord II (native)

Distribution name and version where applicable
Fedora Silverblue 33

Flatpak info
Flatpak 1.8.2
default
host

Problem description
Dualshock 4 is not being detected in many games as of recently. It used to work flawlessly. The Steam Big Picture UI detects the controller properly and navigation through the system works wonderfully well. However, as of yesterday, the controller has not been detected in Dragon Age 2, Overlord II, and Dark Messiah of Might and Magic. RetroArch (proton) detects the controller as an xbox 360 controller and it works with it just fine.

Does this issue reproduce with native Steam
Have not tested

@nertpinx
Copy link

nertpinx commented Nov 5, 2020

Same here on non-fedora. Without udev rules "art of rally" sees /some/ controller, but it does not work, with udev rules the game does not offer anything, just keyboard. But it works in the overlay.
It also worked with native non-flatpak client.

@nertpinx
Copy link

nertpinx commented Nov 5, 2020

Could be similar to #498

@Saroufim
Copy link
Author

Saroufim commented Nov 6, 2020

I can verify that it works on the BPM and the overlay but not on certain games. Seems to be the same issue.

@nertpinx
Copy link

nertpinx commented Nov 6, 2020

I fund there are half a dozen issues that seem to be all related to each other. And another bunch filed for flatpak itself. Looks like not much is happening to any of them.

@nertpinx
Copy link

nertpinx commented Nov 6, 2020

OK, I think I figured what caused it for me. @Saroufim Try checking whether your user has access to /dev/uinput as the udev rules for that file do not work for me for some reason. ls -al /dev/uinput and id should get you started.

@drewofdoom
Copy link

drewofdoom commented Mar 28, 2021

@nertpinx, I went down that rabbit-hole recently. This doesn't appear to be the problem, even though all the troubleshooting I've found scattered around the internet points to it.

drew in ~ at lovell 
➜ ls -al /dev/uinput
crw-rw----+ 1 root root 10, 223 Mar 28 00:31 /dev/uinput

drew in ~ at lovell 
➜ getfacl /dev/uinput
getfacl: Removing leading '/' from absolute path names
# file: dev/uinput
# owner: root
# group: root
user::rw-
user:drew:rw-
group::---
mask::rw-
other::---

drew in ~ at lovell 
➜ id
uid=1000(drew) gid=1000(drew) groups=1000(drew),10(wheel),18(dialout),980(pipewire),995(input) context=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023

Edit: I also tried it after setting perms to 0666, and it still failed.

@drewofdoom
Copy link

FYI, I discovered last night that the DS4 controller was working fine in Metro Exodus (via Proton). Does not work in Dead Cells.

@TiZ-HugLife
Copy link

Try this horrible hack:

sudo flatpak override --filesystem=/run/udev com.valvesoftware.Steam

@PureTryOut
Copy link

That definitely is a horrible hack and it doesn't work for me.

In my case the controller is not detected for a multitude of games, including Middle-Earth: Shadow of War via Proton which would indicate it's not the same as #498 (as this is via Proton and not a Unity game).

@gasinvein gasinvein added the controller Issues with wireless or wired controllers label Dec 1, 2021
@kaimast
Copy link

kaimast commented Dec 2, 2023

The override does not work for me either. I'm on arch and installed steam-devices, but not success :(

@kaimast
Copy link

kaimast commented Dec 2, 2023

I fund there are half a dozen issues that seem to be all related to each other. And another bunch filed for flatpak itself. Looks like not much is happening to any of them.

Could you link the flatpak issues here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
controller Issues with wireless or wired controllers
Projects
None yet
Development

No branches or pull requests

7 participants