tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

commit a285de1ea7ab53f3f56814b8195329499f28ce6a
parent 3e1ae93e85fa3e58e28af405c59488063db8abe7
Author: Brad Werth <werth@efn.org>
Date:   Mon, 10 Nov 2025 20:40:34 +0000

Bug 1852794 Part 2: Disable mesa threading on Linux old Mesa nouveau drivers. r=aosmond

Differential Revision: https://phabricator.services.mozilla.com/D270064

Diffstat:
Mwidget/gtk/GfxInfo.cpp | 15+++++++++++++++
1 file changed, 15 insertions(+), 0 deletions(-)

diff --git a/widget/gtk/GfxInfo.cpp b/widget/gtk/GfxInfo.cpp @@ -996,6 +996,21 @@ const nsTArray<RefPtr<GfxDriverInfo>>& GfxInfo::GetGfxDriverInfo() { nsIGfxInfo::FEATURE_WEBRENDER, nsIGfxInfo::FEATURE_BLOCKED_DEVICE, DRIVER_COMPARISON_IGNORED, V(0, 0, 0, 0), "FEATURE_FAILURE_WEBRENDER_MESA_VM", ""); + + //////////////////////////////////// + // FEATURE_MESA_THREADING + + // Bug 1852794 - Disable old nouveau drivers. + APPEND_TO_DRIVER_BLOCKLIST_EXT( + OperatingSystem::Linux, ScreenSizeStatus::All, BatteryStatus::All, + WindowProtocol::All, DriverVendor::MesaNouveau, DeviceFamily::All, + nsIGfxInfo::FEATURE_MESA_THREADING, nsIGfxInfo::FEATURE_BLOCKED_DEVICE, + DRIVER_LESS_THAN_OR_EQUAL, V(23, 2, 1, 0), + "FEATURE_FAILURE_MESA_THREADING_OLD_NOUVEAU", "Mesa 23.2.1.0"); + + //////////////////////////////////// + // FEATURE_WEBGL_USE_HARDWARE + // Disable hardware mesa drivers in virtual machines due to instability. APPEND_TO_DRIVER_BLOCKLIST_EXT( OperatingSystem::Linux, ScreenSizeStatus::All, BatteryStatus::All,