Date: Sun, 25 Mar 2007 21:48:31 +0200 From: Alexander Leidinger <Alexander@Leidinger.net> To: Geoff Buckingham <geoffb@chuggalug.clues.com> Cc: multimedia@freebsd.org Subject: Re: Updated mythtv-fixes port 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>
next in thread | previous in thread | raw e-mail | index | archive | help
Quoting Geoff Buckingham <geoffb@chuggalug.clues.com> (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=<your cpu family> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070325214831.75617a41>