Bug 15289

Summary: [Intel] Java2D extremly slow with EXA enabled
Product: xorg Reporter: Clemens Eisserer <linuxhippy>
Component: Driver/intelAssignee: Wang Zhenyu <zhenyu.z.wang>
Status: RESOLVED DUPLICATE QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium    
Version: git   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Clemens Eisserer 2008-03-31 10:07:23 UTC
configuration: 945GM laptop, X.Org X Server 1.4.99.901 and xf86-video-intel-2.3-rc2:

All applications using Java2D become extremly slow when EXA is enabled.
A good example is Java2D where many benchmarks scored 700fps with XAA, but now only with a few FPS. Furthermore the whole UI becomes very unresponsive.

Howto reproduce:
1.) Start Java2Demo:
java -jar /usr/java/jdk1.6.0_10/demo/jfc/Java2D/Java2Demo.jar (make sure to have an official java version, not classpath, gij, icedtea or whatever)
2.) Click on the "Lines"-Tab
3.) Double-Click on the rotating arrow (maximizes them)
4.) set anim-delay to zero (slider on the right)
5.) enable/disable antialising (without antialiasing this is opaque, simple X11 core rendering).

This is just a single example where the intel/exa driver performs very poor, but also simple 2D applications that consist only of a few buttons become sluggish.
Comment 1 Wang Zhenyu 2008-04-01 22:08:42 UTC
Could you do some profile to see what slow things down?
Comment 2 Clemens Eisserer 2008-04-02 05:52:41 UTC
The machine died on Tuesday and won't be available for testing for several weeks.

However it should be fairly easy to repeat the suggested steps (on a GMA950), and you should be able to see the reported slowdowns, which lead in this cause to an almost unresponsive application.

lg Clemens
Comment 3 Wang Zhenyu 2008-06-18 00:46:55 UTC
Mark as dup with EXA performance bug in case java 2d has no specific other issues.


*** This bug has been marked as a duplicate of bug 13389 ***
Comment 4 Clemens Eisserer 2008-06-18 01:26:51 UTC
Java2D relies a lot on readbacks, because it provides a lot advanced features but restricts (for now) itself only to X11-Core drawing.

Therefor I don't think those two bugs are duplicates, this one is specific to Java2D, the other reports general slowness.

lg Clemens
Comment 5 Chris Wilson 2012-07-21 13:46:51 UTC
Clemens, feel free to ping me if you ever see X on your profiles or is limiting your performance.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.