Results 1 to 9 of 9

Thread: XAA faster than EXA (r5xx, X1650, debian sid + experimental)?

  1. #1
    Join Date
    Jul 2008
    Location
    Slovakia
    Posts
    25

    Default XAA faster than EXA (r5xx, X1650, debian sid + experimental)?

    Greetings.

    Is it possible that 2D acceleration method XAA is faster than EXA with my SW / HW configuration?

    EXA:
    Everything is slow. Drawing objects, rendering inside kde/gtk windows. 3D accel is good (UrbanTerror ~70-90fps, glxgears ~2400fps) Example: I launch firefox, I open some tabs with web content but when I roll-down yakuake (terminal emulator) its very very slow with freezes over firefox window. Same when yakuake roll-up. Switch to another virtual desktop is painful, windows contents render for seconds.

    XAA: Everything what happend with EXA is gone. Everything is fast including virtual desktop switching.

    Configuration:

    Code:
    asfalatus@littlefame:~$ lspci
    00:00.0 Host bridge: VIA Technologies, Inc. K8M800 Host Bridge
    00:00.1 Host bridge: VIA Technologies, Inc. K8M800 Host Bridge
    00:00.2 Host bridge: VIA Technologies, Inc. K8M800 Host Bridge
    00:00.3 Host bridge: VIA Technologies, Inc. K8M800 Host Bridge
    00:00.4 Host bridge: VIA Technologies, Inc. K8M800 Host Bridge
    00:00.7 Host bridge: VIA Technologies, Inc. K8M800 Host Bridge
    00:01.0 PCI bridge: VIA Technologies, Inc. VT8237 PCI bridge [K8T800/K8T890 South]
    00:0a.0 Multimedia audio controller: Creative Labs SB Audigy LS
    00:0f.0 IDE interface: VIA Technologies, Inc. VIA VT6420 SATA RAID Controller (rev 80)
    00:0f.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
    00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
    00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
    00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
    00:10.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
    00:10.4 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 86)
    00:11.0 ISA bridge: VIA Technologies, Inc. VT8237 ISA bridge [KT600/K8T800/K8T890 South]
    00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 78)
    00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
    00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
    00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
    00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
    01:00.0 VGA compatible controller: ATI Technologies Inc RV535 [Radeon X1650 Series] (rev 9e)
    01:00.1 Display controller: ATI Technologies Inc RV535 [Radeon X1650 Series] (rev 9e)
    Code:
    asfalatus@littlefame:~$ cat /etc/X11/xorg.conf
    # /etc/X11/xorg.conf (xorg X Window System server configuration file)
    
    Section "Files"
    #       FontPath        "/usr/share/X11/fonts/misc"
    #       FontPath        "/usr/share/X11/fonts/cyrillic"
    #       FontPath        "/usr/share/X11/fonts/100dpi/:unscaled"
    #       FontPath        "/usr/share/X11/fonts/75dpi/:unscaled"
    #       FontPath        "/usr/share/X11/fonts/Type1"
    #       FontPath        "/usr/share/X11/fonts/CID"
    #       FontPath        "/usr/share/X11/fonts/100dpi"
    #       FontPath        "/usr/share/X11/fonts/75dpi"
            # paths to defoma fonts
    #       FontPath        "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
    #       FontPath        "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
    EndSection
    
    Section "Module"
            Load    "dbe"
    #       Load    "i2c"
    #       Load    "bitmap"
    #       Load    "ddc"
            Load    "dri"
            Load    "extmod"
            Load    "freetype"
            Load    "glx"
    #       Load    "int10"
    #       Load    "type1"
    #       Load    "vbe"
    EndSection
    
    Section "InputDevice"
            Identifier      "Keyboard[0]"
            Driver          "kbd"
            Option          "CoreKeyboard"
            Option          "XkbRules"      "xorg"
            Option          "XkbModel"      "pc104"
            Option          "XkbLayout"     "us,sk"
            Option          "XkbOptions"    "grp:alt_shift_toggle"
    EndSection
    
    Section "InputDevice"
            Identifier      "Mouse[0]"
            Driver          "mouse"
            Option          "CorePointer"
            Option          "Device"                "/dev/input/mice"
            Option          "Protocol"              "auto"
            Option          "ZAxisMapping"          "4 5"
    EndSection
    
    Section "Monitor"
            Identifier      "Monitor[0]"
            HorizSync       31.5-106.3
            VertRefresh     60-110
            Option          "DPMS"
    
            # Hansol 720D modelines
    
            ModeLine "640x480"   25.175     640 656 752 800 480 490 492 525 -hsync -vsync
            ModeLine "640x480"   31.5       640 656 720 840 480 481 484 500 -hsync -vsync
            ModeLine "640x480"   36         640 696 752 832 480 481 484 509 -hsync -vsync
            ModeLine "800x600"   40         800 840 968 1056 600 601 605 628 +hsync +vsync
            ModeLine "800x600"   49.5       800 816 896 1056 600 601 604 625 +hsync +vsync
            ModeLine "800x600"   56.25      800 832 896 1048 600 601 604 631 +hsync +vsync
            ModeLine "1024x768"  65         1024 1048 1184 1344 768 771 777 806 -hsync -vsync
            ModeLine "1024x768"  78.75      1024 1040 1136 1312 768 769 772 800 +hsync +vsync
            ModeLine "1024x768"  94.5       1024 1072 1168 1376 768 769 772 808 +hsync +vsync
            ModeLine "1280x1024" 108        1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync
            ModeLine "1280x1024" 135        1280 1296 1440 1688 1024 1025 1028 1066 +hsync +vsync
            ModeLine "1280x1024" 157.5      1280 1344 1504 1728 1024 1025 1028 1072 +hsync +vsync
            ModeLine "1600x1200" 162        1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
            ModeLine "1600x1200" 175        1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
            ModeLine "1600x1200" 202.5      1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
    
            # End of modelines
    
    EndSection
    
    Section "Device"
            Identifier      "Device[0]"
            Driver          "radeon"
            BusID           "PCI:1:0:0"
            Option          "XAANoOffscreenPixmaps"         "True"
            Option          "AGPMode"                       "8"
            Option          "AccelMethod"                   "XAA"
            Option          "ColorTiling"                   "On"
    #       Option          "AccelDFS"                      "True"
    #       This can speed up movie playback but can in rare cases case instability
    #       Option          "DMAForXv"                      "True"
    #       Option          "GARTSize"                      "512"
            Option          "RenderAccel"                   "True"
            Option          "VGAAccess"                     "True"
            Option          "BusType"                       "AGP"
    EndSection
    
    Section "Device"
            Identifier      "Device[1]"
            Driver          "fglrx"
            BusID           "PCI:1:0:0"
            Option          "UseFastTLS"            "2"
    EndSection
    
    Section "Extensions"
            Option "Composite" "Disable"
    EndSection
    
    Section "Screen"
            Identifier      "Screen[0]"
            Device          "Device[0]"
            Monitor         "Monitor[0]"
            DefaultDepth    24
            SubSection "Display"
                    Depth           24
                    Modes           "1024x768" "800x600" "640x480"
            EndSubSection
    EndSection
    
    Section "ServerLayout"
            Identifier      "Layout"
            Screen          "Screen[0]"
            InputDevice     "Keyboard[0]"
            InputDevice     "Mouse[0]"
            Option          "AIGLX"         "True"
    EndSection
    
    Section "DRI"
            Mode    0666
    EndSection
    Code:
    asfalatus@littlefame:~$ dpkg -l | grep 'mesa'
    ii  libgl1-mesa-dri                      7.1-1                                     A free implementation of the OpenGL API -- DRI modules
    ii  libgl1-mesa-glx                      7.1-1                                     A free implementation of the OpenGL API -- GLX runtime
    ii  libglu1-mesa                         7.1-1                                     The OpenGL utility library (GLU)
    ii  libosmesa6                           7.1.0~git20080618.3e8aadee-0ubuntu0tormod Mesa Off-screen rendering extension
    ii  mesa-utils                           7.1-1                                     Miscellaneous Mesa GL utilities
    
    dpkg -l | grep 'xorg' (REDUCED)
    
    ii  xserver-xorg                         1:7.4~3                                   the X.Org X server
    ii  xserver-xorg-core                    2:1.5.0-1                                 Xorg X server - core server
    ii  xserver-xorg-input-evdev             1:2.0.3-2                                 X.Org X server -- evdev input driver
    ii  xserver-xorg-input-kbd               1:1.3.1-2                                 X.Org X server -- keyboard input driver
    ii  xserver-xorg-input-mouse             1:1.3.0-2                                 X.Org X server -- mouse input driver
    ii  xserver-xorg-video-radeon            1:6.9.0+git20080826.a3cc1d7a-2            X.Org X server -- ATI Radeon display driver
    ii  xserver-xorg-video-radeonhd          1.2.1-3                                   X.Org X server -- AMD/ATI r5xx, r6xx display
    Code:
    asfalatus@littlefame:~$ uname -a
    Linux littlefame 2.6.26-1-amd64 #1 SMP Wed Sep 10 15:31:12 UTC 2008 x86_64 GNU/Linux
    Last edited by asfalatus; 09-23-2008 at 09:57 AM.

  2. #2
    Join Date
    Dec 2007
    Posts
    2,277

    Default

    Xserver 1.5.0 had a last minute bug that affects EXA. you have 3 options:
    1. use xserver master (also contains exa glyph improvements)
    2. wait for 1.5.x with the fix
    3. patch 1.5.0:
    http://cgit.freedesktop.org/xorg/xse...f40aa745fdc76e

  3. #3
    Join Date
    Jul 2008
    Location
    Slovakia
    Posts
    25

    Default

    Quote Originally Posted by agd5f View Post
    Xserver 1.5.0 had a last minute bug that affects EXA. you have 3 options:
    1. use xserver master (also contains exa glyph improvements)
    2. wait for 1.5.x with the fix
    3. patch 1.5.0:
    http://cgit.freedesktop.org/xorg/xse...f40aa745fdc76e
    Thank you very much. I will be patient

  4. #4
    Join Date
    Dec 2007
    Location
    /dev/hell
    Posts
    297

    Default

    well even with xorg-server-1.5.1 on my 9200se XAA is faster than EXA.

    for example "x11perf -aa10text"
    with XAA - 194000 /s
    with EXA - 116000 /s

    and firefox is hardly usable with EXA (always without compositing)

    radeon is 6.9.0

  5. #5
    Join Date
    Dec 2007
    Posts
    2,277

    Default

    The EXA glyph improvements are only available on xserver master. They were not included in 1.5.x.

  6. #6
    Join Date
    Mar 2008
    Location
    Eire
    Posts
    58

    Default

    Quote Originally Posted by agd5f View Post
    The EXA glyph improvements are only available on xserver master. They were not included in 1.5.x.
    So this fix isn't included in the xorg-server 1.5.1 release?

  7. #7
    Join Date
    Dec 2007
    Location
    /dev/hell
    Posts
    297

    Default

    Quote Originally Posted by Sadako View Post
    So this fix isn't included in the xorg-server 1.5.1 release?
    no, they will be in server-1.6.x

  8. #8
    Join Date
    Jan 2007
    Location
    Germany
    Posts
    2,091

    Default

    For me, with Xserver 1.5.1, EXA is more or less as fast as XAA, a little bit slower for normal operations like simple text but a bit faster on others (last three gtkperf tests). I'd be interested in the speed difference with Xserver 1.6. fglrx (supporting XAA only) is still the fastest for me.

    This is using RadeonHD-git, R580.

  9. #9

    Default xserver 1.5.1 slower than 1.4

    There are still some regression speed between xserver 1.4 and 1.5.1. I did a test comparing my Ubuntu 8.04 installation (using xserver 1.4.0.90) with backported -ati driver, radeon drm module and libdrm (all from recent git) and mesa 7.2 vs. a intrepid (ubuntu 8.10) LiveCD from 2008-09-30 (xserver 1.5.1, recent -ati git, libdrm 2.3.1 and radeon drm from kernel 2.6.27). I am using a RV530 on a MacBook Pro.

    Here are the results from gtkperf (always without compiz):
    1.4 XAA:
    Code:
    GtkPerf 0.40 - Starting testing: Wed May 14 12:28:47 2008
    
    GtkEntry - time:  0,09
    GtkComboBox - time:  6,56
    GtkComboBoxEntry - time:  5,45
    GtkSpinButton - time:  0,85
    GtkProgressBar - time:  0,49
    GtkToggleButton - time:  2,63
    GtkCheckButton - time:  2,62
    GtkRadioButton - time:  3,15
    GtkTextView - Add text - time: 12,25
    GtkTextView - Scroll - time:  7,87
    GtkDrawingArea - Lines - time:  1,15
    GtkDrawingArea - Circles - time:  5,35
    GtkDrawingArea - Text - time: 28,90
    GtkDrawingArea - Pixbufs - time:  3,52
     --- 
    Total time: 80,85
    1.5.1 XAA:
    Code:
    GtkPerf 0.40 - Starting testing: Tue Sep 30 15:03:06 2008
    
    GtkEntry - time:  0,15
    GtkComboBox - time:  6,81
    GtkComboBoxEntry - time:  3,57
    GtkSpinButton - time:  0,99
    GtkProgressBar - time:  0,49
    GtkToggleButton - time:  0,83
    GtkCheckButton - time:  0,44
    GtkRadioButton - time:  1,47
    GtkTextView - Add text - time: 13,45
    GtkTextView - Scroll - time:  2,52
    GtkDrawingArea - Lines - time:  2,49
    GtkDrawingArea - Circles - time:  3,39
    GtkDrawingArea - Text - time: 45,16
    GtkDrawingArea - Pixbufs - time:  4,36
     --- 
    Total time: 86,12
    1.4 EXA:
    Code:
    GtkPerf 0.40 - Starting testing: Tue Sep 30 18:08:38 2008
    
    GtkEntry - time:  0,09
    GtkComboBox - time:  3,83
    GtkComboBoxEntry - time:  2,96
    GtkSpinButton - time:  0,51
    GtkProgressBar - time:  0,27
    GtkToggleButton - time:  1,34
    GtkCheckButton - time:  1,44
    GtkRadioButton - time:  1,79
    GtkTextView - Add text - time: 11,68
    GtkTextView - Scroll - time:  2,84
    GtkDrawingArea - Lines - time:  2,43
    GtkDrawingArea - Circles - time:  1,86
    GtkDrawingArea - Text - time:  3,89
    GtkDrawingArea - Pixbufs - time:  0,30
     --- 
    Total time: 35,22
    1.5.1 EXA:
    Code:
    GtkPerf 0.40 - Starting testing: Tue Sep 30 15:08:52 2008
    
    GtkEntry - time:  0,16
    GtkComboBox - time:  6,52
    GtkComboBoxEntry - time:  3,93
    GtkSpinButton - time:  0,83
    GtkProgressBar - time:  0,40
    GtkToggleButton - time:  1,19
    GtkCheckButton - time:  0,55
    GtkRadioButton - time:  1,45
    GtkTextView - Add text - time: 13,90
    GtkTextView - Scroll - time:  2,23
    GtkDrawingArea - Lines - time:  5,48
    GtkDrawingArea - Circles - time:  4,04
    GtkDrawingArea - Text - time:  6,94
    GtkDrawingArea - Pixbufs - time:  0,36
     --- 
    Total time: 47,97

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •