[BUG] Frame: SetOverlaySortOrder ignored in favor of depth testing

オープン
#1,039 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
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 の本文から書いたものです。

説明

bug

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 を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

ValveSoftware/SteamVR-for-Linux のほかの issue

ValveSoftware/SteamVR-for-Linux の issue をすべて見る

似ている issue

Shell/Bash の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。