From owner-freebsd-multimedia@FreeBSD.ORG Tue Jan 2 12:22:29 2007 Return-Path: X-Original-To: freebsd-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 68EC116A40F for ; Tue, 2 Jan 2007 12:22:29 +0000 (UTC) (envelope-from h.nieser@xs4all.nl) Received: from smtp-vbr16.xs4all.nl (smtp-vbr16.xs4all.nl [194.109.24.36]) by mx1.freebsd.org (Postfix) with ESMTP id F22CF13C461 for ; Tue, 2 Jan 2007 12:22:28 +0000 (UTC) (envelope-from h.nieser@xs4all.nl) Received: from [192.168.1.10] (aphax.nl [82.92.29.227]) by smtp-vbr16.xs4all.nl (8.13.8/8.13.8) with ESMTP id l02CMQMj077609 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 2 Jan 2007 13:22:27 +0100 (CET) (envelope-from h.nieser@xs4all.nl) Message-ID: <459A4E82.6090201@xs4all.nl> Date: Tue, 02 Jan 2007 13:22:26 +0100 From: Hans Nieser User-Agent: Thunderbird 1.5.0.9 (X11/20061221) MIME-Version: 1.0 To: freebsd-multimedia@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by XS4ALL Virus Scanner Subject: MythTV testing results 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, 02 Jan 2007 12:22:29 -0000 Hello, I've been toying with the multimedia/mythtv port (which incidentaly, doesn't show up when I do a 'make search name=mythtv' in /usr/ports) for a few days but I'm currently kind of stuck. First of all, when I run mtyhtv-setup, it does appear to detect the PVR-150 card I have in my machine (using usleepless' pvrxxx driver), or at least, it is able to read vendor/device information from it after I enter the device name (/dev/cxm0) so I'm guessing at least that part is working (it actually failed to read anything from it the first time, but that was possibly because I didn't run mythtv-setup as root the first time - if that actually matters). Anyway, mythtv and mythbackend appear to have some trouble talking to each other as mythtv seems to be unable to fully connect to the backend. I can see (looking at the console output) that they are making contact but some odd errors (in both mythtv's and mythbackend's output) appear after a short while and mythtv displays an error (on the X output) that goes along the lines of "Backend connection has gone away. Is it running?". Acknowledging the error message will cause mythtv to shutdown. When I start the backend (I'm running it manually using just 'mythbackend' and not using the RC script) and then mythtv, the following is printed: mythbackend: # DISPLAY=":0.0" mythbackend 2007-01-02 12:44:18.852 Using runtime prefix = /usr/local 2007-01-02 12:44:18.870 New DB connection, total: 1 2007-01-02 12:44:18.877 Connected to database 'mythconverg' at host: localhost 2007-01-02 12:44:18.881 Current Schema Version: 1158 Starting up as the master server. 2007-01-02 12:44:18.892 New DB connection, total: 2 2007-01-02 12:44:18.893 Connected to database 'mythconverg' at host: localhost 2007-01-02 12:44:18.897 EITHelper: localtime offset 1:00:00 2007-01-02 12:44:18.905 TVRec(2) Error: Problem finding starting channel, setting to default of '3'. 2007-01-02 12:44:18.906 ChannelBase(2) Error: InitializeInputs(): Could not get inputs for the capturecard. Perhaps you have forgotten to bind video sources to your card's inputs? ERROR: no valid capture cards are defined in the database. Perhaps you should read the installation instructions? 2007-01-02 12:44:18.913 Main::Starting HttpServer 2007-01-02 12:44:18.919 Main::Registering HttpStatus Extension 2007-01-02 12:44:18.928 mythbackend version: 0.20.20060828-3 www.mythtv.org 2007-01-02 12:44:18.928 Enabled verbose msgs: important general 2007-01-02 12:44:18.930 AutoExpire: Found 0 recorders w/max rate of 0 MiB/min 2007-01-02 12:44:18.931 AutoExpire: Required Free Space: 1.0 GB w/freq: 10 min Mutex unlock failure: Operation not permitted 2007-01-02 12:44:41.011 MainServer::HandleAnnounce Monitor 2007-01-02 12:44:41.011 adding: mishmash.lan as a client (events: 1) Mutex unlock failure: Operation not permitted Mutex unlock failure: Operation not permitted mythtv: # DISPLAY=":0.0" mythtv 2007-01-02 12:44:33.508 Using runtime prefix = /usr/local xscreensaver-command: not found 2007-01-02 12:44:33.524 DPMS is disabled. 2007-01-02 12:44:33.542 New DB connection, total: 1 2007-01-02 12:44:33.548 Connected to database 'mythconverg' at host: localhost 2007-01-02 12:44:33.550 Total desktop dim: 800x600, with 1 screen[s]. 2007-01-02 12:44:33.553 Using screen 0, 800x600 at 0,0 2007-01-02 12:44:33.600 max_width: 800 max_height: 600 2007-01-02 12:44:33.602 Total desktop dim: 800x600, with 1 screen[s]. 2007-01-02 12:44:33.604 Using screen 0, 800x600 at 0,0 2007-01-02 12:44:33.605 Switching to square mode (blue) 2007-01-02 12:44:33.666 Using the Qt painter 2007-01-02 12:44:33.963 New DB connection, total: 2 2007-01-02 12:44:33.964 Connected to database 'mythconverg' at host: localhost 2007-01-02 12:44:34.002 Connecting to backend server: 127.0.0.1:6543 (try 1 of 5) 2007-01-02 12:44:34.006 Using protocol version 30 2007-01-02 12:44:41.010 MythSocket(8726500:10): readStringList: Error, timeout (quick). 2007-01-02 12:44:41.012 MythSocket(8726500:-1): writeStringList: Error, called with unconnected socket. 2007-01-02 12:44:41.012 MythSocket(8726500:-1): readStringList: Error, called with unconnected socket. 2007-01-02 12:44:41.012 Connection to backend server lost 2007-01-02 12:44:41.012 Connecting to backend server: 127.0.0.1:6543 (try 1 of 5) 2007-01-02 12:44:41.014 Using protocol version 30 2007-01-02 12:44:48.017 MythSocket(8726500:12): readStringList: Error, timeout (quick). 2007-01-02 12:44:48.018 MythSocket(8726500:-1): writeStringList: Error, invalid string list. 2007-01-02 12:44:48.018 MythSocket(8726500:-1): readStringList: Error, called with unconnected socket. 2007-01-02 12:44:48.018 Reconnection to backend server failed Mutex unlock failure: Operation not permitted I'm running both as root at the moment just to rule out any permission issues. Another thing that I noticed is that mythbackend reports "ERROR: no valid capture cards are defined in the database." even though I believe I have succesfully set one up using mythtv-setup, and I can see it defined in the mythconverg MySQL database in the capturecard table. It does seem to succesfully connect to the MySQL database though. Also note that I'm running everything (MySQL, mythbackend, mythtv) on the same machine.