[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [Git][tpo/applications/tor-browser-build][maint-13.0] Bug 41017: Tell Nvidia drivers not to create the shader cache.



Title: GitLab

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:

Changes:

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

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