Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Commits

Ticket #10428: mythbackend logs RingBuf-messages every few seconds while playing LiveTV

 

 

MythTV commits RSS feed   Index | Next | Previous | View Threaded


noreply at mythtv

Mar 10, 2012, 7:09 AM

Post #1 of 8 (251 views)
Permalink
Ticket #10428: mythbackend logs RingBuf-messages every few seconds while playing LiveTV

#10428: mythbackend logs RingBuf-messages every few seconds while playing LiveTV
--------------------------------------+-------------------------
Reporter: kenni | Owner: danielk
Type: Bug Report - General | Status: new
Priority: minor | Milestone: unknown
Component: MythTV - Recording | Version: Master Head
Severity: medium | Keywords:
Ticket locked: 0 |
--------------------------------------+-------------------------
After upgrading from 0.24-fixes to master/0.25, the backend continuously
writes out RingBuf log messages about it waiting for data:


{{{
mythbackend[9601]: RingBuf(/data/mythtv/livetv/1001_20120310153618.mpg):
Waited 1.0 seconds for data #012#011#011#011to become available... 130980
< 196608
}}}

While it does this, LiveTV works fine with no stuttering. The issue seems
consistent on all channels in LiveTV and playing back recordings does NOT
give the RingBuf logs. Eg. playing back any recording - even the just-
recorded LiveTV recording from the recordings menu - does NOT cause the
backend to write out these messages.

Logs from ~5 minutes of LiveTV playback is attached. If more verbose logs
are required to identify the issue, I'll be happy to provide them.

The tuner is a European HDHR dual DVB-C tuner. The backend is a 3.4GHz
Core i5 with 12GB RAM and database+OS on a SSD, so it seems unlikely that
this is a local performance issue.

--
Ticket URL: <http://code.mythtv.org/trac/ticket/10428>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-commits


noreply at mythtv

Mar 10, 2012, 7:55 AM

Post #2 of 8 (241 views)
Permalink
Re: Ticket #10428: mythbackend logs RingBuf-messages every few seconds while playing LiveTV [In reply to]

#10428: mythbackend logs RingBuf-messages every few seconds while playing LiveTV
----------------------------------+-----------------------------
Reporter: kenni | Owner: danielk
Type: Bug Report - General | Status: new
Priority: minor | Milestone: unknown
Component: MythTV - Recording | Version: Master Head
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
----------------------------------+-----------------------------

Comment (by kenni):

I forgot to add that disabling barriers on the ext4 file systems have no
impact on the issue.

--
Ticket URL: <http://code.mythtv.org/trac/ticket/10428#comment:1>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-commits


noreply at mythtv

Mar 10, 2012, 8:46 AM

Post #3 of 8 (241 views)
Permalink
Re: Ticket #10428: mythbackend logs RingBuf-messages every few seconds while playing LiveTV [In reply to]

#10428: mythbackend logs RingBuf-messages every few seconds while playing LiveTV
----------------------------------+-----------------------------
Reporter: kenni | Owner: danielk
Type: Bug Report - General | Status: new
Priority: minor | Milestone: unknown
Component: MythTV - Recording | Version: Master Head
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
----------------------------------+-----------------------------

Comment (by danielk):

I think perhaps we are reading too close to the end of the file.

Does this occur if you skip back a few seconds after LiveTV starts?

i.e. start Live TV, wait 5 seconds, hit the back arrow. Do any new
RingBuffer messages occur in the next minute or so?

--
Ticket URL: <http://code.mythtv.org/trac/ticket/10428#comment:2>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-commits


noreply at mythtv

Mar 10, 2012, 10:09 AM

Post #4 of 8 (237 views)
Permalink
Re: Ticket #10428: mythbackend logs RingBuf-messages every few seconds while playing LiveTV [In reply to]

#10428: mythbackend logs RingBuf-messages every few seconds while playing LiveTV
----------------------------------+-----------------------------
Reporter: kenni | Owner: danielk
Type: Bug Report - General | Status: new
Priority: minor | Milestone: unknown
Component: MythTV - Recording | Version: Master Head
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
----------------------------------+-----------------------------

Comment (by kenni):

Heh, this is interesting :) When I start LiveTV the playback is 4-5
seconds behind according to the OSD. If I skip back once, it's 10-11
seconds behind, but still spits out the log-messages with the same rate as
before. If I skip back once more, it is now 15-16 seconds behind and the
log-messages disappear completely. I've uploaded a new log file,
mythbackend_log_while_skipping.log, which illustrates this behaviour.

