[tbb-commits] [Git][tpo/applications/tor-browser-build][maint-13.0] Bug 41017: Tell Nvidia drivers not to create the shader cache.
Pier Angelo Vendrame (@pierov)
git at gitlab.torproject.org
Mon Dec 4 12:03:09 UTC 2023
Pier Angelo Vendrame pushed to branch maint-13.0 at The Tor Project / Applications / tor-browser-build
Commits:
6a9aac2c by Pier Angelo Vendrame at 2023-12-04T13:03:03+01: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/6a9aac2c14bc830118aa10dff999e3051d1cbb0d
--
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/commit/6a9aac2c14bc830118aa10dff999e3051d1cbb0d
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/20231204/37330e6f/attachment.htm>
More information about the tbb-commits
mailing list