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

Aperta
#1,039 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
47/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
linux
Ambito
desktop-dev

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
Shell
Stelle
1.2k
Fork
58
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di ValveSoftware/SteamVR-for-Linux

Tutte le issue di ValveSoftware/SteamVR-for-Linux

Issue simili

Altre issue su Shell/Bash

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.