From 3225c2784950399d07c5f65300c3d8079cbeeade Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Wed, 25 Jan 2023 06:19:23 +1000 Subject: [PATCH] mesa/radeonsi: disable glthread totem is broken. --- mesa.spec | 1 + radeonsi-turn-off-glthread.patch | 11 +++++++++++ 2 files changed, 12 insertions(+) create mode 100644 radeonsi-turn-off-glthread.patch diff --git a/mesa.spec b/mesa.spec index 9ce43d0..b0d7c0f 100644 --- a/mesa.spec +++ b/mesa.spec @@ -66,6 +66,7 @@ Source0: https://archive.mesa3d.org/mesa-%{ver}.tar.xz Source1: Mesa-MLAA-License-Clarification-Email.txt Patch10: gnome-shell-glthread-disable.patch +Patch11: radeonsi-turn-off-glthread.patch BuildRequires: meson >= 0.61.4 BuildRequires: gcc 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