LinHES Forums
http://forum.linhes.org/

Can't watch LiveTV
http://forum.linhes.org/viewtopic.php?f=6&t=19014
Page 1 of 1

Author:  douw [ Wed Oct 01, 2008 5:00 am ]
Post subject:  Can't watch LiveTV

This follows on from the thread http://mysettopbox.tv/phpBB2/viewtopic.php?t=18654.

I started a new thread because the subject on that one doesn't realy describe my problem. The symtoms are almost identical though.

So here goes:
When I try to watch livetv, the channel_change script runs,
the screen goes blank,
after a while I'm thrown back to the menu.

I found the following in xsession-errors:
Code:
2008-09-30 22:17:25.877 TV: Attempting to change from None to WatchingLiveTV
2008-09-30 22:17:25.877 Using protocol version 40
2008-09-30 22:17:32.883 MythSocket(84bd7f0:35): readStringList: Error, timeout (quick).
2008-09-30 22:17:32.883 RemoteEncoder::SendReceiveStringList(): No response.
2008-09-30 22:17:32.884 GetEntryAt(-1) failed.
2008-09-30 22:17:32.886 EntryToProgram(0@Thu Jan 1 02:00:00 1970) failed to get pginfo
2008-09-30 22:17:32.886 TV Error: LiveTV not successfully started
2008-09-30 22:17:32.886 TV Error: LiveTV not successfully started
2008-09-30 22:17:32.984 TV: Deleting TV Chain in destructor
2008-09-30 22:17:33.010 DPMS Deactivated
2008-09-30 22:17:33.010 DPMS Reactivated.
2008-09-30 22:17:35.875 XMLParse::LoadTheme using /usr/share/mythtv/themes/blootube-wide/ui.xml
2008-09-30 22:17:37.597 TV: Attempting to change from None to WatchingPreRecorded


So, if you checked the thread referenced above, its almost the same.
I too have a channel_change script that runs rather long, so I did pilesofspam's workaround and will report back.
The short explination seems to be that the backend changes to WatchingLiveTV and something, somewhere times out because my channel_change script runs to long. I would appreciate anyone filling in some detail as to how that procces realy works.

Author:  douw [ Wed Oct 01, 2008 1:25 pm ]
Post subject:  Succes!

Works like a charm.

As a matter of fact, my channel_change script seems to work better than ever.
I had it repeat the the channel change command because the settopbox missed it continually. Now it seems to catch every instance just fine.

Thanks pilesofspam for the tip, now we just need somebody knowlegable to tell us why it happens. I would like to change the responsible timeout to accomodate my longer than usual script, just seems it little bit more elegant that way.

Author:  cliffsjunk [ Sat Oct 11, 2008 3:17 am ]
Post subject: 

I had a problem with my channel change script taking too long and thus it would not play live TV.

The problem was that the standard serial port driver was loading and conflicting with the lirc serial driver causing irsend to take too long.

I fixed this two ways. First I changed the line in /var/lib/setserial/autoserial.conf to:
Code:
/dev/ttyS0 uart none

Second I made my channel change script fork off a script to do the real work and return success immediately. I do several things in my channel change script, including sending extra commands to get it out of some of the menus that it might get stuck in.

Author:  rkhanso [ Mon Oct 20, 2008 7:39 am ]
Post subject: 

I'm having a similar problem, but only after the upgrade to the latest version of Knoppmyth. The upgrade went super smooth, except for not being able to watch live TV from Myth.

When I try to watch live TV, I go back to the menu page right after a quick display of a black screen. I always did get this short black screen when I was able to watch live TV in prior versions - guessing that the live tv buffer was getting filled up a bit during that short black screen.

After getting sent back to the Myth menu screen, I can go intoWatch Recordings" and see what I just tried to watch live. It is currently recording what I wanted to watch. From there I can watch it, but not live TV.

Here's what the error log of .xsession-errors says:

Code:
2008-10-20 08:23:30.631 TV: Attempting to change from None to WatchingLiveTV
2008-10-20 08:23:30.634 Using protocol version 40
2008-10-20 08:23:32.574 GetEntryAt(-1) failed.
2008-10-20 08:23:32.589 EntryToProgram(0@Wed Dec 31 18:00:00 1969) failed to get pginfo
2008-10-20 08:23:32.590 TV Error: LiveTV not successfully started
2008-10-20 08:23:32.591 TV Error: LiveTV not successfully started
2008-10-20 08:23:32.610 TV: Deleting TV Chain in destructor
root@mythtv:/home/mythtv#


This started happening after an upgrade to R5.5

I'm pretty Linux dumb and don't know what else to provide to help diagnose what's happening.

I did change the /var/lib/setserial/autoserial.conf to
Code:
/dev/ttys0 uart none
as cliffsjunk stated - but it didn't help. Same thing - so I changed it back to what it was.

Not sure what else to do.

Author:  rkhanso [ Mon Oct 20, 2008 8:49 pm ]
Post subject: 

