git: 25cf220540bc - 2023Q1 - graphics/mesa-dri: extend kwin_x11 workaround to crocus
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 15 Jan 2023 18:17:11 UTC
The branch 2023Q1 has been updated by jbeich:
URL: https://cgit.FreeBSD.org/ports/commit/?id=25cf220540bcc03e7e9581e19bc028c69c85d2b1
commit 25cf220540bcc03e7e9581e19bc028c69c85d2b1
Author: Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2023-01-14 17:06:09 +0000
Commit: Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2023-01-15 18:17:08 +0000
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)
---
graphics/mesa-dri/Makefile | 2 +-
graphics/mesa-dri/files/01-freebsd.conf | 8 ++++++++
2 files changed, 9 insertions(+), 1 deletion(-)
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 -->