Summary: | xine-lib and mplayer do not support the "unichrome" use flag for libviaXvMCPro.so | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Keean Schupke <k.schupke> |
Component: | New packages | Assignee: | Gentoo Media-video project <media-video> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | beandog, bensberg, karl, MasterCLC |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Keean Schupke
2005-10-21 10:27:10 UTC
That will go in with a masked useflag if it requires 6.8.99.x.. but does it require some extra useflags (experimental, dri)? I don't have it on a normal version. Here's emerge -vp xorg-x11 on my system: [ebuild R ] x11-base/xorg-x11-6.8.99.15-r4 -3dfx +bitmap-fonts -cjk -debug -doc -font-server -insecure-drivers +ipv6 -minimal +nls -nocxx +opengl +pam -sdk -static +truetype-fonts +type1-fonts (-uclibc) -xprint +xv 0 kB maybe you need: VIDEO_CARDS="via" in the make.conf Perhaps we should start using libXvMCW? This is a wrapper lib which will try to automatically load the right xvmc lib (nvidia,intel,via, etc). If you would like to tell it what lib to use you can do so in /etc/X11/XvMCConfig. libXvMCW is included in the new x11-libs/libXvMC ebuild from xorg-x11 7.0. This could be install on systems with older versions of xorg I believe for compatability. So all we would need then is use xvmc && myconf="${myconf} --enable-xvmc --with-xvmclib=XvMCW --enable-xxmc --with-xxmclib=XvMCW" and it should support all libxvmcs out there... I haven't done any testing though as mine is working right now. XvMCW is only present on masked Xorg, so for now is not possible to use it. You have to wait for now. (In reply to comment #4) > XvMCW is only present on masked Xorg, so for now is not possible to use it. > You have to wait for now. Please update this as xorg is no longer masked ;) Also, the VIDEO_CARDS=via option with xine-lib doesn't distinguish between Unichrome Pro and Unichrome and builds incorrectly. Using the wrapper would be a perfect workaround for this because the user can point to the viaXvMCPro.so.1 library to correct for this. If left as is, the viaXvMC.so library doesn't work for playing back on a Pro setup. Thanks! -Chad Don't enable any VIDEO_CARD for xine-lib, and it will use the wrapper. 1.1.3_pre versions also don't use the specific libraries anymore and just XvMCW is used. Latest mplayer also uses XvMCW. Should we close this then? (In reply to comment #6) > Don't enable any VIDEO_CARD for xine-lib, and it will use the wrapper. That's what I tried, but nothing changed... Setting: VIDEO_CARDS="" did nothing, commenting out the line in /etc/make.conf did nothing, it still showed (in emerge -pv) VIDEO_CARDS="via -nvidia -i810" when emerging xine-lib. Thanks for the response though! > Latest mplayer also uses XvMCW Although that may be true, MPlayer needs to be patched to for unichrome Pro chipsets to actually work when using it. The patch is available (though outdated at this point) over at: http://openchrome.org Specifically: http://wiki.openchrome.org/tikiwiki/tiki-index.php?page=XvMC#Mplayer > Setting VIDEO_CARDS="" did nothing, commenting out the line in /etc/make.conf
> did nothing, it still showed (in emerge -pv) VIDEO_CARDS="via -nvidia -i810"
> when emerging xine-lib.
Hmm, yes, that's weird. Here it shows VIDEO_CARDS="i810* via -nvidia" after commenting out VIDEO_CARDS in /etc/make.conf. But when running
VIDEO_CARDS="" emerge -pv xine-lib
it reports VIDEO_CARDS="-i810 -nvidia -via*".
Something is now quite right with Portage, it seems.
if we had VIDEO_CARDS="openchrome " it would make things easier to link xine to the correct lib. See this: http://bugs.gentoo.org/show_bug.cgi?id=147425 after doing some research it seems that mythtv and xine work out of the box, thoug I haven't tested xine yet. The only thing that needs to be added is the patch to mplayer, possibly with the addition of a use flag 'openchrome'. (In reply to comment #3) > Perhaps we should start using libXvMCW? This is a wrapper lib which will try > to > automatically load the right xvmc lib (nvidia,intel,via, etc). If you would > like to tell it what lib to use you can do so in /etc/X11/XvMCConfig. > > libXvMCW is included in the new x11-libs/libXvMC ebuild from xorg-x11 7.0. > This > could be install on systems with older versions of xorg I believe for > compatability. > > So all we would need then is > use xvmc && myconf="${myconf} --enable-xvmc --with-xvmclib=XvMCW --enable-xxmc > --with-xxmclib=XvMCW" > > and it should support all libxvmcs out there... I haven't done any testing > though as mine is working right now. > Which is pretty much what mplayer is doing. |