[BUG] Original Vive: ~120 Hz short light hits accepted as sweeps, breaks headset tracking (width filter fixes it here)

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

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
12/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
活跃
技术栈
linux

调研方向

The payload names no source files, so start from the log lines "Resetting tracking: IMU misalignment unreasonably large" and "Dropped 119 rejected updates" in vrserver.txt, and from optical report 0x25 from device 28de:2000. Read the reporter's width analysis (hits of 1-4 us versus real sweeps of 12-22 us, locked near 120.1 Hz) and the linked filter repository. Done would mean a decision on whether the driver should reject short hits, which needs maintainer input on the root cause first.

由索引模型根据 Issue 内容生成。

描述

Describe the bug
Original HTC Vive headset tracking resets every few seconds to about every 30 seconds: gray screen, view drifts backwards and up. vrserver.txt repeats "Resetting tracking: IMU misalignment unreasonably large" and "position out of bounds", with lines such as "Dropped 119 rejected updates, 13288 back-facing hits, 17467 non-clustered hits". Two different headsets did this on the same PC. In earlier sessions with the first headset, the wands had 0-1 resets while the headset had dozens.

The headset's optical report (28de:2000, report 0x25) contains extra hits about 1-4 us wide, on 6-30 sensors at once, locked to about 120.1 Hz. Real sweep hits here are about 12-22 us. In the bad stretches I analyzed, the wrong angles came from sensors that could not see a base station. The source of the extra hits is unknown (possibly electrical on my side). The driver appears to accept them as sweep hits.

To Reproduce
I can only reproduce it on this system, where the extra hits are present:

  1. Start SteamVR with an original Vive and v1 base stations.
  2. Leave the headset still, or wear it.
  3. Tracking resets; the log shows the lines above.

Expected behavior
Hits far too short to be a base station sweep at that distance are rejected, or at least logged.

Evidence

  • Two raw recordings replayed through libsurvive: false jumps of 18 m and 22 m. With hits under 300 ticks (6.25 us) removed: 1.4 mm and 0.6 mm. Randomly removing 35% of the short hits did not help.
  • Same SteamVR with an LD_PRELOAD filter that drops those hits: 0 resets in a 19-minute session including a full game, and 46 non-clustered hits for the headset. I did not run a same-session on/off comparison.
  • Filter and a checker script: https://github.com/The-Mechanic-hub/vive-junk-flash-filter

System Information

  • Steam client: snap (latest/edge), client version 1792618285, self-update held back so possibly not the latest beta
  • SteamVR version: 2.18.4
  • Distribution: Ubuntu 24.04, kernel 7.0.0-34-generic
  • GPU / driver: NVIDIA TITAN X (Pascal), driver 580.178.04
  • Headset: original HTC Vive, 2 x v1 base stations (channels A + b, sync cable)
  • Logs not attached because they contain personal paths; relevant excerpts are above and more can be provided.

Additional context
Tested on one system only. Investigated with help from Claude (Anthropic).

主要语言
Shell
星标
1.2k
派生
58
PR 合并指标
30 天内没有已合并 PR

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

ValveSoftware/SteamVR-for-Linux 的其他 Issue

查看 ValveSoftware/SteamVR-for-Linux 的全部 Issue

相似的 Issue

更多 Shell/Bash Issue

把新 issue 发到你的邮箱

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