Repeated shader-processing delays on GTX 970: replay times out at 10 seconds but completes at 60
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- cpp, linux
- 领域
- backend, performance
调研方向
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.
由索引模型根据 Issue 内容生成。
描述
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.
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
- 10-second cold run (interrupted)
- 60-second cold run (completed)
- Warm interrupted-cache branch
- Warm completed-cache branch
- Completed cache with original 10-second limit restored
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.
- 主要语言
- C++
- 星标
- 800
- 派生
- 82
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
ValveSoftware/Fossilize 的其他 Issue
-
难度 4/5 3-5 天 新手友好度 45/100
ValveSoftware/Fossilize#312 · 10 条评论 · 3 个 reaction ·
-
难度 4/5 3-5 天 新手友好度 35/100
ValveSoftware/Fossilize#306 · 1 条评论 ·
-
难度 5/5 一周以上 新手友好度 35/100
ValveSoftware/Fossilize#303 · 1 条评论 · 1 个 reaction ·
-
难度 4/5 3-5 天 新手友好度 45/100
ValveSoftware/Fossilize#300 · 6 条评论 · 4 个 reaction ·
-
难度 3/5 1-2 天 新手友好度 45/100
ValveSoftware/Fossilize#296 ·
查看 ValveSoftware/Fossilize 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 82/100
deepseek-ai/DeepGEMM#529 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 62/100
compiler-explorer/compiler-explorer#9710 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
ucb-bar/libgemmini#10 ·
-
难度 2/5 1-3 小时 新手友好度 62/100
维护者通常 1 天内回复
-
`test_controlled_TermSequenceBox_logging` and `test_symbolic_ops` fail when another test runs first未关闭
难度 2/5 1-3 小时 新手友好度 72/100
Quantinuum/tket#2282 ·
维护者通常 1 天内回复