Announcement

Collapse
No announcement yet.

ATI Open vs. Closed AIGLX Performance

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • phoronix
    started a topic ATI Open vs. Closed AIGLX Performance

    ATI Open vs. Closed AIGLX Performance

    Phoronix: ATI Open vs. Closed AIGLX Performance

    For those that may have missed it, the ATI/AMD fglrx 8.42 display driver that was released last month had introduced AIGLX support. The open-source "Radeon" driver for ATI graphics cards going up to the R400 generation has supported AIGLX for quite some time, but the ATI binary display driver hadn't until last month. However, one of the complaints about the fglrx implementation of AIGLX is that in the 8.42.3 driver, some are encountering slow performance in Compiz / Compiz Fusion. We have taken an ATI Radeon X800XL 256MB PCI-E graphics card, which is supported by both the Radeon and fglrx drivers, and have compared their Compiz performance in a few different scenarios.

    http://www.phoronix.com/vr.php?view=11352

  • GhePeU
    replied
    To have meaningful results you must use xorg-server 1.4, mesa 7.0.1 and xf86-video-ati >=6.7.192 with EXA; this way you can benefit of the zero-copy-tfp work by Michael Daenzer, who improved radically compiz performances on r300-class hardware.
    Repeat the tests with Fedora 8 when it'll be out, it should have everything is needed.

    For xorg.conf I suggest:
    Code:
        Driver      "radeon"
        Option      "RenderAccel"    "On"
        Option      "AccelMethod"    "exa"
        Option      "AccelDFS"       "On" 
        Option      "FBTexPercent"   "30"
        Option      "EnablePageFlip" "On"
        Option      "GARTSize"       "32"
    RenderAccel is useless because it's not implemented yet in EXA but doesn't hurt.

    EDIT:

    PS.: xf86-video-ati = 2D driver, mesa = r300 3D driver, so if you're going to test fps in compiz or games you have to check the mesa release's version number.
    Last edited by GhePeU; 11-03-2007, 07:22 PM.

    Leave a comment:


  • cornelius
    replied
    Can Michael and others who get good Compiz desktop performance (not game fps) with 8.42.3 post their xorg.conf files? (or just the modification(s) done over the default) Was it just enabling EXA?

    And compared to that, do those see any decrease in performance/responsiveness with the default xorg.conf settings?

    Leave a comment:


  • ivanovic
    replied
    Originally posted by yoshi314 View Post
    that's strange exa works way better for me on r300 card with opensource driver.did you use official driver or a git checkout? (i use the latter)
    I am using the gentoo unstable default (beside the 2D driver for xorg). That is x11-drivers/xf86-video-ati-6.6.193, x11-base/x11-drm-20071019 and x11-libs/libdrm-2.3.0. As stated I do get exactly the same with fglrx when setting to exa.

    The relevant part of my configuration:
    Code:
    Section "Device"
            Identifier      "ATI Graphics Adapter"
            Driver          "radeon"
            BusID           "PCI:1:0:0"
            Screen          0
            Option          "MonitorLayout"         "TMDS, NONE"
            Option          "AGPMode"               "8"
            Option          "RenderAccel"           "on"
    #       Option          "AccelMethod"           "exa"
            Option          "GARTSize"              "128"
    #       needed for tvtime
            Option          "XAANoOffscreenPixmaps" "true"
    #       r300 driver options
            Option          "EnablePageFlip"        "true"
            Option          "ColorTiling"           "on"
    #       fglrx options
            Option          "VideoOverlay"          "on"
            Option          "OpenGLOverlay"         "off"
            Option          "UseInternalAGPGART"    "no"
    EndSection
    
    Section "Screen"
            Identifier "Screen0"
            Device     "ATI Graphics Adapter"
            Monitor    "Dell2405FPW"
            DefaultDepth     24
    EndSection
    
    Section "DRI"
            Mode         0666
    EndSection
    
    Section "Extensions"
            Option "Composite" "Disable"
    #       fglrx-only for xvideo (tvtime)
            Option "XVideo" "Enable"
    EndSection
    
    Section "ServerFlags"
            Option "AIGLX" "off"
    EndSection
    When removing the comment from "AccelMethod", things get really slow. Basically I do use the same config for both, fglrx and radeon (where fglrx has quite some more problems than the radeon driver...)

    Leave a comment:


  • yoshi314
    replied
    Ehm, on my system (without aiglx) on xorg-server 1.4 using exa is almost unusable, no matter if using the open (r300) or the closed (fglrx) driver.
    that's strange exa works way better for me on r300 card with opensource driver.did you use official driver or a git checkout? (i use the latter)

    Leave a comment:


  • ivanovic
    replied
    Ehm, on my system (without aiglx) on xorg-server 1.4 using exa is almost unusable, no matter if using the open (r300) or the closed (fglrx) driver. When switching to xaa with "XAANoOffscreenPixmaps" "true" everything is fine.
    Using exa results in a *very* slow behavior when switching desktops in KDE and scrolling and such is slow like hell. Using xaa I do get choppy images eg in tvtime. When activating "XAANoOffscreenPixmaps" everything is fine. All of this is *exactly* the same on the radeon and the fglrx driver. CPU-Load is a whole lot higher with exa, too.

    So I do stay with the default XAA (yes, it is the default when not specifying RenderAccel) since it does work nicely (at least when aiglx/xgl/compiz/beryl/whatever is not active), is stable and produces a low cpu load.

    Leave a comment:


  • Michael
    replied
    Originally posted by Regenwald View Post
    michael, did you enable exa?
    http://cworth.org/tag/exa/
    seems to improve the performance very much.(newer driver releases have it by default)
    EXA was enabled.

    Leave a comment:


  • Regenwald
    replied
    michael, did you enable exa?
    http://cworth.org/tag/exa/
    seems to improve the performance very much.(newer driver releases have it by default)

    Leave a comment:


  • anyone
    replied
    I have pretty much no problems with the new driver whatsoever; I love it. I don't see my Compiz fusion being any slower with AIGLX than with XGL, only the scrolling is slow. And even that is fixed if I turn Compiz off. And after turning off some boot options I even got my arch-nemesis, black-screen-on-logout defeated. I'm very, very happy with this driver release. It has gotten a lot of performance boosts and fixed annoying bugs.
    Not everyone is unhappy, notice that too.

    Leave a comment:


  • giesus
    replied
    Originally posted by Sovi View Post
    Another article telling us how better fglrx drivers are...
    Come on just take a quick look at the 8.42.3 forum topic here on phoronix EVERYONE is complaining about it being much slower on compiz with AIXGL than the older ones with XGL. Please Michael be fair I'm sure that you feel that too, just use it!!! I'm not blaming too much ATI for that, for sure they are doing hard work but thy are simply still not there. I cant' see any reason why articles on this site keep encourageing people to try the new driver when YOU know they are going to be disappointed!
    Please tell the truth, "things are getting better let's give ati couple more months, but 8.42 is still just beta quality".

    Not willing to flame, just a bit disappointed by phoronix, I love your site and I hate thinking you are not fair when talking about ATI.

    Bye.
    Diego
    I agree. disappointed by phoronix. We are not idiots!

    Leave a comment:

Working...
X