ValveSoftware / steam-for-linux

Issue tracking for the Steam for Linux beta client
4.25k stars 175 forks source link

Dualshock not working on most games, even though they have Platinum ProtonDB ratings. #8019

Open SephReed opened 3 years ago

SephReed commented 3 years ago

Your system information

Please describe your issue in as much detail as possible:

Describe what you expected should happen and what did happen. Please link any large code pastes as a Github Gist

I keep booting up games with "Platinum" Proton DB ratings, and everyone on Ubuntu saying they run perfect out of the box, but for me my dualshock only works with every other game.

I tried the steam-input-drivers thing, and various other suggestions.

Steps for reproducing this issue:

  1. Start a game
  2. Steam says controller is recognized, big picture mode navigation works, everything steam works
  3. 50% of games don't respond to any input.

I know that this isn't a lot to go off, but I suspect some sort of permissions issue. I managed to fix one game by updating it's files to run as sudo. Any clues here?

kisak-valve commented 3 years ago

Hello @SephReed, are you using the Valve-provided Steam package, distro-modified Steam package, or Unofficial Flatpak package? If you're using the distro-modified package, then please check if you also have the steam-devices package as well. (Not needed for the Valve-provided Steam package because the udev rules are bundled with it).

Also, are native linux games equally affected?

Running any games with sudo or elevated permissions is not recommended and not supported.

SephReed commented 3 years ago

Everything was default. I installed from a .deb and then tried steam-devices when things didn't work out.

The issue ended up being that some funky controller mapping (gamepad) thing was enabled for my ps4 controller. I still think it would be nice if that mode worked, and I have no idea why it was on in the first place.

Is there any reason why having that mode enabled would inherently not be supportable?

lavadrop commented 3 years ago

I have a similar problem, but for me so far it's most games don't even recognize a controller when using Steam link from my raspberrypi:

Everything was working perfectly before I hopped from Solus to OpenSUSE. I have the distro package "steam-devices" installed which is a dependency of the distro-provided steam package.

SephReed commented 3 years ago

Did you check that "gamepad" mode is not enabled in Steam? That's what the issue was for me: Steam was trying to be the middleman, and it was making issues.

lavadrop commented 3 years ago

I activated steam beta, and now everything works fine now.

Lastique commented 2 years ago

I also have a problem with DualShock 4 in Proton games, see https://github.com/ValveSoftware/Proton/issues/5502.

To recap, every game running under Proton does not recognize the controller - buttons and sticks are not registered by the game. The touchpad area works as a mouse. Native Linux games (e.g. Rise of the Tomb Raider) and non-Steam games running on vanilla Wine do work with the controller as expected.

I can add that whenever I launch Steam or a Proton game and the controller is connected, the LED on the controller lights up blue and stays on. Normally, the LED is disabled after I connect the controller. I believe, the LED lighting up is a Steam client issue since it happens when the client starts up.

I'm on Kubuntu 21.10. Steam client is installed from distro packages, steam-devices package is also installed. Steam client built on Dec 16 2021, at 22:39:26, package versions: 1639697812. Not using Steam Beta.

Opting in to Steam Beta does not help, the problem stays the same.

ipr commented 2 years ago

Right trigger in DS4 does not work in some games: Valley (378610) is one such game. We Happy Few (320240) is another.

AtFreezingPoint commented 2 years ago

Yep, the issue still persists...

Lastique commented 2 years ago

@kisak-valve Are there any updates? It seems weird that the problem of gamepads completely broken in Steam remains unfixed for a year.

darkcl commented 2 years ago

same issue occur in my freshly install fedora 36

checked my dnf list, and steam-devices package is installed

AtFreezingPoint commented 2 years ago

same issue occur in my freshly install fedora 36

checked my dnf list, and steam-devices package is installed

Hey, where did you install steam from?

darkcl commented 2 years ago

same issue occur in my freshly install fedora 36 checked my dnf list, and steam-devices package is installed

Hey, where did you install steam from?

Oh... i installed in gnome software

and i tried the follow steps and solve the problem partially

In Settings => Controller Configuration => Desktop Configuration (my default is empty)

Then select Browse Configs => Gamepad => Import

And it should be working partially (elden ring works, binding of isaac does not)