Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 May 2005 13:35:05 +0200
From:      Pav Lucistnik <pav@FreeBSD.org>
To:        Damian Gerow <dgerow@afflictions.org>
Cc:        freebsd-amd64@FreeBSD.org
Subject:   Re: mplayer, amd64, and CPU flags
Message-ID:  <1116761705.23538.7.camel@hood.oook.cz>
In-Reply-To: <20050522043251.GA87263@afflictions.org>
References:  <20050521022130.GW52914@afflictions.org> <20050521064120.GA51907@xor.obsecurity.org> <20050522043251.GA87263@afflictions.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-3tdm74bcYMH8vIJ/DOVx
Content-Type: text/plain; charset=ISO-8859-2
Content-Transfer-Encoding: quoted-printable

Damian Gerow p=ED=B9e v ne 22. 05. 2005 v 00:32 -0400:
> Thus spake Kris Kennaway (kris@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.
> :=20
> : Look at what the port does..it looks like it only enables runtime
> : detection support on i386.  Talk to the maintainer.
>=20
> The wording in the Makefile describing WITHOUT_RUNTIME_CPUDETECTION -- wh=
ich
> I traditionally define when building mplayer -- infers that by defining i=
t,
> all possible CPU flags are assumed set, and it is up to the builder to
> "explicitly disable" them.  In other words, without using runtime detecti=
on,
> it's still borked.
>=20
> I'll take that up with the maintainer as well.  Though it looks like the
> problem is well on its way to being solved.
>=20
> FWIW, by manually enabling the various flags, I see DVD decryption jump u=
p
> at least five frames per second, from anywhere between seven and ten to a=
t
> 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 ...

--=20
Pav Lucistnik <pav@oook.cz>
              <pav@FreeBSD.org>

Stupidity got us into this mess -- why can't it get us out?

--=-3tdm74bcYMH8vIJ/DOVx
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (FreeBSD)

iD8DBQBCkG5pntdYP8FOsoIRAobIAJ46J8ovs6b0xdcNz06rziRHNfRrBwCgnsad
jkuTeen92scc93nEyD89wZY=
=ks1w
-----END PGP SIGNATURE-----

--=-3tdm74bcYMH8vIJ/DOVx--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1116761705.23538.7.camel>