Mesa (main): v3d/driconf: Expose non-MSAA texture limits for mutter and gnome-shell

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Mon Jul 19 12:45:08 UTC 2021


Module: Mesa
Branch: main
Commit: fd5fa73e6c8deeb8e09062e412d7d05fe57d0c59
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=fd5fa73e6c8deeb8e09062e412d7d05fe57d0c59

Author: Jose Maria Casanova Crespo <jmcasanova at igalia.com>
Date:   Fri Jul 16 14:30:51 2021 +0200

v3d/driconf: Expose non-MSAA texture limits for mutter and gnome-shell

To enable dual 4k displays on mutter or gnome-shell under X11 we need to
expose the non-MSAA texture limit as we did for Xorg at 60a64f028d75ad6
("v3d: Use driconf to expose non-MSAA texture limits for Xorg.")

https://gitlab.gnome.org/GNOME/mutter/-/issues/1874

Cc: 21.1 21.2 mesa-stable
Reviewed-by: Iago Toral Quiroga <itoral at igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11926>

---

 src/util/00-mesa-defaults.conf | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/util/00-mesa-defaults.conf b/src/util/00-mesa-defaults.conf
index a1cbe28110b..51536df343e 100644
--- a/src/util/00-mesa-defaults.conf
+++ b/src/util/00-mesa-defaults.conf
@@ -516,6 +516,7 @@ TODO: document the other workarounds.
         <!-- Adaptive sync denylist follows below: -->
         <application name="gnome-shell" executable="gnome-shell">
             <option name="adaptive_sync" value="false" />
+            <option name="v3d_nonmsaa_texture_size_limit" value="true" />
         </application>
         <application name="Desktop — Plasma" executable="plasmashell">
             <option name="adaptive_sync" value="false" />
@@ -564,6 +565,7 @@ TODO: document the other workarounds.
         </application>
         <application name="mutter" executable="mutter">
             <option name="adaptive_sync" value="false" />
+            <option name="v3d_nonmsaa_texture_size_limit" value="true" />
         </application>
         <application name="muffin" executable="muffin">
             <option name="adaptive_sync" value="false" />



More information about the mesa-commit mailing list