mplayer, amd64, and CPU flags

Pav Lucistnik pav at FreeBSD.org
Sun May 22 04:36:27 PDT 2005


Damian Gerow píše v ne 22. 05. 2005 v 00:32 -0400:
> Thus spake Kris Kennaway (kris at obsecurity.org) [21/05/05 02:42]:
> : > This is with automagic CPU detection compiled in, but when I take it out, I
> : > still get the same thing.
> : 
> : Look at what the port does..it looks like it only enables runtime
> : detection support on i386.  Talk to the maintainer.
> 
> The wording in the Makefile describing WITHOUT_RUNTIME_CPUDETECTION -- which
> I traditionally define when building mplayer -- infers that by defining it,
> all possible CPU flags are assumed set, and it is up to the builder to
> "explicitly disable" them.  In other words, without using runtime detection,
> it's still borked.
> 
> I'll take that up with the maintainer as well.  Though it looks like the
> problem is well on its way to being solved.
> 
> FWIW, by manually enabling the various flags, I see DVD decryption jump up
> at least five frames per second, from anywhere between seven and ten to at
> least fifteen.  That's a 50% speed increase.

I haven't noticed any speedup on DVD playback from these flags.

What helped me immensely was moving to xorg-server-snap, which can do
DMA'ed xv feeding on radeon driver. That cut down CPU usage inside xorg
from 30% to 5% on DVD playback with mplayer ...

-- 
Pav Lucistnik <pav at oook.cz>
              <pav at FreeBSD.org>

Stupidity got us into this mess -- why can't it get us out?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-amd64/attachments/20050522/c07722d9/attachment.bin


More information about the freebsd-amd64 mailing list