Shaders never cache on linux.

Running PoE2 on steam for linux. Every single new map entry, shaders usage goes up madly usually for 30 seconds, but sometimes for 2-3 minutes before I can ideally play without lag. There's no sign of these shaders being cached on disk for future use, with the game having to load them all over again each new map. As of 0.30b, there are even spikes in shader usage while running the map even after the big shader load at the start has completed, leading to spiky periods of lag.

14900K CPU
5070 GPU
128GB DDR5 RAM
Samsung 8GB SSD

Kubuntu 24.04
Steam with compat option wine 9.0-4

Video showing the shader usage at startup and intermittent lag, with the shader spikes shown in stats when I can detect them (such as at 2:45 into video.)

https://youtu.be/SXH8i8TWz_M


I have enable shader pre-caching enabled, but it says 0MB pre-cached.
I also have enabled background processing of Vulkan shaders.

Steam itself says shader storage at 17.99GB for PoE2 though.
Last edited by Ittaku#1103 on Sep 8, 2025, 1:05:32 AM
Last bumped on Sep 12, 2025, 5:29:02 PM
Same here, I have higher loading times then my Windows friend (where I usually was the faster one) and shader processing stays on for at least 30 seconds, sometimes up to a minute and then some.

DirectX 12
Intel i9-13900KF
AMD Radeon RX 7900 XTX (radeonsi, navi31, LLVM 20.1.8, DRM 3.64, 6.16.4-arch1-1)
Driver Version: 4.6 (Compatibility Profile) Mesa 25.2.1-arch1.5
Arch Linux, 6.16.4-arch1-1
RAM: 64 GB
Game is on 2TB nvme drive

I do use GE-Proton10-15 now but the performance hiccups were the same on standard Steam's Proton-10.
"
Wereii#5212 wrote:
Same here, I have higher loading times then my Windows friend (where I usually was the faster one) and shader processing stays on for at least 30 seconds, sometimes up to a minute and then some.

DirectX 12
Intel i9-13900KF
AMD Radeon RX 7900 XTX (radeonsi, navi31, LLVM 20.1.8, DRM 3.64, 6.16.4-arch1-1)
Driver Version: 4.6 (Compatibility Profile) Mesa 25.2.1-arch1.5
Arch Linux, 6.16.4-arch1-1
RAM: 64 GB
Game is on 2TB nvme drive

I do use GE-Proton10-15 now but the performance hiccups were the same on standard Steam's Proton-10.


I use Vulkan, but switching to dx12 made no difference either (though I believe setting dx12 on linux wine just uses Vulkan anyway.)
Having shader issues as well. But mine are not as bad. Ittaku you might try just running native in linux if you can. Im running on mint without proton or anything and it worked better that way.


My shader issues are mostly the spikes with certain fights. It gets really stuttery with Abyss stuff and some very specific fights.

I get shader load for a few seconds on a new map. But it goes away after a few seconds.


I turned off a bunch of crap. Not running at high settings. Upgrading my Nvidia driver from 570 to 575 was a game changer. I would upgrade farther but mint doesnt have anything newer :/

In audio turn off reverb, set audio channels to low
turn everything about lighting/shadows and whatnot as low as you can.
Upscaling mode - NIS
Resolution No Upscaling - 2560x1440
Water detail Off
Reflex Off
Dynamic Culling Off
Fullscreen seemed to run better but cause other issues with my machine and 2 monitors.

OS: Linux Mint
Vulkan
AMD 7950x
GPU 4090
Nvidia-driver-575-open
Ram 64gb
NVME
No Compatibility modes with steam.


Found a workaround for people with Nvidia drivers.

On steam launch options you can set this to put aside 100GB for shaders

__GL_SHADER_DISK_CACHE_SIZE=100000000000 %COMMAND%

The game now starts up 10x faster (literally) for me, and all maps I've been in before load up in seconds, with no shader blips during gameplay.
the launch option helped ty. it now actually displays the shader cache size on steam and its at 29.93 GB lol, i could be wrong but that seems a little much.
"
the launch option helped ty. it now actually displays the shader cache size on steam and its at 29.93 GB lol, i could be wrong but that seems a little much.

Well there's no need to make it 100GB but I have plenty of storage so I'd rather cache everything if possible.

Report Forum Post

Report Account:

Report Type

Additional Info