[mythtv-users] intel and opengl playback
Anthony Arobone
aaroboneml at gmail.com
Fri Dec 26 23:53:30 UTC 2008
On Fri, Dec 26, 2008 at 2:21 PM, Anthony Arobone <aaroboneml at gmail.com>wrote:
> Hi,
>
> 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.
>
> 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.
>
> VideoOutputXv: Desired video renderer 'opengl' not available.
>> codec 'MPEG2' makes 'xv-blit,xshm,xlib,'
>> available, using 'xv-blit' instead.
>>
>
>
> I have opengl compiled into mythtv:
> [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
>
> I'm even using the opengl renderer for the QT painter, and that's workig
> great. Blends nicely from menu to menu.
>
> Any idea why this is happening?
>
>
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.
$ DISPLAY=":0" xvinfo
> X-Video Extension version 2.2
> screen #0
> Adaptor #0: "Intel(R) Textured Video"
> number of ports: 16
> port base: 72
> operations supported: PutImage
> supported visuals:
> depth 24, visualID 0x21
> number of attributes: 2
> "XV_BRIGHTNESS" (range -128 to 127)
> client settable attribute
> client gettable attribute (current value is 0)
> "XV_CONTRAST" (range 0 to 255)
> client settable attribute
> client gettable attribute (current value is 0)
> maximum XvImage size: 1920 x 1088
> Number of image formats: 5
> id: 0x32595559 (YUY2)
> guid: 59555932-0000-0010-8000-00aa00389b71
> bits per pixel: 16
> number of planes: 1
> type: YUV (packed)
> id: 0x32315659 (YV12)
> guid: 59563132-0000-0010-8000-00aa00389b71
> bits per pixel: 12
> number of planes: 3
> type: YUV (planar)
> id: 0x30323449 (I420)
> guid: 49343230-0000-0010-8000-00aa00389b71
> bits per pixel: 12
> number of planes: 3
> type: YUV (planar)
> id: 0x59565955 (UYVY)
> guid: 55595659-0000-0010-8000-00aa00389b71
> bits per pixel: 16
> number of planes: 1
> type: YUV (packed)
> id: 0x434d5658 (XVMC)
> guid: 58564d43-0000-0010-8000-00aa00389b71
> bits per pixel: 12
> number of planes: 3
> type: YUV (planar)
>
xorg.conf Device section:
Section "Device"
> Identifier "G45"
> Driver "intel"
>
> Option "Monitor-HDMI-1" "PRO111FD"
>
> Option "ModeDebug" "true"
> Option "XvMC" "true"
> Option "DRI" "true"
> Option "XvPreferOverlay" "true"
> Option "DDC" "true"
> EndSection
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20081226/f6dd6f50/attachment.htm
More information about the mythtv-users
mailing list