Announcement

Collapse
No announcement yet.

xf86-video-ati performance tweak

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

  • xf86-video-ati performance tweak

    Hi to all
    I downloaded drm-git today and xf86-video-ati-git a week ago and mesa and xorg are
    not git.
    My card is radeon 9600 and with catalyst driver it doesn't work very well so i tried the opensource driver.
    i don't know if my setup is the best
    with gtkperf:
    Code:
    GtkPerf 0.40 - Starting testing: Sat May  3 10:54:22 2008
    GtkEntry - time:  0,29
    GtkComboBox - time:  6,88
    GtkComboBoxEntry - time:  6,52
    GtkSpinButton - time:  1,77
    GtkProgressBar - time:  1,11
    GtkToggleButton - time:  2,76
    GtkCheckButton - time:  2,22
    GtkRadioButton - time:  2,79
    GtkTextView - Add text - time:  2,09
    GtkTextView - Scroll - time:  1,25
    GtkDrawingArea - Lines - time:  1,97
    GtkDrawingArea - Circles - time:  1,18
    GtkDrawingArea - Text - time:  3,29
    GtkDrawingArea - Pixbufs - time:  0,53
     --- 
    Total time: 34,67
    Now xcompmgr work well except when I resize a window.
    my xorg.conf is:
    Code:
    #Archlinux xorg
    Section "ServerLayout"
        Option          "AIGLX"         "Ture"
        Identifier     "single head configuration"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
    EndSection
    
    Section "Files"
    	RgbPath      "/usr/share/X11/rgb"
    	ModulePath   "/usr/lib/xorg/modules"
    	FontPath     "/usr/share/fonts/misc:unscaled"
    	FontPath     "/usr/share/fonts/misc"
    	FontPath     "/usr/share/fonts/PEX"
    # Additional fonts: Locale, Gimp, TTF...
    	FontPath     "/usr/share/fonts/cyrillic"
    # True type and type1 fonts are also handled via xftlib, see /etc/X11/XftConfig!
    	FontPath     "/usr/share/fonts/Type1"
    	FontPath     "/usr/share/fonts/ttf/western"
    	FontPath     "/usr/share/fonts/ttf/decoratives"
    	FontPath     "/usr/share/fonts/truetype"
    	FontPath     "/usr/share/fonts/truetype/openoffice"
    	FontPath     "/usr/share/fonts/truetype/ttf-bitstream-vera"
    	FontPath     "/usr/share/fonts/latex-ttf-fonts"
    	FontPath     "/usr/share/fonts/defoma/CID"
    	FontPath     "/usr/share/fonts/defoma/TrueType"
    EndSection
    
    Section "Module"
        Load  "dbe"
        Load  "extmod"
        Load  "fbdevhw"
        Load  "glx"
        Load  "record"
        Load  "freetype"
        Load  "type1"
        Load  "dri"
    EndSection
    
    Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
        Option      "XkbModel" "pc105"
        Option      "XkbLayout" "ch"
    EndSection
    
    Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "IMPS/2"
        Option      "Device" "/dev/input/mice"
        Option      "ZAxisMapping" "4 5"
        Option      "Emulate3Buttons" "no"
    EndSection
    
    Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Samsung"
        ModelName    "SyncMaster 913v"
        Option       "dpms"
    
        # Important. At least on my setup it doesn't detect the size correctly.
        # If not specified, the fonts may look very tiny.
        # Numbers found on a random web site using Google.
        DisplaySize  372.32     301.58
        # Those are the magic values that make it all work.
        #
        HorizSync    30.0 - 81.0
        VertRefresh  56.0 - 75.0
    
    EndSection
    
    Section "Device"
        Identifier  "Device0"
        # Other important bit. The radeon driver is mature enough, as been said in #xorg
        Driver      "radeon"
        VendorName  "ATI"
        BoardName   "ATI Radeon 9600"
        # Options recommended on dri.freedesktop.org
        Option "AccelMethod" "EXA"
        Option "AccelDFS" "true"
        Option "EnablePageFlip" "true"
        Option "EnableDepthMoves" "true"
        Option "AGPMode"        "4"
        Option "GARTSize"       "128"
        Option "ColorTiling"    "on"
        #Option "TripleBuffer"   "true"
        Option "DMAForXv"       "true"
    EndSection
    
    Section "Screen"
        Identifier "Screen0"
        Device     "Device0"
        Monitor    "Monitor0"
        DefaultDepth     24
        SubSection "Display"
            Viewport    0 0
            # Fix the viewable area to 1680x1050, or something
            Modes           "1280x1024" "1024x768"
            Depth       24
        EndSubSection
    EndSection
    
    Section "Extensions"
    	Option "RENDER" "Enable"
    	Option "DAMAGE" "Enable"
    	Option "Composite" "True"
    	Option "XVideo" "Enable"
    	Option "XINERAMA" "False"
    EndSection
    
    Section "DRI"
        Mode        0666
    EndSection
    Is there anything that i can do for speed up the performance ?
    Sorry for my english

  • #2
    For starters you spelled the word "True" wrong when setting AIGLX on:
    Option "AIGLX" "Ture"


    Might want to correct that.

    Comment


    • #3
      Lol thank you
      it works also with ture ahah
      Code:
      (WW) Option "AIGLX" requires a boolean value
      (==) AIGLX enabled

      Comment


      • #4
        A 9600 should be able to do AGP mode "8" instead of 4, unless you have an old motherboard. I have a 9500 and I had a couple more options enabled, maybe for no reason :
        Option "RenderAccel" "1"
        Option "BackingStore" "1"
        Option "AGPMode" "8"
        #Option "AGPFastWrite" "1"

        Fast write hard-locks X, even though I have it enabled in the BIOS, which is why it's commented out.

        Comment


        • #5
          unfortunately I have an old motherboard without AGP 8X
          I added renderaccel and backingstore, thank you

          Comment


          • #6
            if you are using ati and drm from git enable EXA:

            Option "AccelMethod" "EXA"

            If your config has a migrationheuristic option, remove it.

            Comment


            • #7
              Thanks, I already removed migrationheuristic when I saw the other topic about the 2d performance of radeon and radeonhd .
              The gtkperf output was without migrationheuristic.

              Comment

              Working...
              X