Skip to content

fix(steam): sign in again when Big Picture is stuck on its sign-in page after a slow network - #26

Merged
xXJSONDeruloXx merged 1 commit into
mainfrom
steam-login-recovery
Dec 3, 2026
Merged

xXJSONDeruloXx merged 1 commit into
mainfrom
steam-login-recovery

Conversation

@xXJSONDeruloXx

Copy link
Copy Markdown
Owner

On 2 of 14 boots of the RG40XX-H, Big Picture came up on Steam's full sign-in page (QR code, password) even though the client logged on by itself a few seconds later. In one boot Wi-Fi joined after 109 s; in the other the IPv4 lease arrived after 470 s. When that happens, Steam's sign-in fails, it falls back to offline, the network arrives in the middle of that fallback, and the UI ends up in login state 1 with result 130. Nothing short of restarting the client brings it back: GoOnline, StartLogin, going offline and online, and RestartJSContext were all tried. SteamClient.User.RestartAsCurrentUser() does recover it, in about 95 s.

mdeck ui-fixes now checks Steam's login state every 15 s. It restarts Steam as the saved user once all of these hold for two checks in a row:

  • the UI shows a failed sign-in (state 1, result not 0 or 1) and a saved account exists;
  • NetworkManager reports full connectivity;
  • no game is running.

It does this at most once per boot.

Tested on the device: I set the failed state by hand. The daemon restarted Steam 38 s later, and the library (1,136 apps) was back about 2 minutes after that. tests/test_login_retry.py covers the conditions; it and test_ui_resume pass on Linux.

docs/findings.md also records the download-responsiveness investigation. It explains why controls crawl during downloads (Steam's UI heap and its GC under memory pressure) and lists the kernel and scheduler changes that didn't help.

@xXJSONDeruloXx
xXJSONDeruloXx merged commit 60a277b into main Dec 3, 2026
15 checks passed
@xXJSONDeruloXx
xXJSONDeruloXx deleted the steam-login-recovery branch December 3, 2026 03:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant