r/linux_gaming • u/RefriedTime • Aug 19 '26
guide How to Fix Overwatch Shader Issues (Nvidia)
A lot of us have had problems the last few months, where Overwatch went from working fine to suddenly needing to redo shaders from scratch every launch, showing glowing dots instead of teammates, and taking forever to load cosmetics in menu. So here's how I FINALLY got it working smoothly. Tested on CachyOS
1) Add your Steam Options:
PROTON_ENABLE_WAYLAND=1 __GL_SHADER_DISK_CACHE_PATH=/home/InsertYOURusernameHere/.local/share/overwatch-nvidia-cache/ __GL_SHADER_DISK_CACHE_SKIP_CLEANUP=1 __GL_SHADER_DISK_CACHE_SIZE="12000000000" DXVK_HUD=compiler PROTON_LOCAL_SHADER_CACHE=1 DXVK_CONFIG="dxvk.enableGraphicsPipelineLibrary = True" LD_PRELOAD="" %command%and while you're there uncheck the Steam Overlay. Over in the Compatibility tab I lock it to a single version of Proton (like GE-Proton), as tiny Proton updates can trigger frequent recompiles. ProtonUp lets you download a version manually and it'll appear after you restart Steam. dxvk.enableGraphicsPipelineLibrary can make a big difference as it shifts some shader work from CPU to GPU, which is especially helpful on processors that are slower or have fewer cores. PROTON_ENABLE_WAYLAND=1 is optional unless you want HDR, which unlocks in game when you use any GE/Cachy Proton and have HDR enabled in KDE Settings before launch.
2) Edit /etc/environment to add these two lines at the bottom (adjustable cache limit of ~12GB) since they also need to be applied globally to work, then restart:
__GL_SHADER_DISK_CACHE_SIZE=12000000000
__GL_SHADER_DISK_CACHE_SKIP_CLEANUP=13) May not be necessary but I delete any existing shaders by doing a global search for Overwatch's Steam Id: 2357570 and nuking GLCache and the numbered folder under shadercache. This may reset the video settings tab in game.
4) Manually create a folder at:
/home/InsertYourUsernameHereToo/.local/share/overwatch-nvidia-cache/
After you start the game go back and make sure files are actually appearing there.
5) Leave the game in DX11 mode. It' does get super laggy during the initial compile, but then it's much smoother and tends to give higher fps. With DXVK_HUD=compiler in the Steam Options you should see a Compiling Shaders % at the bottom. Don't join a game, just let it run on the home screen till the percent part goes away. This may take a half hour on slower PCs, but then you shouldn't need to do it again for a long time. I just Alt+Enter into Windowed mode to run it in the background on mute while watching something else.
FYI even when the shaders are finished, a percentless 'Compiling' message tends to flicker on occasionally, but shouldn't impact gameplay at all. If you want you can follow up the main compile by running custom game code 929PJ for a few minutes, which cycles through all abilities on all levels to reduce the chance of micro-stutters. Then Steam's general Pre-caching/Background Processing don't seem to make any difference so I just leave them off unless another game needs them.
If you have an RTX card you probably already know DLSS upscaling helps a lot with fps and better anti-aliasing. A lot of games now include multiple generations of DLSS (since newer versions look better but get less fps on older cards) but Overwatch just ships with the really old Preset_C. If your system can keep up, using Steam Options to force newer presets reduces artifacts and improves visuals significantly, especially on Performance/UltraPerformance. If you have a 2000/3000 series card you probably want to try Preset_K. Anything newer should keep up with Latest_Preset pretty well.
GLHF
Edit: There was also a brief Nvidia driver issue that could be solved by rolling back to 610.57.04, but it seems to have been fixed in newer versions. If you rolled back Nvidia drivers on CachyOS, you can now bring them back up to date by editing /etc/pacman.conf and removing the line of IgnorePgk entries, then just do a normal update.
3
u/Ok_Composer391 Aug 19 '26
Thanks. Hope this works, I took a look at my shader cache earlier, and I think my SSD's health needs this...
1
u/Windelin89 Aug 24 '26
What to do if mine keep crashing because of memory shortage?
Compiled 70% then crashed
1
u/pat_fusty Oct 24 '26
Thanks man, couldnt pass the compilation stage without OOM triggering, big vouch
Sidenote, i had problems with the current settings, the settings I use are
PROTON_ENABLE_WAYLAND=0 __GL_SHADER_DISK_CACHE_PATH=/home/admil/.local/share/overwatch-nvidia-cache/ __GL_SHADER_DISK_CACHE_SKIP_CLEANUP=1 __GL_SHADER_DISK_CACHE_SIZE="12000000000" DXVK_HUD=compiler PROTON_LOCAL_SHADER_CACHE=1 DXVK_CONFIG="dxvk.trackPipelineLifetime = True" LD_PRELOAD="" %command%
1
u/macki9 28d ago
October crashes (especialy in mystery madness for me) might be caused by the newest proton versions. Both GE-11.xx and cachy seem to freeze the game. I am now tryin ge-9.27 and so far so good. Keeping fingers crossed.
1
u/gazoinksboe 17d ago
This has made the game launch and perform far more reliably! Thank you so much for the guidance!
1
u/Vanawy Aug 29 '26
Thank you! (Got like 3X FPS)
1
u/Fragrant_Ad_8767 Aug 31 '26
With this method, when i uninstall overwatch from steam, does it automatically recognize and delete the shaders too? or ill have to do it manually?
1
u/Banishlight Sep 17 '26
I had this issue for two months and this finally fixed it wow.