steam-for-linux icon indicating copy to clipboard operation
steam-for-linux copied to clipboard

Linux] SteamRT3 re-exec handoff (code: 67) collides with itself and exits with "Steam is already running" on Bazzite 45

Open stevem85387-jpg opened this issue 2 weeks ago • 8 comments

[2026-11-13 23:05:18] Update complete, launching Steam... [2026-11-13 23:05:18] Set status message: Update complete, launching Steam... UpdateUI: skip show logo [2026-11-13 23:05:18] Shutdown [2026-11-13 23:05:18] ProcessNextMessage: socket disconnected [2026-11-13 23:05:18] No more messages are expected - exiting steam.sh[30693]: Restarting Steam by request... steam.sh[30693]: Starting SteamRT3 Steam CProcessEnvironmentManager is ready, 5 preallocated environment variables. [2026-11-13 23:05:18] Startup - updater built Nov 13 2026 02:01:47 [2026-11-13 23:05:18] Startup - Steam Client launched with: '/var/home/stevem/.local/share/Steam/steamrt64/steam' '-srt-logger-opened' 11/13 23:05:18 minidumps folder is set to /tmp/dumps 11/13 23:05:18 Init: Installing breakpad exception handler for appid(steam)/version(1794536281)/tid(32077) CProcessEnvironmentManager is ready, 5 preallocated environment variables. [2026-11-13 23:05:18] Loading cached metrics from disk (/var/home/stevem/.local/share/Steam/package/steam_client_metrics.bin) [2026-11-13 23:05:18] Failed to load cached hosts file (File 'update_hosts_cached.vdf' not found), using defaults [2026-11-13 23:05:18] Using the following download hosts for Public, Realm steamglobal [2026-11-13 23:05:18] 1. https://steamstatic.com, /, Realm 'steamglobal', weight was 1, source = 'baked in' [2026-11-13 23:05:18] Verifying installation... [2026-11-13 23:05:18] Verifying file sizes only [2026-11-13 23:05:18] Process started with command-line: '/var/home/stevem/.local/share/Steam/steamrt64/steam' '-child-update-ui' '-child-update-ui-socket' '8' '-srt-logger-opened' 11/13 23:05:18 minidumps folder is set to /tmp/dumps [2026-11-13 23:05:18] Verification complete Updating symlink: /home/stevem/.steam/bin32 -> /var/home/stevem/.local/share/Steam/steamrt32 Updating symlink: /home/stevem/.steam/bin64 -> /var/home/stevem/.local/share/Steam/steamrt64 Updating symlink: /home/stevem/.steam/sdk32 -> /var/home/stevem/.local/share/Steam/linux32 Updating symlink: /home/stevem/.steam/sdk64 -> /var/home/stevem/.local/share/Steam/linux64 Updating symlink: /home/stevem/.steam/root -> /var/home/stevem/.local/share/Steam/ Updating symlink: /home/stevem/.steam/steam -> /var/home/stevem/.local/share/Steam/ srt-logger: disabled, already open ReexecToLauncher: steamrt3 client enabled ReexecToLauncher: proceeding in current environment [2026-11-13 23:05:18] Shutdown ReexecSteamLinux: received re-exec request with code: 67 steamrt: 0 ReexecSteamLinux: re-launching steam in SteamRT runtime CProcessEnvironmentManager is ready, 5 preallocated environment variables. Steam is already running, exiting (command line was forwarded). ReexecSteamLinux: exiting

Additional Troubleshooting Already Attempted

• Verified zero running processes via pgrep -af -i "steam|pressure-vessel|srt-". • Cleared all /tmp/.com.valvesoftware.Steam*, /run/user/$UID sockets, and System V semaphores (ipcrm -a). • Rebuilt ~/.steam and ~/.local/share/Steam from scratch. • Tested with -cef-disable-gpu, -noverifyfiles, -no-reexec, and STEAM_RUNTIME_STEAMRT3=0. • Installed and launched com.valvesoftware.Steam via Flathub Flatpak, which hit the identical code: 67 re-exec loop on version 1794424036.

stevem85387-jpg avatar Nov 14 '26 06:11 stevem85387-jpg

Same failure on Ubuntu 26.04 / GNOME, Intel + NVIDIA RTX 4060 laptop. The trigger appears to be the discrete GPU.

