LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   X server consuming 100% CPU on 12.1 (https://www.linuxquestions.org/questions/slackware-14/x-server-consuming-100-cpu-on-12-1-a-663605/)

gmelendez 08-18-2008 10:26 AM

X server consuming 100% CPU on 12.1
 
Hi!

I'm running Slackware 12.1 on a DELL Optiplex 755. The system goes slow when I use Aqua Data Studio 4.7.2 to query a database. A simple query takes a long time (from 10 seconds to 2 minutes) and the in the top processes the X appears first using 50% of CPU (100% of 1 CPU).

I can solve the problem usen the vesa driver in xorg.conf but I lose the 3D acceleration. Also I can solve if I install a video card. So I think the problem is with the intel video driver. With Slackware 12.0 I had no problem.

In 12.1's CHANGES_AND_HINTS.TXT I found that XFCE runs slow in some cases, so I've set XLIB_SKIP_ARGB_VISUALS=1 in a script on /etc/profile.d/. I've also disabled the Composite extension in xorg.conf but the problem is still there.

PC hardware:
-Intel(R) Core(TM)2 Duo CPU E6550 @ 2.33GHz
-2Gb RAM
-Intel Corporation 82Q35 Express Integrated Graphics Controller
-DELL E178WFP monitor (1440x900 resolution)

Software that makes the system slow
-Aqua Data Studio 4.7.2

Here's my xorg.conf
Section "ServerLayout"
Identifier "X.org Configured"
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/TTF"
FontPath "/usr/share/fonts/OTF"
FontPath "/usr/share/fonts/Type1"
FontPath "/usr/share/fonts/misc"
FontPath "/usr/share/fonts/75dpi/:unscaled"
EndSection

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

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XKbModel" "pc105"
Option "XKbLayout" "es"
EndSection

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

Section "Monitor"
#DisplaySize 370 230 # mm
Identifier "Monitor0"
VendorName "DEL"
ModelName "DELL E178WFP"
### Comment all HorizSync and VertRefresh values to use DDC:
HorizSync 30.0 - 83.0
VertRefresh 50.0 - 77.0
Option "DPMS"
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 "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" "Disable"
EndSection

Thanks for helping!

ludist 08-19-2008 02:57 AM

I experienced same (?) problem because I installed simultaneously the drivers
xf86-video-i810-1.7.4-i486-1 and
xf86-video-intel-2.1.0-i486-1

They have conflicting files. Pick one and remove the other (I choosed i810 if I remember correctly)

Hope it helps.

gmelendez 08-19-2008 04:22 PM

I think the problem is solved.
 
I tried your suggestion but I had to use the package xf86-video-intel-2.3.2-i486-1.tgz because the other one (xf86-video-i810-1.7.4-i486-2.tgz) doesn't support my chipset (Intel Q35).

It worked better but sometimes slow. Then I modified xorg.conf to use 16 as depth instead of 24 and now it runs nice.

Thanks for your help.


All times are GMT -5. The time now is 04:37 PM.