On 19/11/2007, <b class="gmail_sendername">George Nassas</b> &lt;<a href="mailto:gnassas@mac.com">gnassas@mac.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 10-Nov-07, at 10:30 PM, Jason Surprise wrote:<br><br>&gt; latest intel 2.1.1 xorg driver which I couldn&#39;t figure out how to<br>&gt; build<br>&gt; ...<br>&gt; is enabled. glxgears is working.&nbsp;&nbsp;However, I am now unable to set &#39;Use
<br>&gt; OpenGL for vertical sync for timing&#39; in mythtv.&nbsp;&nbsp;I get video that is<br>&gt; unwatchable and the following error message from myth:<br>&gt; ...<br>&gt; 2007-11-10 19:25:23.068 OpenGLVideoSync::Start(): A/V Sync reported
<br>&gt; error: Bad Context<br><br><br>Sorry, I didn&#39;t see your post until just now.<br><br>The problem is the 2.1.1 driver only supports GL sync for 3D<br>operations. Luckily it&#39;s easy to restore support for 2D sync as well.
<br>Details are here:<br><br><a href="http://lists.freedesktop.org/archives/xorg/2007-June/025304.html">http://lists.freedesktop.org/archives/xorg/2007-June/025304.html</a><br><br>Basically go to src/i830_dri.c and make I830DRITransitionTo2d look a
<br>lot like I830DRITransitionTo3d. Myth now reports it&#39;s using DRI sync<br>instead of OpenGL but whatever, the tearing is gone, the picture is<br>awesome and life is good.<br><br>Later in the thread the developers signal they&#39;re going to straighten
<br>this out at some point so you won&#39;t have to patch the driver forever.<br><br>- George<br></blockquote></div><br>For reference, the same problem is present in xorg-x11-drv-ati-6.7.195-3.fc8 and also v6.7.196 of the ATI driver. Downloading the later and replacing the FALSEs with TRUEs in RADEONDRITransitionTo2d() provides a similar work-around. However, despite getting DRI vblank to work, I&#39;m now seeing refresh jitter with bobdeint that I didn&#39;t get with the Xorg 
6.9 drivers using identical MythTV frontend playback config...<br><br>This needs more testing when I&#39;ve had some sleep.<br><br clear="all">Cheers,<br>Wilf.<br>-- <br>Me@google |