You are not logged in.

#1 2008-07-30 19:42:11

Nergar
Member
Registered: 2007-11-03
Posts: 15

xorg using 30% cpu when idle,slow performance and video problems

I'm having a problem with Xorg, I don't know what it is but I guess it has something to do with configuration problems because in Ubuntu eerything works out of the box.

My problems are these:

1. Xorg is using arround 30% cpu when the computer is idle and very simple animations in kde like minimize a window are performed very poorly.
2. Compiz' performance is very poor and chopy
3. h264 videos are not wachable. it feels like watching 3fps videos.

as i mentioned above, i don't have any of these problems with ubuntu.

Here's my xorg.conf file:

Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Screen0" 0 0
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Touchpad" "SendCoreEvents"
    InputDevice    "Keyboard0" "CoreKeyboard"
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  "glx"
    Load  "record"
    Load  "dbe"
    Load  "xtrap"
    Load  "extmod"
    Load  "synaptics"
    Load  "dri"
    Load  "GLcore"
    Load  "freetype"
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 "Monitor"
    #DisplaySize      330   210    # mm
    Identifier   "Monitor0"
    VendorName   "AUO"
    ModelName    "187b"
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>]
    Identifier  "Card0"
    Driver      "intel"
    VendorName  "Intel Corporation"
    BoardName   "Mobile GM965/GL960 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 "InputDevice"
       Identifier  "Touchpad"
    Driver  "synaptics"
    Option  "Device"           "/dev/input/mouse0"
    Option  "Protocol"           "auto-dev"
    Option  "LeftEdge"           "130"
    Option  "RightEdge"           "840"
    Option  "TopEdge"           "130"
    Option  "BottomEdge"           "640"
    Option  "FingerLow"           "7"
    Option  "FingerHigh"           "8"
    Option  "MaxTapTime"           "180"
    Option  "MaxTapMove"           "110"
    Option  "EmulateMidButtonTime"    "75"
    Option  "VertScrollDelta"       "20"
    Option  "HorizEdgeScroll"    "off"
#    Option  "HorizScrollDelta"       "20"
    Option  "MinSpeed"           "0.25"
    Option  "MaxSpeed"           "0.50"
    Option  "AccelFactor"       "0.010"
    Option  "EdgeMotionMinSpeed"       "200"
    Option  "EdgeMotionMaxSpeed"       "200"
    Option  "UpDownScrolling"       "1"
#    Option  "CircularScrolling"       "1"
#    Option  "CircScrollDelta"       "0.1"
#    Option  "CircScrollTrigger"       "2"
    Option  "SHMConfig"           "on"
    Option  "Emulate3Buttons"       "on"
EndSection

and my hardware (created with hardinfo):
http://files.nergar.com/hardinfo_report.html

thanks in advance, I would like to switch to arch!

Offline

#2 2008-07-30 21:19:41

11010010110
Member
Registered: 2008-01-14
Posts: 284

Re: xorg using 30% cpu when idle,slow performance and video problems

Experiment with section module. My i945 is

load "dbe"
load "freetype"
subsection "extmod"
option "omit xfree86-dga"
endsubsection

Try to comment busid in section device and add another section device before your existing one

section "device"
identifier "tommy"
vendorname "unknown"
boardname "unknown"
driver "vga"
endsection

Try the drivers i810 and vesa in section device

My file was created by xorgconfig (run this from the console)

Last edited by 11010010110 (2008-07-30 21:22:35)

Offline

Board footer

Powered by FluxBB