i always set unlimited cache folder and i no care global settings
1GB is probably good enough for most games but there's still plenty of examples where it just isn't; I'd expect any modern D3D11 game with >20k shaders to run into issues. The nasty thing about GPL is that it essentially doubles the number of pipelines that need to be cached, and even if the driver tries to deduplicate things (not sure if it does) there will always be scenarios where doing so just isn't possible.
I'd also expect almost all recent D3D12 games to need significantly more storage than this, but for different reasons. Those just tend to ship significantly more and significantly bigger shaders than your average D3D11 one.
__GL_SHADER_DISK_CACHE_SIZEx1 2024-05__GL_SHADER_DISK_CACHE_SKIP_CLEANUP=1`,x1 2024-05
Hi there.
In version 2.0, the following was stated:
In NVIDIA Beta driver version 460, the default was changed from 128 MB to 1024 MB:
Taking this into consideration, is it still necessary or recommended that NVIDIA users on Linux increase the cache size globally?
I primarily play games via Steam using Proton-GE.
I haven't had any problems with cache generation so far, but I would like to know if, somehow, DXVK's information about increasing the cache is still relevant to this day or if DXVK/Proton somehow already remedy this (for example, by setting the variable for specific games or creating a per-game cache folder isolated from the system, just like Lutris does).
To be clear, I'm not talking about Steam shader pre-caching. When it's turned off, it's the system that compiles the shaders, and that's what I'm talking about.
Considering that such information about increasing cache size is still relevant, and considering that nothing has been done on the DXVK/Proton side (I'm not saying nothing has been done; I'm just hypothesizing as I'm not sure), shouldn't then DXVK or Proton do something about it, since it seems like there isn't much cooperation, so far, from NVIDIA's side?
Thanks in advance for your attention.