From 263f576d257dec529ed781b04433af80ee86b400 Mon Sep 17 00:00:00 2001 From: acuifex <46835803+acuifex@users.noreply.github.com> Date: Thu, 23 Apr 2026 10:56:58 +0300 Subject: [PATCH] profiles: steam: whitelist .cache/nvidia (#7114) Improves launch performance for Team Fortress 2 on legacy OpenGL launch option and possibly other games. Went from 100 seconds to launch the game and ~8% cpu usage during launch (~1 core on my machine?) to 60 seconds and ~16% cpu usage (~2 cores). Apparently the path was changed on 460.27.04 (from `~/.nv/GLCache` to `~/.cache/nvidia/GLCache`): * https://download.nvidia.com/XFree86/Linux-x86_64/455.45.01/README/openglenvvariables.html * https://download.nvidia.com/XFree86/Linux-x86_64/460.27.04/README/openglenvvariables.html --- etc/profile-m-z/steam.profile | 1 + 1 file changed, 1 insertion(+) diff --git a/etc/profile-m-z/steam.profile b/etc/profile-m-z/steam.profile index 4de0b349b..57ce6a4a4 100644 --- a/etc/profile-m-z/steam.profile +++ b/etc/profile-m-z/steam.profile @@ -103,6 +103,7 @@ mkdir ${HOME}/.steam mkdir ${HOME}/Zomboid mkfile ${HOME}/.steampath mkfile ${HOME}/.steampid +whitelist ${HOME}/.cache/nvidia whitelist ${HOME}/.config/Epic whitelist ${HOME}/.config/Loop_Hero whitelist ${HOME}/.config/MangoHud