Searching the web, I found a couple things to try.
First, I checked the group assigned to the /myth/tv directory and it looks OK.
Code:
root@mythtv:/myth/tv# ls -ld
drwxrwxr-x 2 mythtv mythtv 8192 Oct 20 21:40 .


Here's the ivtv stuff from my dmesg, if that helps:
Code:
Linux video capture interface: v2.00
ivtv:  Start initialization, version 1.2.0
ivtv0: Initializing card #0
ivtv0: Autodetected Hauppauge card (cx23415 based)
PCI: Found IRQ 11 for device 0000:00:10.0
PCI: Sharing IRQ 11 with 0000:00:14.2
ivtv0: YUV filter table not found in firmware.
tveeprom 1-0050: Hauppauge model 48132, rev K268, serial# 7875278
tveeprom 1-0050: tuner model is LG TAPE H001F MK3 (idx 68, type 47)
tveeprom 1-0050: TV standards NTSC(M) (eeprom 0x08)
tveeprom 1-0050: audio processor is MSP4448 (idx 27)
tveeprom 1-0050: decoder processor is SAA7115 (idx 19)
tveeprom 1-0050: has radio, has IR receiver, has no IR transmitter
ivtv0: Autodetected Hauppauge WinTV PVR-350
saa7115 1-0021: saa7115 found (1f7115d0e100000) @ 0x42 (ivtv i2c driver #0)
saa7127 1-0044: saa7129 found @ 0x88 (ivtv i2c driver #0)
msp3400 1-0040: MSP4448G-A2 found @ 0x80 (ivtv i2c driver #0)
msp3400 1-0040: MSP4448G-A2 supports radio, mode is autodetect and autoselect
tuner 1-0043: chip found @ 0x86 (ivtv i2c driver #0)
tda9887 1-0043: tda988[5/6/7] found @ 0x43 (tuner)
tuner 1-0061: chip found @ 0xc2 (ivtv i2c driver #0)
tuner-simple 1-0061: type set to 47 (LG NTSC (TAPE series))
ivtv0: Registered device video0 for encoder MPG (4096 kB)
ivtv0: Registered device video32 for encoder YUV (2048 kB)
ivtv0: Registered device vbi0 for encoder VBI (1024 kB)
ivtv0: Registered device video24 for encoder PCM (320 kB)
ivtv0: Registered device radio0 for encoder radio
ivtv0: Registered device video16 for decoder MPG (1024 kB)
ivtv0: Registered device vbi8 for decoder VBI (64 kB)
ivtv0: Registered device vbi16 for decoder VOUT
ivtv0: Registered device video48 for decoder YUV (1024 kB)
ivtv0: Initialized card #0: Hauppauge WinTV PVR-350
ivtv:  End initialization
pnp: Device 00:07 activated.
ivtv0: Loaded v4l-cx2341x-enc.fw firmware (376836 bytes)
ivtv0: Loaded v4l-cx2341x-dec.fw firmware (262144 bytes)
ivtv0: Encoder revision: 0x02060039
ivtv0: Decoder revision: 0x02020023
ivtv0: Loaded v4l-cx2341x-init.mpg firmware (155648 bytes)
ivtvfb0: Framebuffer at 0x49510000, mapped to 0xd1d90000, size 1665k
spurious 8259A interrupt: IRQ7.
ivtvfb0: Framebuffer registered on ivtv card id 0
lirc_dev: IR Remote Control driver registered, major 61
bttv: driver version 0.9.17 loaded
bttv: using 8 buffers with 2080k (520 pages) each for capture
bttv: Host bridge needs ETBF enabled.
cx88/0: cx2388x v4l2 driver version 0.0.6 loaded
lirc_i2c: chip 0x10020 found @ 0x18 (Hauppauge IR)
lirc_dev: lirc_register_plugin: sample_rate: 10
Adding 385552k swap on /dev/hda2.  Priority:-1 extents:1
hda: selected mode 0x42
bootsplash 3.1.6-2004/03/31: looking for picture...<6>...found (800x600, 21500 bytes, v3).
bootsplash: status on console 1 changed to on
bootsplash 3.1.6-2004/03/31: looking for picture...<6>...found (800x600, 21500 bytes, v3).
bootsplash: status on console 2 changed to on
bootsplash 3.1.6-2004/03/31: looking for picture...<6>...found (800x600, 21500 bytes, v3).
bootsplash: status on console 3 changed to on
bootsplash 3.1.6-2004/03/31: looking for picture...<6>...found (800x600, 21500 bytes, v3).
bootsplash: status on console 4 changed to on
bootsplash 3.1.6-2004/03/31: looking for picture...<6>...found (800x600, 21500 bytes, v3).
bootsplash: status on console 5 changed to on

Using a PVR-350 card.

Author:  rkhanso [ Mon Oct 20, 2008 9:01 pm ]
Post subject: 

fixed the problem by following this thread: http://www.gossamer-threads.com/lists/mythtv/users/348490

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/