With PRIME set to on-demand, the GNOME launcher (PrefersNonDefaultGPU=true, which starts Steam through NVIDIA render offload) failed 10 times out of 13. Launching on the Intel GPU, or switching to prime-select nvidia, worked 6 times out of 6.

In every attempt, the outcome depended on whether the -child-update-ui helper logged No more messages are expected - exiting before the re-exec'd client's single-instance check. When it did, Steam started. When it didn't, the client hit Steam is already running and the helper exited right after. So the check seems to find the update helper, and render offload probably slows the helper enough to lose that race.

Workaround: launch on the integrated GPU, or move PRIME off on-demand.

bidossessi avatar Nov 14 '26 09:11 bidossessi

Thanks for confirming and isolating the NVIDIA trigger! Unfortunately, my desktop uses an Intel Core i5-12400F (which has no integrated GPU) paired with an NVIDIA RTX 3060, so I cannot fall back to an iGPU or switch PRIME off on-demand mode. This definitely confirms the SteamRT3 -child-update-ui handoff is colliding specifically when initializing with the proprietary NVIDIA driver on Wayland/GNOME.

stevem85387-jpg avatar Nov 14 '26 19:11 stevem85387-jpg

same bug here, and it lines up with what @bidossessi found above. Nobara 44 (Fedora 44 base), KDE Plasma on Wayland, Intel Arc 140T + NVIDIA RTX 5060 Mobile laptop, proprietary driver with runtime power management. client build 1794536281 (updater built Nov 13 2026 02:01:47), stable, not beta, system up to date, Terra `steam` 1.0.0.87-5 package. my desktop (Bazzite, single AMD RX 6700 XT, same client build, same `/usr/bin/steam`) hasn't hit it.

on my laptop the slow part is the NVIDIA GPU waking from runtime suspend (DynamicPowerManagement=3, so the card is suspended most of the time). the desktop entry has PrefersNonDefaultGPU=true, so Plasma starts Steam with NVIDIA render offload, and the -child-update-ui helper's SDL init has to wake the card first. that takes about 2.5 s: vulkaninfo --summary takes 2.56 s with the card suspended and 0.17 s with it awake.

time from the client spawning -child-update-ui to the helper's first line (Using update UI: sdl) reaching console-linux.txt, for every launch on build 1794536281:

machine / launch launches helper start-up result
laptop, normal launch 7 2–3 s Steam is already running, exits
laptop, normal launch 2 0–1 s starts
laptop, GPU woken first (see below) 3 0 s starts
desktop, single AMD GPU 2 0–1 s starts

so on this machine a slow helper start-up predicts the failure every time. the re-exec'd client's single-instance check finds the update helper that is still alive, same as described above.

workaround that keeps Steam on the NVIDIA GPU, so games still get render offload: wake the card right before launching. a small wrapper runs vulkaninfo --summary when the card's runtime_status isn't active, then execs /usr/bin/steam "$@", with the desktop entry's Exec= lines pointed at it. 3 out of 3 launches from a suspended card worked with it, against 3 out of 3 failures the same morning without it.

runtime suspend doesn't explain the desktop-only NVIDIA case in the original report, since that card is probably never suspended, but it points at the same thing: anything that slows the helper's GPU init past the re-exec opens the race. so the fix probably belongs in the handoff, e.g. waiting for the update helper to exit before re-exec, or not counting the helper in the single-instance check.

some of the comments on #13879 look like this same race rather than that issue's stale-socket problem: launching from the menu fails while launching from a terminal works (the menu entry is what turns on render offload), and running Steam under strace fixes it (which slows the client down enough for the helper to exit first).

failing launch, trimmed (2026-11-17 10:22:31)
[2026-11-17 10:22:31] [2026-11-17 10:22:31] Startup - Steam Client launched with: '~/.local/share/Steam/steamrt64/steam' '-srt-logger-opened'
[2026-11-17 10:22:31] [2026-11-17 10:22:31] Process started with command-line: '~/.local/share/Steam/steamrt64/steam' '-child-update-ui' '-child-update-ui-socket' '8' '-srt-logger-opened'
[2026-11-17 10:22:31] [2026-11-17 10:22:31] Verification complete
[2026-11-17 10:22:31] ReexecToLauncher: steamrt3 client enabled
[2026-11-17 10:22:31] ReexecToLauncher: proceeding in current environment
[2026-11-17 10:22:31] [2026-11-17 10:22:31] Shutdown
[2026-11-17 10:22:31] ReexecSteamLinux: received re-exec request with code: 67 steamrt: 0
[2026-11-17 10:22:31] ReexecSteamLinux: re-launching steam in SteamRT runtime
[2026-11-17 10:22:32] Steam is already running, exiting (command line was forwarded).
[2026-11-17 10:22:32] ReexecSteamLinux: exiting
[2026-11-17 10:22:34] [2026-11-17 10:22:31] Using update UI: sdl
[2026-11-17 10:22:34] 11/17 10:22:34 Init: Installing breakpad exception handler for appid(steam)/version(0)/tid(10269)
[2026-11-17 10:22:34] [2026-11-17 10:22:34] ProcessNextMessage: socket disconnected
[2026-11-17 10:22:34] [2026-11-17 10:22:34] No more messages are expected - exiting