--
Ticket URL: <http://code.mythtv.org/trac/ticket/10428#comment:3>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-commits


noreply at mythtv

Jul 24, 2012, 11:33 AM

Post #5 of 8 (182 views)
Permalink
Re: Ticket #10428: mythbackend logs RingBuf-messages every few seconds while playing LiveTV [In reply to]

#10428: mythbackend logs RingBuf-messages every few seconds while playing LiveTV
----------------------------------+-----------------------------
Reporter: kenni | Owner: danielk
Type: Bug Report - General | Status: new
Priority: minor | Milestone: unknown
Component: MythTV - Recording | Version: Master Head
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
----------------------------------+-----------------------------

Comment (by Daniel Thor Kristjansson <danielk@…>):

In [changeset:483e06f6b8a9066f66cef3fcf0a5f844519f51f9/mythtv]:
{{{
#!CommitTicketReference repository="mythtv"
revision="483e06f6b8a9066f66cef3fcf0a5f844519f51f9"
Refs #10428. Fix off-by-1000 error in RingBuffer.

The estimated bit rate is in kilobits not bits...

Also increase the seconds of buffering from 0.25 to 0.35
for a better LiveTV experience.
}}}

--
Ticket URL: <http://code.mythtv.org/trac/ticket/10428#comment:4>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-commits


noreply at mythtv

Jul 25, 2012, 1:33 PM

Post #6 of 8 (176 views)
Permalink
Re: Ticket #10428: mythbackend logs RingBuf-messages every few seconds while playing LiveTV [In reply to]

#10428: mythbackend logs RingBuf-messages every few seconds while playing LiveTV
----------------------------------+-----------------------------
Reporter: kenni | Owner: danielk
Type: Bug Report - General | Status: new
Priority: minor | Milestone: unknown
Component: MythTV - Recording | Version: Master Head
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
----------------------------------+-----------------------------

Comment (by JoeB@…):

Hi danielk,

How do we apply this fix? Will it be in an update upstream in the MythTV
PPA repository or do we have to do any configuration?

Thanks,

JoeB.

--
Ticket URL: <http://code.mythtv.org/trac/ticket/10428#comment:5>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-commits


noreply at mythtv

Jul 25, 2012, 1:58 PM

Post #7 of 8 (179 views)
Permalink
Re: Ticket #10428: mythbackend logs RingBuf-messages every few seconds while playing LiveTV [In reply to]

#10428: mythbackend logs RingBuf-messages every few seconds while playing LiveTV
----------------------------------+-----------------------------
Reporter: kenni | Owner: danielk
Type: Bug Report - General | Status: new
Priority: minor | Milestone: unknown
Component: MythTV - Recording | Version: Master Head
Severity: medium | Resolution:
Keywords: | Ticket locked: 1
----------------------------------+-----------------------------
Changes (by kenni):

* mlocked: 0 => 1


Comment:

JoeB, please use the mythtv-users mailing list for questions, not our
bugtracker. The commit has been committed to master/pre0.26, and it will
therefore at least be part of the soon-to-be-released MythTV 0.26. The
commit might be backported to 0.25-fixes, if so, you'll see the 0.25-fixes
commit here and you should be able to pick it up from the Mythbuntu
autobuilds.

--
Ticket URL: <http://code.mythtv.org/trac/ticket/10428#comment:6>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-commits


noreply at mythtv

Jul 30, 2012, 10:40 AM

Post #8 of 8 (162 views)
Permalink
Re: Ticket #10428: mythbackend logs RingBuf-messages every few seconds while playing LiveTV [In reply to]

#10428: mythbackend logs RingBuf-messages every few seconds while playing LiveTV
----------------------------------+-----------------------------
Reporter: kenni | Owner: danielk
Type: Bug Report - General | Status: closed
Priority: minor | Milestone: 0.26
Component: MythTV - Recording | Version: Master Head
Severity: medium | Resolution: Fixed
Keywords: | Ticket locked: 1
----------------------------------+-----------------------------
Changes (by danielk):

* status: new => closed
* resolution: => Fixed
* milestone: unknown => 0.26


Comment:

Fixed by [483e06f6b8a].

--
Ticket URL: <http://code.mythtv.org/trac/ticket/10428#comment:7>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-commits

MythTV commits RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.