From owner-freebsd-multimedia@FreeBSD.ORG Sun Mar 25 11:27:03 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 03FD616A400 for ; Sun, 25 Mar 2007 11:27:03 +0000 (UTC) (envelope-from geoffb@chuggalug.clues.com) Received: from chuggalug.clues.com (chuggalug2.demon.co.uk [83.104.169.191]) by mx1.freebsd.org (Postfix) with ESMTP id A9A5813C44C for ; Sun, 25 Mar 2007 11:27:02 +0000 (UTC) (envelope-from geoffb@chuggalug.clues.com) Received: from chuggalug.clues.com (localhost [127.0.0.1]) by chuggalug.clues.com (8.14.0/8.12.10) with ESMTP id l2PBR0sU087525; Sun, 25 Mar 2007 11:27:00 GMT (envelope-from geoffb@chuggalug.clues.com) Received: (from geoffb@localhost) by chuggalug.clues.com (8.13.8/8.12.10/Submit) id l2PBR0Cw087523; Sun, 25 Mar 2007 11:27:00 GMT (envelope-from geoffb) Date: Sun, 25 Mar 2007 11:27:00 +0000 From: Geoff Buckingham To: Joe Auty Message-ID: <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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <46054F59.1020300@netmusician.org> User-Agent: Mutt/1.4.1i Cc: Alexander Leidinger , 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 11:27:03 -0000 On Sat, Mar 24, 2007 at 12:18:33PM -0400, Joe Auty wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > > Would anybody care to clarify who stands to gain from this port, i.e. > what sorts of hardware is unoptimized and covered here? I'm a little bit > confused... > > The reason I adapted the port Greg maintains to use the fixes branch of MythtV-0.20 rather than the 0.20 release code was to get support for protocol version 31, rather than version 30 provided in the release. This allows me to use a FreeBSD MythTV front end with recent canned Linux builds which use the fixes branch. 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?) 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%. I havn't looked at the impact on transcoding ad flagging etc as I currently use a Linux backend. Anyone who wants protocol 30 but feels the need for optimised binaries may be able to copy patch-configureAA from this port to the files directory of Greg's port.