Overwatch 2 shader pre-cache: Fossilize processing reaches 22–23 GB RAM and triggers kernel OOM on AMD RADV
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 45/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- cpp
- Ambito
- computer-graphics, performance
Direzione di ricerca
Inizia esaminando steam-fossilize-oom.txt e i log di Steam allegati, quindi riproduci l’elaborazione della cache degli shader con la configurazione documentata composta da Overwatch 2, AMD RADV e 32 GB di RAM. Traccia il percorso di elaborazione di Fossilize responsabile della crescita della memoria; il lavoro è completato quando l’elaborazione termina senza attivare il kernel OOM killer nelle condizioni segnalate.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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
- Lingua principale
- C++
- Stelle
- 800
- Fork
- 82
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di ValveSoftware/Fossilize
-
Repeated shader-processing delays on GTX 970: replay times out at 10 seconds but completes at 60Aperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
ValveSoftware/Fossilize#318 ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
ValveSoftware/Fossilize#306 · 1 commento ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
ValveSoftware/Fossilize#303 · 1 commento · 1 reazione ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
ValveSoftware/Fossilize#300 · 6 commenti · 4 reazioni ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
ValveSoftware/Fossilize#296 ·
Tutte le issue di ValveSoftware/Fossilize
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
deepseek-ai/DeepGEMM#529 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
compiler-explorer/compiler-explorer#9710 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
ucb-bar/libgemmini#10 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
I maintainer di solito rispondono entro 1 giorno
-
`test_controlled_TermSequenceBox_logging` and `test_symbolic_ops` fail when another test runs firstAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
Quantinuum/tket#2282 ·
I maintainer di solito rispondono entro 1 giorno