You are not logged in.

#1 2008-02-11 21:58:44

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

xorg gets slow after extended usage with new monitor)

Hey guys,

I just bought a 22" widescreen monitor to connect to my tiny little laptop (thinkpad x60). I set it up to use xrandr with the intel driver as discussed here:

http://www.thinkwiki.org/wiki/Intel_Gra … .22_driver

and it works great. Except that after I've been running it for a while (even sitting idle while I make dinner), X starts to eat CPU and things like switching desktops or scrolling the window become unresponsive. It seems like every time I request a client redraw it demands too much. I have to restart X and then everything is lovely for a while.

I'm thinking maybe when I deleted old dualhead stuff from my xorg.conf maybe I deleted something that was giving me extra hardware acceleration or clearing memory or some such. So I'm hoping if I post my xorg.conf here somebody can say "hey you should enable option something" and It'll be all fixed. Otherwise I need some other sort of advice. Maybe its my window manager (pekwm) or something else? Any ideas?

Dusty

PS: Any unrelated tips for improving xorg.conf are always welcome. ;-)

Section "ServerFlags"
    Option "AllowMouseOpenFail"  "true"
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/75dpi:unscaled"
    FontPath     "/usr/share/fonts/75dpi"
    FontPath     "/usr/share/fonts/100dpi:unscaled"
    FontPath     "/usr/share/fonts/100dpi"
    FontPath     "/usr/share/fonts/PEX"

    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  "ddc"  # ddc probing of monitor
    Load  "dbe"
    Load  "dri"
    Load  "extmod"
    Load  "glx"
  Load  "bitmap" # bitmap-fonts
    Load  "type1"
    Load  "freetype"
    Load  "record"
  Load "int10"
  Load "vbe"
  #Load "ic2"
EndSection

Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "keyboard"
  Option      "CoreKeyboard"
  Option "XkbOptions" "compose:ralt"
    Option "XkbRules" "xorg"
    Option "XkbModel" "pc105"
    Option "XkbLayout" ""
    Option "XkbVariant" ""
EndSection

Section "InputDevice"
        Identifier      "USB Mouse"
        Driver          "mouse"
        Option          "Device"                "/dev/input/mice"
    Option        "SendCoreEvents"    "true"
        Option          "Protocol"              "ExplorerPS/2"
        Option          "ZAxisMapping"          "4 5"
        Option          "Buttons"               "5"
    Option        "EmulateWheel"        "on"
    Option        "EmulateWheelButton"    "2"
EndSection

Section "Device"
    Identifier  "Card0"
    Driver      "intel"
    Option      "monitor-VGA" "External VGA"
    Option      "monitor-LVDS" "Builtin LCD"
EndSection

Section "Monitor"
    Identifier "Builtin LCD"
    Option "Below" "External VGA"
  Option      "DRI"                       "true"
EndSection

Section "Monitor"
    Identifier "External VGA"
    Option "Above" "EBuiltin LCD"
  Option      "DRI"                       "true"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Subsection "Display"
        Virtual 1680    1818
    EndSubsection
EndSection

Section "DRI"
    Mode 0666
EndSection

Section "Extensions"
  Option "Composite" "Disable"
  Option "MIT-SHM" "no"
EndSection

Offline

#2 2008-02-11 22:07:31

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: xorg gets slow after extended usage with new monitor)

Check dmesg for dma with ...dmesg |grep ata......


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#3 2008-02-12 16:28:28

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: xorg gets slow after extended usage with new monitor)

that'd be the hard drive, I'm more concerned about X. ;-)

Offline

#4 2008-02-12 16:40:20

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: xorg gets slow after extended usage with new monitor)

I had supposed that slow drives would affect your displays and sata drives do show slowdowns in dmesg.


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

Board footer

Powered by FluxBB