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

Abierto
#3,072 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
48/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
linux

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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?

Lenguaje dominante
Sin datos de lenguaje
Estrellas
2.7k
Forks
89
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de ValveSoftware/SteamOS

Todos los issues de ValveSoftware/SteamOS

Issues similares

Más issues de Backend & API Design

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.