protonscr

GAMESCOPECTRL_BASELAYER_APPID GAMESCOPECTRL_BASELAYER_WINDOW not set when running steam://run/…

steamclosed
ValveSoftware/steam-for-linux#13042 · opened 2026-03-27 by WhyNotHugo · updated 2026-03-27 · 3 comments · github
WWhyNotHugo 2026-03-27 github

Your system information

  • Steam client version (build number or date): 1773426488
  • Distribution (e.g. Ubuntu): Arch Linux
  • Opted into Steam client beta?: No
  • Have you checked for system updates?: Yes
  • Steam Logs: n/a
  • GPU: AMD

Please describe your issue in as much detail as possible:

If I run gamescope -W 3440 -H 1440 -e steam steam://run/367520, the game starts and plays audio, but is never visible.

If I run gamescope -W 3440 -H 1440 -e steam, and then manually start the game via the UI, the game shows up fine.

I debugged this, and it seems that when using steam://run/…, Steam never sets the GAMESCOPECTRL_BASELAYER_APPID and GAMESCOPECTRL_BASELAYER_WINDOW properties on the root window. It does when starting the game via the UI.

Steps for reproducing this issue:

  1. gamescope -e steam steam://run/367520
Kkisak-valve maintainer 2026-03-27 github

Hello @WhyNotHugo, there's no value in fragmenting the discussion of this issue across multiple issue trackers. Closing in favor of the initial issue report.

WWhyNotHugo 2026-03-27 github

I originally opened the gamescope issue when I thought it was a bug in gamescope. Further debugging revealed that it was an issue in Steam itself, hence the report here.

It didn't occur to me that the original issue could be moved and re-purposed.