[MPlayer-users] XvMC broken since 20090530

Roger rogerx at sdf.lonestar.org
Sat Nov 21 00:37:15 CET 2009


On Mon, 2009-11-16 at 09:35 +0000, Carl Eugen Hoyos wrote:
> Roger <rogerx <at> sdf.lonestar.org> writes:
> 
> > http://bugs.gentoo.org/show_bug.cgi?id=281228
> 
> Did you try configure --disable-sse as recommended by Reimar?
> 
> Carl Eugen

Yes I did.  However, he further followed up and stated "custom-cpuopts" needs to be enabled on Gentoo -- as I had it switched-off.

As such, something of the following incantation suffices:

# USE="custom-cpuopts -sse" emerge mplayer

xvmc now works avoiding the sse function.


I also got a little more from him concerning the specifics of this bug:

"(Concerning clear_blocks_sse function within x86/dsputil_mmx.c) ... it
is just not possible to use it with
XvMC since XvMC was designed in a way that makes it impossible to use it with
SSE (though IMO that would be easy to fix from the XvMC developer side), and
FFmpeg developers so far do not want to add special hack that also reduce speed
only to support the somewhat outdated/obsolete XvMC.
>From looking at the Intel XvMC code it is just a matter of changing
XvMCCreateBlocks to use memalign instead of malloc, or alternatively wrapping
malloc so it always returns sufficiently aligned memory (e.g. by using some
*BSD and their libc instead of glibc)."


Full post is on http://bugs.gentoo.org Bug #281228.  Cheers! ;-)


-- 
Roger
http://rogerx.freeshell.org



More information about the MPlayer-users mailing list