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

Abierto
#1,059 1 comentario 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
35/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
linux
Área
networking

Línea de trabajo

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.

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

Descripción

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.
Lenguaje dominante
Shell
Estrellas
1.2k
Forks
58
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/SteamVR-for-Linux

Todos los issues de ValveSoftware/SteamVR-for-Linux

Issues similares

Más issues de Shell/Bash

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.