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.
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.
Your system information
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 theGAMESCOPECTRL_BASELAYER_APPIDandGAMESCOPECTRL_BASELAYER_WINDOWproperties on the root window. It does when starting the game via the UI.Steps for reproducing this issue:
gamescope -e steam steam://run/367520