Opened 14 years ago

Closed 14 years ago

#784 closed defect (fixed)

Signal monitoring has several bugs

Reported by: brandon/Jack Owned by: danielk
Priority: minor Milestone: 0.19
Component: mythtv Version: head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

When entering the signal monitor, most times it fails to start. The frontend prints "Prebuffer wait timed out 10 times" around 10 times then mythfrontend displays, "Error was encounted while displaying video". This happens on most channels for me.

2005-12-10 15:18:53.347 AFD: Initializing video at 1920x1080 pixels. 2005-12-10 15:18:54.395 NVP: Prebuffer wait timed out 10 times. 2005-12-10 15:18:54.433 Opening audio device '/dev/dsp'. 2005-12-10 15:18:54.433 Opening OSS audio device '/dev/dsp'. 2005-12-10 15:18:54.436 NVP: Enabling Audio 2005-12-10 15:18:55.643 NVP: prebuffering pause 2005-12-10 15:18:56.797 NVP: Prebuffer wait timed out 10 times. 2005-12-10 15:18:57.964 NVP: Prebuffer wait timed out 10 times.

[SNIP]

2005-12-10 15:19:11.969 NVP: Prebuffer wait timed out 10 times. 2005-12-10 15:19:13.137 NVP: Prebuffer wait timed out 10 times. 2005-12-10 15:19:14.304 NVP: Prebuffer wait timed out 10 times. 2005-12-10 15:19:15.080 ReadStringList? timeout (quick). 2005-12-10 15:19:15.080 RemoteEncoder::SendReceiveStringList?(): No response. 2005-12-10 15:19:15.081 NVP, Error: Unknown error, exiting decoder 2005-12-10 15:19:15.083 LiveTVChain::SwitchTo?() not switching to current


If it does work and you hit esc when done the frontend goes into an infinite loop when trying to access the ringbuffer for video. You must kill the frontend at this point.

2005-12-10 15:02:53.215 AFD: Initializing video at 544x480 pixels. 2005-12-10 15:02:53.495 Opening audio device '/dev/dsp'. 2005-12-10 15:02:53.495 Opening OSS audio device '/dev/dsp'. 2005-12-10 15:02:53.511 NVP: Enabling Audio 2005-12-10 15:03:08.228 NVP: prebuffering pause 2005-12-10 15:03:08.444 Using time stretch 1.25 2005-12-10 15:03:08.707 AFD: Opened codec 0x83a67b0, id(MPEG2VIDEO) type(Video) 2005-12-10 15:03:08.707 NVP: Disabling Audio, params(-1,-1,-1) 2005-12-10 15:03:08.750 AFD: Initializing video at 1920x1088 pixels. 2005-12-10 15:03:09.386 NVP: Prebuffer wait timed out 10 times. 2005-12-10 15:03:09.928 NVP: Disabling Audio, params(16,-1,-1) 2005-12-10 15:03:22.655 NVP: prebuffering pause 2005-12-10 15:03:24.589 NVP: prebuffering pause 2005-12-10 15:03:25.442 TV: Attempting to change from WatchingLiveTV to None [mpeg2video @ 0x40ce7110]ac-tex damaged at 8 50 [mpeg2video @ 0x40ce7110]Warning MVs not available 2005-12-10 15:03:25.957 NVP: prebuffering pause 2005-12-10 15:03:26.444 RingBuf?(myth://192.168.13.28:6543/1131_20051210150310.mpg): Waited too long for ringbuffer pause.. 2005-12-10 15:03:27.436 NVP: Prebuffer wait timed out 10 times. 2005-12-10 15:03:27.445 RingBuf?(myth://192.168.13.28:6543/1131_20051210150310.mpg): Waited too long for ringbuffer pause.. 2005-12-10 15:03:28.448 RingBuf?(myth://192.168.13.28:6543/1131_20051210150310.mpg): Waited too long for ringbuffer pause.. 2005-12-10 15:03:28.938 NVP: Prebuffer wait timed out 10 times. 2005-12-10 15:03:29.451 RingBuf?(myth://192.168.13.28:6543/1131_20051210150310.mpg): Waited too long for ringbuffer pause.. 2005-12-10 15:03:30.439 NVP: Prebuffer wait timed out 10 times.


A third annoyance is when it does display the signal %, at times it reports "Bit errors 0" instead of the signal %. When it switches back and forth every couple of seconds it can be quite annoying if you're trying to monitor just the signal %.

Change History (3)

comment:1 Changed 14 years ago by danielk

Milestone: 0.19
Owner: changed from Isaac Richards to danielk
Status: newassigned
Version: head

I think I know what 1 & 2 are, I put a fix in for a similar problem in LiveTV earlier this week; it had to due with when the ring buffer reset flag was set. I haven't put in the same fix for the signal monitoring yet.

No. 3 is the broken signal monitoring detector going on the fritz; I haven't seen it, but I'll look at what could be causing it.

comment:2 Changed 14 years ago by danielk

(In [8237]) References #784. Fix backend lockup problem.

comment:3 Changed 14 years ago by danielk

Resolution: fixed
Status: assignedclosed

(In [8238]) Fixes #784.

I'm giving up on trying to detect broken signal support in DVB drivers. Instead this just always reports the signal value and reports the S/N if it is > 0, and reports the bit errors if the driver purports to track them.

Note: See TracTickets for help on using tickets.