From owner-freebsd-amd64@FreeBSD.ORG Sun May 22 11:36:27 2005 Return-Path: X-Original-To: freebsd-amd64@FreeBSD.org Delivered-To: freebsd-amd64@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 675BC16A41C for ; Sun, 22 May 2005 11:36:27 +0000 (GMT) (envelope-from pav@FreeBSD.org) Received: from hood.oook.cz (hood.oook.cz [212.27.205.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7D8F443D48 for ; Sun, 22 May 2005 11:36:26 +0000 (GMT) (envelope-from pav@FreeBSD.org) Received: from hood.oook.cz (localhost.oook.cz [127.0.0.1]) by hood.oook.cz (8.13.3/8.13.3) with ESMTP id j4MBZAXp084330 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 22 May 2005 13:35:10 +0200 (CEST) (envelope-from pav@FreeBSD.org) Received: (from pav@localhost) by hood.oook.cz (8.13.3/8.13.3/Submit) id j4MBZ5id084311; Sun, 22 May 2005 13:35:05 +0200 (CEST) (envelope-from pav@FreeBSD.org) X-Authentication-Warning: hood.oook.cz: pav set sender to pav@FreeBSD.org using -f From: Pav Lucistnik To: Damian Gerow In-Reply-To: <20050522043251.GA87263@afflictions.org> References: <20050521022130.GW52914@afflictions.org> <20050521064120.GA51907@xor.obsecurity.org> <20050522043251.GA87263@afflictions.org> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-3tdm74bcYMH8vIJ/DOVx" Date: Sun, 22 May 2005 13:35:05 +0200 Message-Id: <1116761705.23538.7.camel@hood.oook.cz> Mime-Version: 1.0 X-Mailer: Evolution 2.2.2 FreeBSD GNOME Team Port Cc: freebsd-amd64@FreeBSD.org Subject: Re: mplayer, amd64, and CPU flags X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pav@FreeBSD.org List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 May 2005 11:36:27 -0000 --=-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 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--