Announcement

Collapse
No announcement yet.

2D performance on 'radeon' vs 'radeonhd'

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

  • 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; 02 May 2008, 05:08 AM.

  • #2
    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.
    Test signature

    Comment


    • #3
      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.

      Comment


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

        Comment


        • #5
          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.

          Comment


          • #6
            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; 02 May 2008, 02:03 AM.

            Comment


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

              Comment


              • #8
                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.

                Comment


                • #9
                  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; 15 May 2008, 11:33 PM.

                  Comment


                  • #10
                    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?

                    Comment

                    Working...
                    X