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

オープン
#3,072 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
48/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
linux

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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?

主要言語
言語のデータがありません
スター
2.7k
フォーク
89
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

ValveSoftware/SteamOS のほかの issue

ValveSoftware/SteamOS の issue をすべて見る

似ている issue

Backend & API Design の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。