Commit f72fe528 authored by Pier Angelo Vendrame's avatar Pier Angelo Vendrame 🎃 Committed by richard
Browse files

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.
parent 0de02285
Loading
Loading
Loading
Loading
+4 −0
Changes for projects/browser/RelativeLink/start-browser: 4 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -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.