From owner-freebsd-multimedia@FreeBSD.ORG Sat Mar 24 15:15:38 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 CD43416A404 for ; Sat, 24 Mar 2007 15:15:38 +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 8808913C46A for ; Sat, 24 Mar 2007 15:15:37 +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 l2OFFaFA067416; Sat, 24 Mar 2007 15:15:36 GMT (envelope-from geoffb@chuggalug.clues.com) Received: (from geoffb@localhost) by chuggalug.clues.com (8.13.8/8.12.10/Submit) id l2OFFa9U067415; Sat, 24 Mar 2007 15:15:36 GMT (envelope-from geoffb) Date: Sat, 24 Mar 2007 15:15:36 +0000 From: Geoff Buckingham To: Alexander Leidinger Message-ID: <20070324151536.GB46175@chuggalug.clues.com> References: <20070323181558.GA46175@chuggalug.clues.com> <20070324145558.2e0f462b@Magellan.Leidinger.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070324145558.2e0f462b@Magellan.Leidinger.net> User-Agent: Mutt/1.4.1i 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: Sat, 24 Mar 2007 15:15:38 -0000 On Sat, Mar 24, 2007 at 02:55:58PM +0100, Alexander Leidinger wrote: > > Why not add a configure option to allow to hardwire to a specific CPU? > > There's also "sysctl hw.model", but it may not work everywhere. The > configure-option is a much better fallback. > hw.model looks interesting, I had looked through sysctl for something to use but was looking for cpu or processor :-) The CPU detection only gets used if the mythtv configure isn't given the relevent arguments. It should be possible to get the port's makefile to add these if required. I was going to ry and get an vidia XVMC option working next. May switch to hw.model then although, ideally we shoul have a way to find "features" like MMX. (The Myth TV configure seems to both try to detect them, and in other cases assume fetures based on Model Name.)