You are not logged in.

#1 2008-12-07 14:33:56

e6nian
Member
Registered: 2008-09-02
Posts: 17

why My X usually up to 20-40 % of CPU usage? How to settle this?

after updating xorg-server to  1.5.3-3, My X always runs up to 20-40 % of CPU usage.

here is my xorg.conf

Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Screen0" 0 0
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse[1]"  "SendCoreEvents"
EndSection
#Section "ServerFlags"
#        Option "AutoAddDevices" "False"
#EndSection
Section "Files"
    #RgbPath      "/usr/share/X11/rgb"
    ModulePath   "/usr/lib/xorg/modules"
    FontPath     "/usr/share/fonts/misc"
    FontPath     "/usr/share/fonts/100dpi:unscaled"
    FontPath     "/usr/share/fonts/75dpi:unscaled"
    FontPath     "/usr/share/fonts/TTF"
    FontPath     "/usr/share/fonts/Type1"
EndSection

Section "Module"
    Load  "extmod"
    Load  "dbe"
    Load  "glx"
    Load  "GLcore"
    Load  "xtrap"
    Load  "record"
    Load  "dri"
    Load  "freetype"
    Load  "synaptics"
EndSection

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

Section "InputDevice"
    Identifier  "Mouse0"
    Driver      "mouse"
    Option        "Protocol" "auto"
    Option        "Device" "/dev/input/mice"
    Option        "ZAxisMapping" "4 5 6 7"
EndSection

Section "InputDevice"
     Driver      "synaptics"
     Identifier      "Mouse[1]"
     Option     "Device"      "/dev/psaux"
     Option    "Protocol"    "auto-dev"
     Option    "LeftEdge"      "1700"
     Option    "RightEdge"     "5300"
     Option    "TopEdge"       "1700"
     Option    "BottomEdge"    "4200"
     Option    "FingerLow"    "25"
     Option    "FingerHigh"    "30"
     Option    "MaxTapTime"    "180"
     Option    "MaxTapMove"    "220"
     Option    "VertScrollDelta" "100"
     Option    "MinSpeed"    "0.06"
     Option    "MaxSpeed"    "0.12"
     Option    "AccelFactor" "0.0010"
     Option    "SHMConfig"    "on"
    #Option    "Repeater"    "/dev/ps2mouse"
EndSection
    
Section "Monitor"
    #DisplaySize      300   190    # mm
    Identifier   "Monitor0"
    VendorName   "LPL"
    ModelName    "1201"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "NoAccel"                # [<bool>]
        #Option     "SWcursor"               # [<bool>]
        #Option     "ColorKey"               # <i>
        #Option     "CacheLines"             # <i>
        #Option     "Dac6Bit"                # [<bool>]
        #Option     "DRI"                    # [<bool>]
        #Option     "NoDDC"                  # [<bool>]
        #Option     "ShowCache"              # [<bool>]
        #Option     "XvMCSurfaces"           # <i>
        #Option     "PageFlip"               # [<bool>]
           Option "monitor-LVDS" "Laptop Panel"
    Option "monitor-VGA" "External Monitor"
    Option "XAANoOffscreenPixmaps" "true" 
    Option "AddARGBGLXVisuals" "true" 
    Option "AllowGLXWithComposite" "true"
    Option "RenderAccel" "true"
    Option "DisableGLXRootClipping" "true"
    Identifier  "Card0"
    Driver      "intel"
    VendorName  "Intel Corporation"
    BoardName   "Mobile 945GME Express Integrated Graphics Controller"
    BusID       "PCI:0:2:0"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "Monitor0"
    SubSection "Display"
        Viewport   0 0
        Depth     1
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     4
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     8
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     15
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     16
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     24
    EndSubSection
EndSection

Section "Extensions"
    Option "Composite" "Enable"
EndSection

Section "DRI"
mode 0666
EndSection

and At least it runs 7 % of cpu.

Offline

#2 2008-12-07 16:55:59

moljac024
Member
From: Serbia
Registered: 2008-01-29
Posts: 2,676

Re: why My X usually up to 20-40 % of CPU usage? How to settle this?

It's probably due to intel being crippled at the moment, until the GEM-enabled kernel gets released/hits the repos (that would be .28).

Downgrade Xorg or bite the bullet until the kernel arrives.


The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner.
--------------------------------------------------------------------------------------------------------------
But if they tell you that I've lost my mind, maybe it's not gone just a little hard to find...

Offline

#3 2008-12-08 14:48:44

e6nian
Member
Registered: 2008-09-02
Posts: 17

Re: why My X usually up to 20-40 % of CPU usage? How to settle this?

May any other advise?

Offline

#4 2008-12-16 10:44:32

skoder
Member
From: Russia, Saint-Petersburg
Registered: 2008-11-21
Posts: 11

Re: why My X usually up to 20-40 % of CPU usage? How to settle this?

I made update, after that my system goes down. Xserver don`t want to start.
Then I made downgrade to xorg 1.4, but now stable 15% of CPU usage take xorg. I`m waiting new kernel...

Last edited by skoder (2008-12-16 10:53:30)

Offline

#5 2008-12-16 10:54:20

sand_man
Member
From: Australia
Registered: 2008-06-10
Posts: 2,164

Re: why My X usually up to 20-40 % of CPU usage? How to settle this?

15% is still a lot IMO...


neutral

Offline

Board footer

Powered by FluxBB