On 12/20/06, <b class="gmail_sendername">Steven Adeff</b> &lt;<a href="mailto:adeffs.mythtv@gmail.com">adeffs.mythtv@gmail.com</a>&gt; wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On 12/19/06, foo bar &lt;<a href="mailto:foobum@gmail.com">foobum@gmail.com</a>&gt; wrote:<br>&gt; On 12/17/06, J. Miller &lt;<a href="mailto:mythtv.org@elvenhome.net">mythtv.org@elvenhome.net</a>&gt; wrote:<br>&gt; &gt; I&#39;ve been fighting the scourge of myth causing X to consume 100% of the
<br>&gt; &gt; CPU when Xv Sync to Vblank is turned on in nvidia-settings.&nbsp;&nbsp;Everything<br>&gt; &gt; works just fine with it unchecked but that is the only sync setting that<br>&gt; &gt; gives me a perfect picture with no tearing.&nbsp;&nbsp;Myth&#39;s native OpenGL sync
<br>&gt; &gt; still tears a little.&nbsp;&nbsp;The problem turned out to be the modeline I was<br>&gt; &gt; using.&nbsp;&nbsp;It was a 1368x768 56Hz modeline which apparently triggered the<br>&gt; &gt; issue.&nbsp;&nbsp;I switched to a 1360x768 60Hz modeline and now everything works
<br>&gt; &gt; peachy.&nbsp;&nbsp;X still starts consuming large amounts of CPU occasionally but<br>&gt; &gt; it quickly drops back down to the 2-4% range.&nbsp;&nbsp;I&#39;m not 100% sure that it<br>&gt; &gt; was the refresh but a modeline change did the trick.&nbsp;&nbsp;Hopefully posting
<br>&gt; &gt; this here will help point others that have the same problem in a new<br>&gt; &gt; direction.<br>&gt;<br>&gt; NVIDIA have added an option in (I think) 9626 to poll() instead of busy-wait<br>&gt; for vblank, which fixes the high cpu usage when sync to vblank is switched
<br>&gt; on. It&#39;s called &quot;UseEvents&quot;.<br><br>interesting, you mean in the nvidia-settings Xv section?<br><br>I&#39;ll have to give this a try.<br>--<br>Steve<br></blockquote></div><br>No - in the device section of 
xorg.conf<br><br>e.g.<br><br>Section &quot;Device&quot;<br>&nbsp;&nbsp;&nbsp; ...<br>&nbsp;&nbsp;&nbsp; Option &quot;UseEvents&quot; &quot;True&quot;<br>EndSection<br>&nbsp;&nbsp; <br>