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

Bug 71099

Summary: xine-lib-1_rc7 hardware mpeg decoding for VIA chipsets enabled
Product: Gentoo Linux Reporter: Torsten Kurbad <torsten>
Component: New packagesAssignee: Gentoo Media-video project <media-video>
Status: RESOLVED FIXED    
Severity: enhancement CC: herbs
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: xine-lib-1_rc7-xxmc.patch
Patch to add viaXvMC support to xine lib

Description Torsten Kurbad 2004-11-13 15:24:35 UTC
The VIA Epia systems are widely sold as small barebones and support hardware MPEG decoding, which drops CPU usage to around 2-3%.
I'm using the patches from http://unichrome.sf.net for a long time on my box. As of 1_rc7 the xine people incorporated one of the patches, thus xine-lib now has native support for the above mentioned feature.

I attached a patch for xine-lib-1_rc7.ebuild that sets the necessary configure options to enable that support. The use flag "cle266" is common among people who use Gentoo on the VIA Epia chipsets and can be seen as kind of a standard.

For more information see http://sourceforge.net/forum/forum.php?forum_id=421046 and http://www.epiawiki.org.

Would be glad to see that in portage soon - would spare lots of people at least one proprietary ebuild.

Regards,
Torsten
Comment 1 Torsten Kurbad 2004-11-13 15:25:36 UTC
Created attachment 43889 [details, diff]
xine-lib-1_rc7-xxmc.patch
Comment 2 John Nilsson 2004-12-04 07:17:17 UTC
I would love to see this too.

With this in there is no need for any proprietary ebuilds. The latest xorg is synced with unichrome. And the latest kernel patches (2.6.9-epia0) aplies cleanly on top of the gentoo-dev-sources.
Comment 3 Herbie Hopkins (RETIRED) gentoo-dev 2005-02-15 09:29:36 UTC
Created attachment 51284 [details, diff]
Patch to add viaXvMC support to xine lib

Here's a patch against the newest 1.0 xine-lib ebuild that adds viaXvMC
support. I've worked this into the existing xvmc if statement. I also found
that the configure script fails to find certain headers if --x-includes is not
set (that goes for nvidia xvmc as well as via), so I added a statement to set
this too.
Comment 4 Alex Howells (RETIRED) gentoo-dev 2005-03-07 02:52:23 UTC
Reference in bug 82571 suggests patch was applied, and Herbie requests bug be closed and marked 'Resolved - Fixed' so I'm gonna go ahead and do that.