Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6708580

Java applications slow when EXA enabled

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 7
    • 6u5
    • client-libs
    • 2d
    • b43
    • x86
    • linux

        FULL PRODUCT VERSION :
        java version "1.6.0_10-beta"
        Java(TM) SE Runtime Environment (build 1.6.0_10-beta-b24)
        Java HotSpot(TM) Server VM (build 11.0-b12, mixed mode)


        ADDITIONAL OS VERSION INFORMATION :
        Linux mach1.mach 2.6.25 #3 SMP Sun Mar 25 22:45:33 CEST 2007 i686 i686 i386 GNU/Linux


        EXTRA RELEVANT SYSTEM CONFIGURATION :
        Fedora-8, intel-2.1.1 driver, EXA accaleration enabled, Intel-945GM

        A DESCRIPTION OF THE PROBLEM :
        When I enable EXA accaleration on my Laptop which is equipped with an intel 945 class GPU performance of java application is terrible.

        Especially text seems to suffer a lot (Java2D->Mix->BezierScroller "fullwindow" with text only down to 7fps from several hundreds fps). When antialiasing of fonts is disabled the demo gets 100fps, which is not good but better.
        Swing applications are hurt a lot, resizing and scrolling is painful.

        Also applets are slower.

        STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
        Install Linux with intel-driver and enable EXA

        EXPECTED VERSUS ACTUAL BEHAVIOR :
        EXPECTED -
        no slowdown
        ACTUAL -
        very large slowdown

        REPRODUCIBILITY :
        This bug can be reproduced always.

        ---------- BEGIN SOURCE ----------
        java -jar demo/jfc/Java2Demo/Java2Demo.jar
        ---------- END SOURCE ----------

        CUSTOMER SUBMITTED WORKAROUND :
        Run with:
            -Dsun.java2d.pmoffscreen=false
        however it makes X over network horrible slow, and its still slower (sometimes half the speed) of with XAA.

              tdv Dmitri Trembovetski (Inactive)
              ryeung Roger Yeung (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: