mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
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
This commit is contained in:
parent
aea654ab57
commit
0b0b8b94d5
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=559047
@ -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>
|
||||
|
10
graphics/mesa-dri/files/01-freebsd.conf
Normal file
10
graphics/mesa-dri/files/01-freebsd.conf
Normal file
@ -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>
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user