Hello @alvaromunoz, please give #6148 a read. In particular, the -pipewire and maybe -pipewire-dmabuf launch options are currently needed to allow Steam Remote Play to capture from Wayland surfaces and gamescope is a Wayland based compositor.
From the looks of it, you've described Remote Play working when both Steam and the game share the same X session inside of Xwayland.
Closing in favor of #6148.
Thanks for the reply @kisak-valve . Unfortunately it doesn't seem to work as intended. With both those arguments (or either) I get this window:
No matter what I choose, Remote Play works the same way as before: Proton games don't stream to the steam deck.
Should I move this comment to #6148 or to another repo?
Your system information
Extra info:
Please describe your issue in as much detail as possible:
TL:DR: I'd like to be able to stream Proton games and Gamescope nested games from my desktop launched Steam client. These settings present issues that make it impossible to correctly stream from a Linux host.
Using Darkest Dungeon as an example, I've installed it in an Arch host, with the intent of testing remote play in my steam deck. This game is available as a native Linux game, and also as a Windows game through Proton. I also usually use Gamescope in my Arch machine to make better use of some fullscreen games.
This is the result of the streaing tests, from the Arch host to a Steam Deck (the issues were present in both Gaming and Desktop mode, so it's a host issue):
* In Doom Eternal a right touchpad click seems to send something that opens the events page. Everything else is broken.
Since the most compatible scenario is the last one, I've tested other games there like Wolfenstein II and Doom Eternal, and they run as expected.
Steam Integration means launching steam with
gamescope -e -- steam -tenfoot -steamosNested means using these Launch options for a game:
gamescope --nested-width 1920 --nested-height 1080 --nested-refresh 144 --output-width 1920 --output-height 1080 --fullscreen -- %command%Gamescope nested seems to block capturing the right PID? And proton without Gamescope integration seems to not send video.
Steps for reproducing this issue: