Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 8153

Summary: XFee86 consuming almost all my resources
Product: Gentoo Linux Reporter: Mark Papadakis <markp>
Component: Current packagesAssignee: Gentoo X packagers <x11>
Status: RESOLVED INVALID    
Severity: critical CC: kevin, markp, patrick.ogenstad
Priority: Highest    
Version: 1.4_rc1   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Mark Papadakis 2002-09-20 12:26:04 UTC
I got 1.4rc1, everything went great up to the point I had to deal with X. 
Using a Matrox G400 card, resolutions and modes are setup just fine. However, 
whenever I move the mouse around, open or close a window, change wallpaper, 
whatever, it goes up to 100% usage. ( X server ). 
This applies to KDE and Gnome. Fluxbox does it a lot better but it still gives 
sudden peaks in X server CPU usage. I even got the old working XF86Config file 
I kept from my previous distro, even got a binary version of XFree86 instead 
of the one I compiled in Gentoo, to no avail. 
Perhaps there is some issue with all X apps compiled using the default Gentoo 
cflags / with gcc3. 
 
I 've tried almost everything possible, and because of the fact I never had 
those problems in previous distros and that I used the old XF86Config file, I 
think it classifieds as a bug.
Comment 1 Martin Schlemmer (RETIRED) gentoo-dev 2002-09-29 07:23:12 UTC
Try xfree-4.2.1 and let me know ?
Comment 2 Mark Papadakis 2002-09-30 02:37:13 UTC
Reducing the depth to 16bpp resulted in a functional/tolerable environment. It 
still goes way higher than it should /expected( moving the mouse around gets it 
20% cpu usage ). I will try 4.2.1 and see how it goes, though.
Comment 3 Martin Schlemmer (RETIRED) gentoo-dev 2002-10-24 14:10:36 UTC
And ?
Comment 4 Marc Doughty 2002-12-02 01:17:21 UTC
Is there a way to profile where the time is being spent? My system works just
dandy with a similar config. Have you tried changing to a different video card?
that would determine if it's hardware or a driver issue. Also, check if your
kernel has DRI and AGPGART built in and the xfree86config file has it enabled
(and enabled for users). check if DRI is working with "glxinfo | grep rendering"
in an xterm while logged in non-superuser. another thing I can think of is if
your programs are using OpenGL for something and your machine is forced to do
rendering in software. Also, anything that CONSTANTLY moves or has giant pixmaps
will slow X down a lot, is your background a giant JPEG or something?
Comment 5 Patrick Ogenstad 2003-04-07 09:11:36 UTC
When I've had troubles with X taking up all the resources it's been due to wrong settings in the /etc/hosts file, what I did to fix it was to set my hostname after the loopback address (127.0.0.1). This might not solve your problem but you can try anyway.
Comment 6 Seemant Kulleen (RETIRED) gentoo-dev 2003-05-17 08:03:50 UTC
Mark, updates to this bug?
Comment 7 Seemant Kulleen (RETIRED) gentoo-dev 2003-06-01 01:22:52 UTC
closing bug report.  re-open if persists.