From owner-freebsd-multimedia@FreeBSD.ORG Tue Nov 22 15:45:06 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 12AB816A430 for ; Tue, 22 Nov 2005 15:45:06 +0000 (GMT) (envelope-from ath@niksun.com) Received: from anuket.mj.niksun.com (gwnew.niksun.com [65.115.46.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6532543D8D for ; Tue, 22 Nov 2005 15:44:11 +0000 (GMT) (envelope-from ath@niksun.com) Received: from stiegl.mj.niksun.com (stiegl.mj.niksun.com [10.70.0.231]) by anuket.mj.niksun.com (8.13.1/8.13.1) with ESMTP id jAMFsEr1087839; Tue, 22 Nov 2005 10:54:14 -0500 (EST) (envelope-from ath@stiegl.mj.niksun.com) Received: by stiegl.mj.niksun.com (Postfix, from userid 1002) id 7020A5845; Tue, 22 Nov 2005 10:44:02 -0500 (EST) To: Torfinn Ingolfsen References: <20051024135913.69403.qmail@web30313.mail.mud.yahoo.com> <435D2100.2090706@ninth-art.de> <200510242208.41038.molnarcs@gmail.com> <435D68E0.9070009@ninth-art.de> <20051025011451.GE3566@marvin.riggiland.au> <20051025095511.5bb4f9a2.torfinn.ingolfsen@broadpark.no> From: Andrew Heybey In-Reply-To: <20051025095511.5bb4f9a2.torfinn.ingolfsen@broadpark.no> (Torfinn Ingolfsen's message of "Tue, 25 Oct 2005 09:55:11 +0200") User-Agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Jumbo Shrimp, berkeley-unix) Date: Tue, 22 Nov 2005 10:44:02 -0500 Message-ID: <854q64n0vx.fsf_-_@stiegl.mj.niksun.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: ClamAV devel-20050919/1183/Tue Nov 22 04:19:57 2005 on anuket.mj.niksun.com X-Virus-Status: Clean Cc: freebsd-multimedia@freebsd.org Subject: Re: Mythtv on FreeBSD (was: digital TV cards) 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: Tue, 22 Nov 2005 15:45:06 -0000 Torfinn Ingolfsen writes: > On Tue, 25 Oct 2005 03:14:51 +0200 > Thomas Gutzler wrote: > >> I want to use it with freevo (or does mythtv work yet?) for watching > > Well, sort of. There is a port: http://mythtv.son.org/ > but further development seems to have stalled. The challenge is > getting more cards supported. > Personally, I would like to split a port of MythTV in > two parts: one for MythTV Frontend, and one for MythTV backend. A little late to be replying, but I am way behind on FreeBSD email. FWIW, I am running MythTV 0.18.1 (backend only) on FreeBSD 6.0 using a PVR250. It works quite well as a backend. I compiled and installed the sources more-or-less out of the box. Had to make a few changes to the configure script to get it to compile correctly. The changes were to allow an explicit "--enable-v4l" option (otherwise v4l is automaticaly turned off under FreeBSD) and to *not* require --enable-memalign-hack (which made it crash). The memalign stuff is required for MMX and/or SSE, but I know that FreeBSD's malloc returns 16-byte-aligned chunks of memory, so it is okay to omit it entirely. The diff is small so here it is: Index: configure =================================================================== --- configure (revision 7902) +++ configure (working copy) @@ -123,6 +123,7 @@ echo " --disable-audio-jack disable JACK audio support" #echo " --disable-audio-beos disable BeOS audio support [default=no]" #echo " --disable-v4l disable video4linux grabbing [default=no]" +#echo " --enable-v4l enable video4linux grabbing [default=yes]" #echo " --disable-dv1394 disable DV1394 grabbing [default=no]" #echo " --disable-network disable network support [default=no]" #echo " --disable-zlib disable zlib [default=no]" @@ -534,6 +535,8 @@ ;; --disable-v4l) v4l="no" ;; + --enable-v4l) v4l="yes" + ;; --disable-audio-oss) audio_oss="no" ;; --disable-audio-alsa) audio_alsa="no" @@ -1263,7 +1266,7 @@ if test "$_memalign" = "no" -a "$mmx" = "yes" -a "$memalignhack" != "yes"; then echo "error, no memalign() but sse enabled, either disable it or use --enable-memalign-hack" - exit 1 +# exit 1 fi cat > $TMPC << EOF I ran configure with the following options: ./configure --arch=pentium3 --disable-firewire --disable-lirc --disable-xrandr --enable-v4l --enable-proc-opt --enable-ivtv The hard part was getting the cxm driver to work. I had to merge in the changes from mythtv.son.org to make it understand the V4L ioctls and also find a patch in the FreeBSD PR database to make cxm work at all under 6.0. My frontend is still Linux. Mythfrontend does run on FreeBSD (at least well enough to change settings) but the box in question is a headless box so I don't care about trying to watch anything on it. andrew