[mythtv-users] /dev/video0 works UNTIL myth records, video1 works all the time
Justin Walther
justin at walthernet.com
Tue Jan 2 19:46:24 UTC 2007
More data:
Neither tuner works if I just let it start the next recordings
scheduled. At 2:10pm, i setup 2 recordings to start at 2:30pm and set
recording profile to high then went away for a while. I came back to
recorded static on both tuners.
Here is the pertinent portion of mythbackend.log:
2007-01-02 14:30:02.587 TVRec(3): Changing from None to RecordingOnly
2007-01-02 14:30:02.587 TVRec(3): HW Tuner: 3->3
2007-01-02 14:30:02.749 Started recording: The Colbert Report: channel
1036 on cardid 3, sourceid 1
2007-01-02 14:30:02.780 MPEGRec(/dev/video1) Error: Error getting
codec params using old IVTV ioctl
eno: Bad address (14)
2007-01-02 14:30:02.804 TVRec(2): Changing from None to RecordingOnly
2007-01-02 14:30:02.804 TVRec(2): HW Tuner: 2->2
2007-01-02 14:30:02.971 Started recording: SpongeBob SquarePants
"Squidtastic Voyage; Bummer Vacation": channel 1043 on cardid 2,
sourceid 1
2007-01-02 14:30:03.000 MPEGRec(/dev/video0) Error: Error getting
codec params using old IVTV ioctl
eno: Bad address (14)
2007-01-02 14:37:33.562 MainServer::HandleAnnounce Monitor
2007-01-02 14:37:33.562 adding: home as a client (events: 0)
2007-01-02 14:37:36.351 MainServer::HandleAnnounce Monitor
2007-01-02 14:37:36.351 adding: home as a client (events: 0)
0: start_time: 0.036 duration: 37.676
1: start_time: 0.026 duration: 37.647
stream: start_time: 0.292 duration: 418.727 bitrate=5151 kb/s
2007-01-02 14:37:36.643 AFD: Opened codec 0xb72fa0, id(MPEG2VIDEO) type(Video)
2007-01-02 14:37:36.643 AFD: Opened codec 0xb73370, id(MP2) type(Audio)
2007-01-02 14:37:36.750 MainServer::HandleAnnounce FileTransfer
2007-01-02 14:37:36.750 adding: home as a remote file transfer
0: start_time: 0.036 duration: 37.637
1: start_time: 0.026 duration: 37.616
stream: start_time: 0.291 duration: 418.293 bitrate=5166 kb/s
2007-01-02 14:37:36.794 AFD: Opened codec 0x2aaab81a7050,
id(MPEG2VIDEO) type(Video)
2007-01-02 14:37:36.794 AFD: Opened codec 0x2aaab80ffbf0, id(MP2) type(Audio
Here are some processes started when i reloaded ivtv that I don't
recall ever seeing before but they may be nothing:
root 4718 11 0 14:06 ? 00:00:00 [ivtv_vbi/0]
root 4719 11 0 14:06 ? 00:00:00 [ivtv_vbi/1]
root 4738 11 0 14:06 ? 00:00:00 [msp34xx]
root 4759 1 0 14:06 ? 00:00:08 [ivtv-enc]
root 4760 1 0 14:06 ? 00:00:00 [ivtv-enc-vbi]
root 4768 11 0 14:06 ? 00:00:00 [ivtv_vbi/0]
root 4769 11 0 14:06 ? 00:00:00 [ivtv_vbi/1]
root 4787 11 0 14:06 ? 00:00:01 [msp34xx]
root 4804 1 0 14:06 ? 00:00:08 [ivtv-enc]
root 4805 1 0 14:06 ? 00:00:00 [ivtv-enc-vbi]
On 1/2/07, Justin Walther <justin at walthernet.com> wrote:
> OK...lets add to this strange issue:
>
> It turns out that if I add a 1-time recording and set it to High
> Quality recording profile, (the way I test recording in myth), I can
> successfully record on both tuners. If I let a previously scheduled
> recording start, even if its set to high quality profile, it causes
> Video0 to record static and I have to reload ivtv to fix it. It makes
> no sense to me. I've gone in and changed every recording profile to
> be 720x480 just in case its mistakenly using another profile and it
> doesn't matter.
>
> Again, no errors in dmesg or /var/log/messages. No obvious errors in
> mythbackend.log...just similar stuff to what I pasted in previous
> messages.
>
> What does myth do when initiating a recording that could be throwing
> ivtv for a loop?
>
> On 1/2/07, Rudy Zijlstra <mythtv at edsons.demon.nl> wrote:
> > Justin Walther wrote:
> >
> > >Rudy,
> > >by full framerate, do you mean recording 720x480 instead of the
> > >default 480x480 that mythtv defaults to?
> > >
> > Yup, thats the intention. Full frame size, no scaling.
> >
> > >I just tried changing my
> > >recording profiles to 720x480 and I think that just fixed it. I'm
> > >still testing some more but I'm now recording on both devices.
> > >
> > >
> > >
> > OK, so same problem i ran into.
> >
> > >For what its worth, the ivtv dmesg output was just grep ivtv, not the
> > >full output. Here it is for card 1:
> > >
> > >
> > >
> > yes, please always with ivtv post the full output, not just the ivtv
> > labeled output.
> >
> > Rudy
> >
> > >ivtv1: Autodetected Hauppauge card (cx23416 based)
> > >PCI: Enabling device 0000:06:01.0 (0010 -> 0012)
> > >ACPI: PCI Interrupt 0000:06:01.0[A] -> GSI 22 (level, low) -> IRQ 90
> > >ivtv1: loaded v4l-cx2341x-enc.fw firmware (262144 bytes)
> > >tuner 2-0061: chip found @ 0xc2 (ivtv i2c driver #1)
> > >saa7115 2-0021: saa7115 found @ 0x42 (ivtv i2c driver #1)
> > >msp3400 2-0040: MSP3445G-B8 found @ 0x80 (ivtv i2c driver #1)
> > >msp3400 2-0040: MSP3445G-B8 supports radio, mode is autodetect and autoselect
> > >tveeprom 2-0050: Hauppauge model 32062, rev B185, serial# 7363128
> > >tveeprom 2-0050: tuner model is TCL 2002N 6A (idx 85, type 50)
> > >tveeprom 2-0050: TV standards NTSC(M) (eeprom 0x08)
> > >tveeprom 2-0050: audio processor is MSP3445 (idx 12)
> > >tveeprom 2-0050: decoder processor is SAA7115 (idx 19)
> > >tveeprom 2-0050: has no radio, has IR remote
> > >ivtv1: Autodetected Hauppauge WinTV PVR-250
> > >ivtv1: Encoder revision: 0x02050032
> > >ivtv1: Registered device video1 for encoder MPEG
> > >ivtv1: Registered device video33 for encoder YUV
> > >ivtv1: Registered device vbi1 for encoder VBI
> > >ivtv1: Registered device video25 for encoder PCM audio
> > >tuner 2-0061: type set to 50 (TCL 2002N)
> > >ivtv1: Initialized Hauppauge WinTV PVR-250, card #1
> > >ivtv: ==================== END INIT IVTV ====================
> > >
> > >On 1/2/07, Rudy Zijlstra <mythtv at edsons.demon.nl> wrote:
> > >
> > >
> > >>Justin Walther wrote:
> > >>
> > >>
> > >>
> > >>>I do have these lines in modprobe.conf:
> > >>># ivtv modules setup
> > >>>alias char-major-81 videodev
> > >>>alias char-major-81-0 ivtv
> > >>>alias char-major-81-1 ivtv
> > >>>
> > >>>
> > >>>
> > >>>
> > >>These aliases are OK
> > >>
> > >>
> > >>
> > >>>Do I not need these?!
> > >>>
> > >>>About checking that I'm recording at full frame size...I'm a little
> > >>>lost there. I'm basically not touching any recording profile settings
> > >>>in myth before attempting to record programs when the card fails. I
> > >>>thought the defaults would work fine. Another thing to remember is
> > >>>that my other card works just fine with whatever settings I have
> > >>>setup, including whats in modprobe.conf.
> > >>>
> > >>>
> > >>>
> > >>>
> > >>that what i was thinking, and i had unwatchable video. This on a fresh
> > >>myth install. Swapped the card (PVR500) with a known working card, and
> > >>the problem remained in the new install. Checked the settings, changed
> > >>to full frame capture and my problems were gone.
> > >>I had problems on both tuners of the 500 though. Still, worth trying...
> > >>
> > >>
> > >>
> > >>>I mentioned it at the bottom of my original e-mail about how when I
> > >>>set these cards up a few years go, I had to use different options in
> > >>>modprobe.conf for the cards despite them being identical. I can't
> > >>>help but wonder if that is somehow related to my current problem.
> > >>>
> > >>>
> > >>>
> > >>>
> > >>Perhaps. Looking at your dmesg, i am also missing the eeprom output
> > >>lines. Are you certain you have all lines between START INIT IVTV and
> > >>END INIT IVTV?
> > >>
> > >>
> > >>
> > >>>
> > >>>
> > >>>>>
> > >>>>>
> > >>>>Although i see tuner detected messages, i am not seeing any tuner being
> > >>>>set. Also, are you sure you have no ivtv related lines in modconf? There
> > >>>>should be none.
> > >>>>
> > >>>>Furthermore, check that you capture at full frame size, and are not
> > >>>>scaling. A known bug in the current driver range (valid on both 0.8 and
> > >>>>0.9 is that scaling does not work. Or at least vbi and scaling combined
> > >>>>result in problems. For safety i would try to set to full NTSC size and
> > >>>>retry.
> > >>>>
> > >>>>Rudy
> > >>>>
> > >>>>
> > >>>>
> > >>>>
> >
> > _______________________________________________
> > mythtv-users mailing list
> > mythtv-users at mythtv.org
> > http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
> >
>
More information about the mythtv-users
mailing list