<div dir="ltr">Thanks for the info Michael, very useful! <div><br></div><div>Since you were able to answer the ringbuffer question, I hope you could answer the other one I referenced:</div><div>If you have a large amount of system memory is there any downside whatsoever to increasing the ringbuffer? Does increasing the buffer increase time between switching channels or have any negative side effects at all (assuming you're not coming close to swapping)? I'd like to add this answer to the MythWiki if I can find it. </div><div><br></div><div>Thanks again Michael, big help. Best of luck in all your Mything adventures.</div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Aug 6, 2015 at 11:44 PM, Michael Watson <span dir="ltr"><<a href="mailto:michael@thewatsonfamily.id.au" target="_blank">michael@thewatsonfamily.id.au</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 7/08/2015 12:47 PM, Cody Hofstetter wrote:<br>
</span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
Thanks Mark!<br>
<br>
I am receiving channels and can view them completely fine using the Prime's GUI/VLC. I can open LiveTV and watch channels in LiveTV. The issue only occurs when watching a channel and I switch to another (only some of them though which is what I find weird). Mythfrontend then gives the "error opening jump program file buffer" and completely crashes. I got the thought about the dummy tuners after reading this post: <a href="http://www.gossamer-threads.com/lists/mythtv/users/504473" rel="noreferrer" target="_blank">http://www.gossamer-threads.com/lists/mythtv/users/504473</a> in which Mitchell Gore says<br>
<br></span>
"Also, if you follow those instructions (he is referring to the HDHomerunPrime setup instructions in the MythWiki - the one you just mentioned) you first attach the tuner to adummy recorder. That way you can fetch the listings. WHen doing this itwill pause for a bit and look like nothing is happening. but if you gotothe channel editor you can see the channels it grabed. Next you attach thetuner to the Prime and delete the dummy."<br>
<br>
The OP goes on to say "On that page it said that using the dummy was for 0.24-fixes but I'musing the 0.25 branch. I'll give that process a shot though and see ifit makes a difference."<br>
<br>
Next post by OP: "In case anyone following along ran into the same issue despite the factthat you are running Master or 0.25 go ahead and follow the instructionsfor 0.24-fixes and it should work. Even in 0.25/Master (at least fromthe mythbuntu repos) the channel numbers will not be fetched unless youfirst configure the dummy recorder."<br>
</blockquote>
<br>
Dummy tuners are now called Demo Tuners.  Whilst the name in the setup menu's may have changed, internally Myth my still use the name dummy.  This looks like a hack to get Myth to populate the channel / schedule data in the video source prior to the tuners being properly configured, make it like a chicken and egg process - to get the tuner working properly you need channel data - to get channel data you need a configured tuner.<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
I couldn't find any reference to a dummy recorder whatsoever in the MythWiki Prime install guide or when looking for the .24-fixes. This leads me to believe it was there at one point but has since been removed. I've searched through the last 20+ mailing list archive pages, plus forum posts/pages and still couldn't find anything. My guess is perhaps that the "virtual" Prime tuners are these dummy tuners, but I don't know for sure because I can't find any other references.<br>
<br></span>
As for the ringbuffer question, if you know how it works and can explain it to me in detail it would be */greatly/* appreciated. I'm relatively new to Myth and trying to understand as much as possible in as much detail as possible. I also try to research as much as possible before asking any questions because I feel it helps me learn better by having to go through the wiki/archives first and try to figure it out myself (trial by fire so-to-speak). Which, unfortunately on the only hand means that if I'm asking questions it's because I couldn't find the answer myself after quite a bit of digging haha. That's one of the reasons I appreciate */any/* input anyone has so much. Maybe I just missed something really simple.<span class=""><br>
<br>
Thanks again Mark. I've already deleted and re-added the tuners, but if no one else has any suggestions I might just try it again.<br>
<br></span><span class="">
On Thu, Aug 6, 2015 at 9:48 PM, Mark Perkins <<a href="mailto:perkins1724@hotmail.com" target="_blank">perkins1724@hotmail.com</a> <mailto:<a href="mailto:perkins1724@hotmail.com" target="_blank">perkins1724@hotmail.com</a>>> wrote:<br>
<br>
<br>
<br>
<br>
<br>
    On 7 Aug 2015, at 7:40 am, Cody Hofstetter<br></span><div><div class="h5">
    <<a href="mailto:codyhofstetter@gmail.com" target="_blank">codyhofstetter@gmail.com</a> <mailto:<a href="mailto:codyhofstetter@gmail.com" target="_blank">codyhofstetter@gmail.com</a>>> wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
    Hello all!<br>
<br>
    Still trying to fix a LiveTV "error opening jump program file<br>
    buffer" when switching programs and am hoping for a little<br>
    clarification on dummy tuners and HD ringbuffers.<br>
<br>
    I'm using Mythbuntu 14.04 and .27 with a HDHomeRun Prime in<br>
    CableCard mode.<br>
<br>
    First, my searching through the forums/archives has led me to<br>
    find that dummy tuners were originally designed for use as a<br>
    development tool for those without the hardware wishing to<br>
    contribute to Myth (e.g. on a laptop, no tuner card, etc) and for<br>
    use on backends with no tuners.<br>
<br>
    I've come across some errors indicating dummy tuners (I believe)<br>
    that I was unaware were set up. Which lead me to wonder if MythTV<br>
    automatically sets up dummy tuners and if so, why?<br>
<br>
    E CoreContext fileringbuffer.cpp:300 (OpenFile)<br>
    FileRingBuf(/var/lib/mythtv/livetv/1043_20150805170925.mpg):<br>
    OpenFile(): File too small (0B).<br>
    E CoreContext mythplayer.cpp:2718 (JumpToProgram) Player(1):<br>
    JumpToProgram's OpenFile failed (card type: HDHOMERUN).<br>
    E CoreContext mythplayer.cpp:2719 (JumpToProgram) LiveTVChain has<br>
    6 entries#012 DUMMY: 1026 (17:08:58 to 17:08:58)#012 HDHOMERUN:<br>
    1026 (17:08:59 to 17:09:06) discontinuous#012 DUMMY:<br>
    1028 (17:09:06 to 17:09:07) discontinuous#012 HDHOMERUN: 1028<br>
    (17:09:07 to 17:09:24) discontinuous#012 DUMMY: 1043 (17:09:24<br>
    to 17:09:24) discontinuous#012* HDHOMERUN: 1043 (17:09:25 to<br>
    18:30:00) discontinuous<br>
    E CoreContext mythplayer.cpp:2960 (EventLoop) Player(1):<br>
    Unknown recorder error, exiting decoder<br>
<br>
    The MythWiki "Dummy Tuner" page says it's been outdated since .24<br>
    and Myth now has a dedicated "demo tuner". Hence the wondering if<br>
    they automagically setup or I'm getting this error because of the<br>
    Prime tuner.<br>
<br>
<br>
    Second, I understand the HD ringbuffers are, to paraphrase " to<br>
    weather moments of stress and too large a ringbuffer will result<br>
    in swapping" (description used in backend). So my question after<br>
    searching through everything is, let's say most modern systems<br>
    have at least 2/4gb of memory. Even if the swappiness is set to<br>
    60 as the default for most Linux distros, you still have plenty<br>
    you could add before running into a problem (since the default is<br>
    9600kb). Please correct me if I'm wrong, but increasing the<br>
    ringbuffer size won't increase the amount of time between<br>
    switching programs in LiveTV (it should actually decrease it if<br>
    switching for example from channel 2 to channel 3 and then back<br>
    to channel 2?). From one of the many many posts I read somewhere<br>
    I got that the live-tv chain ID is sent from the frontend to the<br>
    backend and this is when the ringbuffer is assigned. Then the<br>
    frontend loads the first channel in the chain to the ringbuffer.<br>
    When the program guide data is changed (when you switch<br>
    channels), it automatically creates a new file/chain entry. Is<br>
    the only possible issue that would result from setting the<br>
    ringbuffer higher is that it could get swapped?<br>
<br>
    With the "RingBuf: Taking too long to be allowed to read.."<br>
    error, where would you increase the timing to allow it to wait<br>
    longer?  Unless I'm completely off and that's not the way you<br>
    solve this error.<br>
</blockquote>
<br>
</div></div></blockquote>
Use of LiveTV is fraught with peril, for some it works, for others it doesnt.  Many threads on here about issues with LiveTV.<br>
The "RingBuf: Taking too long to be allowed to read" error basically means there is nothing in the buffer to read, and process has thus timed out.  Common when changing channels in LiveTV.  No real fix AFAIK - Myth does recording/scheduling well, LiveTV not so good.<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
    *<a href="http://pastebin.com/rWvzir9s" rel="noreferrer" target="_blank">http://pastebin.com/rWvzir9s</a> --- Backend/Frontend Logs*<br>
    *<br>
    *<span class=""><br>
    If anyone could even give me a partial answer it would help so<br>
    frigging much! It's a nightmare trying to troubleshoot things<br>
    after spending hours searching and still not finding a simple<br>
    answer as I'm sure everyone can attest to. You guys are immensely<br>
    helpful when stuck!<br>
<br>
    Thanks again!<br>
<br>
    P.S. Gary already helped me solve one previous error and I find<br>
    the troubleshooting guide with the errors section of the MythWiki<br>
    easiest to understand when looking for a particular error. I know<br>
    there has been talk of restructuring the wiki and I would like to<br>
    put the errors I have as I solve them in the troubleshooting<br>
    guide to help anyone else who has the same issue. I wouldn't mind<br>
    lending a hand in helping reorganize the wiki either if someone<br>
    has taken a lead and can point me who to talk to.<br>
    _______________________________________________<br>
</span></blockquote><span class="">
<br>
    I don't think the issue is in the ring buffer. The presence of a<br>
    dummy tuner suggests to me that the tuners have not been setup<br>
    correctly because MythTV doesn't create dummy tuners by itself.<br>
    Waiting longer won't help if nothing is coming from the tuners.<br>
<br>
    I don't have a HDHomeRun so won't be able to help troubleshoot but<br>
    if it were me I would delete all capture cards on all hosts in<br>
    mythtv-setup and redo the HDHomeRun setup from the wiki.<br>
<br>
</span></blockquote>
<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
    _______________________________________________<br>
    mythtv-users mailing list<br>
    <a href="mailto:mythtv-users@mythtv.org" target="_blank">mythtv-users@mythtv.org</a> <mailto:<a href="mailto:mythtv-users@mythtv.org" target="_blank">mythtv-users@mythtv.org</a>><span class=""><br>
    <a href="http://lists.mythtv.org/mailman/listinfo/mythtv-users" rel="noreferrer" target="_blank">http://lists.mythtv.org/mailman/listinfo/mythtv-users</a><br>
    <a href="http://wiki.mythtv.org/Mailing_List_etiquette" rel="noreferrer" target="_blank">http://wiki.mythtv.org/Mailing_List_etiquette</a><br>
    MythTV Forums: <a href="https://forum.mythtv.org" rel="noreferrer" target="_blank">https://forum.mythtv.org</a><br>
<br>
<br>
<br>
<br>
-- <br>
If you have any questions feel free to contact me at this email, or at the phone number listed below.<br></span>
*<br>
*Thanks,<br>
*Cody Hofstetter*<br>
*<a href="mailto:CodyHofstetter@gmail.com" target="_blank">CodyHofstetter@gmail.com</a> <mailto:<a href="mailto:CodyHofstetter@gmail.com" target="_blank">CodyHofstetter@gmail.com</a>>*<br>
*CodyHofstetter.com <<a href="http://www.CodyHofstetter.com" rel="noreferrer" target="_blank">http://www.CodyHofstetter.com</a>><br>
<br>
*<span class=""><br>
<br>
<br>
_______________________________________________<br>
mythtv-users mailing list<br>
<a href="mailto:mythtv-users@mythtv.org" target="_blank">mythtv-users@mythtv.org</a><br>
<a href="http://lists.mythtv.org/mailman/listinfo/mythtv-users" rel="noreferrer" target="_blank">http://lists.mythtv.org/mailman/listinfo/mythtv-users</a><br>
<a href="http://wiki.mythtv.org/Mailing_List_etiquette" rel="noreferrer" target="_blank">http://wiki.mythtv.org/Mailing_List_etiquette</a><br>
MythTV Forums: <a href="https://forum.mythtv.org" rel="noreferrer" target="_blank">https://forum.mythtv.org</a><br>
</span></blockquote><div class="HOEnZb"><div class="h5">
<br>
_______________________________________________<br>
mythtv-users mailing list<br>
<a href="mailto:mythtv-users@mythtv.org" target="_blank">mythtv-users@mythtv.org</a><br>
<a href="http://lists.mythtv.org/mailman/listinfo/mythtv-users" rel="noreferrer" target="_blank">http://lists.mythtv.org/mailman/listinfo/mythtv-users</a><br>
<a href="http://wiki.mythtv.org/Mailing_List_etiquette" rel="noreferrer" target="_blank">http://wiki.mythtv.org/Mailing_List_etiquette</a><br>
MythTV Forums: <a href="https://forum.mythtv.org" rel="noreferrer" target="_blank">https://forum.mythtv.org</a><br>
</div></div></blockquote></div><br><div><br></div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div>Thanks,<br><b>Cody Hofstetter</b></div><div><b><a href="mailto:CodyHofstetter@gmail.com" target="_blank">CodyHofstetter@gmail.com</a></b></div><div><b><a href="http://www.CodyHofstetter.com" target="_blank">CodyHofstetter.com</a><br><br>
</b></div><div style="padding:0px;text-align:left;color:black;line-height:130%;overflow:hidden;font-size:10px;margin-top:0px;margin-left:0px;word-wrap:break-word"></div><div style="padding:0px;text-align:left;color:black;line-height:130%;overflow:hidden;font-size:10px;margin-top:0px;margin-left:0px;word-wrap:break-word"></div></div></div></div></div></div>
</div></div>