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

Abierto
#1,039 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
47/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
linux
Área
desktop-dev

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
Shell
Estrellas
1.2k
Forks
58
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de ValveSoftware/SteamVR-for-Linux

Todos los issues de ValveSoftware/SteamVR-for-Linux

Issues similares

Más issues de Shell/Bash

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.