You are not logged in.

#1 2008-09-06 08:27:46

Zap
Member
Registered: 2006-07-21
Posts: 41

xorg 1.5rc6 radeon high cpu usage

Hi to all.
I tried to install the new Xorg with radeon driver, because it doesn't work with catalyst/fglrx, but my system become really slow.
Xorg uses a lot of cpu when I move a windows or just start an app.
With XAA it's a little better than EXA, with vesa and with radeon git it's the same so probably isn't a driver related problem.

 
PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND   
2612 root      20   0  603m  16m 3876 R   79.2    6.5      5:16.75       X

Gtkperf is really slow too

GtkEntry - time:  0,34
GtkComboBox - time: 10,82
GtkComboBoxEntry - time:  9,19
GtkSpinButton - time:  1,44
GtkProgressBar - time:  0,67
GtkToggleButton - time:  5,64
GtkCheckButton - time:  3,98
GtkRadioButton - time:  4,28
GtkTextView - Add text - time:  3,02
GtkTextView - Scroll - time:  3,60
GtkDrawingArea - Lines - time:  2,48
GtkDrawingArea - Circles - time:  1,99
GtkDrawingArea - Text - time: 13,95
GtkDrawingArea - Pixbufs - time:  0,58
 --- 
Total time: 61,98

my xorg.conf:http://pastebin.com/m9e6f949

Offline

#2 2008-09-06 08:40:20

SiD
Member
From: Germany
Registered: 2006-09-21
Posts: 729

Re: xorg 1.5rc6 radeon high cpu usage

I also use Xorg 1.5RC6 and the xorg-radeon driver but my system does not feel slower than with the xorg version from stable.

The max. CPU usage while moving windows around is about 35%.
And gtkperf is faster than before. smile

Offline

#3 2008-09-06 09:35:59

Rokixz
Member
From: Šiauliai, Lithuania
Registered: 2007-04-21
Posts: 251
Website

Re: xorg 1.5rc6 radeon high cpu usage

Quote from Archlinux.org

Xorg-server 1.5RC6 (1.4.99.906) enters tesing. This version of xorg-server includes input hotplugging using hal, better EXA support and less memory usage.
Note that this version requires an upgrade of all videodrivers.
All videodrivers shipped with X.Org have been rebuilt to reflect this change. Nvidia drivers don't seem to need a rebuild, while AMD's catalyst drivers don't support the new X.Org version. Fglrx users should not upgrade to this version.

Please give this version of X.Org an extensive test run and report bugs.


http://ispconfig.lt - ISPConfig 3 based hosting. Coming Soon!

Offline

#4 2008-09-06 10:35:06

shining
Pacman Developer
Registered: 2006-05-10
Posts: 2,043

Re: xorg 1.5rc6 radeon high cpu usage

Rokixz, I don't know which part you are referring to in that quote.
If it is the fglrx part, then the original poster already knows about that, see his first line :

I tried to install the new Xorg with radeon driver, because it doesn't work with catalyst/fglrx, but my system become really slow.

The radeon driver might be slower than fglrx, but it should not be "really slow" so there is probably a problem there.
What is the output of glxinfo?


pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))

Offline

#5 2008-09-06 11:36:21

Zap
Member
Registered: 2006-07-21
Posts: 41

Re: xorg 1.5rc6 radeon high cpu usage

 glxinfo|grep direct
direct rendering: Yes

With 3d apps work great, maybe faster than fglrx with wine, it's only a little bit slow sometime when i move window or things like this.
Maybe It's a problem with awesome 3.

Last edited by Zap (2008-09-06 11:51:15)

Offline

#6 2008-09-06 17:13:20

Execute_Method
Member
From: Tennessee
Registered: 2008-07-26
Posts: 105

Re: xorg 1.5rc6 radeon high cpu usage

Zap: You may want to try removing a lot of the code/options from your xorg.conf. The new radeon driver does a really good job of setting itself up without the need for explicitly adding options. There may be a few options you must define, but those are things like a modeline ***if and only if your monitor does not report the correct edid information***

I have been using the new xserver, mesa, drm, ati-driver, since may (on ubuntu before), when r500 3d support was added.
I have an x1650 (rv535 chip).

I did the upgrade to mesa release when it hit testing. At that time I also installed the xserver&ati driver that are in testing (even though they are the same as what I was running before.

There were a few changes, for instance, I had to explicitly define the migration heuristic option, whereas it *seems* was loaded automatically before.

Here's my xorg.conf:

Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Screen0" 0 0
    InputDevice    "Mouse0"
    InputDevice    "Keyboard0"
EndSection

Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "kbd"
EndSection

Section "InputDevice"
    Identifier  "Mouse0"
    Driver      "mouse"
EndSection

Section "Monitor"
    Identifier   "Monitor0"
    VendorName   "Samsung"
    ModelName    "SyncMaster 712N"
EndSection

Section "Device"
    Driver               "radeon"
    VendorName     "ATI Technologies Inc"
    Identifier            "Card0"
    Option              "AccelMethod"   "EXA"

    Option             "AGPMode" "8"
# fix slow web browsers
    Option               "MigrationHeuristic" "greedy"
# exadownloadfromscreen
    Option               "AccelDFS" "1" 
    BusID                "PCI:1:0:0"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "Monitor0"
    SubSection "Display"
        Viewport   0 0
        Depth     24
    EndSubSection
EndSection

Section "DRI"
 Group        "video"
 Mode         0660
EndSection

Last edited by Execute_Method (2008-09-06 17:13:41)

Offline

#7 2008-09-06 19:41:19

Zap
Member
Registered: 2006-07-21
Posts: 41

Re: xorg 1.5rc6 radeon high cpu usage

Thx Execute Method, now it's ok big_smile
Probably the problem was migration heuristic missing .

Offline

#8 2008-09-06 19:45:03

shining
Pacman Developer
Registered: 2006-05-10
Posts: 2,043

Re: xorg 1.5rc6 radeon high cpu usage

Well, I wanted to suggest that migration heuristic was quite important, but this is only the case for exa, not for xaa.


pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))

Offline

#9 2008-09-07 00:56:16

Execute_Method
Member
From: Tennessee
Registered: 2008-07-26
Posts: 105

Re: xorg 1.5rc6 radeon high cpu usage

Zap wrote:

Thx Execute Method, now it's ok big_smile
Probably the problem was migration heuristic missing .

You're very welcome. Glad I was able to help smile

Last edited by Execute_Method (2008-09-07 01:01:57)

Offline

#10 2008-09-08 18:07:49

brynjolf
Member
From: Sweden
Registered: 2008-05-25
Posts: 63

Re: xorg 1.5rc6 radeon high cpu usage

and the performance of radeon driver is on par with FGLRX? How is it coping with WINE? Thanks!


Cerebral: "Welcome to the distro.  You'll never leave.  Mwahaha"

Offline

#11 2008-09-08 19:58:01

Zap
Member
Registered: 2006-07-21
Posts: 41

Re: xorg 1.5rc6 radeon high cpu usage

I have an old ati 9600(rv350) so i don't know how is it with a newer gpu.
I haven't done any test but seems like fglrx, maybe a little slower with some game I think.
Gta San Andreas doesn't work anymore but The Movies work great with wine, faster than fglrx, but some textures are missing.

Offline

Board footer

Powered by FluxBB