Overwatch 2 shader pre-cache: Fossilize processing reaches 22–23 GB RAM and triggers kernel OOM on AMD RADV
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 45/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- cpp
调研方向
首先检查 steam-fossilize-oom.txt 和附带的 Steam 日志,然后使用文档中所述的 Overwatch 2、AMD RADV 和 32 GB RAM 配置复现着色器缓存处理。跟踪导致内存增长的 Fossilize 处理路径;在报告的条件下处理完成且未触发 kernel OOM killer,即表示完成。
由索引模型根据 Issue 内容生成。
描述
Your system information
- Steam client version (build number or date): 1785799196 (updater built Aug 3 2026 19:41:02)
- Distribution (e.g. Ubuntu): Fedora 44 x86_64
- Opted into Steam client beta?: [No/Yes — fill in whichever applies]
- Have you checked for system updates?: Yes
- Steam Logs: Attached
steam-logs.tar.gz - GPU: AMD Radeon 8060S Graphics (RADV STRIX_HALO)
- Mesa/RADV version: 26.1.5
- RAM: 32 GB
- Swap: 8 GB
- Steam package:
steam-1.0.0.87-1.fc44.x86_64 - Steam installation: native RPM, not Flatpak
Please describe your issue in as much detail as possible:
Steam's Vulkan shader pre-cache processing for Overwatch 2 (AppID 2357570) consumes enough memory to trigger the Linux kernel OOM killer.
This happens after Steam downloads a very large shader pre-cache update for Overwatch, typically around 7.7–7.8 GB. The shader cache for the game is currently around 20 GB.
When launching Overwatch after one of these updates, Steam starts "Processing Vulkan shaders". During this step, Fossilize processing causes memory usage to increase rapidly until the Steam systemd scope reaches approximately 22–23 GB of RAM plus 5.6–6.9 GB of swap.
The kernel then invokes the OOM killer.
I reproduced this twice.
Example from the kernel journal:
fossilize_repla invoked oom-killer
oom-kill:constraint=CONSTRAINT_NONE,...task=steamwebhelper,...
Out of memory: Killed process ... (steamwebhelper)
The Steam systemd scope reported:
22G memory peak, 6.9G memory swap peak
On a second reproduction:
23G memory peak, 5.6G memory swap peak
Although steamwebhelper is selected as the OOM victim, the OOM event is invoked while fossilize_replay is processing shaders.
The large shader downloads themselves also appear unusual.
For example, on Aug 7 Steam fetched this Overwatch shader depot manifest:
depot 2357570
manifest 6609622657499593884
and reported:
AppID 2357570 update started :
download 0/8358791040,
store 0/0,
reuse 0/0,
delta 0/0,
stage 0/8654737796
Downloading 8262 chunks for depot 2357570 (6609622657499593884)
The update is therefore approximately 8.36 GB, with no reuse of the existing shader depot.
This is not caused by the shader cache disappearing locally. I tested the following:
The Overwatch shader cache persists across Steam restarts.
The shader cache persists unchanged across system reboots.
Restarting Steam alone does not trigger the large shader download.
Rebooting alone does not consistently trigger it.
The same AMD RADV GPU and Mesa driver version are detected across restarts.
Playing Overwatch normally only added approximately 41 MB of locally generated shader/pipeline data during one controlled test.
Previous shader updates completed successfully and Steam logged No Error.
The large downloads correspond to different shader depot manifests being fetched over time.
Examples of Overwatch shader manifests seen in content_log.txt include:
Aug 1: 3982154249147922408
Aug 1: 4522040602233616070
Aug 2: 4410828186603408475
Aug 3: 8417511099525765166
Aug 3: 3989655507765154361
Aug 4: 5671954022025020705
Aug 4: 664729108608036419
Aug 7: 6609622657499593884
The current large Fossilize cache includes a pipeline cache approximately 8.6 GB in size:
steamapps/shadercache/2357570/
fozpipelinesv6/
steamapprun_pipeline_cache.f8e37139bec012fd/
steam_pipeline_cache.foz
Expected behavior:
Shader pre-cache processing should not consume enough RAM and swap to trigger the system OOM killer on a machine with 32 GB of RAM.
Ideally, frequently updated shader depots should also reuse existing content where possible instead of requiring another multi-gigabyte download with reuse 0/0.
Disabling Steam Shader Pre-Caching avoids the problematic Fossilize processing, but also disables the feature globally.
Possibly related issues:
ValveSoftware/steam-for-linux#10285 — repeated multi-gigabyte Steam downloads
ValveSoftware/steam-for-linux#8076 — repeated shader cache downloads/compilation
My case differs from ValveSoftware/steam-for-linux#8076 because the problem is not reliably triggered by every reboot. This report is mainly about the reproducible OOM during Fossilize processing of the large Overwatch shader cache.
Steps for reproducing this issue:
- Enable Steam Shader Pre-Caching.
- Install Overwatch 2 (AppID 2357570) and run it through Proton on AMD RADV.
- Allow Steam to download the current large Overwatch shader pre-cache update (~8 GB).
- Launch Overwatch.
- Steam starts "Processing Vulkan shaders".
- Observe RAM and swap usage increasing rapidly while Fossilize processes the shader cache.
- On this 32 GB RAM / 8 GB swap system, the kernel eventually invokes the OOM killer and Steam terminates.
Relevant log files:
steam-fossilize-oom.txt
steam-logs.tar.gz
- 主要语言
- C++
- 星标
- 800
- 派生
- 82
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
ValveSoftware/Fossilize 的其他 Issue
-
Repeated shader-processing delays on GTX 970: replay times out at 10 seconds but completes at 60未关闭
难度 5/5 一周以上 新手友好度 35/100
ValveSoftware/Fossilize#318 ·
-
难度 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 天内回复