aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2023-01-14 17:06:09 +0000
committerJan Beich <jbeich@FreeBSD.org>2023-01-15 18:17:08 +0000
commit25cf220540bcc03e7e9581e19bc028c69c85d2b1 (patch)
tree347996fc7e6865e4fadf585edf28dd741d645d0b
parentdaa0efdbe36a7847aa8a231d719dfe50305b55b0 (diff)
downloadports-25cf220540bcc03e7e9581e19bc028c69c85d2b1.tar.gz
ports-25cf220540bcc03e7e9581e19bc028c69c85d2b1.zip
graphics/mesa-dri: extend kwin_x11 workaround to crocus
PR: 268955 Tested by: jsm, probono@puredarwin.org Approved by: manu (cherry picked from commit fe95d2527471eb9bf3aff8ac02b45482abf911bd)
-rw-r--r--graphics/mesa-dri/Makefile2
-rw-r--r--graphics/mesa-dri/files/01-freebsd.conf8
2 files changed, 9 insertions, 1 deletions
diff --git a/graphics/mesa-dri/Makefile b/graphics/mesa-dri/Makefile
index 9528ab8b625d..c382cd44e2a1 100644
--- a/graphics/mesa-dri/Makefile
+++ b/graphics/mesa-dri/Makefile
@@ -1,6 +1,6 @@
PORTNAME= mesa-dri
PORTVERSION= ${MESAVERSION}
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= graphics
COMMENT= OpenGL hardware acceleration drivers for DRI2+
diff --git a/graphics/mesa-dri/files/01-freebsd.conf b/graphics/mesa-dri/files/01-freebsd.conf
index 02282ee9e1cb..92c618dcab90 100644
--- a/graphics/mesa-dri/files/01-freebsd.conf
+++ b/graphics/mesa-dri/files/01-freebsd.conf
@@ -1,4 +1,12 @@
<driconf>
+ <device driver="crocus">
+ <application name="kwin_x11" executable="kwin_x11">
+ <!-- https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268955 -->
+ <option name="glx_extension_override" value="-GLX_EXT_buffer_age" />
+ <!-- https://gitlab.freedesktop.org/mesa/mesa/-/commit/580fbbb59a60 -->
+ <option name="glx_disable_ext_buffer_age" value="true" />
+ </application>
+ </device>
<device driver="iris">
<application name="kwin_x11" executable="kwin_x11">
<!-- https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=251836 -->