While you're here, please consider supporting GamingOnLinux on:
Reward Tiers:
Patreon. Plain Donations:
PayPal.
This ensures all of our main content remains totally free for everyone! Patreon supporters can also remove all adverts and sponsors! Supporting us helps bring good, fresh content. Without your continued support, we simply could not continue!
You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
Reward Tiers:
This ensures all of our main content remains totally free for everyone! Patreon supporters can also remove all adverts and sponsors! Supporting us helps bring good, fresh content. Without your continued support, we simply could not continue!
You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
Login / Register
- Nexus Mods retire their in-development cross-platform app to focus back on Vortex
- Windows compatibility layer Wine 11 arrives bringing masses of improvements to Linux
- GOG plan to look a bit closer at Linux through 2026
- Hytale has arrived in Early Access with Linux support
- Valve reveal all the Steam events scheduled for 2026
- > See more over 30 days here
- Weekend Players' Club 2026-01-16
- whizse - Venting about open source security.
- rcrit - Away later this week...
- Liam Dawe - Welcome back to the GamingOnLinux Forum
- simplyseven - A New Game Screenshots Thread
- JohnLambrechts - See more posts
How to setup OpenMW for modern Morrowind on Linux / SteamOS and Steam Deck
How to install Hollow Knight: Silksong mods on Linux, SteamOS and Steam Deck
A common solution to this problem was by dedicating a folder per game through the use of __GL_SHADER_DISK_CACHE_PATH= , giving them 128MB disk cache each.
Yesterday, Arthur Huillet from Nvidia made an interesting post regarding this. By using __GL_SHADER_DISK_CACHE_SKIP_CLEANUP=1 the 128MB limit is removed. This will come in handy for some of those games with very large shaders, Witcher 3 is a good example of this, the game is able to eat up over 10mb in the starting area alone.
Enabling these variables it's an easy 2 lines edit in your start script (you can put them at the start of the script):
export __GL_SHADER_DISK_CACHE_PATH="$HOME/.nv/Game_Name_1" <--for this line to work you need to create the directory manually
export __GL_SHADER_DISK_CACHE_SKIP_CLEANUP=1
Rinse and repeat for the other games.
__GL_SHADER_DISK_CACHE_PATH=~/.steam/cache/271590 __GL_SHADER_DISK_CACHE_SKIP_CLEANUP=1 LD_PRELOAD=$LD_PRELOAD:/usr/\$LIB/libgamemodeauto.so.0 %command%Please make sure that the directory exists, it wont be created automatically. The GTA5 cache is still ~7MB after playing two hours or so, not sure if this will make such a difference.
(Note that I'm using latest DXVK 0.72 for Proton, that's why I don't have a reference to a DXVK config file with the AMD override in my launch options.)