nowrep / obs-vkcapture

OBS Linux Vulkan/OpenGL game capture
GNU General Public License v2.0
502 stars 24 forks source link

Black Screen when Streaming with OBS specifically in Steamdeck's Gaming Mode #215

Closed Aeonitis closed 3 weeks ago

Aeonitis commented 3 weeks ago

Describe the bug Black Screen Streaming with OBS specifically in Gaming Mode

Screenshots or video It seems a dev which works on a plugin which aims to enable in-game-mode streaming was redirected from SteamOS to here. I am not related to that team anyway, just a gamer which is curious about this problem.

Many gamers wanna stream using OBS in Gaming Mode i.e. most of these discussions are related ever since the deck was out, it seems it only currently works for Desktop Mode which I had tested and seen working. Some discussion is had here on using vulkan vkcapture...

Why do I think this a gamescope problem? I am new to this stuff, just sharing my observations, so please correct me if I am wrong anywhere. When we play games in Game Mode on the Steam Deck, Gamescope, a Wayland compositor, takes control of the display, the games use XWayland (which translates X11 to Wayland) so it works with Gamescope.

This is different to Desktop Mode, where KDE Plasma relies on Xorg (via the X11 protocol) for desktop management. Plasma is inactive in gaming mode.

Apparently there is a solution on getting it to work using the OBS VkCapture plugin with rwfus, Read-Write OverlayFS for Steam Deck, which I didn’t bother confirming if it works. On your issue template it seems to expect VkCapture logs,...

Is VkCapture now the standard for interacting with Gamescope moving forward? Can you please explain the challenge of why this issue may be occuring?

Might be good to get a current state of affairs just to correct people like me on the challenges.

Thank you, please forgive me if I am breaking any protocol, I am just here trying to understand this issue a bit further.

Aeonitis commented 3 weeks ago

I entered this issue on the wrong repo, sorry