Shader compilation killing my framerate.

I'm getting 120fps solid most of the time, except every time there's a new asset on the screen my shader compilation spikes and drops to 3-4 fps. I'm using Vulkan with a 6800xt. My partners system has nvidia and doesn't have this issue so I'm wondering if it's specific to AMD. Anyone else seeing this?

After I'm in a zone for a while, gameplay is great, but every new zone is a shader compilation exercise while trying to play. It doesn't seem to keep a cache as this happens during fresh starts, in towns, etc. Steam only briefly compiles shaders before launch.

DX12 didn't seem different, and caused my game to crash, so I'm back on Vulkan again.

Edit: Anyone who comes across this later, I solved this by upgrading my drivers (in my case, swapping from Debian 12 to Arch, which uses the latest Mesa and 6.12 kernel). Buttery smooth now!
Last edited by askreet#4736 on Dec 9, 2024, 1:52:09 PM
Last bumped on Dec 7, 2024, 2:53:37 PM
Something I noticed in %APPDATA% is that I have a ShaderCacheD3D11 and ShaderCacheD3D12 directory with some hierarchy in them, but no place that seems to be holding Vulkan shaders.

Edit: I created the Vulkan directory and anecdotally felt like it was a bit better, but nothing is written to it. Oddly, monitoring the directories while playing, the D3D11 folder grew by 4MB, despite using Vulkan. Strange.
Last edited by askreet#4736 on Dec 7, 2024, 4:03:30 PM

Report Forum Post

Report Account:

Report Type

Additional Info