On 12/17/06, <b class="gmail_sendername">J. Miller</b> &lt;<a href="mailto:mythtv.org@elvenhome.net">mythtv.org@elvenhome.net</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;">
I&#39;ve been fighting the scourge of myth causing X to consume 100% of the<br>CPU when Xv Sync to Vblank is turned on in nvidia-settings.&nbsp;&nbsp;Everything<br>works just fine with it unchecked but that is the only sync setting that
<br>gives me a perfect picture with no tearing.&nbsp;&nbsp;Myth&#39;s native OpenGL sync<br>still tears a little.&nbsp;&nbsp;The problem turned out to be the modeline I was<br>using.&nbsp;&nbsp;It was a 1368x768 56Hz modeline which apparently triggered the
<br>issue.&nbsp;&nbsp;I switched to a 1360x768 60Hz modeline and now everything works<br>peachy.&nbsp;&nbsp;X still starts consuming large amounts of CPU occasionally but<br>it quickly drops back down to the 2-4% range.&nbsp;&nbsp;I&#39;m not 100% sure that it
<br>was the refresh but a modeline change did the trick.&nbsp;&nbsp;Hopefully posting<br>this here will help point others that have the same problem in a new<br>direction.<br>_______________________________________________<br>mythtv-users mailing list
<br><a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br><a href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a><br></blockquote></div>
<br><br>NVIDIA have added an option in (I think) 9626 to poll() instead of busy-wait for vblank, which fixes the high cpu usage when sync to vblank is switched on. It&#39;s called &quot;UseEvents&quot;.<br><br>