Date: Thu, 24 Dec 2020 04:22:33 +0000 (UTC) From: Jan Beich <jbeich@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r559047 - in head/graphics/mesa-dri: . files Message-ID: <202012240422.0BO4MXTM067494@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jbeich Date: Thu Dec 24 04:22:33 2020 New Revision: 559047 URL: https://svnweb.freebsd.org/changeset/ports/559047 Log: graphics/mesa-dri: exclude buffer age on iris under kwin Freeze in OpenGL initialization detected PR: 251836 Reported by: Roman, Oleg Nauman, arrowd, Oleksandr Kryvulia Tested by: arrowd, Roman Approved by: manu Added: head/graphics/mesa-dri/files/01-freebsd.conf (contents, props changed) Modified: head/graphics/mesa-dri/Makefile (contents, props changed) head/graphics/mesa-dri/pkg-plist (contents, props changed) Modified: head/graphics/mesa-dri/Makefile ============================================================================== --- head/graphics/mesa-dri/Makefile Thu Dec 24 04:15:16 2020 (r559046) +++ head/graphics/mesa-dri/Makefile Thu Dec 24 04:22:33 2020 (r559047) @@ -3,6 +3,7 @@ PORTNAME= mesa-dri PORTVERSION= ${MESAVERSION} +PORTREVISION= 1 CATEGORIES= graphics COMMENT= OpenGL hardware acceleration drivers for DRI2+ @@ -112,5 +113,7 @@ PLIST_SUB+= ${_vd}_VDRIVER="@comment " post-install: @${RM} -r ${STAGEDIR}/etc/OpenCL + ${INSTALL_DATA} ${FILESDIR}/01-freebsd.conf \ + ${STAGEDIR}${PREFIX}/share/drirc.d .include <bsd.port.post.mk> Added: head/graphics/mesa-dri/files/01-freebsd.conf ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/mesa-dri/files/01-freebsd.conf Thu Dec 24 04:22:33 2020 (r559047) @@ -0,0 +1,10 @@ +<driconf> + <device driver="iris"> + <application name="kwin_x11" executable="kwin_x11"> + <!-- https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=251836 --> + <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> +</driconf> Modified: head/graphics/mesa-dri/pkg-plist ============================================================================== --- head/graphics/mesa-dri/pkg-plist Thu Dec 24 04:15:16 2020 (r559046) +++ head/graphics/mesa-dri/pkg-plist Thu Dec 24 04:22:33 2020 (r559047) @@ -33,5 +33,6 @@ include/GL/internal/dri_interface.h libdata/pkgconfig/dri.pc @comment libdata/pkgconfig/gbm.pc share/drirc.d/00-mesa-defaults.conf +share/drirc.d/01-freebsd.conf %%INTEL_VDRIVER%%share/vulkan/icd.d/intel_icd.%%ARCH%%.json %%AMD_VDRIVER%%share/vulkan/icd.d/radeon_icd.%%ARCH%%.json
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202012240422.0BO4MXTM067494>