[PERF] Steam Frame over wireless adapter on SteamOS host: 64–75% of frames report ClientRxLoss despite a clean adapter link

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

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

評価

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

調査の方向性

Start by reviewing the linked context for issue #1058 and the SteamVR logs named in the report, especially driver_vrlink.txt entries for [ProblemAttribution] and vrserver.txt entries showing UDP 10400 binding. Compare sessions with both interfaces available against sessions where home Wi-Fi is blocked. Done means identifying whether primary-link selection or headset-side reception explains the reported ClientRxLoss and documenting a reproducible path or diagnostic finding.

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

説明

Describe the bug
I'm streaming to a Steam Frame from a SteamOS desktop through the Steam Frame wireless adapter. In every session, driver_vrlink.txt attributes 64–75% of frames to ClientRxLoss, and about 4% of frames end up NotDecoded / NotDisplayed / DisplayedLate. The host keeps up: AppSlow/RenderGpuSlow are rare.

Half-Life: Alyx judders noticeably with the native Linux build. Under Proton it felt much smoother, but ClientRxLoss stayed just as high (75%). So the loss is there whether or not the judder is visible.

From the host side the adapter link looks excellent, and the host is not dropping packets:

  • 6 GHz channel 37, 160 MHz, signal −37 dBm
  • TX 1.7–1.9 Gbit/s (HE-MCS 8–9, 2 streams), RX 2.4 Gbit/s (HE-MCS 11)
  • tx retries: 0, tx failed: 0; interface tx_dropped 40 of 1.43M packets
  • Adapter on a USB 3 (5 Gbps) port, raised on an extension cable with line of sight to the play area

So the loss seems to happen over the air or inside the headset, which the host can't see.

Session totals from [ProblemAttribution session total]:

Session Frames ClientRxLoss Bad outcomes*
Alyx (native), both links up, adapter primary 54,284 34,966 (64%) 2,549 (4.7%)
Alyx (native), home Wi-Fi blocked for VR Link 25,517 17,153 (67%) 937 (3.7%)
Alyx (Proton), home Wi-Fi blocked, headset not joined to home Wi-Fi 117,487 87,893 (75%) 4,861 (4.1%)

* NotEncoded + NotReceived + NotDecoded + NotDisplayed + DisplayedLate + Mispredicted + DegateSkipped

During gameplay, per-15 s windows typically show 600–1,350 ClientRxLoss out of ~1,350 frames. In menus and SteamVR Home it can drop to 0–200.

Related: link selection with two interfaces
The host has its own Wi-Fi (wlan0, MT7925, 5 GHz ch 40, home network) as well as the adapter (wlan1). VR Link binds UDP 10400 on both.

  • If the headset connects before the adapter link is up, the home Wi-Fi link becomes primary (SVLDataLinkUber: Found primary link 192.168.1.x) and stays primary. I measured about 40 Mbit/s of stream traffic leaving wlan0 alongside about 45 Mbit/s on wlan1, with 1,248 ClientRxLoss in one 15 s window.
  • If UDP 10400 on wlan0 is then blocked with a firewall rule, vrserver re-binds that link about once a second (325 SO_BINDTODEVICE ... dev wlan0 lines in about 5 minutes).

To Reproduce

  1. SteamOS 3.9 desktop host with the Steam Frame wireless adapter, plus a second network interface (Wi-Fi) on the home LAN.
  2. Connect the Steam Frame through the adapter and launch Half-Life: Alyx.
  3. Play for 5+ minutes. Visible judder.
  4. Check ~/.local/share/Steam/logs/driver_vrlink.txt for [ProblemAttribution] lines.

Expected behavior
With a −37 dBm, 160 MHz, retry-free adapter link carrying about 45 Mbit/s, I'd expect little or no ClientRxLoss and smooth playback. I'd also expect the adapter to be preferred as the primary link over a home Wi-Fi interface, or a setting to pin VR Link to the adapter.

System Information:

  • Distribution: SteamOS 3.9.5 (beta channel, build 20261023.100), kernel 7.2.7-valve2-2-neptune
  • SteamVR version: 2.19.2 (beta branch)
  • Steam client version: 1794424036
  • Opted into Steam client beta?: Yes
  • Graphics driver version: Mesa 26.2.0-devel (RADV GFX1201)
  • Adapter: 28de:2432, rtw89_8852cu, firmware 0.27.129.4. Regulatory domain DE (6 GHz channels 1–93 enabled)
  • Headset: 90 Hz, HEVC encode at 1088×4352
  • Gist for SteamVR System Information: https://gist.github.com/searbe/63b69b94d78eac8c8d398fa67f7f70d6 (Steam ID and headset serial redacted)

Performance Data:

  • CPU: AMD Ryzen 7 9800X3D
  • GPU: AMD Radeon RX 9070 XT
  • Compositor (Proton session): 116,910 presents, 1,564 dropped (1.3%), 0 reprojected

Additional context

  • Not router interference: the home router has no 6 GHz band (5 GHz only).
  • Unrelated but seen in the same sessions: when Alyx (native Linux build) crashed, vrcompositor segfaulted shortly after each time (2 of 2), with a long run of SharedResourceManager: detected possible leak warnings. I can file this separately with the core dumps.
  • I can attach full driver_vrlink.txt / vrserver.txt / vrcompositor.txt logs.
  • Possibly related, but a different symptom: #1058 (2.19.2 beta judder in Alyx). There, ProblemAttribution is clean; here, packet loss is the dominant cause.
主要言語
Shell
スター
1.2k
フォーク
58
PR マージ指標
30日以内にマージされた PR はありません

環境構築

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

はじめの一歩

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

ValveSoftware/SteamVR-for-Linux のほかの issue

ValveSoftware/SteamVR-for-Linux の issue をすべて見る

似ている issue

Shell/Bash の issue をもっと見る

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

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