Launcher: drop Steam's overlay from LD_PRELOAD

Launched from the Steam library, Steam preloads gameoverlayrenderer.so,
which segfaults Chromium's zygote; the GPU process can't start and
Chromium quits after about 30 seconds. Found testing on a Steam Frame;
reviewed by GPT-6 Astra.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
saphidandClaude Opus 5.5 committed 2026-09-27 10:13:43 +10:00
1 parent 3eaf618acf
commit d87817237b
2 files changed
+30

No files matched your search

+9
View File
@@ -85,6 +85,15 @@ the shortcut through the Steam client's DevTools port (`127.0.0.1:8080`,
page `SharedJSContext`) with `SteamClient.Apps.AddShortcut`, so Steam doesn't
need restarting. (`steam steam://addnonsteamgame/<path>` adds nothing.)
Steam preloads its in-game overlay, `gameoverlayrenderer.so`, into everything
it launches through `LD_PRELOAD`. In Chromium it segfaults the zygote during
library initialisation. The GPU process then fails to launch
(`GPU process launch failed: error_code=1002`), and after a few tries
Chromium quits with `GPU process isn't usable. Goodbye.` about 30 seconds
after starting. The `chromium-xr` launcher removes the overlay from
`LD_PRELOAD` before starting Chromium, keeping anything else that was
preloaded.
## Debugging
- `chromium-xr --remote-debugging-port=9223 URL` opens DevTools on the Frame's