Hello @Freddycat, we're using one issue report per unofficially supported game title, so I've gone ahead and transferred this issue report to https://github.com/ValveSoftware/Proton/issues/4350#issuecomment-1817593210.
proton experimentalx1 2023-11__GL_SHADER_DISK_CACHE_SIZE=4800000000x1 2023-11__GL_SHADER_DISK_CACHE_SKIP_CLEANUP=1x1 2023-11
Compatibility Report
System Information
I confirm:
steam-1172470.zip
Symptoms
As of the most recent patch, (season 19) most of the time when I restart the game it compiles shaders from scratch, which takes about 20 minutes, rather inconsistently. I've had it happen after unexpected game close, after closing and opening the game for any reason from the menu after it's done compiling, not every time but MOST of the time, as well as every time I reboot my PC.
It used to be that when using DX12, it would compile once and then compile each map before you started playing each time, but not need to compile again unless there was an update or you update graphics drivers. I had steam set to NOT pre-cache vulkan shaders, and it worked perfectly for apex and every other game. Now I have tried everything, including these launch options:
__GL_SHADER_DISK_CACHE_SIZE=4800000000
__GL_SHADER_DISK_CACHE_SKIP_CLEANUP=1
and adding those to the file /etc/environment
and shader pre-caching + allow processing in the background ON, but I still have to compile for 20 minutes + before playing the game each time, which is obviously very inconvenient for my friends. My alternative is switching back to DX11, which loads into the lobby much faster, but then it will not pre-cache the map which guarantees unplayable lag DURING the first 1-2 games, which is just not an option for me.
Last detail, the folder where the game stores the shadercaches seems to always be at least ~25gb, but fluctuates to 40+gb and then seems to clear back down to 25.
Anyways since it did work before, I'm hoping someone can shed some light on this issue here. Thanks!
Reproduction