Repeated shader-processing delays on GTX 970: replay times out at 10 seconds but completes at 60

Abierto
#318 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
35/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
cpp, linux

Línea de trabajo

Start by locating the Steam fossilize_replay timeout handling and how it decides a worker has made no progress; the issue identifies a 10-second no-completion limit and timeout logs but names no source files or tests. Review the controlled cold and warm logs and the reproduction setup in the linked evidence. Done means determining whether the timeout or retry policy can be changed or configured without preventing valid shader workloads from completing.

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

Descripción

Launching The Sims 4 repeatedly stops at “Processing Vulkan shaders,” even after a previous pass finished. One recorded repeat pass delayed startup by roughly three minutes. The aim is to let precompilation finish and reuse its results on later launches while keeping shader pre-caching enabled.

Tests on this machine found that Steam's bundled fossilize_replay, invoked with --timeout-seconds 10, interrupts workers during compilation. Increasing that limit to 60 seconds allowed a selected workload to finish. Its driver cache was then reusable under the original 10-second limit.

System

Linux Mint 22.3; kernel 7.0.0-38-generic; native Steam build 1792618285; GTX 970 with NVIDIA 580.178.04; i7-2600K; 32 GB RAM. The Sims 4 AppID 1222670, Proton Experimental 1791989105 experimental-11.0-20261014-x86_64.

Comparison

These runs used Valve's original replayer, the same downloaded database, graphics indices 84000–92000, device 0, one worker and SPIR-V validation. Cold A and B used separate empty driver-cache directories. Each run restored identical initial replay metadata and validation whitelist; warm runs reused only the corresponding branch's driver cache.

Run Limit Wall time Result
Cold A 60 s 107.59 s Completed, no timeouts
Cold B 10 s 57.13 s Two timeouts; ended with “Cannot continue”
Warm A 60 s 12.54 s Completed, no timeouts
Warm B 10 s 53.88 s Three timeouts/retries
Completed A cache, original limit 10 s 12.34 s Completed, no timeouts

The interrupted run's shorter time reflects unfinished work. These are replay timings, not full game-launch times. An independent C++ build overlapped part of Cold A, so these are completion/failure comparisons rather than precise performance benchmarks.

The failing original-binary run logged:

Fossilize ERROR: Timed out replaying pipelines!
Fossilize ERROR: Child process 117112 terminated before we could receive progress. Cannot continue.

An earlier diagnostic-build GDB run caught the timeout-generated SIGABRT inside NVIDIA's shader compiler. This was not a spontaneous driver crash; the original-binary comparison above is the main evidence.

A Sims 4-only wrapper changing the limit to 60 also completed full Steam processing before and after restarting the client. An ordinary subsequent game relaunch started no new shader replay. A deliberately forced warm scan still took about a minute: this workaround does not eliminate Steam's scan overhead or establish that 60 seconds is appropriate for every system.

Request and evidence

Please review Steam's explicit 10-second no-completion limit for this workload and whether it could be configurable or handled with a different retry policy.

The supporting evidence Gist contains the full investigation, controlled logs, reproduction setup, and alternatives tested. A fresh cache and an unmodified upstream replayer did not resolve the tested failures.

The exact shader database and initial metadata are not included, so the published evidence is not a standalone reproducer. Their packaging-time hashes and required paths are recorded. Other GPUs/drivers, newer driver versions and future shader updates have not been tested.

Individual controlled-run logs

Related: ValveSoftware/steam-for-linux#13622 concerns NVIDIA cache merging with Mismatching key! errors. Those errors were absent in the inspected logs here; this report focuses on the reproducible timeout behavior.

Lenguaje dominante
C++
Estrellas
800
Forks
82
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/Fossilize

Todos los issues de ValveSoftware/Fossilize

Issues similares

Más issues de C++

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.