[BUG] Frame: SetOverlaySortOrder ignored in favor of depth testing
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 47/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- linux
- 领域
- desktop-dev
调研方向
The report names SteamVR 2.18.2 on SteamOS 0.5.6 and cites the overlay sort order contract in openvr.h; no SteamVR implementation files or tests are identified. Start by comparing overlay rendering behavior on the Frame with the documented ordering and the working OpenXR case. Done means overlay sort order is respected for overlays and controller models, and dashboard input behavior matches what is displayed.
由索引模型根据 Issue 内容生成。
描述
Describe the bug
Not sure if this is just on the Frame or on desktop as well, as I can only test on the Frame lately.
I have an overlay app that utilizes overlay sort order to display things like a watch and other HUD elements. It worked well on previous versions of SteamVR for years on, and it works correctly on OpenXR.
Eversince the Frame came out, I had issues with the watch clipping into the controller render model (drawn by SteamVR), and my overlays also clipping into each other despite their sort order being carefully managed.
The only exception seems to be the SteamVR Dashboard, which for some reason doesn't use depth testing and seems to be behind all other overlays, even if the "other overlay" has no sort order override. This is really confusing because the dashboard is blocking input to overlays that appear in front of it.
Expected behavior
As specified in openvr.h:
Sets the rendering sort order for the overlay. Overlays are rendered this order:
Overlays owned by the scene application
Overlays owned by some other application
Within a category overlays are rendered lowest sort order to highest sort order. Overlays with the same
sort order are rendered back to front base on distance from the HMD.
Subview overlays are always drawn immediately on top of their parent overlay, and the sort order is
only relative to their peer subviews for that overlay.
Sort order defaults to 0.
System Information (please complete the following information):
- SteamOS version 0.5.6
- SteamOS build 20261022.6153909
- SteamVR version: 2.18.2
I don't think diagnostics / logs matter here but let me know if you need them.
- 主要语言
- Shell
- 星标
- 1.2k
- 派生
- 58
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
ValveSoftware/SteamVR-for-Linux 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 72/100
ValveSoftware/SteamVR-for-Linux#981 · 4 条评论 · 1 个 reaction ·
-
bug
难度 4/5 3-5 天 新手友好度 38/100
ValveSoftware/SteamVR-for-Linux#1097 ·
-
bug
难度 4/5 3-5 天 新手友好度 35/100
ValveSoftware/SteamVR-for-Linux#1095 · 2 条评论 ·
-
bug
难度 4/5 3-5 天 新手友好度 45/100
ValveSoftware/SteamVR-for-Linux#1094 ·
-
难度 4/5 3-5 天 新手友好度 35/100
ValveSoftware/SteamVR-for-Linux#1093 ·
查看 ValveSoftware/SteamVR-for-Linux 的全部 Issue
相似的 Issue
-
area: build-and-ci guard-red-main S3: minor
难度 2/5 1-3 小时 新手友好度 72/100
manaflow-ai/cmux#65616 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 82/100
achisolomon/software-factory#300 · 1 条评论 ·
-
难度 2/5 半天 新手友好度 86/100
-
难度 2/5 1-3 小时 新手友好度 65/100
-
难度 1/5 1 小时以内 新手友好度 78/100
flathub/cc.arduino.IDE2#168 ·