<br><br><div class="gmail_quote">On Thu, Feb 24, 2011 at 1:58 AM, Mark Kendall <span dir="ltr">&lt;<a href="mailto:mark.kendall@gmail.com">mark.kendall@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

<div class="im">On 24 February 2011 09:33, Mike &lt;<a href="mailto:mythtv@dtmc.ca">mythtv@dtmc.ca</a>&gt; wrote:<br>
&gt; In the pursuit of a perfect mythtv frontend, I have recently bought a<br>
&gt; Zotac Nvidia ION frontend which I have compiled and installed mythtv<br>
&gt; 0.24+fixes on U10.10.<br>
&gt;<br>
&gt; HD playback works with three things that are bugging me and I can&#39;t<br>
&gt; find a solution despite scanning fourms &amp; blogs.<br>
&gt;<br>
&gt; i) very slight tearing about midway across the screen typically on<br>
&gt; horizonatl panning<br>
&gt; ii) /dev/rtc is symlinked to /dev/rtc0 which only have root access permissions<br>
&gt; iii) Player(0): Waited 100ms for video buffers messages occasionally<br>
&gt; iv)  I have seen, with usleep moreso, the sound lagging the video<br>
&gt;<br>
&gt; The tearing problem is likely related to Vsync and OpenGL.  I have<br>
&gt; instructed nvidia-settings to enable this feature.  However, in (ii) I<br>
&gt; see it using usleep unless I start mythfrontend as sudo/root.  Then I<br>
&gt; see RTC.  I&#39;ve never seen OpenGL method.<br>
<br>
</div>Enabling OpenGL vsync in nvidia-settings will do nothing for VDPAU<br>
tearing. NVIDIA&#39;s VDPAU implementation is entirely standalone in that<br>
respect and manages vsync separately.<br>
<br>
There is no OpenGL vsync in MythTV as of 0.24.<br>
<div class="im"><br>
&gt; What I would like to know is how to ensure/check/enable OpenGL as this<br>
&gt; seems to be a problem with tearing and possibly the timing method.<br>
&gt; Problem (iv) seems to be much better when RTC is used so how do I fix<br>
&gt; (ii)?  I can change the permissions but they dont persist a reboot.<br>
&gt;<br>
&gt; I see OpenGL is available as I have advanced desktop effects working.<br>
<br>
</div>This is the root cause of your problems. You need to disable the<br>
composite extension (search the wiki and/or the list archives). Using<br>
the composite extension will not only hurt performance (you want those<br>
GPU cycles for deinterlacing etc - especially on an ION board) but<br>
will also break vsync. From memory, there may be a compiz setting that<br>
works around the vsync issue but you&#39;re really better off without it.<br>
<br>
regards<br>
<font color="#888888"><br>
Mark<br>
</font><div><div></div><div class="h5"><br></div></div></blockquote><div> </div><div>Hi Mark,<br><br>Add the following to your xorg.conf to disable composite;<br><br>Section &quot;Extensions&quot;<br>        Option  &quot;Composite&quot; &quot;disable&quot;<br>

EndSection<br></div></div><br>This certainly got rid of tearing for me on my Revo&#39;s.<br><br>All the best<br><br><br>Andrew<br clear="all"><br>--<br>