View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 143 posts ] 
Go to page Previous  1, 2, 3, 4, 5, 6, 7, 8 ... 10  Next

Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject:
PostPosted: Wed Apr 11, 2007 9:33 am 
Offline
Joined: Fri Dec 22, 2006 3:00 pm
Posts: 158
tscholl,

I am still getting up to speed on this one and still doing my research but I did come across a reference to a closed MythTV ticket #1153 regarding a ringbuffer problem. However I am not sure if it is exactly the same problem as there appears to be a number of scenarios which can lead to the same error message. There is a patch which in one append to the ticket towards the end suggests that it fixes the problem when applied to release-0-20-fixes.

I am not clear yet on how to upgrade my R5E50 to release-0-20-fixes and I haven't a clue how to go about applying the patch. Anyway, I will provide the link here in case it is useful:

http://svn.mythtv.org/trac/ticket/1153

Kevin


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 11, 2007 11:32 am 
Offline
Joined: Wed Aug 24, 2005 3:44 am
Posts: 210
bbear wrote:
tscholl,

I am still getting up to speed on this one and still doing my research but I did come across a reference to a closed MythTV ticket #1153 regarding a ringbuffer problem. However I am not sure if it is exactly the same problem as there appears to be a number of scenarios which can lead to the same error message. There is a patch which in one append to the ticket towards the end suggests that it fixes the problem when applied to release-0-20-fixes.

I am not clear yet on how to upgrade my R5E50 to release-0-20-fixes and I haven't a clue how to go about applying the patch. Anyway, I will provide the link here in case it is useful:

http://svn.mythtv.org/trac/ticket/1153

Kevin


bbear,
this link is also relevant

http://svn.mythtv.org/trac/ticket/2335
however as yet no one seems to have solved this.
As tscholl says above, he's tried the latest svn patches without success, so I'm not sure thats a fix either.

What seems odd is that this is an "old" problem - I see references to it 16 months ago, so not too optimisitic of a imminent fix.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Apr 12, 2007 2:01 pm 
Offline
Joined: Fri Dec 22, 2006 3:00 pm
Posts: 158
declanh,
thanks for the pointer to that other MythTV ticket, towards the end it looked as if the poster 'anonymous' had found some sql settings which fixed it completely but in later posts it appears as if it made a difference but didn't entirely fix it.

Last night I was watching a very long hockey match and didn't have a single freeze or "Error was encountered while displaying video" error, this bug must be really difficult for the developers to pin down.

Maybe if I was watching a channel which had more frequent program changes it would have failed more quickly.

It would really help me understand more about these issues is if someone could advise what would be the relevant error log file to check (presumably backend log?) and how I go about running MythTV with the most useful verbosity setting,

thanks,

Kevin


Top
 Profile  
 
 Post subject:
PostPosted: Thu Apr 12, 2007 2:12 pm 
Offline
Joined: Mon Apr 10, 2006 3:48 pm
Posts: 997
Location: Lexington, Ky
bbear,

I just tune to a channel that has a program change every hour, and almost like clock work I get the error. If you change channels just before the program change I don't get the failure.

If someone "really" wanted to duplicate the problem and knew enough sql, I think they could load a schedule that would call for a program change every 15 minutes, and could duplicate the problem quickly.

However I'm not sure what you would need to trace to figure out the problem.

Tim


Last edited by tscholl on Thu Apr 12, 2007 2:18 pm, edited 1 time in total.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Apr 12, 2007 2:18 pm 
Offline
Joined: Wed Aug 24, 2005 3:44 am
Posts: 210
bbear wrote:
declanh,
thanks for the pointer to that other MythTV ticket, towards the end it looked as if the poster 'anonymous' had found some sql settings which fixed it completely but in later posts it appears as if it made a difference but didn't entirely fix it.

Last night I was watching a very long hockey match and didn't have a single freeze or "Error was encountered while displaying video" error, this bug must be really difficult for the developers to pin down.

Maybe if I was watching a channel which had more frequent program changes it would have failed more quickly.

It would really help me understand more about these issues is if someone could advise what would be the relevant error log file to check (presumably backend log?) and how I go about running MythTV with the most useful verbosity setting,

thanks,

Kevin



Kevin
The most verbose way of seeing a log is to start the frontend from and xterm

by doing the following
Code:
xterm -v all > /tmp/mythfrontend.log


