ValveSoftware / steam-for-linux

Issue tracking for the Steam for Linux beta client
4.16k stars 173 forks source link

Remote Play /Remote Play Together on Deck from Linux Machine with amdgpu drivers results in blackscreen/locked image on some games. #9089

Open GiuEliNo opened 1 year ago

GiuEliNo commented 1 year ago

Ubuntu 22.10 GPU: AMD RX 6700 XT (mesa 22.3.2) CPU: AMD R7 5800X KERNEL: 6.1.4-x64v3-xanmod1 DE: Gnome 43 on Xorg

My complete specs: https://gist.github.com/GiuEliNo/fa5db4b12dc0747857e9f97f772b1e88

Please describe your issue in as much detail as possible:

Trying to stream my games from my linux machine on my steamdeck results in some black screen on the deck. The stream is somewhat working because I hear the sound music from the deck and i can give input, but the screen is just black screen. If i move the cursor or press alt - tab on the host machine i can see the desktop clearly on the Steam Deck. Just the game results in a black screen. The game image is updated if i press the Plus or Minus buttons on the deck, but just for a microseconds. After the volume up or down animation disappear the game turns to a black screen again.

I tried so far: enabling/disabling host hardware encoding. enabling/disabling client hardware decoding. force resolution on host from client option. not using pipewire capture on host machine. steam beta/preview update on deck. steam beta update on my host.

Games where it happens: Mordhau (almost instantly in every combination of settings i tried, the game starts fine, i can see the loading on the deck. But on the main menu it starts the issue and it becomes just a black screen) Divinity Original Sin 2 after some times. ( This happens using the remote play together feature, my friend doesn't get a black screen but the video just stop and I as host have to press some times shift + tab to gives him video back. I think the issues are related, because he can still hear the audio and give inputs but no video. If he gets the stream from my other friends using Nvidia gpu on a linux machine, the stream works fine for him.) Starting the steam client on the terminal with the -pipewire option gave me some logs. This is after i pressed stream on the deck. And after the loading of the main menu. https://gist.github.com/GiuEliNo/83f16d5943257c2c4c4e6c9a17a9a39c

Games where I didn't have issue using the hardware encoding from the host machine: Vermintide 2 The elder scrolls v skyrim : Special edition

Steps for reproducing this issue:

  1. Use the stream option to start Mordhau from the Deck connecting on the linux machine with AMDGPU driver using mesa
  2. After initial loading the stream will be a black screen

I can record a video with my mobile phone to show the issue if needed.

ManiacNT commented 1 year ago

I have the same issue. Host running Ubuntu 22.04, AMD Radeon 6600 GPU.

I get sound, I see the cursor but video wise I get a black screen. Tried on 3 games.

I have disabled hardware decoding on client machine as advised in other threads but this has had no effect.

Any help is really appreciated

KPirmer commented 1 year ago

I have the same issue as well. Host running Manjaro, Kernel 5.15-89-1, NVidia RTX 3070 TI GPU.

I tested the streaming from the desktop view and this works for me without the black screen (Tested with DOOM Eternal). Looks like the steam deck gaming UI does not properly display the streamed window compared to the desktop client.

UrsusLvovich commented 7 months ago

I'm having the same issue with my PopOS host to Steam Deck stable branch. I tried launching Baldur's Gate 3 and it just shows black screen