Opened 8 years ago

Closed 6 years ago

#10244 closed Bug Report - Hang/Deadlock (Fixed)

LiveTV: Video frame buffering failed too many times.

Reported by: ignissport@… Owned by:
Priority: minor Milestone: 0.27.1
Component: MythTV - Video Playback Version: Master Head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

Since a recent upgrade from 0.24-fixes to 0.25-pre, I've have been frequently getting the error "Video frame buffering failed too many times." (usually after a few minutes of playback). This occurs after a frontend hang of about 30 seconds, and dumps me back at the main menu.

Observations:

  • I have two frontends. One is running an Intel IGP on IPv4. The other is running VDPAU on IPv6. Both frontends have this issue.
  • If I watch the same channel on both machines at the same time, one frontend can fail independently of the other (however, the backend reports using two different TV tuners recording the same channel)
  • This has also happened when watching a DVD ISO from MythVideo?. NB: I'm watching Australian DVB-T, the transmission codec and resolution is identical to a DVD. The only difference is that one is MPEG-PS and the other is MPEG-TS.
  • When I display the stream information OSD, it shows the buffers running at 0% when it fails.
  • I get a lot of warnings about writes taking a while to complete. I'm running btrfs raid-0 on my backend (a pair of 1TB caviar greens). It had some crazy IO utilization issues when recording TV in 0.24, but that appears to have been fixed. The IO is not high when this problem occurs.
  • I'm running NFS between them, but I have set 'settings.AlwaysStreamFiles?=1' on my VDPAU frontend and it's set to '0' on my other frontend and also on the backend. (i.e. it happens regardless of what this is set to).

Attachments (3)

version.txt (1.6 KB) - added by ignissport@… 8 years ago.
frontend/backend logs at time of hang/crash.
mythbackend.log (2.0 KB) - added by ignissport@… 8 years ago.
backend logs at time of hang/crash.
mythfrontend.log (179.1 KB) - added by ignissport@… 8 years ago.
frontend logs at time of hang/crash.

Download all attachments as: .zip

Change History (6)

Changed 8 years ago by ignissport@…

Attachment: version.txt added

frontend/backend logs at time of hang/crash.

Changed 8 years ago by ignissport@…

Attachment: mythbackend.log added

backend logs at time of hang/crash.

Changed 8 years ago by ignissport@…

Attachment: mythfrontend.log added

frontend logs at time of hang/crash.

comment:1 Changed 8 years ago by ignissport@…

I've tinkered with the settings a bit, and it looks like it occurs far more frequently when settings.AlwaysStreamFiles=1 on the frontend.

comment:2 Changed 8 years ago by markk

Owner: markk deleted
Status: newassigned

comment:3 Changed 6 years ago by JYA

Milestone: unknown0.27.1
Resolution: Fixed
Status: assignedclosed

should be fixed with recent changes to the RingBuffer? class

Note: See TracTickets for help on using tickets.