<br><br><div class="gmail_quote">On Fri, Dec 26, 2008 at 2:21 PM, Anthony Arobone <span dir="ltr">&lt;<a href="mailto:aaroboneml@gmail.com">aaroboneml@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br><br>I&#39;m having a problem getting Myth to use the opengl profile for playback.&nbsp; It keeps falling back to xv playback.&nbsp; I&#39;m running Gentoo (2.6.28) on Intel X4500HD (G45) video.&nbsp; Running the newest test driver, xf86-video-intel-2.5.99.1 from x11 overlay, xorg-server-1.5.3.&nbsp; and lastest mesa master, mesa-9999.<br>

<br>I&#39;m seeing massive horizontal tearing when playing back 1080 content (even with VSync checked).&nbsp; When I test with mplayer using -vo xv I get the same tearing.&nbsp; But, when I use mplayer -vo gl&nbsp; OR mplayer -vo gl2 there is absolutely no tearing.&nbsp; glxinfo reports direct rendering: Yes, and glxgears works fine.&nbsp; But when I setup a playback profile in myth frontend to use opengl it fails to initialize it and falls back to XV.<br>

<br><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">VideoOutputXv: Desired video renderer &#39;opengl&#39; not available.<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; codec &#39;MPEG2&#39; makes &#39;xv-blit,xshm,xlib,&#39; available, using &#39;xv-blit&#39; instead.<br>

</blockquote><br><br>I have opengl compiled into mythtv:<br>[ebuild&nbsp;&nbsp; R&nbsp;&nbsp; ] media-tv/mythtv-0.21_p18314-r1&nbsp; USE=&quot;aac alsa dvb dvd fftw lirc mmx opengl perl python xvmc (-altivec) -autostart -debug -directv -ieee1394 -jack -lcd&quot; VIDEO_CARDS=&quot;-nvidia&quot; 0 kB<br>

<br>I&#39;m even using the opengl renderer for the QT painter, and that&#39;s workig great.&nbsp; Blends nicely from menu to menu.<br><br>Any idea why this is happening?<br>
<br>
</blockquote></div><br>Well, turns out that I don&#39;t have any Overlay adaptor even though I am specifying XvPreferOverlay to true in my xorg.conf.&nbsp; Why is that?&nbsp; How do I get Overlay enabled.<br><br><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">
$ DISPLAY=&quot;:0&quot; xvinfo<br>X-Video Extension version 2.2<br>screen #0<br>&nbsp; Adaptor #0: &quot;Intel(R) Textured Video&quot;<br>&nbsp;&nbsp;&nbsp; number of ports: 16<br>&nbsp;&nbsp;&nbsp; port base: 72<br>&nbsp;&nbsp;&nbsp; operations supported: PutImage<br>&nbsp;&nbsp;&nbsp; supported visuals:<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; depth 24, visualID 0x21<br>&nbsp;&nbsp;&nbsp; number of attributes: 2<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;XV_BRIGHTNESS&quot; (range -128 to 127)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; client settable attribute<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; client gettable attribute (current value is 0)<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;XV_CONTRAST&quot; (range 0 to 255)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; client settable attribute<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; client gettable attribute (current value is 0)<br>&nbsp;&nbsp;&nbsp; maximum XvImage size: 1920 x 1088<br>&nbsp;&nbsp;&nbsp; Number of image formats: 5<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; id: 0x32595559 (YUY2)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; guid: 59555932-0000-0010-8000-00aa00389b71<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; bits per pixel: 16<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; number of planes: 1<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; type: YUV (packed)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; id: 0x32315659 (YV12)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; guid: 59563132-0000-0010-8000-00aa00389b71<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; bits per pixel: 12<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; number of planes: 3<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; type: YUV (planar)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; id: 0x30323449 (I420)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; guid: 49343230-0000-0010-8000-00aa00389b71<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; bits per pixel: 12<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; number of planes: 3<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; type: YUV (planar)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; id: 0x59565955 (UYVY)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; guid: 55595659-0000-0010-8000-00aa00389b71<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; bits per pixel: 16<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; number of planes: 1<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; type: YUV (packed)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; id: 0x434d5658 (XVMC)<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; guid: 58564d43-0000-0010-8000-00aa00389b71<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; bits per pixel: 12<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; number of planes: 3<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; type: YUV (planar)<br></blockquote><br>xorg.conf Device section:<br><br><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">
Section &quot;Device&quot;<br>&nbsp;&nbsp;&nbsp; Identifier&nbsp; &quot;G45&quot;<br>&nbsp;&nbsp;&nbsp; Driver&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;intel&quot;<br><br>&nbsp;&nbsp;&nbsp; Option&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;Monitor-HDMI-1&quot;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;PRO111FD&quot;<br><br>&nbsp;&nbsp;&nbsp; Option&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;ModeDebug&quot;&nbsp;&nbsp;&nbsp;&nbsp; &quot;true&quot;<br>
&nbsp;&nbsp;&nbsp; Option&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;XvMC&quot;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;true&quot;<br>&nbsp;&nbsp;&nbsp; Option&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;DRI&quot;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;true&quot;<br>&nbsp;&nbsp;&nbsp; Option&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;XvPreferOverlay&quot; &quot;true&quot;<br>&nbsp;&nbsp;&nbsp; Option&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;DDC&quot;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;true&quot;<br>
EndSection<br></blockquote><br>