[tbb-commits] [Git][tpo/applications/tor-browser-build][main] Bug 41017: Tell Nvidia drivers not to create the shader cache.
richard (@richard)
git at gitlab.torproject.org
Tue Nov 14 19:04:40 UTC 2023
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.torproject.org/pipermail/tbb-commits/attachments/20231114/d7fecd01/attachment-0001.htm>
More information about the tbb-commits
mailing list