Window mapping w/EXA really slow in Xorg 7.2

Joel Feiner jafeiner at gmail.com
Wed Apr 18 16:40:40 PDT 2007


I have an ATi x300 (r300 driver).  I have been using EXA plus the composite
extension in conjunction with xcompmgr/kompmgr, that is, 2d compositing.
With X server 7.1.1, everything works great.  The performance is actually
only every so slightly worse than without the compositing manager, only
really noticeable in scrolling quickly in Firefox.  Even then, it's pretty
snappy.  But with X server 7.2, while everything overall is as good or
better than with 7.1, switching virtual desktops and mapping large windows
is slow.  Switching desktops is especially slow taking as long as 2 seconds
to complete.  Most of that time, there is no change in the screen.  It is
only at the very end that all the windows appear for the new desktop.

I had previously filed a bug more for my driver, but I think this issue is
clearly in the X server.  Using the same driver, I get different results
with different versions of the server.  I am on Gentoo and I installed
version 1.2.99.905 of the X server through Portage.  I can't seem to use the
git version because I get module errors and I don't really want to fix that
(if I don't have to).  I am using a slightly older git version of the
xf86-video-ati driver, but checking the commit log shows that there haven't
been any EXA-related changes to the driver since I last checked it out.

Here's my xorg.conf:
Section "Extensions"
    Option "Composite" "Enable"
EndSection

Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen        0    "Screen0"
    InputDevice    "Mouse0" "CorePointer"
#    InputDevice        "Synaptics Mouse" "AlwaysCore"
    InputDevice    "Keyboard0" "CoreKeyboard"
    Option            "AIGLX" "on"
EndSection

Section "Files"
    FontPath     "/usr/share/fonts/misc/"
    FontPath     "/usr/share/fonts/TTF/"
    FontPath     "/usr/share/fonts/Type1/"
    FontPath     "/usr/share/fonts/CID/"
    FontPath     "/usr/share/fonts/75dpi/"
    FontPath     "/usr/share/fonts/100dpi/"
EndSection

Section "ServerFlags"
    Option    "Xinerama" "Off"
EndSection

Section "Module"
    Load  "extmod"
    Load  "dri"
    Load  "dbe"
    Load  "record"
    Load  "xtrap"
    Load  "glx"
    Load  "type1"
    Load  "freetype"
#    Load  "synaptics"
EndSection

Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "kbd"
EndSection

Section "InputDevice"
    Identifier  "Mouse0"
    Driver      "mouse"
    Option        "CorePointer"
    Option        "Device" "/dev/input/mice"
    Option        "Protocol" "IMPS/2"
    Option        "Emulate3Buttons" "yes"
    Option        "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    Identifier    "Synaptics Mouse"
    Driver        "synaptics"
    Option        "Device"        "/dev/input/mouse0"
    Option        "Protocol"        "auto-dev"
    Option        "LeftEdge"        "1700"
    Option        "RightEdge"        "5300"
    Option        "TopEdge"        "1700"
    Option        "BottomEdge"    "4200"
    Option        "FingerLow"        "25"
    Option        "FingerHigh"    "30"
    Option        "MaxTapTime"    "180"
    Option        "MaxTapMove"    "220"
    Option        "VertScrollDelta"    "100"
    Option        "MinSpeed"        "0.09"
    Option        "MaxSpeed"        "0.18"
    Option        "AccelFactor"    "0.0015"
    Option        "SHMConfig"        "on"
EndSection

Section "Monitor"
    Identifier   "Monitor0"
    VendorName   "Monitor Vendor"
    ModelName    "Monitor Model"
    DisplaySize  370    278
    Option        "DPMS"
EndSection

Section "Device"

        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "NoAccel"                # [<bool>]
        #Option     "SWcursor"               # [<bool>]
        #Option     "Dac6Bit"                # [<bool>]
        #Option     "Dac8Bit"                # [<bool>]
        #Option     "BusType"                # [<str>]
        #Option     "CPPIOMode"              # [<bool>]
        #Option     "CPusecTimeout"          # <i>
        #Option     "AGPMode"                # <i>
        #Option     "AGPFastWrite"           # [<bool>]
        #Option     "AGPSize"                # <i>
        #Option     "GARTSize"               # <i>
        #Option     "RingSize"               # <i>
        #Option     "BufferSize"             # <i>
        #Option     "EnableDepthMoves"       # [<bool>]
        #Option     "EnablePageFlip"         # [<bool>]
        #Option     "NoBackBuffer"           # [<bool>]
        #Option     "DRIReinit"              # [<bool>]
        #Option     "PanelOff"               # [<bool>]
        #Option     "DDCMode"                # [<bool>]
        #Option     "MonitorLayout"          # [<str>]
        #Option     "IgnoreEDID"             # [<bool>]
        #Option     "UseFBDev"               # [<bool>]
        #Option     "VideoKey"               # <i>
        #Option     "MergedFB"               # [<bool>]
        #Option     "CRT2HSync"              # [<str>]
        #Option     "CRT2VRefresh"           # [<str>]
        #Option     "CRT2Position"           # [<str>]
        #Option     "MetaModes"              # [<str>]
        #Option     "MergedDPI"              # [<str>]
        #Option     "NoMergedXinerama"       # [<bool>]
        #Option     "MergedXineramaCRT2IsScreen0"     # [<bool>]
        #Option     "DisplayPriority"        # [<str>]
        #Option     "PanelSize"              # [<str>]
        #Option     "ForceMinDotClock"       # <freq>
        #Option     "SubPixelOrder"          # [<str>]
        #Option     "ShowCache"              # [<bool>]
        #Option     "VGAAccess"              # [<bool>]
        #Option     "LVDSProbePLL"           # [<bool>]
        #Option     "ReverseDDC"             # [<bool>]
        #Option     "BIOSHotkeys"            # [<bool>]
    Identifier  "Card0"
    Driver      "ati"
    VendorName  "ATI Technologies Inc"
    BoardName   "Unknown Board"
    Option        "AccelMethod" "exa"
    Option        "MigrationHeuristic" "greedy"
    Option        "AccelDFS" "on"
    Option        "FBTexPercent" "100"
    Option        "EnablePageFlip" "true"
    Option        "AGPFastWrite" "on"
    Option        "ColorTiling" "on"
#    Option        "MergedFB" "true"
#    Option        "CRT2Position" "RightOf"
#    Option        "CRT2Hsync" "50-75"
#    Option        "CRTY2VRefresh" "30-82"
#    Option        "MonitorLayout" "LCD,CRT"
#    Option        "MergedXineramaCRT2IsScreen0" "true"
    BusID       "PCI:1:0:0"
    Screen        0
EndSection

Section "Device"
    Identifier  "VESA driver"
    Driver        "vesa"
    BusID        "PCI:1:0:0"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "Monitor0"
    DefaultDepth     24
    SubSection "Display"
        Viewport   0 0
        Depth     8
        Modes    "1400x1050" "1280x1024" "1024x768" "800x600"
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     16
        Modes    "1400x1050"
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     24
        Modes    "1400x1050" "1280x1024" "1024x768" "800x600"
    EndSubSection
EndSection

Section "Screen"
    Identifier    "vesa Screen 0"
    Device        "VESA driver"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection "Display"
        Viewport    0 0
        Depth        24
        Modes        "1400x1050" "1280x1024" "1024x768"
    EndSubSection
EndSection

Section "dri"
    Mode 0666
EndSection
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg/attachments/20070418/2bc9b412/attachment.html>


More information about the xorg mailing list