the outer timestamp is when the line reached the console log. the helper's own lines (Using update UI: sdl, its breakpad init, No more messages are expected - exiting) only show up at 10:22:34, after the re-exec'd client already gave up at 10:22:32. on a working launch they all land in the same second as the spawn, before ReexecSteamLinux: received re-exec request.

wrapper
#!/usr/bin/bash
status_file=$(echo /sys/bus/pci/drivers/nvidia/0000:*/power/runtime_status)
if [[ $(cat "$status_file" 2>/dev/null) != active ]]; then
    vulkaninfo --summary >/dev/null 2>&1
fi
exec /usr/bin/steam "$@"

saved as ~/.local/bin/steam-wake-gpu, then a copy of steam.desktop in ~/.local/share/applications/ with every Exec=/usr/bin/steam replaced by that path.

cellaneni avatar Nov 17 '26 10:11 cellaneni

Same bug here, and it fits the slow-helper / NVIDIA runtime-suspend explanation above.

Setup: Arch-based (Omarchy), Hyprland/Wayland, laptop with AMD Radeon 890M iGPU + NVIDIA RTX 4070 Mobile, nvidia-open-dkms 615.78.08, hybrid mode, DynamicPowerManagement: 3 (card spends most of its time runtime-suspended). Client build 1794536281 (updater built Nov 13 2026 02:01:47), stable. Arch steam 1.0.0.87-3, launched with gtk-launch steam.desktop.

One extra data point: switcheroo-control isn't running here, so PrefersNonDefaultGPU=true shouldn't be turning on render offload. Steam still fails. That suggests the helper's SDL/Vulkan init wakes the suspended card even without offload (I haven't confirmed that directly).

Every launch on this build, measured as the time from Starting SteamRT3 Steam to the helper's Using update UI: sdl line reaching console-linux.txt:

result launches helper start-up
Steam is already running, exits 7 2–3 s
starts 4 0–1 s

So a slow helper start-up predicts the failure every time. Two of the successes were retries about 20 s after a failure, when the card would still be awake from the first attempt.

failing launch, trimmed (2026-11-19 10:12:07)
[2026-11-19 10:12:07] steam.sh[242982]: Starting SteamRT3 Steam
[2026-11-19 10:12:07] [2026-11-19 10:12:07] Process started with command-line: '~/.local/share/Steam/steamrt64/steam' '-child-update-ui' '-child-update-ui-socket' '8' '-srt-logger-opened'
[2026-11-19 10:12:07] [2026-11-19 10:12:07] Verification complete
[2026-11-19 10:12:07] ReexecToLauncher: steamrt3 client enabled
[2026-11-19 10:12:07] ReexecToLauncher: proceeding in current environment
[2026-11-19 10:12:07] [2026-11-19 10:12:07] Shutdown
[2026-11-19 10:12:08] ReexecSteamLinux: received re-exec request with code: 67 steamrt: 0
[2026-11-19 10:12:08] ReexecSteamLinux: re-launching steam in SteamRT runtime
[2026-11-19 10:12:08] Steam is already running, exiting (command line was forwarded).
[2026-11-19 10:12:08] ReexecSteamLinux: exiting
[2026-11-19 10:12:09] [2026-11-19 10:12:07] Using update UI: sdl
[2026-11-19 10:12:09] [2026-11-19 10:12:09] ProcessNextMessage: socket disconnected
[2026-11-19 10:12:09] [2026-11-19 10:12:09] No more messages are expected - exiting

zc0rp10 avatar Nov 19 '26 09:11 zc0rp10

