Enabling startup overlay apps on Frame causes boot failures by switching to steamdeck_stable client

Aperta
#3,072 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
48/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
linux

Direzione di ricerca

Start by reviewing the attached bootstrap log and the startup ordering described in the report, especially steam.service and steamvr.service. Reproduce the overlay autostart race and trace how the steam:// handler starts a second client without the Frame launch flags. Done means overlay apps start with SteamVR without launching a client that switches branches or prevents Steam from booting.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Your system information
  • Steam client version: 1794424036 (linux_arm64_beta_861407927dc8efb407da7cf)
  • SteamOS version: 0.5.8 (BUILD_ID 20261106.6144341, VR variant)
  • Opted into Steam client beta?: No (see end of issue)
  • Opted into SteamOS beta?: Yes
  • Have you checked for updates in Settings > System?: Yes
Please describe your issue in as much detail as possible:

Enabling an overlay app in the SteamVR settings should behave as it does on a PC, running the app when SteamVR starts.

On the Frame, Steam starts after SteamVR (After=steamvr.service in steam.service). This means that when SteamVR launches overlays at startup it has a high chance to accidentally launch a separate Steam via the steam:// scheme handler. This instance does not get the -deckard and other flags from RUNSTEAM.sh.

It looks like this rogue Steam then checks for updates and downloads the steamdeck_stable branch, which borks the system and triggers a recovery attempt. I've needed a random number of reboots to recover from this state, probably a race with how long steam.service takes to start. Occasionally it's fast enough to start before the overlay launch triggers the problem.

Luckily ssh comes up, so the extra steam can be manually killed and steam.service restarted, which appears to always successfully recover. Disabling the overlay autostart(s) returns to normal boot behavior.

Steps for reproducing this issue:
  1. Install an overlay app, e.g. OVR Advanced Settings
  2. Enable autostart in VR Settings -> Startup/Shutdown -> Choose startup overlay apps
  3. Restart SteamVR from the prompt, or reboot the device
  4. If you get unlucky (most of the time) an update will be forced, to steamdeck_stable.
  5. The device will be unable to start Steam, eventually going to the "there was a problem" dialog with the reboot button.

I've never seen steam.service win the race twice in a row, so it shouldn't take many attempts to reproduce.

Future reboots also race until the autostart is disabled, so it may recover occasionally if the correct Steam wins and redownloads the frame branch.

Here's my bootstrap log showing a normal start, then the issue, then it recovering: bootstrap_log.txt

And the two steams running at the same time while broken:


[steamos@frame ~]$ pgrep -a steam
1814 /usr/lib/steamos-manager
1830 /usr/lib/steamos-manager -r
18429 /usr/bin/steam_notif_daemon
18546 /usr/lib/hwsupport/steamos-powerbuttond
19390 /home/steamos/.local/share/Steam/steamrtarm64/steam steam://launch/4492300/openvroverlay
22097 /home/steamos/.local/share/Steam/steamrtarm64/steam -cef-enable-debugging -deckard -gamepadui -steamdeck -steamos3 -vrgamepadui

I've reproduced this both with and without being in the Steam client beta. Interestingly, after it recovers I'm always forced back out of the client beta. I think this might be because the setting was unified in the current beta, and so it's just missing after it reverts to and from steamdeck_stable?

Lingua principale
Nessun dato sulla lingua
Stelle
2.7k
Fork
89
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di ValveSoftware/SteamOS

Tutte le issue di ValveSoftware/SteamOS

Issue simili

Altre issue su Backend & API Design

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.