From 32d98a3796b058e946d5d41ed5637129c312a8e9 Mon Sep 17 00:00:00 2001 From: iigs <2274777+iigs@users.noreply.github.com> Date: Wed, 27 Mar 2024 22:04:09 +0100 Subject: [PATCH] firefox: update to 124.0 --- components/web/firefox/patches/10-regression-in-Bug1875369.patch | 26 ++++++++++++++++++++++++++ 1 files changed, 26 insertions(+), 0 deletions(-) diff --git a/components/web/firefox/patches/10-regression-in-Bug1875369.patch b/components/web/firefox/patches/10-regression-in-Bug1875369.patch new file mode 100644 index 0000000..f08c748 --- /dev/null +++ b/components/web/firefox/patches/10-regression-in-Bug1875369.patch @@ -0,0 +1,26 @@ +Hardware Webrender stops working on nVidia GPU with Bug 1875369. + +Mozilla claims that if a XWindow doesn't have mIsMapped, then +hardware WebRender should be disabled. There is a crashing bug if moving tabs. +Some info here at https://bugzilla.mozilla.org/show_bug.cgi?id=1882021 + +--- firefox-124.0/widget/gtk/nsWindow.cpp.~1~ 2024-02-26 08:15:39.000000000 -0500 ++++ firefox-124.0/widget/gtk/nsWindow.cpp 2024-02-28 23:27:47.907263416 -0500 +@@ -5809,7 +5809,9 @@ + } + + void nsWindow::EnsureGdkWindow() { ++/* this causes firefox to crash: Assertion failure: mIsMapped + MOZ_DIAGNOSTIC_ASSERT(mIsMapped); ++*/ + if (!mGdkWindow) { + mGdkWindow = gtk_widget_get_window(GTK_WIDGET(mContainer)); + g_object_set_data(G_OBJECT(mGdkWindow), "nsWindow", this); +@@ -9538,6 +9540,7 @@ + nsCString displayName; + + LOG("nsWindow::GetCompositorWidgetInitData"); ++ EnsureGdkWindow(); + + *aInitData = mozilla::widget::GtkCompositorWidgetInitData( + GetX11Window(), displayName, GetShapedState(), GdkIsX11Display(), -- Gitblit v1.9.3