Edit: I have resorted to opting out of SteamRT3 using STEAM_FORCE_CLIENT=ubuntu12_32. Also, it seems to me that this issue is not actually related to the GPU configuration at all, at least in my case. My previous comment written under the assumption that it in fact was can be found below.


I can reproduce this issue in an X11 i3wm+picom environment on Arch Linux with a Radeon 9070 XT and RTX 2080 Super dual-GPU configuration. No steam processes are running, and all relevant leftover files from previous runs have been removed.

The 9070 is the primary GPU, and graphical programs are only run on the 2080 on-demand (never by default, so Steam also never is). Running Steam on the Nvidia card using __NV_PRIME_RENDER_OFFLOAD=1 __VK_LAYER_NV_optimus=NVIDIA_only __GLX_VENDOR_LIBRARY_NAME=nvidia steam or forcing onto exclusively the AMD card does not resolve the issue. Draining the 2080 with nvidia-smi (rendering it effectively gone) also does not appear to resolve this issue.

On my system the 9070 is listed as Card 1 and Vulkan device 0. The 2080 is Card 0 and Vulkan device 1. The differing IDs between APIs should be normal/expected, but still may be relevant to this issue. It may also be completely irrelevant.

Ari-43 avatar Nov 21 '26 04:11 Ari-43

Can you please provide step by step instructions to reproduce the issue?

Thanks.

ao2 avatar Nov 23 '26 15:11 ao2

Hi Gents,

When I first posted about this issue, I shared a detailed account of what I was doing and the troubleshooting steps I had taken. Someone sent me a workaround that worked great. Unfortunately, I didn't document the exact steps, but I know it involved switching to Android 13 on Waydroid, reinstalling Waydroid, and rolling back my Bazzite update to an earlier version. The error with Waydroid started immediately after that Bazzite update, and rolling back resolved the issue.

For reference, my system uses an Intel Core i5 12th Gen processor and an NVIDIA RTX 3060, and I wasn't able to switch to an integrated GPU.

Thank you all for looking into this for me. As a recent Linux user who grew tired of Microsoft's shenanigans, this is my first post, and I appreciate the support!

Best regards, Steven M

On Mon, Nov 23, 2026 at 8:16 AM Antonio Ospite @.***> wrote:

ao2 left a comment (ValveSoftware/steam-for-linux#13893) https://github.com/ValveSoftware/steam-for-linux/issues/13893#issuecomment-7105290984

Can you please provide step by step instructions to reproduce the issue?

Thanks.

— Reply to this email directly, view it on GitHub https://github.com/ValveSoftware/steam-for-linux/issues/13893?email_source=notifications&email_token=COAXK54CVYKDDH4CIMDXI2D52RIELA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTOMJQGUZDSMBZHA2KM4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2KYZTPN52GK4S7MNWGSY3L#issuecomment-7105290984, or unsubscribe https://github.com/notifications/unsubscribe-auth/COAXK5YQ6MFXFW4PM52KYMD52RIELAVCNFSNUABDKJSXA33TNF2G64TZHM3TENBYHE2TMO2JONZXKZJ3GYZTQNRTGU3TANZSUF3AE . Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS https://github.com/notifications/mobile/ios/COAXK5Y6JD77VJJB5RGZRRT52RIELA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTOMJQGUZDSMBZHA2KM4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2KUZTPN52GK4S7NFXXG and Android https://github.com/notifications/mobile/android/COAXK56DDO7Z2Y3EWSCAIVD52RIELA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTOMJQGUZDSMBZHA2KM4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2K4ZTPN52GK4S7MFXGI4TPNFSA. Download it today! You are receiving this because you authored the thread.Message ID: @.***>

stevem85387-jpg avatar Nov 23 '26 16:11 stevem85387-jpg

Can you please provide step by step instructions to reproduce the issue?

At least in my case the best I can do is 'use SteamRT3 and watch it not work'. If there's somewhere I can find more information, I'd be happy to provide as much as I can.

I know it involved switching to Android 13 on Waydroid, reinstalling Waydroid, and rolling back my Bazzite update to an earlier version. The error with Waydroid started immediately after that Bazzite update, and rolling back resolved the issue.

I am curious why your Waydroid configuration would affect Steam; are you sure this is related [/genq]? Neither Waydroid nor the GPU selection seem to be related to this bug from my understanding. The only workaround I am aware of is disabling SteamRT3 entirely using the updated method in my previous comment.

Ari-43 avatar Nov 23 '26 17:11 Ari-43