-
Notifications
You must be signed in to change notification settings - Fork 34
[Steam Deck] No video output on Gaming Mode #75
Comments
Hm sadly I do not have a Steam Deck and can't test this. But can the normal discord client/browser version stream on the Steam Deck? |
The Discord app available on the deck's Discover app, works fine for the most part on both gaming and desktop mode, but it lacks audio when screensharing. |
Same on my deck |
@maltejur I hope I can shed some light on this. The reason the screen is black is simply because this client doesnt allow you to choose the video source. The way the Steam Deck uses gamescope, it renders everything per window, but the capture is just a black "desktop". Is there a reason this client can't choose the video source like the normal client? Edit: Just read some more issues and tried this on my laptop. We need to figure out how to open up the xdg-desktop-portal selection screen with the flatpak and using gamescope compositor, all on an immutable filesystem (so most everything is installed via flatpak) |
It is a general limitation of QtWebEngine, which is what discord-screenaudio is powered by (see #1). That you are able to select the window on Wayland is only thanks to a "hack" enabling the usage of desktop portals. As far as I know, the game mode on the steam deck is using wayland though. So this probably really is a problem with the xdg-desktop-portal. Does doing this change anything? And the desktop portal is probably now showing up in desktop mode because that is using X11, and thus cant use portals. |
No, I can't install xdg-desktop-portal-kde due to it pulling the whole plasma package group (or without disabling read only), so setting XDG_CURRENT_DESKTOP=KDE doesn't work. However, if I could leverage a different portal such as xdg-desktop-portal-gtk or xdg-desktop-portal-wlr that would work, I have those installed. I don't know the requirements to launch any of the desktop portals applications though, especially for gamescope. I don't see why this wouldn't be possible though, even if it requires you to have a chroot environment set up to install packages. |
it's probably more likely that Gamescope's current lack of support for Wayland clients is the culprit here, since any applications currently run in X11 mode where portals don't apply: ValveSoftware/gamescope#543 |
I see. I mean, there is still the issue of installing a usuable portal, but you might be right. |
my guess is that the Gamescope issue will be resolved at around the same time Valve decides migrates desktop mode over to Wayland, in which case they'll supply xdg-desktop-portal-kde by default. |
Any workarounds found while a fix is not possible? |
Any workarounds? The default discord screen sharing works in gaming mode, but the discord-screenaudio sharing don't. Works flawless on desktop mode. |
Not any that I know of, besides using both the official client and this client at the same time with different accounts to share video and audio independently :D. You could also follow this guide manually. But as per #1 (comment), there is some work happening in QtWebEngine which could some day make this work properly. |
Desktop mode with the Flatpak works extremely well, but in my case in Game Mode the app doesn't launch at all spinning indefinitely. I wanted to confirm if this bug was present on mine or not, but for the moment I can't. |
Has anyone found a workaround for getting video to come through in gaming mode? I'm seeing the same problem of not being able to choose a window as described above, and sharing the desktop just showing a black screen. As a note: Vesktop and Webcord (installed through flatpak) can also share audio, but they can select a game window, even if it still shows up all black. The official Discord client can share a game window in gaming mode, just without audio. What is the difference between the clients that is causing this? |
I just switched to Desktop mode from a Gamemode Tabletop Simulator (native)
session where I was using Vesktop to share the game. Have used it with
Balatro (Proton) as well, in recent weeks. Both video and audio worked fine
for me here!
…On Sat, Apr 13, 2024 at 2:17 AM Isaac Fehr ***@***.***> wrote:
Has anyone found a workaround for getting video to come through in gaming
mode?
I'm seeing the same problem of not being able to choose a window as
described above, and sharing the desktop just showing a black screen.
As a note: Vesktop and Webcord (installed through flatpak) can also share
audio, but they can select a game window, even if it still shows up all
black.
The official Discord client can share a game window in gaming mode, just
without audio.
What is the difference between the clients that is causing this?
—
Reply to this email directly, view it on GitHub
<#75 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAA3SEXWALQOSQ7ZL6RBWRDY5BB5FAVCNFSM6AAAAAASHLUM7SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANJSGUYDMNBTGU>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Been trying this out on the Steam Deck and it works great on desktop mode, but sadly a lot of the games I want to screenshare don't work on desktop mode, but do work with Gaming mode. Unfortunately when attempting to SS in gaming mode, only audio is output and the stream is black.
I hope I'm describing this correctly! I'm new to submitting these types of issues on github
The text was updated successfully, but these errors were encountered: