Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 592962

Summary: media-libs/mesa-12.01: breaks gst-plugins-vaapi on haswell cpus without intel's upstream patch if dri3 enabled
Product: Gentoo Linux Reporter: Luke McKee <hojuruku>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Luke McKee 2016-09-05 20:39:53 UTC
Please see upstream comment.
https://bugs.freedesktop.org/show_bug.cgi?id=71759#c42

Mesa needs a patch from intel if you want gst-plugins-vaapi to work (e.g. totem)

Here's my patch to the ebuild

--- /usr/portage/media-libs/mesa/mesa-12.0.1.ebuild	2016-08-11 11:28:28.222652677 +0700
+++ mesa-12.0.1-r9.ebuild	2016-09-06 02:58:26.814519112 +0700
@@ -187,6 +187,7 @@
 src_prepare() {
 	[[ ${PV} == 9999 ]] && eautoreconf
 	epatch "${FILESDIR}"/${PN}-12.0-sysmacros.patch #580392
+	epatch "${FILESDIR}"/${PN}-12.0-currentcontext.patch #freedesktop 71759
 }
 
 multilib_src_configure() {


Where the patch is from the freesdesktop bugzilla attachment
https://bugs.freedesktop.org/attachment.cgi?id=125508

This solved my problem.
Comment 1 Pacho Ramos gentoo-dev 2016-09-12 14:11:38 UTC

*** This bug has been marked as a duplicate of bug 582544 ***