<br><br><div class="gmail_quote">On Sat, Apr 27, 2013 at 4:56 PM, Neil Salstrom <span dir="ltr"><<a href="mailto:salstrom@gmail.com" target="_blank">salstrom@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div>On Sat, Apr 27, 2013 at 1:43 PM, Dan Littlejohn <span dir="ltr"><<a href="mailto:dan.littlejohn@gmail.com" target="_blank">dan.littlejohn@gmail.com</a>></span> wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>Just upgraded to .0.26 (p20130322) and am having an odd studdering / audio issue with myth playing dvd isos. tv recordings, avi, mpeg2, and bluray recordings all play fine and if I use xine to play the dvd isos they also plays fine. <br>
<br>On gentoo 3.7.10 kernel using a 430 nvidia card with the nvidia 313.30 driver. The problem does not change when changing the video renderer from vdpau, to normal, to opengl. Using optical out and it seems like the problem is related to something audio (using alsa 1.0.26-r1). In myth, I have audio set to (alsa:ie958:card=pch,dev=0).<br>
<br>The dvd isos are decrypted. However, they are also available local to the frontend on nfs although I am unsure if there is a setting to force them to use this.<br><br>I have been through the logs and not sure why it seems to be alternating like this between no channels and 6 channels. <br>
<br></div><div>Anyone have a tip to what else to check?<span><font color="#888888"><br><br>Dan<br></font></span><br></div></blockquote></div> <br></div><div class="gmail_extra">I fought this for quite a while before I figured out the solution! My long sad story is here:<br>
<br><a href="http://www.gossamer-threads.com/lists/mythtv/users/539467" target="_blank">http://www.gossamer-threads.com/lists/mythtv/users/539467</a> <br><br></div><div class="gmail_extra">For the short version, it turned out to be the new default mtu value in the 3.7+ kernel.<br>
<br></div><div class="gmail_extra">I added this to my rc.local file:<br><br><font color="black" face="Verdana,Arial,Helvetica"><font color="black" face="Verdana,Arial,Helvetica">ifconfig lo mtu 16436<br><br></font></font></div>
<div class="gmail_extra"><font color="black" face="Verdana,Arial,Helvetica"><font color="black" face="Verdana,Arial,Helvetica">Let me know if this helps!<br></font></font></div></div>
<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://www.mythtv.org/mailman/listinfo/mythtv-users" target="_blank">http://www.mythtv.org/mailman/listinfo/mythtv-users</a><br>
<br></blockquote></div><br>Hi Neil:<br><br>Yes, that was the problem. My conf is slightly different since I am running Gentoo so here is what I changed if it helps anyone else<br><br>file<br><div style="margin-left:40px">
/etc/conf.d/net<br></div><br>added<br><div style="margin-left:40px">mtu_lo="16436"<br></div><br>Reading the thread I see that it would work all the way up to 32872 . Is there a reason you stayed with 16k and not something like 32768?<br>
<br>Some additional info is that I am able to play dvd isos using xine with a 64k mtu without issue and also could play bluray isos in myth without issue. Seems like something in the myth code for playing dvd isos has a problem or may have changed.<br>
<br>Now most of my dvd isos will play, I still have 1/2 dozen that won't although the failure is different (these play fine in xine). I wonder if it is related. This is the log from trying to play one of those (with the loopback MTU set to 16k)<br>
<br><div style="margin-left:40px">2013-04-28 13:33:01.440830 E [2698/2698] CoreContext DVD/dvdringbuffer.cpp:430 (GetChapterTimes) - DVDRB: Failed to retrieve chapter data<br>2013-04-28 13:33:01.767523 N [2698/2698] CoreContext audioplayer.cpp:167 (ReinitAudio) - AudioPlayer: Enabling Audio<br>
2013-04-28 13:33:01.946049 I [2698/2698] CoreContext avformatdecoder.cpp:2163 (ScanStreams) - AFD: Opened codec 0xb31ffe0, id(MPEG2VIDEO) type(Video)<br>2013-04-28 13:33:01.946062 I [2698/2698] CoreContext avformatdecoder.cpp:2021 (ScanStreams) - AFD: codec AC3 has 6 channels<br>
2013-04-28 13:33:01.948021 I [2698/2698] CoreContext avformatdecoder.cpp:2163 (ScanStreams) - AFD: Opened codec 0xb2de500, id(AC3) type(Audio)<br>2013-04-28 13:33:01.948060 I [2698/2698] CoreContext avformatdecoder.cpp:2021 (ScanStreams) - AFD: codec AC3 has 6 channels<br>
2013-04-28 13:33:01.948337 I [2698/2698] CoreContext avformatdecoder.cpp:2163 (ScanStreams) - AFD: Opened codec 0xb4a0800, id(AC3) type(Audio)<br>2013-04-28 13:33:01.948350 I [2698/2698] CoreContext avformatdecoder.cpp:2021 (ScanStreams) - AFD: codec AC3 has 2 channels<br>
2013-04-28 13:33:01.948624 I [2698/2698] CoreContext avformatdecoder.cpp:2163 (ScanStreams) - AFD: Opened codec 0xb7c7960, id(AC3) type(Audio)<br>2013-04-28 13:33:01.948637 I [2698/2698] CoreContext avformatdecoder.cpp:2021 (ScanStreams) - AFD: codec AC3 has 2 channels<br>
2013-04-28 13:33:01.948924 I [2698/2698] CoreContext avformatdecoder.cpp:2163 (ScanStreams) - AFD: Opened codec 0xb7d7ec0, id(AC3) type(Audio)<br>2013-04-28 13:33:01.948936 I [2698/2698] CoreContext avformatdecoder.cpp:2021 (ScanStreams) - AFD: codec AC3 has 2 channels<br>
2013-04-28 13:33:01.949209 I [2698/2698] CoreContext avformatdecoder.cpp:2163 (ScanStreams) - AFD: Opened codec 0xb6fcc20, id(AC3) type(Audio)<br>2013-04-28 13:33:01.949223 I [2698/2698] CoreContext avformatdecoder.cpp:2021 (ScanStreams) - AFD: codec AC3 has 2 channels<br>
2013-04-28 13:33:01.949493 I [2698/2698] CoreContext avformatdecoder.cpp:2163 (ScanStreams) - AFD: Opened codec 0xb7cffa0, id(AC3) type(Audio)<br>2013-04-28 13:33:01.950080 I [2698/2698] CoreContext audio/audiooutputbase.cpp:791 (Reconfigure) - AO: Opening audio device 'iec958:CARD=PCH,DEV=0' ch 2(6) sr 48000 sf signed 16 bit reenc 0<br>
2013-04-28 13:33:01.962201 I [2698/2698] CoreContext DVD/dvdringbuffer.cpp:381 (StartFromBeginning) - DVDRB: Resetting DVD device.<br>2013-04-28 13:33:01.970193 N [2698/2698] CoreContext avformatdecoder.cpp:783 (SetEof) - AFD: Resetting byte context eof (livetv 0 was eof 0)<br>
2013-04-28 13:33:02.032723 I [2698/2698] CoreContext mythpainter_ogl.cpp:62 (ClearCache) - Clearing OpenGL painter cache.<br>2013-04-28 13:33:03.610734 I [2698/2698] CoreContext mythrender_vdpau.cpp:1682 (CreatePresentationSurfaces) - VDPAU: Created 2 output surfaces.<br>
2013-04-28 13:33:03.612258 I [2698/2698] CoreContext mythrender_vdpau.cpp:1716 (CheckHardwareSupport) - VDPAU: Version 1<br>2013-04-28 13:33:03.612267 I [2698/2698] CoreContext mythrender_vdpau.cpp:1723 (CheckHardwareSupport) - VDPAU: Information NVIDIA VDPAU Driver Shared Library 313.30 Wed Mar 27 16:46:58 PDT 2013<br>
2013-04-28 13:33:03.612281 I [2698/2698] CoreContext mythrender_vdpau.cpp:402 (Create) - VDPAU: Created VDPAU render device 1920x1080<br>2013-04-28 13:33:03.629022 N [2698/2698] CoreContext mythplayer.cpp:519 (CheckExtraAudioDecode) - Player(0): Forcing decode extra audio option on (Video method requires it).<br>
2013-04-28 13:33:03.761165 I [2698/2698] CoreContext mythplayer.cpp:1752 (InitAVSync) - Player(0): Video timing method: USleep with busy wait<br>2013-04-28 13:33:03.761663 I [2698/2698] CoreContext tv_play.cpp:5240 (StartPlayer) - TV: Created player.<br>
2013-04-28 13:33:03.765665 E [2698/2894] Decoder DVD/dvdringbuffer.cpp:521 (safe_read) - DVDRB: Failed to read block: Error reading NAV packet.<br>2013-04-28 13:33:03.765706 E [2698/2894] Decoder DVD/dvdringbuffer.cpp:521 (safe_read) - DVDRB: Failed to read block: Error reading NAV packet.<br>
2013-04-28 13:33:03.765730 E [2698/2894] Decoder DVD/dvdringbuffer.cpp:521 (safe_read) - DVDRB: Failed to read block: Error reading NAV packet.<br>2013-04-28 13:33:03.765767 E [2698/2894] Decoder avformatdecoder.cpp:4559 (GetFrame) - decoding error<br>
eno: Unknown error 541478725 (541478725)<br>2013-04-28 13:33:03.795042 I [2698/2698] CoreContext tv_play.cpp:2485 (HandleStateChange) - TV: Main UI disabled.<br>2013-04-28 13:33:03.795054 I [2698/2698] CoreContext tv_play.cpp:403 (StartTV) - TV: Entering main playback loop.<br>
2013-04-28 13:33:03.902342 N [2698/2698] CoreContext mythplayer.cpp:2093 (PrebufferEnoughFrames) - Player(0): Waited 103ms for video buffers AAAAAAAAAAAAAA<br>2013-04-28 13:33:04.004885 N [2698/2698] CoreContext mythplayer.cpp:2093 (PrebufferEnoughFrames) - Player(0): Waited 205ms for video buffers AAAAAAAAAAAAAA<br>
2013-04-28 13:33:04.107068 N [2698/2698] CoreContext mythplayer.cpp:2093 (PrebufferEnoughFrames) - Player(0): Waited 308ms for video buffers AAAAAAAAAAAAAA<br>2013-04-28 13:33:04.209144 N [2698/2698] CoreContext mythplayer.cpp:2093 (PrebufferEnoughFrames) - Player(0): Waited 410ms for video buffers AAAAAAAAAAAAAA<br>
2013-04-28 13:33:04.311072 N [2698/2698] CoreContext mythplayer.cpp:2093 (PrebufferEnoughFrames) - Player(0): Waited 512ms for video buffers AAAAAAAAAAAAAA<br>2013-04-28 13:33:04.413038 N [2698/2698] CoreContext mythplayer.cpp:2093 (PrebufferEnoughFrames) - Player(0): Waited 614ms for video buffers AAAAAAAAAAAAAA<br>
2013-04-28 13:33:04.514971 N [2698/2698] CoreContext mythplayer.cpp:2093 (PrebufferEnoughFrames) - Player(0): Waited 715ms for video buffers AAAAAAAAAAAAAA<br>2013-04-28 13:33:04.616925 N [2698/2698] CoreContext mythplayer.cpp:2093 (PrebufferEnoughFrames) - Player(0): Waited 817ms for video buffers AAAAAAAAAAAAAA<br>
2013-04-28 13:33:04.718933 N [2698/2698] CoreContext mythplayer.cpp:2093 (PrebufferEnoughFrames) - Player(0): Waited 919ms for video buffers AAAAAAAAAAAAAA<br>...<br>2013-04-28 13:33:04.821076 N [2698/2698] CoreContext mythplayer.cpp:2093 (PrebufferEnoughFrames) - Player(0): Waited 1022ms for video buffers AAAAAAAAAAAAAA<br>
2013-04-28 13:33:04.923278 N [2698/2698] CoreContext mythplayer.cpp:2093 (PrebufferEnoughFrames) - Player(0): Waited 1124ms for video buffers AAAAAAAAAAAAAA<br>2013-04-28 13:33:05.025455 N [2698/2698] CoreContext mythplayer.cpp:2093 (PrebufferEnoughFrames) - Player(0): Waited 1226ms for video buffers AAAAAAAAAAAAAA<br>
2013-04-28 13:33:08.500166 N [2698/2698] CoreContext mythplayer.cpp:2093 (PrebufferEnoughFrames) - Player(0): Waited 4701ms for video buffers AAAAAAAAAAAAAA<br>2013-04-28 13:33:08.602405 N [2698/2698] CoreContext mythplayer.cpp:2093 (PrebufferEnoughFrames) - Player(0): Waited 4803ms for video buffers AAAAAAAAAAAAAA<br>
2013-04-28 13:33:08.704567 N [2698/2698] CoreContext mythplayer.cpp:2093 (PrebufferEnoughFrames) - Player(0): Waited 4905ms for video buffers AAAAAAAAAAAAAA<br>2013-04-28 13:33:08.766947 I [2698/2698] CoreContext tv_play.cpp:2155 (HandleStateChange) - TV: Attempting to change from WatchingDVD to None<br>
2013-04-28 13:33:08.770842 W [2698/2698] CoreContext mythpainter.cpp:34 (Teardown) - MythPainter: 25 images not yet de-allocated.<br>2013-04-28 13:33:08.770872 I [2698/2698] CoreContext mythpainter_vdpau.cpp:108 (ClearCache) - VDPAU Painter: Clearing VDPAU painter cache.<br>
2013-04-28 13:33:08.826691 I [2698/2698] CoreContext tv_play.cpp:2394 (HandleStateChange) - TV: Changing from WatchingDVD to None<br></div><br>Dan<br><br><br>