ValveSoftware / steam-for-linux

Issue tracking for the Steam for Linux beta client
4.22k stars 174 forks source link

Controller input navigates invisible Overlay menu in wlroots compositors #8640

Open taylor85345 opened 2 years ago

taylor85345 commented 2 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

When playing any game launched through steam, under any wlroots compositor, controller input seems to navigate an invisible Big Picture overlay, as if controller input is being routed simultaneously to the Game and the Steam Client. For example, pressing the A and B buttons on a Steam Controller trigger the sounds of navigating through a Big Picture menu tree, even though the overlay is inactive. The buttons presses still perform their intended function in-game, and to date nothing undesirable has happened as a result of navigating this invisible overlay, so it is more of an auditory distraction than anything.

I have confirmed this behavior with a variety of controllers, including Steam Controller, DualSense, and DualShock 4, all in both wired and Bluetooth configurations. I have also confirmed this behavior in multiple wlroots compositors including Sway, River, and Hyprland. This behavior seems to occur even if the overlay is entirely disabled from the settings menu, and the game is launched from the desktop client

Steps for reproducing this issue:

  1. Launch Steam under any wlroots-based Wayland Compositor
  2. Connect a controller (Steam Controller, Dualsense, Dualshock 4 confirmed)
  3. Launch a game from within steam (Confirmed in FFXIV, Doom Eternal, Among Us).
  4. Navigate the game using the controller. Note Steam sound effects when pressing A/B or X/O buttons
ghost commented 1 year ago

I have the same issue, in my case randomly launchs another game in the middle of a game session.

Reproducible with

Samsagax commented 1 year ago

Seems like the overlay doesn´t get focus or the appropriate window manager hints to be treated as one. I can hear the overlay navigation sounds and even push some buttons on a blind navigation (even to close the game) but is not only limited to wlroots-based compositors, Mutter (GNOME) is also affected. Work fine on X compositors like openbox or xfwm.

loikki commented 1 year ago

Any news for this issue? I have the same issue on Ubuntu 22.04 (host + client). I have a few windows games that work perfectly through lutris as a non steam game but I encounter this issue with ryujinx.

taylor85345 commented 1 year ago

I have not noticed this issue in some time. I had disabled Big Picture sound effects in the old interface, which masked the issue for me, and I haven't encountered the issue since the move to the new Big Picture interface.