Date: Tue, 27 Apr 2010 20:01:09 +0200 From: Bernhard Froehlich <decke@FreeBSD.org> To: Torfinn Ingolfsen <torfinn.ingolfsen@broadpark.no> Cc: freebsd-multimedia@FreeBSD.org Subject: Re: Call for Testers: MythTV 0.23 for FreeBSD Message-ID: <b54041427e914acfd5d2b1594fa46de2@bluelife.at> In-Reply-To: <20100408030227.ea2637b7.torfinn.ingolfsen@broadpark.no> References: <1e534313b60b351c2e3c9e07023391d9@bluelife.at> <20100408030227.ea2637b7.torfinn.ingolfsen@broadpark.no>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 08 Apr 2010 03:02:27 +0200, Torfinn Ingolfsen <torfinn.ingolfsen@broadpark.no> wrote: > Hi, > > Ok, I have tried the mythtv 0.23 port now. The port compiles and > installs fine. > The programs mythtv-setup, mythfilldatabase and mythfrontend works > ("works" in this specific paragraph means that the program can be > started, and that navigating the menus works). It took me a few weeks to have a closer look at the problems but I do have made progress so here I am again with some news. > General comments: > mythtv-setup: the channel scanner doesn't work with my PVR-500 card; it > tries to use "traditional" channel numbers (E5, E2, etc) for tuning, > but the driver (pvrxxx by usleep) only accepts frequencies. I've had a look at this and the driver definitely supports setting frequencies because I've found the following code in the setchannel binary of the pvrxxx driver. ioctl( tfd, TVTUNER_SETFREQ, &freq ) I currently don't know how mythtv detects the prvxxx driver but probably it is not doing it correctly and this is why it does not use the frequencies. > mythfilldatabase: works, but needs a newer version of p5-xmltv than the > one in ports for the grabber I am using (tv_grab_no_gfeed) to work. > > So you will have to set up everything manually, this time > too. p5-xmltv was already updated from sylvio@ to 0.5.53 and i've also talked to him about updating it to the latest version 0.5.57 so this will also happen in the future. Does 0.5.53 already work for you? > After configuring everything, I tried "watch TV" in mythfrontend. It > didn't work. Here are the relevant parts of /var/log/mythbackend.log: > 2010-04-08 02:45:34.621 MainServer::ANN Playback > 2010-04-08 02:45:34.621 adding: kg-fil.kg4.no as a client (events: 0) > 2010-04-08 02:45:34.623 TVRec(3): Changing from None to WatchingLiveTV > 2010-04-08 02:45:34.629 TVRec(3): HW Tuner: 3->3 > 2010-04-08 02:45:35.285 ProgramInfo(): Updated pathname '':'' -> > '1000_20100408024535.mpg' > 2010-04-08 02:45:35.293 > > Not ivtv or pvrusb2 or hdpvr driver > > > 2010-04-08 02:45:35.293 MPEGRec(/dev/cxm0) Warning: Unable to set audio > mode > eno: Inappropriate ioctl for device (25) > 2010-04-08 02:45:35.294 mpegrecorder.cpp:set_ctrls(): Could not set Audio > Sampling Frequency to 2 > eno: Inappropriate ioctl for device (25) > 2010-04-08 02:45:35.305 mpegrecorder.cpp:set_ctrls(): Could not set Video > Aspect ratio to 1 > eno: Inappropriate ioctl for device (25) > 2010-04-08 02:45:35.306 mpegrecorder.cpp:set_ctrls(): Could not set Audio > Encoding to 1 > eno: Inappropriate ioctl for device (25) > 2010-04-08 02:45:35.306 mpegrecorder.cpp:set_ctrls(): Could not set Audio > L2 Bitrate to 13 > eno: Inappropriate ioctl for device (25) > 2010-04-08 02:45:35.307 mpegrecorder.cpp:set_ctrls(): Could not set MPEG > Stream type to 0 > eno: Inappropriate ioctl for device (25) > 2010-04-08 02:45:35.308 mpegrecorder.cpp:set_ctrls(): Could not set Video > Average Bitrate to 4500000 > eno: Inappropriate ioctl for device (25) > 2010-04-08 02:45:35.308 mpegrecorder.cpp:set_ctrls(): Could not set Video > Peak Bitrate to 6000000 > eno: Inappropriate ioctl for device (25) > 2010-04-08 02:45:35.309 MPEGRec(/dev/cxm0) Warning: Can't enable VBI > recording (5) > eno: Inappropriate ioctl for device (25) > 2010-04-08 02:45:35.312 AutoExpire: CalcParams(): Max required Free Space: > 2.0 GB w/freq: 15 min > 2010-04-08 02:45:35.436 ProgramInfo(): Updated pathname '':'' -> > '1000_20100408024535.mpg' > 2010-04-08 02:45:35.439 ProgramInfo(): Updated pathname '':'' -> > '1000_20100408024535.mpg' > 2010-04-08 02:45:37.948 DevRdB(/dev/cxm0) Error: Poll giving up > > Hmm, didn't we see the same error "Not ivtv or pvrusb2 or hdpvr driver" in > the initial days of the 0.22 port too? I'm not sure yet what is going wrong there because the mythtv code in that files did not change significantly since 0.22. From the output is looks like mythtv misdetected the driver and does nonsense. I've added a patch to the mythtv port to output a few more debugging infos about the driver right after the "Not ivtv or pvrusb2 or hdpvr driver" message. So please recompile mythtv and send me the output again so that I can hopefully get a clue what is going wrong with pvrxxx. VDPAU support should already work fine since the last nvidia-driver update and I have also patched mythtv to compile with enabled v4l support now. Why? Because finally I decided to buy a Pinnacle PCTV 452e (USB) device that supports DVB-S2 and play around with webcamd to get it working in mythtv. I'll let you all know as soon as I have success. That's it for now! Happy testing. http://home.bluelife.at/ports/mythtv-cft-20100427.tar.gz -- Bernhard Froehlich http://www.bluelife.at/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b54041427e914acfd5d2b1594fa46de2>