richard pushed to branch main at The Tor Project / Applications / 
tor-browser-build


Commits:
f72fe528 by Pier Angelo Vendrame at 2023-11-14T19:03:11+00:00
Bug 41017: Tell Nvidia drivers not to create the shader cache.

Nvidia drivers create a shader cache in $HOME/.cache/nvidia by default.
However, it can be easily disabled with an environment variable.

- - - - -


1 changed file:

- projects/browser/RelativeLink/start-browser


Changes:

=====================================
projects/browser/RelativeLink/start-browser
=====================================
@@ -367,6 +367,10 @@ rm -Rf "${HOME}/TorBrowser/Data/fontconfig"
 # Avoid overwriting user's dconf values. Fixes #27903.
 export GSETTINGS_BACKEND=memory
 
+# tor-browser-build#41017: Nvidia drivers create a shader cache by default in
+# $HOME/.cache/nvidia. We we can easily disable it.
+export __GL_SHADER_DISK_CACHE=0
+
 cd "${HOME}"
 
 # We pass all additional command-line arguments we get to Firefox.



View it on GitLab: 
https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/commit/f72fe52817c9a5eb990a7e070d9b94a369030c8f

-- 
View it on GitLab: 
https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/commit/f72fe52817c9a5eb990a7e070d9b94a369030c8f
You're receiving this email because of your account on gitlab.torproject.org.


_______________________________________________
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits

Reply via email to