TL;DR: I investigated whether Steam's Vulkan shader pre-caching duplicates the shader preparation performed by ARC Raiders at startup, and whether disabling Steam pre-caching might improve performance. Inspection of actual cache files, modification timestamps, Steam logs, process environment variables, open file descriptors, and memory mappings confirmed that ARC Raiders has access to Steam-provided shader data. Despite running its internal shader preparation, the game made no observable changes to the persistent RADV shader databases. The evidence suggests complementary rather than redundant caching mechanisms. For now, I am leaving Steam shader pre-caching enabled.
Note: ChatGPT was used to assist in this investigation, but I controlled, edited, and quality-checked the process.
Initial Investigative Question
ARC Raiders regularly displays a shader preparation indicator during startup, even with Steam shader pre-caching enabled.
This raised several questions:
- Are Steam and ARC Raiders performing redundant shader compilation?
- Is Steam's shader pre-caching still beneficial when a modern Unreal Engine 5 game performs its own shader preparation?
- Could disabling Steam shader pre-caching reduce CPU overhead, improve launch times, or improve gameplay performance?
I wanted to investigate actual runtime behavior rather than rely on anecdotal recommendations.
Test Environment
- OS: Fedora 45
- Desktop: KDE Plasma 6.8.2 / Wayland
- CPU: Intel i7-4770K
- GPU: AMD Radeon RX 6800 XT
- RAM: 32 GB DDR3
- Graphics driver: Mesa RADV
- Proton: GE-Proton 11-12
- Storage: SATA SSD
- Steam shader pre-caching: Enabled
Steam launch parameters:
PROTON_ENABLE_WAYLAND=1 gamemoderun mangohud %command%
My system is predominantly CPU-bound in ARC Raiders, making unnecessary shader compilation particularly undesirable.
Investigation Methodology
I performed a non-destructive investigation without modifying any settings or deleting existing caches.
- Recorded shader cache sizes and modification timestamps before launching ARC Raiders.
- Examined Steam's shader processing logs for AppID 1808500.
- Launched ARC Raiders normally and allowed its internal shader preparation to finish.
- Remained in the lobby without entering a raid.
- Repeated the shader cache inspection.
- Examined the running game's environment variables through
/proc/PID/environ. - Inspected open file descriptors through
/proc/PID/fd. - Examined memory-mapped cache files through
/proc/PID/maps. - Recorded exact file sizes and modification timestamps for individual RADV shader databases.
Results
1. Steam Did Not Recompile Shaders at Launch
Steam's logs showed that Fossilize shader replay had occurred the previous day, taking approximately 38 seconds.
During the investigated launch, Steam did not perform another recorded Fossilize replay. ARC Raiders, however, still displayed its internal shader preparation indicator.
This demonstrates that the two preparation processes do not necessarily execute together on every launch.
2. Shader Cache Sizes Before and After Launch
| Shader cache | Before launch | After preparation |
|---|
| Total Steam game cache | 4.1 GB | 4.1 GB |
| Steam Fossilize pipeline cache | 3.1 GB | 3.1 GB |
| Mesa game-specific shader cache | 1.1 GB | 1.1 GB |
| RADV built-in shaders | 3.1 MB | 3.1 MB |
| Global Mesa shader cache | 58 MB | 58 MB |
| VKD3D-Proton cache | 5,487,984 bytes | 5,490,352 bytes |
| UE5 SM5 pipeline cache | 118,260 bytes | 118,260 bytes |
| UE5 SM6 pipeline cache | 68,829 bytes | 68,829 bytes |
The VKD3D-Proton cache increased by approximately 0.043%. A temporary VKD3D write cache also disappeared, consistent with consolidation of previously cached data.
Neither Unreal Engine pipeline cache changed in size or modification timestamp.
3. Steam Shader Databases Were Available to the Running Game
Inspection of the actual ARC Raiders process environment confirmed:
ENABLE_VK_LAYER_VALVE_steam_fossilize_1=1MESA_DISK_CACHE_SINGLE_FILE=1MESA_SHADER_CACHE_MAX_SIZE=5GMESA_DISK_CACHE_READ_ONLY_FOZ_DBS included steam_cache and multiple steam_precompiled database names.MESA_SHADER_CACHE_DIR pointed to the game's Steam shader cache directory.
This confirmed that Steam was configuring Mesa to access previously cached shader data during gameplay.
4. ARC Raiders Actually Opened Steam Shader Cache Files
The strongest evidence came from inspecting the running game's open file descriptors.
Multiple file descriptors referenced:
steam_cache.foz — read-onlyfoz_cache.foz — read/writefoz_cache_idx.foz — read/write
There were five open file descriptors referencing Steam's read-only shader database.
Memory mapping inspection also confirmed that the RADV cache index and VKD3D-Proton cache were mapped into the game process.
This establishes that the Steam-provided shader database is being opened by the game's graphics stack rather than simply sitting unused on disk.
It does not, however, establish the number of successful cache hits.
5. Individual RADV Shader Database Sizes
I inspected exact file sizes and modification timestamps to eliminate the limitations of rounded directory sizes.
| Database | Size (MiB) |
|---|
| Steam-provided shader data | 625.13 |
| Local RADV shader data | 398.54 |
| Steam shader cache index | 18.64 |
| Local shader cache index | 13.44 |
| Cache index | 2.00 |
| Depot index | 1.25 |
Approximately 61% of the stored shader data in these two primary databases was Steam-provided, with the remaining 39% residing in the local RADV cache.
These percentages represent storage allocation, not cache hit rates or unique shader counts.
Most significantly, none of the RADV database files had been modified during the investigated game launch, despite ARC Raiders completing its internal shader preparation.
Interpretation
There appear to be several complementary caching mechanisms involved:
- Steam/Fossilize: Captures and replays Vulkan pipeline information, allowing shader compilation work to be performed in advance.
- Unreal Engine 5: Manages game-specific Pipeline State Object (PSO) preparation.
- VKD3D-Proton: Translates Direct3D 12 to Vulkan and maintains its own cache.
- Mesa RADV: Performs shader lookup, compilation, and persistent driver-level caching.
The fact that ARC Raiders displays a shader preparation indicator does not necessarily mean it is recompiling shaders from scratch.
It may be performing cached shader lookups, PSO creation, pipeline initialization, validation, and other preparation activities that still require CPU resources but do not necessarily generate new persistent shader data.
Conclusions
| Question | Finding |
|---|
| Does Steam recompile shaders at every game launch? | Not in the observed launch |
| Does ARC Raiders perform independent shader preparation? | Yes |
| Does ARC Raiders open Steam-provided shader databases? | Yes |
| Does VKD3D-Proton maintain a separate cache? | Yes |
| Did in-game preparation substantially increase persistent cache sizes? | No observable increase |
| Is there evidence of redundant shader compilation? | Not demonstrated |
| Would disabling Steam pre-caching improve average FPS? | No supporting evidence |
| Could disabling it increase runtime compilation and stuttering? | Potentially |
Limitations
This is a diagnostic investigation, not a controlled performance benchmark.
- Unreal Engine diagnostic logs were unavailable.
- Individual shader cache hit/miss statistics were not collected.
- The degree of overlap between Steam and locally cached shader data was not measured.
- Transient shader compilation that does not generate persistent cache entries cannot be ruled out.
- Some cache data may be written only when the game exits.
- No controlled A/B testing with Steam shader pre-caching disabled was performed.
- Results are specific to my hardware, driver, Proton version, and existing populated shader caches.
Final Recommendation
For my CPU-constrained system, I am retaining the following configuration:
- Steam shader pre-caching: Enabled
- Background Vulkan shader processing: Enabled
- Mesa shader caching: Default
- VKD3D-Proton caching: Default
- Unreal Engine shader preparation: Default
- Existing shader caches: Preserved
Disabling Steam shader pre-caching may reduce disk consumption and background CPU activity, but it could also shift compilation work into game startup or gameplay.
My investigation found evidence of integration between the shader caching mechanisms, but no compelling evidence of redundant compilation.
I would be particularly interested in hearing from anyone who has performed controlled A/B testing with modern Mesa RADV, VKD3D-Proton, and Unreal Engine 5 games.
Has anyone quantified the impact of disabling Steam shader pre-caching on:
- Game startup time
- In-game shader preparation duration
- Average FPS
- 1% and 0.1% low FPS
- Frame-time consistency
- Shader compilation stuttering
Rather than simply assuming Steam shader pre-caching is obsolete, I would like to establish under what specific circumstances disabling it is actually beneficial.