<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:SmartTagType
namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="PersonName"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Chris,<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> If using “x11perf –rgbftext”
test, it will give lx_check_composite a call with pSrc(ARGB) and pDst(ARGB)
that we can’t handle.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> So I think this part
acceleration is not possible in our driver. Right now, with my patch, we can
accelerate with “-aa10text” and “aa24text”. We accelerate
the PictOpAdd with pSrc(A8) and pDst(A8).<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> If you care only the “-rgbftext”,
we have no way now; otherwise, you can use my patch to give a glyph performance
advanced.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Thanks,<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Frank<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<div style='border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt'>
<div>
<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>
<hr size=2 width="100%" align=center tabindex=-1>
</span></font></div>
<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'> Christophe
Lindheimer [mailto:christophe.lindheimer@gmail.com] <br>
<b><span style='font-weight:bold'>Sent:</span></b> 2010</span></font><font
size=2 face=宋体><span lang=ZH-CN style='font-size:10.0pt;
font-family:SimSun'>年</span></font><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma'>7</span></font><font size=2
face=宋体><span lang=ZH-CN style='font-size:10.0pt;font-family:
SimSun'>月</span></font><font size=2 face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma'>26</span></font><font size=2 face=宋体><span
lang=ZH-CN style='font-size:10.0pt;font-family:SimSun'>日</span></font><font
size=2 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'> 21:51<br>
<b><span style='font-weight:bold'>To:</span></b> <st1:PersonName w:st="on">Mart
Raudsepp</st1:PersonName><br>
<b><span style='font-weight:bold'>Cc:</span></b> Huang, FrankR;
xorg-driver-geode@lists.x.org<br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [Xorg-driver-geode]
Driver Perf LX800</span></font><o:p></o:p></p>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<div>
<blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;
margin-left:4.8pt;margin-right:0in'>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><br>
On E, 2010-07-26 at 14:31 +0200, Christophe Lindheimer wrote:<br>
> Hi.<br>
><o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>> My prob is just that I had much better perfomances with my old<br>
> system...<br>
><o:p></o:p></span></font></p>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Yes, and what are your typical use cases. What programs and operations<br>
are slow. Just the desktop environment in general, I assume.<o:p></o:p></span></font></p>
</blockquote>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Hard to say.<o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>The issue I see is on a big soft running in full screen on a simple X
Server.<o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>As I have a lot of text on the screen, I chose to test the -rgbftext <o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>But my knowledge on X is rather limited...<o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> <o:p></o:p></span></font></p>
</div>
<blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;
margin-left:4.8pt;margin-right:0in'>
<div>
<p class=MsoNormal style='margin-bottom:12.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>><br>
> I run a x11perf -rgbftext.<br>
> Old config :81300 / s<br>
> New config : 36000 / s<o:p></o:p></span></font></p>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Are you sure -rgbftext measures what is important?<br>
I guess it measures no anti-aliasing text drawing, not sure how we fare<br>
there with the optimized code (that isn't in 2.11.8 or even GIT yet).<br>
Is your desktop really configured to no anti-aliasing at all? We<br>
typically benchmark the common case with x11perf -aa10text and x11perf<br>
-aa24text for anti-aliased text<br>
<br>
In the future it will be important for speed to not use subpixel<br>
smoothing (the anti-aliasing style, that takes advandance of the fact<br>
that LCD screens are made of red, green and blue subpixels), as that we<br>
won't be able to accelerate anytime soon (if ever).<o:p></o:p></span></font></p>
<div>
<p class=MsoNormal style='margin-bottom:12.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'><br>
> But I guess (and hope) that Mart's analysis is OK and that the<br>
> performances will get much better once the driver will be fully<br>
> optimized...<o:p></o:p></span></font></p>
</div>
<p class=MsoNormal style='margin-bottom:12.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>Meanwhile you can force
most things to software with the option<br>
<br>
Option "MigrationHeuristic" "greedy"<br>
<br>
in your xorg.conf or xorg.conf.d/ (with xserver-1.8+ if migrated to that<br>
use already).<br>
<br>
That should give a bit better results until you are able to have more<br>
optimized driver.<br>
<br>
<br>
There are patches on the mailing list for making text go 5-10 times<br>
faster though. After those patches are finalized, we'll of course have<br>
work ahead on optimizing various other rendering of the desktop besides<br>
text drawing.<br>
<br>
<br>
Regards,<br>
<st1:PersonName w:st="on"><font color="#888888"><span style='color:#888888'>Mart
Raudsepp</span></font></st1:PersonName><o:p></o:p></span></font></p>
</blockquote>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
</div>
</div>
</body>
</html>