Hardware overlay on G965

Thomas Fritzsche tf at noto.de
Tue Feb 26 04:33:41 PST 2008


Hi Keith and Maxim,

thanks so much for the update.
Meanwhile I patched the latest stable ubuntu (7.10) src package (intel
2.1.1) and everything seems to work nicely. :-)
Attached is the "quick & dirty" proof of concept patch.

I changed:
* Added: +#define HW_HAS_OVERLAY(pI810) (IS_I965G(pI810) || IS_I965GM(pI810))
(as I guess X3100 is supposed to have a i965GM?)
* I disabled the the texture video completely.
* minimal adjustment to version 2.1.1

So overlay adapter is used as default and all video application work
nicely with default settings in compiz.I have this nice little blue
frame when moving a window, but at least it works.

Only thing I notice is, that "top" shows me about 20% CPU utilization
playing a DVD. Is this normal for overlay playback?

Attached output of "xvinfo".

Cheers,
Thomas


On Tue, Feb 26, 2008 at 3:25 PM, Keith Packard <keithp at keithp.com> wrote:
>
>  On Tue, 2008-02-26 at 15:12 +0900, Thomas Fritzsche wrote:
>
>  > Also I wonder you just deleted:
>  > -    /* No overlay scaler on the 965. */
>  >
>  > Do you have a clue why this comment was in the original driver?
>
>  We thought that the final G965 wouldn't have the scaler, and so we wrote
>  the textured video code and never tried the scaler code on production
>  hardware.
>
>  --
>  keith.packard at intel.com
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ubuntu_patch.diff
Type: text/x-patch
Size: 3257 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg/attachments/20080226/c4c9d078/attachment.bin>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: xvinfo.txt
URL: <http://lists.x.org/archives/xorg/attachments/20080226/c4c9d078/attachment.txt>


More information about the xorg mailing list