Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Nov 2009 22:50:45 +0100
From:      usleepless@gmail.com
To:        Torfinn Ingolfsen <torfinn.ingolfsen@broadpark.no>
Cc:        freebsd-multimedia@freebsd.org
Subject:   Re: Call for Testers: MythTV 0.22
Message-ID:  <c39ec84c0911161350y13410c5bhda59b7e9ee97b876@mail.gmail.com>
In-Reply-To: <20091116220811.344c0429.torfinn.ingolfsen@broadpark.no>
References:  <20091115204205.482e6a15@bluelife.at> <20091116220811.344c0429.torfinn.ingolfsen@broadpark.no>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Nov 16, 2009 at 10:08 PM, Torfinn Ingolfsen <
torfinn.ingolfsen@broadpark.no> wrote:

> Initial testing report:
>
> On Sun, 15 Nov 2009 20:42:05 +0100
> Bernhard Froehlich <decke@bluelife.at> wrote:
>
> > MythTV 0.22 is ready for testing!
>
> Ok, my test machine has a Hauppauge PVR-350 card (connected tgo analog
> cable), is using the pvrxxx driver:
> root@kg-quiet# portversion -v | grep pvr
> pvrxxx-09042008             <  needs updating (port has 20060822_1)
>
> and runs FreeBSD 7.2-stable / amd64:
> root@kg-quiet# uname -a
> FreeBSD kg-quiet.kg4.no 7.2-STABLE FreeBSD 7.2-STABLE #6: Sat May 30
> 16:13:13 CEST 2009     root@kg-quiet.kg4.no:/usr/obj/usr/src/sys/QUIET
>  amd64
>
> 1) the port compiles and installs without problems (qt4 takes a loong tine
> to compile on this machine,
>     but that is no fault).
> 2) mythtv-setup works
> - minor issue with gui: the clock in the lower right hand corner has the
> minutes off screen; it is too far right
> 3) mythfilldatabase core dumps if mythbackend is not running, but works ok
> if mythbackend is running
> 3) mythfrontend
> - minor issue with gui: the clock in the lower right hand corner has the
> minutes off screen; it is too far right
> - almost everything works, except for actual TV viewing (LiveTV)
> (ok, I haven't tried scheduled recording yet - don't know if they work, I
> suspect they don't)
> When I select "Watch TV" It tries for a while, then the backend crashes.
> The mythbackend log says this:
> 2009-11-16 21:53:03.290 MainServer::ANN Playback
> 2009-11-16 21:53:03.291 adding: kg-quiet.kg4.no as a client (events: 0)
> 2009-11-16 21:53:03.295 TVRec(2): Changing from None to Watching
> WatchingLiveTV
> 2009-11-16 21:53:03.307 TVRec(2): HW Tuner: 2->2
> 2009-11-16 21:53:03.565
>
> Not ivtv or pvrusb2 or hdpvr driver
>
>
> 2009-11-16 21:53:03.567 MPEGRec(/dev/cxm0) Warning: Unable to set audio
> mode
>                        eno: Inappropriate ioctl for device (25)
> 2009-11-16 21:53:03.569 mpegrecorder.cpp:set_ctrls(): Could not set Audio
> Sampling Frequency to 2
>                        eno: Inappropriate ioctl for device (25)
> 2009-11-16 21:53:03.571 mpegrecorder.cpp:set_ctrls(): Could not set Video
> Aspect ratio to 1
>                        eno: Inappropriate ioctl for device (25)
> 2009-11-16 21:53:03.572 mpegrecorder.cpp:set_ctrls(): Could not set Audio
> Encoding to 1
>                        eno: Inappropriate ioctl for device (25)
> 2009-11-16 21:53:03.574 mpegrecorder.cpp:set_ctrls(): Could not set Audio
> L2 Bitrate to 13
>                        eno: Inappropriate ioctl for device (25)
> 2009-11-16 21:53:03.576 mpegrecorder.cpp:set_ctrls(): Could not set MPEG
> Stream type to 0
>                        eno: Inappropriate ioctl for device (25)
> 2009-11-16 21:53:03.578 mpegrecorder.cpp:set_ctrls(): Could not set Video
> Average Bitrate to 4500000
>                        eno: Inappropriate ioctl for device (25)
> 2009-11-16 21:53:03.579 mpegrecorder.cpp:set_ctrls(): Could not set Video
> Peak Bitrate to 6000000
>                        eno: Inappropriate ioctl for device (25)
> 2009-11-16 21:53:03.581 MPEGRec(/dev/cxm0) Warning: Can't enable VBI
> recording (5)
>                        eno: Inappropriate ioctl for device (25)
> 2009-11-16 21:53:03.574 AutoExpire: CalcParams(): Max required Free Space:
> 2.0 GB w/freq: 15 min
> 2009-11-16 21:53:06.316 DevRdB(/dev/cxm0) Error: Poll giving up
> 2009-11-16 21:53:06.321 MPEGRec(/dev/cxm0) Error: Device error detected
> 2009-11-16 21:53:06.323 DevRdB(/dev/cxm0): Stop(): Not running.
> 2009-11-16 21:53:08.928 DevRdB(/dev/cxm0) Error: Poll giving up
> 2009-11-16 21:53:08.934 MPEGRec(/dev/cxm0) Error: Device error detected
> 2009-11-16 21:53:08.936 DevRdB(/dev/cxm0): Stop(): Not running.
> 2009-11-16 21:53:11.629 DevRdB(/dev/cxm0) Error: Poll giving up
> 2009-11-16 21:53:11.636 MPEGRec(/dev/cxm0) Error: Device error detected
> 2009-11-16 21:53:11.638 DevRdB(/dev/cxm0): Stop(): Not running.
> 2009-11-16 21:53:14.341 DevRdB(/dev/cxm0) Error: Poll giving up
> 2009-11-16 21:53:14.348 MPEGRec(/dev/cxm0) Error: Device error detected
> 2009-11-16 21:53:14.351 DevRdB(/dev/cxm0): Stop(): Not running.
> 2009-11-16 21:53:17.058 DevRdB(/dev/cxm0) Error: Poll giving up
> 2009-11-16 21:53:17.063 MPEGRec(/dev/cxm0) Error: Device error detected
> 2009-11-16 21:53:17.065 DevRdB(/dev/cxm0): Stop(): Not running.
> 2009-11-16 21:53:19.665 DevRdB(/dev/cxm0) Error: Poll giving up
> 2009-11-16 21:53:19.671 MPEGRec(/dev/cxm0) Error: Device error detected
> 2009-11-16 21:53:19.673 DevRdB(/dev/cxm0): Stop(): Not running.
> 2009-11-16 21:53:22.274 DevRdB(/dev/cxm0) Error: Poll giving up
> 2009-11-16 21:53:22.280 MPEGRec(/dev/cxm0) Error: Device error detected
> 2009-11-16 21:53:22.283 DevRdB(/dev/cxm0): Stop(): Not running.
> 2009-11-16 21:53:24.885 DevRdB(/dev/cxm0) Error: Poll giving up
> 2009-11-16 21:53:24.891 MPEGRec(/dev/cxm0) Error: Device error detected
> 2009-11-16 21:53:24.893 DevRdB(/dev/cxm0): Stop(): Not running.
> 2009-11-16 21:53:26.646 TVRec(2): Changing from Watching WatchingLiveTV to
> None
> 2009-11-16 21:53:26.649 Unknown type, recording width was 0
> 2009-11-16 21:53:27.597 DevRdB(/dev/cxm0) Error: Poll giving up
> 2009-11-16 21:53:27.602 MPEGRec(/dev/cxm0) Error: Device error detected
> 2009-11-16 21:53:27.604 DevRdB(/dev/cxm0): Stop(): Not running.
> 2009-11-16 21:53:27.615 Finished recording Livet i Fagervik: channel 1
>

I think this can and should be fixed in the pvrxxx-driver. I know what's
wrong, and i will work with Torfinn to get an updated pvrxxx driver.

For those interested what is actually wrong: MythTV opens the device, and
starts polling it. The current code does not start the encoding when
polling, only on read. It should also start encoding when polled before the
1st read.

regards,

usleep


> 4) I have made an alternative /usr/local/etc/rc.d/mythbackend (attached).
>     It would be nice if the mythtv port could use that. My script allows
> you to use
>     a log file for the backend.
>
> HTH
> --
> Regards,
> Torfinn Ingolfsen
>
>
> _______________________________________________
> freebsd-multimedia@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-multimedia
> To unsubscribe, send any mail to "
> freebsd-multimedia-unsubscribe@freebsd.org"
>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?c39ec84c0911161350y13410c5bhda59b7e9ee97b876>