Problem with performance with Composite and dri
Michel Dänzer
michel at tungstengraphics.com
Thu May 22 08:55:05 PDT 2008
On Thu, 2008-05-22 at 11:18 +0000, RafałMużyło wrote:
> Michel Dänzer <michel at ...> writes:
>
> > > with cairo: system seems to freeze (I'm not talking about framerate, server
> > > itself gets unresponsive)
> >
> > Does it recover after killing the application? Same problem without
> > Option "AccelDFS" or with XAA instead of EXA?
> >
> I should explain, what 'system seems to freeze` means in this context.
> It means: my wm is set to 'focus follows mouse' and I'm running xclock;
> when I run gvbam with cairo, mouse moves fine, but focus doesn't change
> and xclock is frozen. If I do Alt+Ctrl+F1/Alt+Ctrl+F7, app looses focus
> and pauses, so I can kill it and system recovers (well, it recovers as soon
> as app looses focus).
Sounds like the app is flooding the X server with requests it can't keep
up with, or maybe taking and keeping a grab.
> Now, about XAA/EXA and AccelDFS.
> For now, I tested it only with dri disabled.
> EXA + no AccelDFS = same freeze as EXA + AccelDFS + dri
> XAA + AccelDFS = same as EXA + AccelDFS (no dri)
> XAA + no AccelDFS = decent framerate, but still a bit low.
That doesn't all make sense - AccelDFS can only really be enabled when
using EXA with the DRI enabled. So the first one boils down to EXA with
DRI disabled, which you said previously was better? And there should be
no difference between the XAA cases regardless of AccelDFS.
> > > with opengl: framerate is very low
> >
> > Anything interesting in the application output, in particular on stderr?
> > Does it work better with the environment variable
> > disable_lowimpact_fallback=true set?
> App doesn't have any console output and I'm running with
> disable_lowimpact_fallback=true by default, cause it affects other programs.
Then it sounds like the app is using OpenGL functionality that the Mesa
r300 driver doesn't handle well yet.
--
Earthling Michel Dänzer | http://tungstengraphics.com
Libre software enthusiast | Debian, X and DRI developer
More information about the xorg-driver-ati
mailing list