From owner-freebsd-multimedia@FreeBSD.ORG Sun Mar 25 19:48:39 2007 Return-Path: X-Original-To: multimedia@freebsd.org Delivered-To: freebsd-multimedia@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C48F016A402 for ; Sun, 25 Mar 2007 19:48:39 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from redbull.bpaserver.net (redbullneu.bpaserver.net [213.198.78.217]) by mx1.freebsd.org (Postfix) with ESMTP id 7FC2413C46A for ; Sun, 25 Mar 2007 19:48:39 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (p54A5E49D.dip.t-dialin.net [84.165.228.157]) by redbull.bpaserver.net (Postfix) with ESMTP id 5FC1F2E1D8; Sun, 25 Mar 2007 21:48:34 +0200 (CEST) Received: from Magellan.Leidinger.net (Magellan.Leidinger.net [192.168.1.1]) by outgoing.leidinger.net (Postfix) with ESMTP id 81B5E5B4817; Sun, 25 Mar 2007 21:48:31 +0200 (CEST) Date: Sun, 25 Mar 2007 21:48:31 +0200 From: Alexander Leidinger To: Geoff Buckingham Message-ID: <20070325214831.75617a41@Magellan.Leidinger.net> In-Reply-To: <20070325112700.GC46175@chuggalug.clues.com> References: <20070323181558.GA46175@chuggalug.clues.com> <20070324145558.2e0f462b@Magellan.Leidinger.net> <20070324151536.GB46175@chuggalug.clues.com> <46054F59.1020300@netmusician.org> <20070325112700.GC46175@chuggalug.clues.com> X-Mailer: Claws Mail 2.8.1 (GTK+ 2.10.9; i686-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BPAnet-MailScanner-Information: Please contact the ISP for more information X-BPAnet-MailScanner: Found to be clean X-BPAnet-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-14.864, required 8, autolearn=not spam, BAYES_00 -15.00, DK_POLICY_SIGNSOME 0.00, FORGED_RCVD_HELO 0.14) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No Cc: multimedia@freebsd.org Subject: Re: Updated mythtv-fixes port X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Mar 2007 19:48:39 -0000 Quoting Geoff Buckingham (Sun, 25 Mar 2007 11:27:00 +0000): > The upstream configure script, common to both ports, fails to detect the > CPU correctly under freebsd. THe best it can do is get i386 from uname. > (Not sure what happens in x86_64. Anybody know?) Currently: amd64 > As a result it uses -march=i386 during the ports build process. With my patch > to configure you should get -march= and get -DMMX if your > cpu has mmx. On an Athlon 64 3200+ (i386 FreeBSD) i found this reduced CPU > utilisation during playback of a DVB-T mpeg2 from around 30% to around 10%. Does it get it from uname, or via the target arch of configure? If it is the later, I have a patch to let the ports change this to the CPU: http://www.Leidinger.net/FreeBSD/port-patches/Mk:bsd.port.mk.diff With my patch the amd64 case will change to x86_64. Bye, Alexander. -- A man of quality does not fear a woman seeking equality. http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137