Discussion:
Call for Testers: MythTV 0.23 for FreeBSD
(too old to reply)
Torfinn Ingolfsen
2010-04-07 22:28:17 UTC
Permalink
Hello,

On Wed, 31 Mar 2010 20:51:08 +0200
Hi multimedia,
The MythTV developers have shortened their release cycles and are already
preparing for their 0.23 release. So this is a good time to test all the
new things and give some feedback of how it works for you.
Ok, initial testing of the 'mythtv' port.
The first time I did 'portinstall -R mythtv' it failed because the
newly installed mysql-server couldn't be started (because it is missing
a mysql_enable="YES" in /etc/rc.conf). Not sure how this should be
handled.
Output from portinstall command:
cd config/ && gmake -f Makefile install
gmake[1]: Entering directory `/usr/ports/multimedia/mythtv/work/mythtv-0.23-rc1/config'
gmake[1]: `install' is up to date.
gmake[1]: Leaving directory `/usr/ports/multimedia/mythtv/work/mythtv-0.23-rc1/config'
Added group "mythtv".
Added user "mythtv".
*** Unable to start mysqld
*** Error code 1

Stop in /usr/ports/multimedia/mythtv.
*** Error code 1

Stop in /usr/ports/multimedia/mythtv.
*** Error code 1

Stop in /usr/ports/multimedia/mythtv.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portinstall20100407-13314-1tk5bv4-0 env make reinstall
** Fix the installation problem and try again.
** Listing the failed packages (-:ignored / *:skipped / !:failed)
! multimedia/mythtv (install error)
***@kg-fil#

I just started mysql-server manually, cd'ed to the port directory and did a 'make install' afterwards.

Ok, more testing to follow.
--
Regards,
Torfinn Ingolfsen
Torfinn Ingolfsen
2010-04-08 01:02:27 UTC
Permalink
Hi,

Ok, I have tried the myttv 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).

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.

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.

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?
--
Torfinn
Sylvio Cesar Teixeira
2010-04-08 01:37:17 UTC
Permalink
Post by Torfinn Ingolfsen
Hi,
Ok, I have tried the myttv 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).
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.
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.
After configuring everything, I tried "watch TV" in mythfrontend. It
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?
--
Torfinn
_______________________________________________
http://lists.freebsd.org/mailman/listinfo/freebsd-multimedia
"
Thanks for feedback Torfinn, I'm forward this message to the Bernhard
Froehlich, ***@FreeBSD.org, I'm sure that he help you.


--- ---
Sylvio Cesar Teixeira || FreeBSD Committer
www.scjamorim.org || http://people.freebsd.org/~sylvio
http://people.freebsd.org/~sylvio/sylvio-pub.key_______________________________________________
freebsd-***@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-multimedia
To unsubscribe, send any mail to "freebsd-multimedia-***@freebsd.org"
Bernhard Froehlich
2010-04-08 07:28:23 UTC
Permalink
On Thu, 08 Apr 2010 03:02:27 +0200, Torfinn Ingolfsen
Post by Torfinn Ingolfsen
Hi,
Ok, I have tried the myttv 0.23 port now. The port compiles and
installs fine.
Thank you very much for taking the time and your continuous help!
Post by Torfinn Ingolfsen
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).
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.
Did this also happen with 0.22?
Post by Torfinn Ingolfsen
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.
Sounds like it's finally time to update the p5-xmltv port. Didn't you
prepare a port update for it some time ago? If you have any work that can
be integrated I would like to do so.
Post by Torfinn Ingolfsen
After configuring everything, I tried "watch TV" in mythfrontend. It
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
[snip]
Post by Torfinn Ingolfsen
Hmm, didn't we see the same error "Not ivtv or pvrusb2 or hdpvr driver"
in
Post by Torfinn Ingolfsen
the initial days of the 0.22 port too?
Hm, yes that looks familiar it was because ivtv was explicitly disabled
for FreeBSD in the configure but i've checked it and the patch is there so
this needs a bit more investigation.

In the meantime i've updated the ports to MythTV 0.23 RC2 and sent all the
FreeBSD specific patches upstream. They have all been committed short after
RC2 so they will be in 0.23. The problems with proper VDPAU support have
also been addressed and with the next nvidia-driver update it should
compile and work fine.
--
Bernhard Froehlich
http://www.bluelife.at/
Torfinn Ingolfsen
2010-04-08 17:15:48 UTC
Permalink
Hi,

On Thu, 08 Apr 2010 09:28:23 +0200
Post by Bernhard Froehlich
On Thu, 08 Apr 2010 03:02:27 +0200, Torfinn Ingolfsen
Post by Torfinn Ingolfsen
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.
Did this also happen with 0.22?
I don't know if I ever tested that feature under 0.22. However, a quick
test just now on my 0.22 mythtv test box confirms it - yes, the
scanner in 0.22 behaves exactly the same.
However - looking at /var/log/messages after the test, I see this:
Apr 8 18:42:09 kg-quiet kernel: tuner: tv freq set to 48.25
Apr 8 18:42:09 kg-quiet kernel: tuner: tv 0x8e 0x01 0x05 0x73
Apr 8 18:42:10 kg-quiet kernel: before tuner_command!
Apr 8 18:42:10 kg-quiet kernel: tuner: tv freq set to 55.25
Apr 8 18:42:10 kg-quiet kernel: tuner: tv 0x05 0xe3 0x8e 0x01
Apr 8 18:42:10 kg-quiet kernel: before tuner_command!
Apr 8 18:42:10 kg-quiet kernel: tuner: tv freq set to 62.25
Apr 8 18:42:10 kg-quiet kernel: tuner: tv 0x06 0x53 0x8e 0x01
Apr 8 18:42:10 kg-quiet kernel: before tuner_command!
Apr 8 18:42:10 kg-quiet kernel: tuner: tv freq set to 69.25
Apr 8 18:42:10 kg-quiet kernel: tuner: tv 0x06 0xc3 0x8e 0x01
Apr 8 18:42:10 kg-quiet kernel: before tuner_command!
Apr 8 18:42:10 kg-quiet kernel: tuner: tv freq set to 76.25
Apr 8 18:42:10 kg-quiet kernel: tuner: tv 0x07 0x33 0x8e 0x01
Apr 8 18:42:10 kg-quiet kernel: before tuner_command!
Apr 8 18:42:10 kg-quiet kernel: tuner: tv freq set to 83.25
Apr 8 18:42:10 kg-quiet kernel: tuner: tv 0x07 0xa3 0x8e 0x01
Apr 8 18:42:10 kg-quiet kernel: before tuner_command!
Apr 8 18:42:10 kg-quiet kernel: tuner: tv freq set to 175.25
Apr 8 18:42:10 kg-quiet kernel: tuner: tv 0x0d 0x63 0x8e 0x02
Apr 8 18:42:11 kg-quiet kernel: before tuner_command!
Apr 8 18:42:11 kg-quiet kernel: tuner: tv freq set to 182.25
Apr 8 18:42:11 kg-quiet kernel: tuner: tv 0x0d 0xd3 0x8e 0x02
Apr 8 18:42:11 kg-quiet kernel: before tuner_command!

175.25 Mhz is channel "E5" which was included in the scan,
so perhaps the driver supports "classic" channels after all?
Post by Bernhard Froehlich
Sounds like it's finally time to update the p5-xmltv port. Didn't you
prepare a port update for it some time ago?
I did; over at the freebsd-ports list. I never submitted a PR for it
because I was unhappy about the fact that in later p5-xmltv version the
tv_grab_no scanner has been deprecated.
Post by Bernhard Froehlich
If you have any work that can
be integrated I would like to do so.
Perhaps I should un-deprecate the tv_grab_no grabber with a patch then.
Post by Bernhard Froehlich
In the meantime i've updated the ports to MythTV 0.23 RC2 and sent all the
FreeBSD specific patches upstream. They have all been committed short after
RC2 so they will be in 0.23. The problems with proper VDPAU support have
also been addressed and with the next nvidia-driver update it should
compile and work fine.
Cool!
BTW, thanks for all the hard work you put into getting the MythTV ports working in FreeBSD.
Much appreciated!
--
Regards,
Torfinn Ingolfsen
Loading...