This will give you a very large log file very quickly so you may want to put this somewhere other than /tmp

The output is very verbose and not alot of help (to me at any rate)

running the xterm without the -v all option for me gave the following output when it failed at a program boundary.
the Frontend is failing to open the new recding file for some reason or other.


Code:
2007-03-22 18:38:18.089 TV: Changing from None to WatchingLiveTV
2007-03-22 18:38:18.170 Using realtime priority.
2007-03-22 18:38:18.199 Video timing method: DRM
2007-03-22 18:38:18.360 VideoOutputXv: XvMCTex: Init failed
2007-03-22 18:38:18.362 VideoOutputXv: XVideo Adaptor Name: 'ATI Radeon Video Overlay'
2007-03-22 18:38:19.289 AFD: Opened codec 0x95d9e90, id(MPEG2VIDEO) type(Video)
2007-03-22 18:38:19.336 AFD: Opened codec 0x95d9a70, id(MP3) type(Audio)
2007-03-22 18:38:19.339 AFD: Opened codec 0x95d9140, id(MP3) type(Audio)
2007-03-22 18:38:19.342 AFD: Opened codec 0x95edae0, id(DVB_SUBTITLE) type(Subtitle)
2007-03-22 18:38:19.389 Opening OSS audio device '/dev/dsp'.
2007-03-22 18:38:19.404 NVP: Enabling Audio
2007-03-22 19:00:02.742 NVP: prebuffering pause
2007-03-22 19:00:04.470 NVP: Prebuffer wait timed out 10 times.
2007-03-22 19:00:06.203 NVP: Prebuffer wait timed out 10 times.
[b]2007-03-22 19:00:07.557 RingBuf(/myth/tv/1004_20070322190000.mpg): Invalid file (fd -1) when opening '/myth/tv/1004_20070322190000.mpg'.
2007-03-22 19:00:07.567 NVP, Error: SwitchToProgram's OpenFile failed.
2007-03-22 19:00:07.567 NVP, Error: Unknown error, exiting decoder
[/b]2007-03-22 19:00:07.577 TV: Attempting to change from WatchingLiveTV to None

the mysql tweaks may have helped slightly for me - but still not to the point where im going to replace my existing stable mythtv box (r5a16).

Im hoping the next KM build will cotain a newer kernel and or mythtv build which my fix the problem. Ive not quite given up trying to resolve this with r5e50 but I'm rapidly running out of ideas.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Apr 12, 2007 5:20 pm 
Offline
Joined: Fri Dec 22, 2006 3:00 pm
Posts: 158
declanh & tscholl,

thanks for the tips!

BTW on the subject of creating the huge log files, I found the following wiki article that looks useful:

http://mythtv.org/wiki/index.php/Log_File_Rotation


Kevin


Top
 Profile  
 
 Post subject:
PostPosted: Thu Apr 12, 2007 7:13 pm 
Offline
Joined: Tue Aug 22, 2006 9:11 am
Posts: 127
Location: Perth
The Mysql tweaks have improved, but like the pattern shows it hasn't resolved it completely. Fortunately it seems not to happen when I'm watching prime time TV at night with the GF, so it's not a huge issue at the moment.

If I get some time I'll post some logs, but fairly busy at work currently!

_________________
DRM 'manages access' in the same way that jail 'manages freedom.'
_________________
Intel P4 2.6
Intel Desktop Board
2GB DDR400
nVidia 6600GT
Dvico HDTV+
Dvico Dual 4
200GB WD for Swap /boot & /
2x 500GB WD with LVM & XFS for /myth/tv


Top
 Profile  
 
 Post subject:
PostPosted: Sun Apr 22, 2007 5:18 am 
Offline
Joined: Wed Aug 24, 2005 3:44 am
Posts: 210
I'm afarid I still have no progress to report on this - I think ive pretty much run out of ideas. Other than wait for a new version of mythtv and or knoppmyth I'm not seeing any light at the end of the tunnel.


Anyone else got any suggestions ?

D


Top
 Profile  
 
 Post subject:
PostPosted: Sun Apr 22, 2007 5:00 pm 
Offline
Joined: Fri Dec 22, 2006 3:00 pm
Posts: 158
declanh,
sorry to hear you haven't been able to figure it out, I feel your pain.

I have decided that I really need to fix my CPU usage before deciding if the 'error was encountered..' thing is a show stopper or not for me.

