Bug: Frequent Stutters Due to Excessive Shader Compilation
Bug #8981
Frequent Stutters Due to Excessive Shader Compilation
| Status: | Open |
| Priority: |
High |
| Added by: | Anonymous on November 30, '26 |
| Assigned to: |
Unassigned
|
| Due date: | |
| Reported for: | |
| Actual Result: |
Frequent stutters, at random.
|
| Expected Result: |
The game should not stutter.
|
| Severity: |
Major
|
| Reproducibility: |
Always
|
| Platform: |
Steam
|
| Additional notes & comments: |
The software that can compile the cache are included with drivers, Nvidia App and AMD's Adrenaline both have a way to compile it, but only automatically, for on demand compilation you would need a 3rd party app which makes it really easy and convenient or if you know how to, use command line, but this method is not recommended, using 3rd party tools is safer and much easier.
|
Steps to Reproduce
- Play a few rounds
- You will get these stutters completly randomly
- For better effect, clear the shader cache as it will make it more common
Explanation
There are few reports of people getting frequent stutters, I decided to make a small investigation as I am also affected, and I think I found what causes them. Now I am not sure if this is the case for 100% of stutters and cases people reported, but for me, it fixed them but also shown something concerning.
I observed these stutters and noticed they are very similar to stutters in other games when it compiles small amount of shaders, usually when loading a new map, or something. They are really random, inconsistent and different for everyone, that means it's something that is happening individually to everyone which shader compilation perfectly fits, everyone needs to compile it just once per update or driver version, that's why it's so different for everyone, because everyone plays their own matches from their POV, meaning different shaders are needed at different times.
I decided to compile all shaders using an app that trigger the official DirectX calls for this sort of thing (there is no need to be concerned about anti cheat as again, it's a feature of DirectX itself, they implemented it so it could be used like that), it took strangely a while, but when it finished I launched my game and played a few matches, and all of these stutters were gone, completely. I only got 1 small stutter at the beginning of a match, but I firmly believe it was because of loading assets, it was singular and really short.
It's been a few days and still these stutters are gone, only that one singular one happens once per game launch which further reaffirms in my speculation.
Now there is one more thing that further makes me believe that there is something wrong with shaders in this game, and It's that the shader cache for DBD is massively large, it takes almost 14GB of my disk space which is absurd, to put it in contrast second game by size it 7GB, a half of it, and it's an early access game with poor optimization, yet the 3rd one on the list is taking 3GB of space, so DBD is insanely and abnormally higher. I suspect there is something wrong with shader pipeline, causing the game to generate a lot more shaders than there should be, causing those frequent stutters due to just the sheer amount of different shaders this game has.
Lastly I want to share my FPS findings, just to be sure I'm not imagining it, my 1% lows before compilation were around 34% of my average frame rate, while after compilation it became 89% which is an incredible increase. I also want to say that I got these stutters for years, I think it started around the time of the first Twisted Masquerade, while many reports are after the game engine was updated to UE5 which was much later.
Watchers
Screenshots
None
Video Clips
None
Log Files
None