Open IsaacFehr opened 1 month ago
for some additional context on why this happens and is not a simple implementation in gamescope, this may be helpful: https://github.com/ValveSoftware/gamescope/issues/1563#issuecomment-2395263411
This is wayland issue that gamemode runs on, try using desktop mode which uses X11. To workaround discord on wayland try using Vesktop from flatpak repository
I used the default discord flatpak and disabled hardware acceleration then it worked, no audio though
Your system information
Please describe your issue in as much detail as possible:
Screen sharing features of various applications work as expected in Desktop Mode. But in Game Mode, many games show only a black screen, yet stream audio correctly. A few games do stream correctly in Game Mode. But interestingly, this behavior is consistent accross many applications that support screensharing, pointing to a problem with SteamOS's Game Mode.
I have experienced the same problem with these screen sharing clients:
Group 1: Games I've tested that stream their window correctly in both Game Mode and Desktop Mode:
Group 2: Games that stream only in Desktop mode but show only a black screen in Game Mode (but audio comes through) :
I have tested all combinations of Game Mode and Dekstop Mode for Discord Desktop Client, Discord on Firefox, Google Meet on Firefox, and Zoom with Resident Evil, Bomb Rush Cyberfunk, and Fear and Hunger 2. Their results were consistent with the categories above. The exception was Zoom, which worked on Desktop, but in Game Mode wouldn't recognize any windows to stream.
Notes:
Steps for reproducing this issue:
As a side note: my Steam Deck handled having 3 streaming apps and 2 games open at once in both Game Mode and Desktop mode with no issues. That's pretty incredible in terms of system stability and performance.