public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/kwin] rawhide: Fix for apps possibly getting disconnected on mesa 26+
@ 2026-08-12 11:51 Steve Cossette
0 siblings, 0 replies; only message in thread
From: Steve Cossette @ 2026-08-12 11:51 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/kwin
Branch : rawhide
Commit : 08334a4212c2e408045c144276520542cb682705
Author : Steve Cossette <farchord@gmail.com>
Date : 2026-08-12T07:50:53-04:00
Stats : +43/-1 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/kwin/c/08334a4212c2e408045c144276520542cb682705?branch=rawhide
Log:
Fix for apps possibly getting disconnected on mesa 26+
---
diff --git a/2d0613acd044544e79b034b1cbc248664edf2884.patch b/2d0613acd044544e79b034b1cbc248664edf2884.patch
new file mode 100644
index 0000000..1b75b77
--- /dev/null
+++ b/2d0613acd044544e79b034b1cbc248664edf2884.patch
@@ -0,0 +1,35 @@
+From 2d0613acd044544e79b034b1cbc248664edf2884 Mon Sep 17 00:00:00 2001
+From: Vlad Zahorodnii <vlad.zahorodnii@kde.org>
+Date: Wed, 12 Aug 2026 05:35:52 +0000
+Subject: [PATCH] wayland: Increase global removal timer timeout to 1 day
+
+If an output global is removed due to the 5min timer expiring, the
+wl_fixes.ack_global_remove requests will result in a protocol error
+because the global has been already destroyed.
+
+As a whacky workaround, increase the timer interval to 1 day.
+
+
+(cherry picked from commit ea9edac4824b0d972638b2550c59f58482342efb)
+
+Co-authored-by: Vlad Zahorodnii <vlad.zahorodnii@kde.org>
+---
+ src/wayland/tools/qtwaylandscanner.cpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/wayland/tools/qtwaylandscanner.cpp b/src/wayland/tools/qtwaylandscanner.cpp
+index 56d2cce0483..d642659dda6 100644
+--- a/src/wayland/tools/qtwaylandscanner.cpp
++++ b/src/wayland/tools/qtwaylandscanner.cpp
+@@ -893,7 +893,7 @@ bool Scanner::process()
+ printf("\n");
+ printf(" struct wl_event_loop *event_loop = wl_display_get_event_loop(m_display);\n");
+ printf(" m_globalRemovedEvent = wl_event_loop_add_timer(event_loop, deferred_destroy_global_func, this);\n");
+- printf(" wl_event_source_timer_update(m_globalRemovedEvent, 300000);\n");
++ printf(" wl_event_source_timer_update(m_globalRemovedEvent, 24 * 60 * 60 * 1000);\n");
+ printf("\n");
+ printf(" wl_global_remove(m_global);\n");
+ printf(" }\n");
+--
+GitLab
+
diff --git a/kwin.spec b/kwin.spec
index 83ee2d5..65859a4 100644
--- a/kwin.spec
+++ b/kwin.spec
@@ -1,6 +1,6 @@
Name: kwin
Version: 6.7.4
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: KDE Window manager
License: BSD-2-Clause AND BSD-3-Clause AND CC0-1.0 AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-only AND GPL-3.0-or-later AND LGPL-2.0-only AND LGPL-2.0-or-later AND LGPL-2.1-only AND LGPL-2.1-or-later AND LGPL-3.0-only AND (GPL-2.0-only OR GPL-3.0-only) AND (LGPL-2.1-only OR LGPL-3.0-only) AND MIT
@@ -13,6 +13,10 @@ Source1: http://download.kde.org/%{stable_kf6}/plasma/%{maj_ver_kf6}.%{min_ver_k
## upstream patches
+# Apps may get disconnected on mesa 26+
+# https://invent.kde.org/plasma/kwin/-/commit/2d0613acd044544e79b034b1cbc248664edf2884
+Patch0: 2d0613acd044544e79b034b1cbc248664edf2884.patch
+
## proposed patches
@@ -283,6 +287,9 @@ ln -sr %{buildroot}%{_kf6_bindir}/kwin_wayland %{buildroot}%{_bindir}/kwin
%changelog
+* Wed Aug 12 2026 Steve Cossette <farchord@gmail.com> - 6.7.4-2
+- Fix for apps possibly getting disconnected on Mesa 26+
+
* Tue Aug 04 2026 Steve Cossette <farchord@gmail.com> - 6.7.4-1
- 6.7.4
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-12 11:51 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-12 11:51 [rpms/kwin] rawhide: Fix for apps possibly getting disconnected on mesa 26+ Steve Cossette
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox