Skip to content

Non-Steam games do not gain focus when using gamepad/deck UI and gamescope #8513

Description

@alkazar

Your system information

  • Steam client version (build number or date): 1648689145 / Wed, Mar 30 7:34 PM UTC -05:00
  • Distribution (e.g. Ubuntu): ChimeraOS 32 (testing) / Arch Linux
  • Opted into Steam client beta?: Using Steam Deck client
  • Have you checked for system updates?: Yes

Please describe your issue in as much detail as possible:

What:
When using the gamepad/deck UI with a gamescope session, non-Steam games do not gain focus. Instead I see the animated Steam logo and can only hear the game sounds.

I noticed that when launching Steam with the options -gamepadui -steamos3 -steamdeck, non-Steam games will launch. Without both -steamos3 and -steamdeck non-Steam games do not gain focus.

However, the -steamdeck option has a side-effect: it enables Steam Input globally. This makes sense for the Steam Deck, but not for other hardware like my Aya Neo. This results in games with local multiplayer detecting a single controller as multiple controllers.

Why:
My ultimate goal is to run the Steam Deck's Steam client with gamescope on my Aya Neo as close to SteamOS 3 and the Steam Deck as possible.

We have gotten many requests from ChimeraOS users who are keen on using the new gamepad/deck UI. However, it is not currently possible to provide a good experience with the Steam options available. But it is so close!

The ask:
It would be great if whatever magic the -steamdeck option is doing to focus non-Steam games was either:
a) enabled by default when using gamepadui and gamescope OR
b) split into its own option, perhaps a -gamescope option; there may even be additional functionality that belongs in this option that I am not aware of, but I trust Valve to figure out the details ;)

Steps for reproducing this issue:

  1. Use non-Steam Deck hardware (an Aya Neo in my case)
  2. Switch Steam to use the Gamepad/Steam Deck UI
  3. Setup a gamescope session, similar to SteamOS 3.0
  4. Run Steam with -gamepadui -steamos3
  5. Run Steam with -gamepadui -steamos3 -steamdeck -- to do this I had to also create a dummy steamos-update script and edit my sudoers file to allow execution of that script with sudo without a password

At step 3, note that non-Steam games will not gain focus.
At step 4, note that non-Steam games will now gain focus, however, due to Steam Input being globally enabled, games (specifically local multiplayer games) will detect a single Xbox controller as two controllers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    non-Steam applicationShortcut added to Steam with the "Add a non-Steam Game..." option

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions