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

Aperta
#1,059 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
linux
Ambito
networking

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.
Lingua principale
Shell
Stelle
1.2k
Fork
58
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di ValveSoftware/SteamVR-for-Linux

Tutte le issue di ValveSoftware/SteamVR-for-Linux

Issue simili

Altre issue su Shell/Bash

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.