Despite many weeks of trying different things I have never been able to realize the CPU savings that other have reported after setting up openGL vsync and UseEvents True. If I can get this to work then maybe the lower CPU will enable my system to somehow avoid the 'error was encountered..' problem. I see CPU maxing out when the OSD is up, and although it is well below 100% when the OSD is off, perhaps if I can get the CPU down further it will help with the other problems.

It is so frustrating when someone reports that all they did was 'set this thing' or 'set that thing' and it magically works for them. For others like my myself, doing the same simple tweaks have no effect whatsoever :(

I am fast coming to the conclusion I have to ditch R5E50 and go back to an earlier build or wait until a new release of KM comes out. And if those two are not an option, then go back to using my Motorola box, admit defeat and swallow my pride,

Kevin


Top
 Profile  
 
 Post subject:
PostPosted: Sun Apr 22, 2007 5:59 pm 
Offline
Joined: Fri Oct 20, 2006 12:04 pm
Posts: 905
Location: LA, CA
While I have been following this thread, I have not read every post. With that said, I was wondering if the first post could be updated to show a few things just to see where we stand:

What was tried/tested and the results. When in the Myth versions the problem appears. Any hardware similarities or lack thereof. Any past or current tickets that might apply.

My feeling is that many more Myth users are effected by this problem, but don't notice as they don't watch live tv much. Maybe we could have a huge community 6-12 hour test to see if my notion is right or wrong? The results might be interesting...


Top
 Profile  
 
 Post subject:
PostPosted: Sun Apr 22, 2007 7:04 pm 
Offline
Joined: Tue Aug 22, 2006 9:11 am
Posts: 127
Location: Perth
Too Many Secrets wrote:
While I have been following this thread, I have not read every post. With that said, I was wondering if the first post could be updated to show a few things just to see where we stand:

What was tried/tested and the results. When in the Myth versions the problem appears. Any hardware similarities or lack thereof. Any past or current tickets that might apply.

My feeling is that many more Myth users are effected by this problem, but don't notice as they don't watch live tv much. Maybe we could have a huge community 6-12 hour test to see if my notion is right or wrong? The results might be interesting...


That's a darn good Idea. The results could be very interesting. :)

_________________
DRM 'manages access' in the same way that jail 'manages freedom.'
_________________
Intel P4 2.6
Intel Desktop Board
2GB DDR400
nVidia 6600GT
Dvico HDTV+
Dvico Dual 4
200GB WD for Swap /boot & /
2x 500GB WD with LVM & XFS for /myth/tv


Top
 Profile  
 
 Post subject:
PostPosted: Sun Apr 22, 2007 7:39 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
As a data point, I've done 10 and 12 hour "soaks" for SDTV on Cartoon Network, which has a lot of short content, and thus a lot of transititions, without encountering any problems... I've even done long soaks using PiP and VBI CC without any problems.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Apr 23, 2007 7:38 am 
Offline
Joined: Mon Apr 10, 2006 3:48 pm
Posts: 997
Location: Lexington, Ky
tjc,

The problem seems to only occur when viewing HDTV using DVB. I have not had the problem when the source is a standard def tuner.

I am running 2 HD3000, 1 PVR-350, and 1 PVR-150.

I have duplicated the problem with both HD3000 tuners.

Tim


Top
 Profile  
 
 Post subject:
PostPosted: Mon Apr 23, 2007 8:05 am 
Offline
Joined: Wed Aug 24, 2005 3:44 am
Posts: 210
tscholl wrote:
tjc,

The problem seems to only occur when viewing HDTV using DVB. I have not had the problem when the source is a standard def tuner.

I am running 2 HD3000, 1 PVR-350, and 1 PVR-150.

I have duplicated the problem with both HD3000 tuners.

Tim


I'm seeing the problem with any of 3 hauppauge wintv nova-t DVB-T tuners which are DVB but not HDTV


Top
 Profile  
 
 Post subject:
PostPosted: Mon Apr 23, 2007 4:49 pm 
Offline
Joined: Sun Jul 24, 2005 4:16 pm
Posts: 508
Location: Ft. Worth TX
I have it with both Air-to-PC 0.2 tuners...


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 143 posts ] 
Go to page Previous  1, 2, 3, 4, 5, 6, 7, 8 ... 10  Next



All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 32 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu