Xfbdev based server acceleration without offscreen pixmap?

Daniel Stone daniel at fooishbar.org
Sat Sep 29 09:00:22 PDT 2007


On Sat, Sep 29, 2007 at 06:16:44PM +0800, MD Tsai wrote:
> I'm working for Xfbdev based server KAA acceleration. After reading mailing
> list, I found this is discussed before. But I still failed.
> 
> When I trace to kaa.c, in kaaDrawInit, there are two condition to hookup
> offscreen pixmap. First is the flag, this is already set to
> KAA_OFFSCREEN_PIXMAPS.
> Second is "screen->off_screen_base < screen->memory_size". In my case,
> off_screen_base is equal to memory size so it is impossible to hookup.
> 
> If I want to hook KAA, should I modify frame buffer's driver to let
> memory_size > off_screen_base or any other things to do? Please give me some
> hints about this.

Hi,
Yes, you need to get a larger memory size.  When off_screen_base ==
memory_size, that means that there is zero room for off-screen pixmaps:
the start of the range is the end of the range.

Cheers,
Daniel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.x.org/archives/xorg/attachments/20070929/63dba62d/attachment.pgp>


More information about the xorg mailing list