Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package mutter for openSUSE:Factory checked in at 2021-12-21 18:40:27 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/mutter (Old) and /work/SRC/openSUSE:Factory/.mutter.new.2520 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "mutter" Tue Dec 21 18:40:27 2021 rev:177 rq:941314 version:41.2 Changes: -------- --- /work/SRC/openSUSE:Factory/mutter/mutter.changes 2021-12-16 21:20:24.634546314 +0100 +++ /work/SRC/openSUSE:Factory/.mutter.new.2520/mutter.changes 2021-12-21 18:40:41.385876971 +0100 @@ -1,0 +2,9 @@ +Fri Dec 17 09:00:44 UTC 2021 - Alynx Zhou <alynx.z...@suse.com> + +- Add mutter-allow-disable-hardware-cursors.patch: Add a debug + environment variable MUTTER_DEBUG_DISABLE_HW_CURSORS to disable + hardware cursors and force using software cursors to avoid some + driver or hardware bug (glgo#GNOME/mutter#2045, + glgo#GNOME/mutter!2150). + +------------------------------------------------------------------- New: ---- mutter-allow-disable-hardware-cursors.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ mutter.spec ++++++ --- /var/tmp/diff_new_pack.fnG9vq/_old 2021-12-21 18:40:42.417877898 +0100 +++ /var/tmp/diff_new_pack.fnG9vq/_new 2021-12-21 18:40:42.425877905 +0100 @@ -37,6 +37,8 @@ Patch3: mutter-Lower-HIDPI_LIMIT-to-144.patch # PATCH-FIX-UPSTREAM mutter-disable-cvt-s390x.patch bsc#1158128 fcro...@suse.com -- Do not search for cvt on s390x, it doesn't exist there Patch4: mutter-disable-cvt-s390x.patch +# PATCH-FIX-UPSTREAM mutter-allow-disable-hardware-cursors.patch glgo#GNOME/mutter!2150 alynx.z...@suse.com -- Add a debug environment variable to disable hardware cursors. +Patch5: mutter-allow-disable-hardware-cursors.patch ## SLE-only patches start at 1000 # PATCH-FEATURE-SLE mutter-SLE-bell.patch FATE#316042 bnc#889218 idon...@suse.com -- make audible bell work out of the box. @@ -143,6 +145,7 @@ %setup -q %patch3 -p1 %patch4 -p1 +%patch5 -p1 # SLE-only patches and translations. %if 0%{?sle_version} ++++++ mutter-allow-disable-hardware-cursors.patch ++++++ >From 62f1e7c12e87da4529df5441edf7a8303e8a6e9e Mon Sep 17 00:00:00 2001 From: Olivier Fourdan <ofour...@redhat.com> Date: Fri, 10 Dec 2021 10:57:29 +0100 Subject: [PATCH] cursor-renderer/native: Add a means to disable HW cursors When dealing with a faulty hardware or bugs in the driver, it might be interesting to force the use of software cursors for debugging purposes. Add a debug environment variable MUTTER_DEBUG_DISABLE_HW_CURSORS to disable hardware cursors and force using software cursors. Closes: https://gitlab.gnome.org/GNOME/mutter/-/issues/2046 --- src/backends/native/meta-cursor-renderer-native.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/backends/native/meta-cursor-renderer-native.c b/src/backends/native/meta-cursor-renderer-native.c index 8efdaf7775..8a1a6d6446 100644 --- a/src/backends/native/meta-cursor-renderer-native.c +++ b/src/backends/native/meta-cursor-renderer-native.c @@ -1874,7 +1874,10 @@ meta_cursor_renderer_native_new (MetaBackend *backend, priv->backend = backend; - init_hw_cursor_support (cursor_renderer_native); + if (g_strcmp0 (getenv ("MUTTER_DEBUG_DISABLE_HW_CURSORS"), "1")) + init_hw_cursor_support (cursor_renderer_native); + else + g_message ("Disabling hardware cursors because MUTTER_DEBUG_DISABLE_HW_CURSORS is set"); return cursor_renderer_native; } -- GitLab