<br><br><div class="gmail_quote">On Fri, Dec 26, 2008 at 2:21 PM, Anthony Arobone <span dir="ltr"><<a href="mailto:aaroboneml@gmail.com">aaroboneml@gmail.com</a>></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'm having a problem getting Myth to use the opengl profile for playback. It keeps falling back to xv playback. I'm running Gentoo (2.6.28) on Intel X4500HD (G45) video. Running the newest test driver, xf86-video-intel-2.5.99.1 from x11 overlay, xorg-server-1.5.3. and lastest mesa master, mesa-9999.<br>
<br>I'm seeing massive horizontal tearing when playing back 1080 content (even with VSync checked). When I test with mplayer using -vo xv I get the same tearing. But, when I use mplayer -vo gl OR mplayer -vo gl2 there is absolutely no tearing. glxinfo reports direct rendering: Yes, and glxgears works fine. 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 'opengl' not available.<br> codec 'MPEG2' makes 'xv-blit,xshm,xlib,' available, using 'xv-blit' instead.<br>
</blockquote><br><br>I have opengl compiled into mythtv:<br>[ebuild R ] media-tv/mythtv-0.21_p18314-r1 USE="aac alsa dvb dvd fftw lirc mmx opengl perl python xvmc (-altivec) -autostart -debug -directv -ieee1394 -jack -lcd" VIDEO_CARDS="-nvidia" 0 kB<br>
<br>I'm even using the opengl renderer for the QT painter, and that's workig great. 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't have any Overlay adaptor even though I am specifying XvPreferOverlay to true in my xorg.conf. Why is that? 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=":0" xvinfo<br>X-Video Extension version 2.2<br>screen #0<br> Adaptor #0: "Intel(R) Textured Video"<br> number of ports: 16<br> port base: 72<br> operations supported: PutImage<br> supported visuals:<br>
depth 24, visualID 0x21<br> number of attributes: 2<br> "XV_BRIGHTNESS" (range -128 to 127)<br> client settable attribute<br> client gettable attribute (current value is 0)<br>
"XV_CONTRAST" (range 0 to 255)<br> client settable attribute<br> client gettable attribute (current value is 0)<br> maximum XvImage size: 1920 x 1088<br> Number of image formats: 5<br>
id: 0x32595559 (YUY2)<br> guid: 59555932-0000-0010-8000-00aa00389b71<br> bits per pixel: 16<br> number of planes: 1<br> type: YUV (packed)<br> id: 0x32315659 (YV12)<br> guid: 59563132-0000-0010-8000-00aa00389b71<br>
bits per pixel: 12<br> number of planes: 3<br> type: YUV (planar)<br> id: 0x30323449 (I420)<br> guid: 49343230-0000-0010-8000-00aa00389b71<br> bits per pixel: 12<br> number of planes: 3<br>
type: YUV (planar)<br> id: 0x59565955 (UYVY)<br> guid: 55595659-0000-0010-8000-00aa00389b71<br> bits per pixel: 16<br> number of planes: 1<br> type: YUV (packed)<br> id: 0x434d5658 (XVMC)<br>
guid: 58564d43-0000-0010-8000-00aa00389b71<br> bits per pixel: 12<br> number of planes: 3<br> 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 "Device"<br> Identifier "G45"<br> Driver "intel"<br><br> Option "Monitor-HDMI-1" "PRO111FD"<br><br> Option "ModeDebug" "true"<br>
Option "XvMC" "true"<br> Option "DRI" "true"<br> Option "XvPreferOverlay" "true"<br> Option "DDC" "true"<br>
EndSection<br></blockquote><br>