Back to the main site

Shader Caching, implementing a service?

Hi folks!

With DXVK, it’s necessary to build up a shader cache. This process does take some effort and will lead to stuttering in the first couple of minutes of a game, or loading a new map.

Steam proton now offers downloading pre-cached stuff, so this effect is decimiced.

Would implementing such a service for Lutris make sense?

I’m not a Shader Cashing guru, so there are also some questions for me. If two people run the game, will this lead to the same shader cache? If so, some option like “upload shader cache for this game” would make some sense, so merge it server sided.

Or are there reasons why this idea won’t work at all?