Page 1 of 3 123 LastLast
Results 1 to 10 of 22

Thread: 2D performance on 'radeon' vs 'radeonhd'

  1. #1
    Join Date
    Jan 2007
    Posts
    33

    Default SOLVED - 2D performance on 'radeon' vs 'radeonhd'

    Hi,
    I built the current repository versions of 'radeon' and 'radeonhd' and compared the 2D performance on my X1800.

    As you can see, 'radeonhd' blows 'radeon' away on the GtkDrawingArea-Text test, where 'radeonhd' is about 3X faster. I believe there is a serious problem with this aspect of the 'radeon' driver. Conversely, for the GtkDrawingArea-Circles test, 'radeon' is about 3X faster.

    A couple months ago I remember running the same type of comparison and 'radeon' performed better on the same text drawing test, but I don't know when/how the reduced performance started.

    Does anybody have any thoughts or explanation on this?

    EDIT: These were the only options I used...
    Code:
    Option "AccelMethod" "EXA"
    Option "MigrationHeuristic" "greedy"
    Yes, current repository version of DRM.

    Code:
    X.Org X Server 1.5.99.1
    Release Date: 5 September 2007
    X Protocol Version 11, Revision 0
    Build Operating System: Linux 2.6.25-zen0 i686 
    Current Operating System: Linux shocked 2.6.25-zen0 #1 SMP PREEMPT Thu May 1 20:29:16 PDT 2008 i686
    Build Date: 01 May 2008  09:21:00PM
    Radeon:



    RadeonHD:

    Last edited by surfer; 05-02-2008 at 05:08 AM.

  2. #2
    Join Date
    Oct 2007
    Location
    Toronto-ish
    Posts
    7,284

    Default

    Which acceleration options were you using for each driver ? You should be able to see in the logs.

    Were you running radeon with a current DRM (ie from git) ? The code in radeon (which will be the code in radeonhd pretty soon) runs a lot faster when it can use the Command Processor (CP) via DRM.

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

    Default

    Shadowfb (no acceleration) is faster than basic XAA hw acceleration. If you turn on EXA and are using radeon and drm from git, you should see a nice performance boost. For an apples to apples comparison, turn on XAA in both drivers (Option "AccelMethod" "XAA").

    For a really nice performance boost, try grabbing the latest xserver with otayler's glyph patches.

  4. #4
    Join Date
    Jan 2007
    Posts
    33

    Default

    The only options I used were "EXA" and "MigrationHeuristic". Latest DRM, mesa, xorg-server from GIT.

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

    Default

    Quote Originally Posted by surfer View Post
    The only options I used were "EXA" and "MigrationHeuristic". Latest DRM, mesa, xorg-server from GIT.
    Can you post your xorg logs? Also, try removing the migrationheuristic option.

  6. #6
    Join Date
    Jan 2007
    Posts
    33

    Default

    Wow! Holy shit! I removed the MigrationHeuristic "greedy" option. I didn't expect that to help, then voila. Here are the new results! Very impressive. I guess I wasn't getting much text acceleration before, so I'm going to see if things feel snappier and report later. Also, that ghosting effect when dragging windows across other windows that don't redraw fast enough... that problem seems to have disappeared. Also, textured video is working again! Weird! I guess I missed the memo telling people to stop using this option. :9

    Last edited by surfer; 05-02-2008 at 02:03 AM.

  7. #7
    Join Date
    Oct 2007
    Posts
    370

    Default

    you should be happy..you are probably getting 10 times the 2d performance of us with nvidia 8800, lol

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

    Default

    Quote Originally Posted by surfer View Post
    Wow! Holy shit! I removed the MigrationHeuristic "greedy" option. I didn't expect that to help, then voila. Here are the new results! Very impressive. I guess I wasn't getting much text acceleration before, so I'm going to see if things feel snappier and report later. Also, that ghosting effect when dragging windows across other windows that don't redraw fast enough... that problem seems to have disappeared. Also, textured video is working again! Weird! I guess I missed the memo telling people to stop using this option. :9
    That option more or less disables acceleration since it avoids migrating pixmaps. It's useful when the driver does not provide an EXA composite hook, since there is less pixmap migration (to/from vram), but it also avoid cases that could be accelerated. The latest radeon exa code offers pretty thorough acceleration, so there's no need for it.

    You'll get another nice aa text boost if you grab the latest xserver with otayler's exa glyph updates. You may already have them depending on when you last updated your xserver from git.

  9. #9
    Join Date
    Jan 2007
    Posts
    33

    Default

    Here are my results from the current X related tools and the radeon driver as of today. 5/15/2008
    All the test results are either steady or improving... :-)

    Last edited by surfer; 05-15-2008 at 11:33 PM.

  10. #10
    Join Date
    Jan 2008
    Location
    Have a good day.
    Posts
    678

    Default

    You'll get another nice aa text boost if you grab the latest xserver with otayler's exa glyph updates. You may already have them depending on when you last updated your xserver from git.
    How do we build the xserver form git? The same way as mesa, 2D driver and so? I ask because out of the freedesktop wiki it seems to be a bit more complicated than just 'autogen.sh;configure;make install...or am I totally wrong?

Posting Permissions

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