From 0b0b8b94d57b96696e0f656e6a937c10b6aad4e4 Mon Sep 17 00:00:00 2001 From: Jan Beich Date: Thu, 24 Dec 2020 04:22:33 +0000 Subject: [PATCH] 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 --- graphics/mesa-dri/Makefile | 3 +++ graphics/mesa-dri/files/01-freebsd.conf | 10 ++++++++++ graphics/mesa-dri/pkg-plist | 1 + 3 files changed, 14 insertions(+) create mode 100644 graphics/mesa-dri/files/01-freebsd.conf diff --git a/graphics/mesa-dri/Makefile b/graphics/mesa-dri/Makefile index 57798fcf8358..c9739f93106f 100644 --- a/graphics/mesa-dri/Makefile +++ b/graphics/mesa-dri/Makefile @@ -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 diff --git a/graphics/mesa-dri/files/01-freebsd.conf b/graphics/mesa-dri/files/01-freebsd.conf new file mode 100644 index 000000000000..02282ee9e1cb --- /dev/null +++ b/graphics/mesa-dri/files/01-freebsd.conf @@ -0,0 +1,10 @@ + + + + + + + diff --git a/graphics/mesa-dri/pkg-plist b/graphics/mesa-dri/pkg-plist index f004c141ad61..d0020d968ba9 100644 --- a/graphics/mesa-dri/pkg-plist +++ b/graphics/mesa-dri/pkg-plist @@ -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