[mythtv-users] .25 Frontend not displaying live TV twice.

Gerald Brandt gbr at majentis.com
Tue May 1 19:25:15 UTC 2012



----- Original Message -----
> From: "Gerald Brandt" <gbr at majentis.com>
> To: "Discussion about MythTV" <mythtv-users at mythtv.org>
> Sent: Tuesday, May 1, 2012 2:01:50 PM
> Subject: Re: [mythtv-users] .25 Frontend not displaying live TV twice.
> 
> Just tested, and it also happens when the current show switches to a
> new show.  WAF is plummeting!
> 
> ----- Original Message -----
> > From: "Gerald Brandt" <gbr at majentis.com>
> > To: "mythtv-users" <mythtv-users at mythtv.org>
> > Sent: Tuesday, May 1, 2012 1:52:05 PM
> > Subject: [mythtv-users] .25 Frontend not displaying live TV twice.
> > 
> > Hi,
> > 
> > I just upgraded from .24 to .25 (mythbuntu 12.04), and now Live TV
> > won't start twice.
> > 
> > I reboot the backend, and Live TV starts just fine.  I can change
> > channels, no issues.
> > 
> > If I exit Live TV, I can't go back in.  Video playback starts,
> > stutters, then stops, and the frontend exits.
> > 
> > This is in the frontend log: (alot)
> > 
> > May  1 13:40:55 thinkpad mythfrontend[26009]: N CoreContext
> > mythplayer.cpp:2079 (PrebufferEnoughFrames) Player(0): Waited
> > 7783ms
> > for video buffers UUULUUUAULAAAAAAAAAAAAAUAAULLUuP
> > May  1 13:40:55 thinkpad mythfrontend[26009]: W Decoder
> > ringbuffer.cpp:1022 (WaitForReadsAllowed)
> > RingBuf(myth://192.168.101.7:6543/1240_20120501134042.mpg): Taking
> > too long to be allowed to read..
> > May  1 13:40:55  mythfrontend[26009]: last message repeated 6 times
> > May  1 13:40:55 thinkpad mythfrontend[26009]: N CoreContext
> > mythplayer.cpp:2079 (PrebufferEnoughFrames) Player(0): Waited
> > 7888ms
> > for video buffers UUULUUUAULAAAAAAAAAAAAAUAAULLUuP
> > May  1 13:40:55 thinkpad mythfrontend[26009]: W Decoder
> > ringbuffer.cpp:1022 (WaitForReadsAllowed)
> > RingBuf(myth://192.168.101.7:6543/1240_20120501134042.mpg): Taking
> > too long to be allowed to read..
> > May  1 13:40:55  mythfrontend[26009]: last message repeated 6 times
> > May  1 13:40:55 thinkpad mythfrontend[26009]: N CoreContext
> > mythplayer.cpp:2079 (PrebufferEnoughFrames) Player(0): Waited
> > 7993ms
> > for video buffers UUULUUUAULAAAAAAAAAAAAAUAAULLUuP
> > May  1 13:40:55 thinkpad mythfrontend[26009]: W Decoder
> > ringbuffer.cpp:1022 (WaitForReadsAllowed)
> > RingBuf(myth://192.168.101.7:6543/1240_20120501134042.mpg): Taking
> > too long to be allowed to read..
> > May  1 13:40:55  mythfrontend[26009]: last message repeated 5 times
> > May  1 13:40:55 thinkpad mythfrontend[26009]: N CoreContext
> > mythplayer.cpp:2079 (PrebufferEnoughFrames) Player(0): Waited
> > 8097ms
> > for video buffers UUULUUUAULAAAAAAAAAAAAAUAAULLUuP
> > May  1 13:40:55 thinkpad mythfrontend[26009]: W Decoder
> > ringbuffer.cpp:1022 (WaitForReadsAllowed)
> > RingBuf(myth://192.168.101.7:6543/1240_20120501134042.mpg): Taking
> > too long to be allowed to read..
> > 
> > 
> > And this is in the backend log:
> > 
> > May  1 13:40:42 mythserver mythbackend[3167]: N CoreContext
> > autoexpire.cpp:263 (CalcParams) AutoExpire: CalcParams(): Max
> > required Free Space: 22.0 GB w/freq: 15 min
> > May  1 13:40:42 mythserver mythbackend[3167]: I ProcessRequest
> > mainserver.cpp:1360 (HandleAnnounce) MainServer::ANN Playback
> > May  1 13:40:42 mythserver mythbackend[3167]: I ProcessRequest
> > mainserver.cpp:1362 (HandleAnnounce) adding: thinkpad as a client
> > (events: 0)
> > May  1 13:40:42 mythserver mythbackend[3167]: I ProcessRequest
> > mainserver.cpp:1475 (HandleAnnounce) MainServer::HandleAnnounce
> > FileTransfer
> > May  1 13:40:42 mythserver mythbackend[3167]: I ProcessRequest
> > mainserver.cpp:1477 (HandleAnnounce) adding: thinkpad as a remote
> > file transfer
> > May  1 13:40:44 mythserver mythbackend[3167]: I ProcessRequest
> > recorderbase.cpp:386 (GetKeyframePositions) RecBase(3:/dev/hdpvr1):
> > GetKeyframePositions(1,9223372036854775807,#0) out of 1
> > May  1 13:40:44 mythserver mythbackend[3167]: I ProcessRequest
> > recorderbase.cpp:386 (GetKeyframePositions) RecBase(3:/dev/hdpvr1):
> > GetKeyframePositions(1,9223372036854775807,#0) out of 1
> > May  1 13:40:45 mythserver mythbackend[3167]: I ProcessRequest
> > ringbuffer.cpp:1086 (WaitForAvail)
> > RingBuf(/mythtvdata1/mythtv/tv/1240_20120501134042.mpg): Waited 0.2
> > seconds for data #012#011#011#011to become available... 108052 <
> > 131072
> > May  1 13:40:46 mythserver mythbackend[3167]: I ProcessRequest
> > ringbuffer.cpp:1086 (WaitForAvail)
> > RingBuf(/mythtvdata1/mythtv/tv/1240_20120501134042.mpg): Waited 0.5
> > seconds for data #012#011#011#011to become available... 108052 <
> > 131072
> > May  1 13:40:46 mythserver mythbackend[3167]: I ProcessRequest
> > ringbuffer.cpp:1086 (WaitForAvail)
> > RingBuf(/mythtvdata1/mythtv/tv/1240_20120501134042.mpg): Waited 1.0
> > seconds for data #012#011#011#011to become available... 108052 <
> > 131072
> > May  1 13:40:47 mythserver mythbackend[3167]: I ProcessRequest
> > ringbuffer.cpp:1086 (WaitForAvail)
> > RingBuf(/mythtvdata1/mythtv/tv/1240_20120501134042.mpg): Waited 2.0
> > seconds for data #012#011#011#011to become available... 108052 <
> > 131072
> > May  1 13:40:48 mythserver mythbackend[3167]: E DeviceReadBuffer
> > DeviceReadBuffer.cpp:513 (Poll) DevRdB(/dev/hdpvr1): Poll giving up
> > 2
> > May  1 13:40:48 mythserver mythbackend[3167]: E RecThread
> > mpegrecorder.cpp:1010 (run) MPEGRec(/dev/hdpvr1): Device error
> > detected
> > 
> > 
> > Is there some sort of reset that's missing on the HDPVR?
> > 
> > Separate frontend/backend
> > 
> > Gerald


Power cycling the HDPVR, without rebooting the backend got me live TV again, though I did get an error:

May  1 14:21:59 mythserver mythbackend[2585]: I ProcessRequest mainserver.cpp:1362 (HandleAnnounce) adding: thinkpad as a client (events: 0)
May  1 14:21:59 mythserver mythbackend[2585]: I ProcessRequest mainserver.cpp:1360 (HandleAnnounce) MainServer::ANN Monitor
May  1 14:21:59 mythserver mythbackend[2585]: I ProcessRequest mainserver.cpp:1362 (HandleAnnounce) adding: thinkpad as a client (events: 1)
May  1 14:22:02 mythserver mythbackend[2585]: I ProcessRequest mainserver.cpp:1360 (HandleAnnounce) MainServer::ANN Playback
May  1 14:22:02 mythserver mythbackend[2585]: I ProcessRequest mainserver.cpp:1362 (HandleAnnounce) adding: thinkpad as a client (events: 0)
May  1 14:22:02 mythserver mythbackend[2585]: I TVRecEvent tv_rec.cpp:1014 (HandleStateChange) TVRec(1): Changing from None to WatchingLiveTV
May  1 14:22:02 mythserver mythbackend[2585]: I TVRecEvent tv_rec.cpp:3459 (TuningCheckForHWChange) TVRec(1): HW Tuner: 1->1
May  1 14:22:02 mythserver mythbackend[2585]: I TVRecEvent v4lchannel.cpp:661 (SetInputAndFormat) V4LChannel(/dev/hdpvr1): SetInputAndFormat(1, NTSC) (v4l v2) input_switch: 0 mode_switch: 1
May  1 14:22:02 mythserver mythbackend[2585]: N CoreContext autoexpire.cpp:263 (CalcParams) AutoExpire: CalcParams(): Max required Free Space: 22.0 GB w/freq: 15 min
May  1 14:22:13 mythserver mythbackend[2585]: N CoreContext autoexpire.cpp:263 (CalcParams) AutoExpire: CalcParams(): Max required Free Space: 22.0 GB w/freq: 15 min
May  1 14:22:13 mythserver mythbackend[2585]: I ProcessRequest mainserver.cpp:1360 (HandleAnnounce) MainServer::ANN Playback
May  1 14:22:13 mythserver mythbackend[2585]: I ProcessRequest mainserver.cpp:1362 (HandleAnnounce) adding: thinkpad as a client (events: 0)
May  1 14:22:13 mythserver mythbackend[2585]: I ProcessRequest mainserver.cpp:1475 (HandleAnnounce) MainServer::HandleAnnounce FileTransfer
May  1 14:22:13 mythserver mythbackend[2585]: I ProcessRequest mainserver.cpp:1477 (HandleAnnounce) adding: thinkpad as a remote file transfer
May  1 14:22:16 mythserver mythbackend[2585]: E DeviceReadBuffer DeviceReadBuffer.cpp:513 (Poll) DevRdB(/dev/hdpvr1): Poll giving up 2
May  1 14:22:16 mythserver mythbackend[2585]: E RecThread mpegrecorder.cpp:1010 (run) MPEGRec(/dev/hdpvr1): Device error detected
May  1 14:22:19 mythserver mythbackend[2585]: I ProcessRequest recorderbase.cpp:386 (GetKeyframePositions) RecBase(1:/dev/hdpvr1): GetKeyframePositions(1,9223372036854775807,#0) out of 1
May  1 14:22:19 mythserver mythbackend[2585]: I ProcessRequest recorderbase.cpp:386 (GetKeyframePositions) RecBase(1:/dev/hdpvr1): GetKeyframePositions(1,9223372036854775807,#0) out of 1
May  1 14:22:26 mythserver mythbackend[2585]: I ProcessRequest ringbuffer.cpp:1086 (WaitForAvail) RingBuf(/mythtvdata1/mythtv/tv/1889_20120501142213.mpg): Waited 0.2 seconds for data #012#011#011#011to become available... 61700 < 294912
May  1 14:22:26 mythserver mythbackend[2585]: I ProcessRequest ringbuffer.cpp:1086 (WaitForAvail) RingBuf(/mythtvdata1/mythtv/tv/1889_20120501142213.mpg): Waited 0.2 seconds for data #012#011#011#011to become available... 225540 < 294912


More information about the mythtv-users mailing list