protonscr

Bringing streamed game to foreground failed on manjaro i3 streaming host on nvidia gpu

steamopen StreamingDistro Family: Arch
ValveSoftware/steam-for-linux#12057 · opened 2025-05-30 by komali2 · updated 2025-05-30 · 0 comments · github
Kkomali2 2025-05-30 github

Your system information

=========================== SYSTEM INFORMATION ===========================
OS: Manjaro Linux 25.0.3 (Zetar)
Kernel: Linux 6.12.28-1-MANJARO #1 SMP PREEMPT_DYNAMIC (x86_64)
Window Manager: i3 version 4.24
Compositor: picom v12.5 (revision a456d43)

=========================== HARDWARE INFORMATION =========================
CPU: 12th Gen Intel(R) Core(TM) i7-12700K
     - 12 Cores, 20 Threads (1 Socket)
RAM: 31GB Total
GPU: NVIDIA GeForce RTX 3080 Lite Hash Rate (10GB VRAM)

=========================== GRAPHICS INFORMATION =========================
NVIDIA Driver Version: 570.144
CUDA Version: 12.8 (V12.8.93)
OpenGL: Version 4.6.0 NVIDIA 570.144
OpenGL Renderer: NVIDIA GeForce RTX 3080/PCIe/SSE2
OpenGL Vendor: NVIDIA Corporation

=========================== DISPLAY INFORMATION ==========================
Primary Display: HDMI-0 connected 3840x2160 (4K) (697mm x 392mm)
Secondary Display: DP-0 connected 3840x2160 (4K) (600mm x 340mm)
Multi-monitor setup: 2x 4K displays side by side
Steam Beta Branch:  Stable Client
Steam Version:  1747701111
Steam Client Build Date:  Tue, May 20 3:51 AM UTC +08:00
Steam Web Build Date:  Tue, May 20 8:21 AM UTC +08:00
Steam API Version:  SteamClient022
  • Steam client version (build number or date):
  • Distribution (e.g. Ubuntu): Manjaro
  • Opted into Steam client beta?: [Yes/No] No
  • Have you checked for system updates?: [Yes/No] Yes
  • Steam Logs: [generate by running this command in a terminal tar -zcvf ~/Desktop/steam-logs.tar.gz ~/.steam/steam/logs]

steam-logs.tar.gz

  • GPU: Nvidia 3080

Please describe your issue in as much detail as possible:

Describe what you expected should happen and what did happen. Please link any large code pastes as a Github Gist

Steps for reproducing this issue:

  1. Launch steam on host machine
  2. On paired steam deck on network, select a game such as Baldur's Gate 3, and select "Stream from [host pc])
  3. Observe black screen on steam deck with in-game custom cursor and hear game's audio through steam deck
  4. Observe game running correctly on host machine's display
  5. Try changing in game settings from full screen, to windowed, to full screen windowed
  6. Observe continued black screen on steam deck
  7. Try moving mouse to another monitor and back
  8. Observe stream crash
  9. Observe line in logs: Bringing streamed game to foreground - failed with timestamp from before crash

In all experiments, I try launching the game, confirm the audio, then on the host machine try shift tab and shift tab again to show/hide the steam overlay, then on the host pc in the game settings try changing from fullscreen, to windowed, to borderless windowed, and then moving the screen around until the stream crashes.

Note, in further testing this is consistent behavior only in Baldur's Gate 3. Other games work much more consistently.

Stream logs:

detect-client-leader = true;
unredir-if-possible = false;
host use nvfbc: false
host enable hardware encoding: true
host change desktop resolution to match streaming client: false
i3:
# focus_follows_mouse yes
# focus_on_window_activation focus

https://pastebin.com/3pyvfCaP

detect-client-leader = false;
unredir-if-possible = false;
host use nvfbc: false
host enable hardware encoding: true
host change desktop resolution to match streaming client: false
i3:
# focus_follows_mouse yes
# focus_on_window_activation focus

https://pastebin.com/qkSM3uiq

detect-client-leader = false;
unredir-if-possible = false;
host use nvfbc: false
host enable hardware encoding: true
host change desktop resolution to match streaming client: true
i3:
# focus_follows_mouse yes
# focus_on_window_activation focus

https://pastebin.com/nfKN7Ahp

detect-client-leader = false;
unredir-if-possible = false;
host use nvfbc: false
host enable hardware encoding: false
host change desktop resolution to match streaming client: true
i3:
# focus_follows_mouse yes
# focus_on_window_activation focus

https://pastebin.com/uMjjEjJn

detect-client-leader = false;
unredir-if-possible = false;
host use nvfbc: false
host enable hardware encoding: false
host change desktop resolution to match streaming client: true
i3:
focus_follows_mouse yes
focus_on_window_activation focus

https://pastebin.com/zfCQGYuQ

Nothing extracted yet.