ma1 pushed to branch main at The Tor Project / Applications / tor-browser-build Commits: 6c38ddeb by hackademix at 2026-11-23T17:53:24+01:00 Bug 41932: Disable Mesa shader cache - - - - - 1 changed file: - projects/browser/RelativeLink/start-browser Changes: ===================================== projects/browser/RelativeLink/start-browser ===================================== @@ -289,7 +289,14 @@ if ! [ -L "$local_dir" -o -L "$share_dir" ]; then fi ln -fs /dev/null "$share_dir" fi -[ -L "$HOME/.cache" ] || erase_leaky "$HOME/.cache/nvidia" + +if ! [ -L "$HOME/.cache" ]; then + # tor-browser-build#41017, tor-browser-build#41923: + # erase shader caches if they exist. + erase_leaky "$HOME/.cache/nvidia" + erase_leaky "$HOME/.cache/mesa_shader_cache" + erase_leaky "$HOME/.cache/mesa_shader_cache_db" +fi [% IF c("var/tor-browser") -%] SYSARCHITECTURE=$(getconf LONG_BIT) @@ -371,6 +378,10 @@ export GSETTINGS_BACKEND=memory # $HOME/.cache/nvidia. We we can easily disable it. export __GL_SHADER_DISK_CACHE=0 +# tor-browser-build#41923: disable Mesa shader cache +export MESA_SHADER_CACHE_DISABLE=true +export MESA_GLSL_CACHE_DISABLE=true + cd "$browser_dir" if [ "$show_usage" -eq 1 ]; then View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/commit/6c... -- View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/commit/6c... You're receiving this email because of your account on gitlab.torproject.org. Manage all notifications: https://gitlab.torproject.org/-/profile/notifications | Help: https://gitlab.torproject.org/help
participants (1)
-
ma1 (@ma1)