<div class="gmail_quote">On Sat, Feb 23, 2013 at 6:15 PM, Neil Salstrom <span dir="ltr">&lt;<a href="mailto:salstrom@gmail.com" target="_blank">salstrom@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class="im">On Fri, Feb 22, 2013 at 11:29 PM, Neil Salstrom &lt;<a href="mailto:salstrom@gmail.com">salstrom@gmail.com</a>&gt; wrote:<br>
&gt; Has anyone else noticed problems watching DVD&#39;s using a 3.7.x kernel<br>
&gt; or a 3.8.x kernel?  I first noticed the problem a while back and<br>
&gt; started this thread:<br>
&gt;<br>
&gt; <a href="http://www.gossamer-threads.com/lists/engine?do=post_view_flat;post=537334;list=mythtv" target="_blank">http://www.gossamer-threads.com/lists/engine?do=post_view_flat;post=537334;list=mythtv</a><br>
&gt;<br>
&gt; It seemed to be related to using the 3.7 series kernel at that time<br>
&gt; but now with 3.8 out I get the same problem.  It only affects (as far<br>
&gt; as I can tell) DVD&#39;s played from the physical disk or a full .iso of<br>
&gt; the physical disk.  A .mkv from the main feature has no problems.<br>
&gt;<br>
&gt; Switching back to a 3.6.x kernel or earlier fixes the problem.  Oddly,<br>
&gt; I can only get the issue to happen in MythTV and not in any other<br>
&gt; playback program.  It happens regardless of playback method as well<br>
&gt; (VDPAU, OpenGL, etc).  This evening I tried a self compiled 3.8.0<br>
&gt; kernel as well as a generic 3.8.0 .deb kernel from Ubuntu.<br>
&gt;<br>
&gt; Looking at the 3.7 change log the only thing that sticks out is:<br>
&gt;<br>
&gt; Filesystems:<br>
&gt; UDF:<br>
&gt;<br>
&gt; Add support for O_DIRECT<br>
&gt; Add &quot;writepages&quot; support for UDF for improved write performance<br>
&gt;<br>
&gt; Could either O_DIRECT or writepages cause this?  I know nothing about<br>
&gt; this topic so I&#39;m just stabbing in the dark here.  Anyone have any<br>
&gt; ideas?  Any way to turn off these two items in 3.8.0 to test?<br>
&gt;<br>
&gt; Thanks,<br>
&gt;<br>
&gt; Neil<br>
<br>
</div>Ok, I tried an experiment by compiling 3.8 using the 3.6.11 UDF files<br>
which were changed starting in 3.7:<br>
<br>
arch/um/os-Linux/time.c<br>
fs/udf/file.c<br>
fs/udf/inode.c<br>
<br>
This removed both the support for O_DIRECT and writepages in my<br>
compiled 3.8.0 kernel.  It compiled and installed successfully.<br>
Sadly, it did not fix the stuttering issues.  Moved back to 3.6.11 and<br>
all is fine...<br>
<br>
Not sure where to go from here.  I&#39;m focusing on the UDF portion of<br>
the kernel because it only affects DVD&#39;s and nothing else.<br>
<br>
Suggestions on trying to figure out why 3.7 or above breaks DVD playback?<br>
<br>
Thanks!<br></blockquote><div><br>Since you&#39;re set up to compile and use your own kernel, you might try a bisect to find the offending commit. Here&#39;s the documentation: <a href="http://www.kernel.org/pub//software/scm/git/docs/git-bisect.html">http://www.kernel.org/pub//software/scm/git/docs/git-bisect.html</a> In your case you should start with the first 3.6.0 kernel and the first &quot;bad&quot; 3.7 kernel (3.7.0?). Based on my limited knowledge about kernel development practices, I believe that will minimize the number of commits between the good and bad trees. Ideally you would find a bad commit which could be reported upstream to the linux kernel list, but if they don&#39;t confirm it as a bug, at the least you could create a reverse patch that you could apply which would remove the problematic commit for your custom kernel and then the mythtv devs could look at it on their end. I&#39;ve done this once and it took about 12 iterations to find the commit which caused my problem (not mythtv related).<br>

<br>Karl<br><br></div></div>