summaryrefslogtreecommitdiff
path: root/mozilla-1646135.patch
diff options
context:
space:
mode:
authorMartin Stransky <stransky@redhat.com>2021-06-14 17:36:56 +0200
committerMartin Stransky <stransky@redhat.com>2021-06-14 17:36:56 +0200
commit4be27bb7af495a0f0e08cd7c889ff23365873b52 (patch)
tree807b774aab670249a40a76a2560c07fecd52e036 /mozilla-1646135.patch
parentDisabled arm due to bugzilla.redhat.com/show_bug.cgi?id=1966949 (diff)
downloadlibrewolf-fedora-ff-4be27bb7af495a0f0e08cd7c889ff23365873b52.tar.gz
librewolf-fedora-ff-4be27bb7af495a0f0e08cd7c889ff23365873b52.tar.bz2
librewolf-fedora-ff-4be27bb7af495a0f0e08cd7c889ff23365873b52.zip
Added fix for mozbz#1646135 - Disabled Wayland/Webrender on NVIDIA drivers
Diffstat (limited to 'mozilla-1646135.patch')
-rw-r--r--mozilla-1646135.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/mozilla-1646135.patch b/mozilla-1646135.patch
new file mode 100644
index 0000000..3fef2cf
--- /dev/null
+++ b/mozilla-1646135.patch
@@ -0,0 +1,21 @@
+diff --git a/widget/gtk/GfxInfo.cpp b/widget/GfxInfoX11.cpp
+--- a/widget/GfxInfoX11.cpp
++++ b/widget/GfxInfoX11.cpp
+@@ -674,6 +674,16 @@
+ nsIGfxInfo::FEATURE_BLOCKED_DEVICE, DRIVER_LESS_THAN, V(460, 32, 3, 0),
+ "FEATURE_FAILURE_WEBRENDER_OLD_NVIDIA", "460.32.03");
+
++ // Disable Nvidia proprietary drivers on Wayland.
++ APPEND_TO_DRIVER_BLOCKLIST_EXT(
++ OperatingSystem::Linux, ScreenSizeStatus::All, BatteryStatus::All,
++ DesktopEnvironment::All, WindowProtocol::Wayland,
++ DriverVendor::NonMesaAll, DeviceFamily::NvidiaAll,
++ nsIGfxInfo::FEATURE_WEBRENDER, nsIGfxInfo::FEATURE_BLOCKED_DEVICE,
++ DRIVER_COMPARISON_IGNORED, V(0, 0, 0, 0),
++ "FEATURE_FAILURE_WEBRENDER_NVIDIA_WAYLAND",
++ "https://bugzilla.mozilla.org/show_bug.cgi?id=1646135");
++
+ // ATI Mesa baseline, chosen arbitrarily.
+ APPEND_TO_DRIVER_BLOCKLIST_EXT(
+ OperatingSystem::Linux, ScreenSizeStatus::All, BatteryStatus::All,
+
bgstack15