[Feature Request] apitrace/renderdoc capture support
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 25/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Necesita aclaración
- Estado de actividad
- Estancado
- Stack tecnológico
- linux
- Área
- devtools, operating-systems
Línea de trabajo
Comienza revisando el flujo de trabajo de captura descrito aquí, incluidos RenderDoc, apitrace, LD_PRELOAD y el contexto de Steam Linux Runtime. Define un enfoque orientado al usuario que admita los escenarios de captura de Vulkan y OpenGL indicados sin requerir una configuración arbitraria de trazadores externos, y valídalo con el ejemplo de N++.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
A common method of debugging issues with applications is tracing/capturing graphics API calls - on Linux the two most prominent tools are RenderDoc, for Vulkan and OpenGL (Core Profile), and apitrace, for OpenGL (Core and Compatibility Profiles).
For 3.0 and newer this is easier said than done - a frustrating part of this process is having to LD_PRELOAD tracer binaries, unless the tool has a nicer way of injecting its tracer. Problem is, you currently have to either preload a system-installed tracer, which can easily break for a multitude of reasons (libstdc++ breakages, apps being built with RUNPATH which LD_PRELOAD seems to erase for some reason, etc), or manually build the tracer just for SLR, which is possible...
https://flibitijibibo.com/files/steamrt3-tracers.tar.bz2
... but still a mess to guide users through, and only works if you built with -Wl,--disable-new-dtags to use RPATH which doesn't get erased by LD_PRELOAD, or somehow install the entire tracing tool to the SLR sysroot (or have developers add the tool to the game depot directly, which is maybe the worst route of all).
The best example I have right now is N++, which recently upgraded to SDL3 and SLR 3.0:
https://store.steampowered.com/app/230270/N_NPLUSPLUS/
The latest build now ships with RPATH instead of RUNPATH, so if you take the tracers archive above and set LD_PRELOAD=/path/to/glxtrace.so SDL_VIDEO_DRIVER=x11 %command% you should be able to make a trace file. This took a lot of trial-and-error to get working, and it's still a lot to ask of users to preload an arbitrary sofile from some random dork's personal website.
It would be extremely useful for customers and developers alike to be able to trivially set up apitrace/renderdoc captures, so that customers can provide the best diagnostic information possible both for app developers as well as driver developers, who can work best when they have trace data to reproduce issues locally.
- Lenguaje dominante
- Shell
- Estrellas
- 1.5k
- Forks
- 98
- 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
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de ValveSoftware/steam-runtime
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 12/100
ValveSoftware/steam-runtime#876 ·
-
Runtime 4 on AArch64: diagnostic for loaded libraries in the first bubblewrap prerequisite childAbierto
Dificultad 4/5 3-5 días Aptitud para principiantes 18/100
ValveSoftware/steam-runtime#875 ·
-
Pressure Vessel
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
ValveSoftware/steam-runtime#873 · 4 comentarios ·
-
A Vulkan game fails to render when Steam uses the integrated GPU and the game uses the dedicated GPUAbierto
Dificultad 4/5 1-2 días Aptitud para principiantes 42/100
ValveSoftware/steam-runtime#872 · 25 comentarios ·
-
Nov 12th Steam Update Breaks Compatibility with any game that uses a dedicated GPU on Linux.Abierto
Dificultad 4/5 3-5 días Aptitud para principiantes 43/100
ValveSoftware/steam-runtime#871 · 13 comentarios ·
Todos los issues de ValveSoftware/steam-runtime
Issues similares
-
kind/bug needs-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
kubeflow/sdk#998 · 1 comentario ·
Los mantenedores suelen responder en 3 días
-
[BUG] SMTP listener now binds to EMAIL_PORT instead of 2525 since the gunicorn switch 5.0.3-ls373Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
linuxserver/docker-healthchecks#137 · 1 comentario ·
-
documentation
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
Los mantenedores suelen responder en 1 día
-
good first issue type/ci
Dificultad 2/5 1-3 horas Aptitud para principiantes 81/100
c-w-z/commit-decision-record#20 ·
Los mantenedores suelen responder en 1 día
-
bug compatibility
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
omacom/omarchy#20525 · 1 comentario ·
Los mantenedores suelen responder en 1 día