Monday, October 15, 2007

Xomap 3x more fast

During these days I found this patch[1] from Dan Amelang about a Xorg optimization to work with pixbuf composite (888 over 565). This patch makes Xorg about 3x faster. I made a little change in the patch for optimization of another function too.


I've exchanged some e-mails with Dan, and apparently this patch has a problem with small images but I didn't find this problem yet. If someone would like to try this patch you can install the package[2] above and if you get the bug, please report to me. But be careful because this patch is an experimental code and can freeze your X server.



You can verify the performance with this example code[3].



[1]http://lists.freedesktop.org/archives/xorg/2007-April/024286.html

[2]http://www.renatofilho.com/files/xserver-xomap_1.1.99.3-0osso37_armel.deb

[3]http://amelang.net/composite_pixbuf.c, http://www.renatofilho.com/files/composite_pixbuf

9 Comments:

Anonymous Anonymous said...

Incompatible application package.

1:16 PM  
Blogger Renato Araujo said...

You need install this using dpkg -i http://www.renatofilho.com/files/xserver-xomap_1.1.99.3-0osso37_armel.deb , this is incompatible with package manger

1:28 PM  
Blogger eijk said...

Do you know if this also applies to the Nokia 770? Do you have the source package online somewhere?

Thanks!

1:35 PM  
Blogger Renato Araujo said...

the source you can get using apt-get source xserver-xomap inside of scrachbox, and apply this patch http://www.renatofilho.com/files/fbpict.patch

2:01 PM  
Anonymous Anonymous said...

I installed it.. don't really notice a difference, honestly.

4:47 PM  
Blogger Renato Araujo said...

this patch only speed up, operations with pixbuf, you can test this with composite example application.

4:58 PM  
Anonymous Anonymous said...

Should this make scrolling in the browser smoother? I think it does, but I could be fooling myself.

Attempting to select text in the browser locks my device every time with both opera and microb. I have to remove the battery to recover.

4:17 PM  
Anonymous Anonymous said...

The browser doesn't use pixbuf =)
and daniel stone who maintain the x for the maemo already received this patch since april, so it should be already on chinook.

8:03 AM  
Blogger Renato Araujo said...

No, Dan talked to me, and the patch has not been applied yet because of probable bug with small images.

9:52 AM  

Post a Comment

<< Home