From owner-freebsd-amd64@FreeBSD.ORG Sun May 22 04:33:05 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 A4E0D16A41F for ; Sun, 22 May 2005 04:33:04 +0000 (GMT) (envelope-from dgerow@afflictions.org) Received: from pandora.afflictions.org (asylum.afflictions.org [64.7.134.90]) by mx1.FreeBSD.org (Postfix) with ESMTP id 329F043D54 for ; Sun, 22 May 2005 04:33:03 +0000 (GMT) (envelope-from dgerow@afflictions.org) Received: from localhost (localhost [127.0.0.1]) by pandora.afflictions.org (Postfix) with ESMTP id 7869078C75 for ; Sun, 22 May 2005 00:33:03 -0400 (EDT) Received: from pandora.afflictions.org ([127.0.0.1]) by localhost (pandora.afflictions.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 41058-05 for ; Sun, 22 May 2005 00:32:55 -0400 (EDT) Received: from dementia.afflictions.org (dementia.afflictions.org [172.19.206.56]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pandora.afflictions.org (Postfix) with ESMTP id 05ABB78C72 for ; Sun, 22 May 2005 00:32:54 -0400 (EDT) Received: by dementia.afflictions.org (Postfix, from userid 1001) id 2E0E333C7B; Sun, 22 May 2005 00:32:52 -0400 (EDT) Date: Sun, 22 May 2005 00:32:52 -0400 From: Damian Gerow To: freebsd-amd64@freebsd.org Message-ID: <20050522043251.GA87263@afflictions.org> Mail-Followup-To: freebsd-amd64@freebsd.org References: <20050521022130.GW52914@afflictions.org> <20050521064120.GA51907@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050521064120.GA51907@xor.obsecurity.org> X-GPG-Fingerprint: B3D7 D901 A53A 1A99 BFD6 E6DF 9F3B 742B C288 9CC9 User-Agent: Mutt/1.5.9i X-Virus-Scanned: amavisd-new at pandora.afflictions.org Subject: Re: mplayer, amd64, and CPU flags X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list 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 04:33:05 -0000 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. : : 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.