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

Đang mở
#1,059 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
35/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
linux
Lĩnh vực
networking

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.
Ngôn ngữ chính
Shell
Star
1.2k
Fork
58
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của ValveSoftware/SteamVR-for-Linux

Tất cả issue của ValveSoftware/SteamVR-for-Linux

Issue tương tự

Thêm issue về Shell/Bash

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.