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

Ouverte
#3,072 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Personne n'a encore pris cette issue.

Évaluation

Difficulté
4/5
Temps estimé
3-5 jours
Accessibilité débutants
48/100
Type d'issue
Bug
Clarté
Plutôt claire
Activité
Active
Stack technique
linux

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

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?

Langage dominant
Aucune donnée de langage
Étoiles
2.7k
Forks
89
Métriques de merge des PR
Aucune PR mergée en 30 j

Préparer son environnement

Ce projet ne fournit ni conteneur de développement, ni Dockerfile, ni guide de contribution : l'installation est à votre charge. Commencez par son README, et consultez notre guide de la première contribution pour les étapes générales.

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de ValveSoftware/SteamOS

Toutes les issues de ValveSoftware/SteamOS

Issues similaires

Plus d'issues Backend & API Design

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.