Bug 384141

Summary: intel: X horribly slow when using AIGLX for compiz
Product: [openSUSE] openSUSE 11.0 Reporter: Christopher Desjardins <cddesjardins>
Component: X.OrgAssignee: Stefan Dirsch <sndirsch>
Status: RESOLVED FIXED QA Contact: E-mail List <xorg-maintainer-bugs>
Severity: Normal    
Priority: P5 - None    
Version: Factory   
Target Milestone: ---   
Hardware: i686   
OS: openSUSE 11.0   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: xf86-video-intel-default2xaa.diff

Description Christopher Desjardins 2008-04-26 18:58:12 UTC
I am running the latest xorg-x11-driver-video in factory (7.3-115).  When I enable kwin's composite via systemsettings then X becomes incredibly slow.  I am using the intel driver and AIGLX.  I have an intel 945 chip and AIGLX worked flawlessly with the intel driver in 10.3.
Comment 1 Stefan Dirsch 2008-04-26 20:35:53 UTC
1. The requirements of kwin's desktop effects of 10.3 might have been
   completely different than the one of 11.0. So the comparison is likely
   not fair at all. BTW, are you talking of KDE3 or KDE4? 
2. The acceleration architecture used by intel driver was still XAA on 10.3.
   On 11.0 it is EXA. You can still switch to XAA, but then AIGLX no longer
   works.
3. Maybe it's the best to switch to XAA and use Xgl instead of AIGLX in your
   case.
Comment 2 Christopher Desjardins 2008-04-26 21:54:45 UTC
1.  I am referring to KDE4 on 10.3.  Also I am experiencing this with compiz too.

Since it's EXA and not XAA anymore ... how could I switch and try XAA and XGL?

Thanks for getting back so quick too!
Comment 3 Stefan Dirsch 2008-04-27 06:09:09 UTC
XAA: Option "AccelMethod" "XAA" (see "man intel")
XGL: xgl-switch --enable-xgl (still gnome-xgl-switch on Beta1?)
Comment 4 Stefan Dirsch 2008-04-29 21:18:35 UTC
So did it help to switch to Xgl/XAA instead of AIGLX/EXA?
Comment 5 Christopher Desjardins 2008-04-29 22:47:30 UTC
XAA and AIGLX work well (so I'm not sure why these can't work together?).  Xgl/XAA didn't really work for me.  My windows went entirely black and I had very large shadows around my windows as well.  But anyways XAA and AIGLX seem to work great.  
Comment 6 Stefan Dirsch 2008-04-29 23:21:28 UTC
I didn't try the combination Xgl/XAA yet, but I remember the last time I tried AIGLX/XAA keyboard input was no longer possible.
Comment 7 Stefan Dirsch 2008-04-30 02:28:37 UTC
(In reply to comment #6 from Stefan Dirsch)
> I didn't try the combination Xgl/XAA yet, but I remember the last time I
> tried AIGLX/XAA keyboard input was no longer possible.
I will double check this.

Comment 8 Stefan Dirsch 2008-04-30 08:33:15 UTC
I can't reproduce the issues you have with Xgl/XAA. But indeed AIGLX/XAA works for me as well (now?). Tested on i915G. I think we should make XAA the default.
Especially the 2D performance is much better than with EXA at the moment.
Comment 9 Stefan Dirsch 2008-04-30 08:40:16 UTC
Created attachment 211401 [details]
xf86-video-intel-default2xaa.diff
Comment 10 Stefan Dirsch 2008-04-30 09:05:34 UTC
> I think we should make XAA the default.
done. ==> FIXED
Comment 11 Christopher Desjardins 2008-04-30 13:29:05 UTC
Thanks Stefan!  That's some quick service!  By the way, I could do some further testing on that XGL bug that I think I encountered, but my preference is AIGLX and would only do it for testing purposes.
Cheers!