From a05168ce020350b3e41930b66db3676e44f39f3c Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Fri, 27 Jan 2023 17:46:32 +1000 Subject: [PATCH] disable glthread to fix totem/gtk3 Resolves: rhbz#2117184 --- mesa.spec | 6 +++++- radeonsi-turn-off-glthread.patch | 11 +++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 radeonsi-turn-off-glthread.patch diff --git a/mesa.spec b/mesa.spec index 37c28d5..18c1f90 100644 --- a/mesa.spec +++ b/mesa.spec @@ -54,7 +54,7 @@ Name: mesa Summary: Mesa graphics libraries %global ver 22.3.0 Version: %{lua:ver = string.gsub(rpm.expand("%{ver}"), "-", "~"); print(ver)} -Release: 1%{?dist} +Release: 2%{?dist} License: MIT URL: http://www.mesa3d.org @@ -66,6 +66,7 @@ Source1: Mesa-MLAA-License-Clarification-Email.txt Patch10: gnome-shell-glthread-disable.patch Patch11: 0001-glx-fix-xshm-check-to-init-xshm_opcode.patch +Patch12: radeonsi-turn-off-glthread.patch BuildRequires: meson >= 0.45 BuildRequires: gcc @@ -602,6 +603,9 @@ popd %endif %changelog +* Fri Jan 27 2023 Dave Airlie - 22.3.0-2 +- Disable glthread, breaks gtk3/totem + * Wed Dec 07 2022 Dave Airlie - 22.3.0-1 - Update to mesa 22.3.0 + fix mit-shm regression diff --git a/radeonsi-turn-off-glthread.patch b/radeonsi-turn-off-glthread.patch new file mode 100644 index 0000000..4d35f9c --- /dev/null +++ b/radeonsi-turn-off-glthread.patch @@ -0,0 +1,11 @@ +diff -up mesa-22.3.3/src/gallium/drivers/radeonsi/driinfo_radeonsi.h.dma mesa-22.3.3/src/gallium/drivers/radeonsi/driinfo_radeonsi.h +--- mesa-22.3.3/src/gallium/drivers/radeonsi/driinfo_radeonsi.h.dma 2023-01-25 06:17:54.993167334 +1000 ++++ mesa-22.3.3/src/gallium/drivers/radeonsi/driinfo_radeonsi.h 2023-01-25 06:17:57.363203425 +1000 +@@ -1,7 +1,6 @@ + // DriConf options specific to radeonsi + DRI_CONF_SECTION_PERFORMANCE + DRI_CONF_ADAPTIVE_SYNC(true) +-DRI_CONF_MESA_GLTHREAD(true) + DRI_CONF_SECTION_END + + DRI_CONF_SECTION_DEBUG