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

未关闭
#3,072 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
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. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

ValveSoftware/SteamOS 的其他 Issue

查看 ValveSoftware/SteamOS 的全部 Issue

相似的 Issue

更多 Backend & API Design Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。