diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:14:29 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:14:29 +0000 |
commit | fbaf0bb26397aa498eb9156f06d5a6fe34dd7dd8 (patch) | |
tree | 4c1ccaf5486d4f2009f9a338a98a83e886e29c97 /tools/sanitizer/docs | |
parent | Releasing progress-linux version 124.0.1-1~progress7.99u1. (diff) | |
download | firefox-fbaf0bb26397aa498eb9156f06d5a6fe34dd7dd8.tar.xz firefox-fbaf0bb26397aa498eb9156f06d5a6fe34dd7dd8.zip |
Merging upstream version 125.0.1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tools/sanitizer/docs')
-rw-r--r-- | tools/sanitizer/docs/tsan.rst | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/tools/sanitizer/docs/tsan.rst b/tools/sanitizer/docs/tsan.rst index 77fb6c89d7..af7ebc0b2b 100644 --- a/tools/sanitizer/docs/tsan.rst +++ b/tools/sanitizer/docs/tsan.rst @@ -167,6 +167,23 @@ After the build has completed, ``./mach run`` with the usual options for running in a debugger (``gdb``, ``lldb``, ``rr``, etc.) work fine, as do the ``--disable-e10s`` and other options. +While running Firefox, ensure that it's not in safe mode since it might cause +some tsan failures during startup. You can use a different profile or add +``--temp-profile`` to use a temporary one. + +Firefox might crash on startup if you have an NVIDIA GPU with proprietary +drivers. To fix this, disable the graphics acceleration by changing the following +prefs: + +- ``gfx.x11-egl.force-disabled=true`` +- ``gfx.webrender.software.opengl=true`` +- ``layers.acceleration.disabled=true`` + +You can either do this by passing these prefs to your ``./mach run`` command +like this: ``./mach run --setpref "gfx.x11-egl.force-disabled=true" --setpref "gfx.webrender.software.opengl=true" --setpref "layers.acceleration.disabled=true"`` +or you can add them to your ``machrc`` file. Learn more about mach settings +:ref:`here<mach_settings>`. + Building only the JavaScript shell ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |