High /usr/bin/X CPU Usage
robertmassaioli at gmail.com
Wed Sep 7 19:18:04 PDT 2011
Thankyou for that advice and I will be sure to do that; recording all of the
system calls that it makes would be useful I imagine.
I am still trying to solve this problem as best as I can though. The latest
thing that I have tried is just upgrading my NVIDIA drivers to the absolute
latest beta versions (285.03 to be precise) and so far so good. However,
that was only a few hours ago and the problem probably still exists.
I will update you on any progress and, once again, any and all ideas and
suggestions are very welcome,
I am going to get to the bottom of this,
P.S. I have also contacted the Nvidia developers and submitted a bug report
and pointed them to the descriptions of the problems that I have been
On Thu, Sep 8, 2011 at 12:03 PM, Pat Kane <pekane52 at gmail.com> wrote:
> It would be interesting to see strace output of the Xorg process when
> it is in that state. That is a bit tricky to do however, you need to ssh
> the box to run strace, otherwise you might hit a deadlock, see:
> Run the strace with detailed timestamps and do not be confused by
> "normal" Xorg activity. You should practice running strace on the
> X server when it is not broken.
> On Mon, Sep 5, 2011 at 7:46 PM, Robert Massaioli
> <robertmassaioli at gmail.com> wrote:
> > Hi XOrg Mailing List,
> > In a nutshell: I am having issues with /usr/bin/X taking up way too much
> > and, when it does start to use more CPU, my entire user experience
> > quite laggy. I have tried really hard to solve the problem on my own but
> > was unable to find a solution so I have finally decided that it is time
> > me to ask this mailing list for help. That is the fundamental problem,
> > rest of this post deals with how it happens, what I am running and what I
> > have already tried. I could use any help I can get so thank you for
> > This link points to a screenshot of htop running showing the constant
> > 40-60% CPU usage that /usr/bin/X now sits at:
> > My computer is quite powerful and should easily be able to handle any
> > that any part of linux can throw at it. I have a Quad Core i2500k CPU, an
> > NVIDIA 560 Ti Graphics Card and 8GB RAM, so no hardware bottlenecks thats
> > for sure (and my Windows Partition runs like a breeze; which proves that
> > hardware seems to be solid). However, with that in mind this is what
> > happens:
> > Start computer, everything is working fine, /usr/bin/X is behaving
> > I can play and watch videos with no lag at all.
> > Wait some undefined period of time and just work on stuff (I don't
> > know how to reliably reproduce the problem but it does happen every
> > time I use my linux partition).
> > Watch one of my CPU's spike to an average of 50% and keyboard
> > drop to the point where I can notice the lag in response time. Video
> > playback also becomes impossibly slow at this point.
> > I would not have thought that the keyboard would be an issue but it is
> > lagging so I have a Razer Acosta keyboard if that helps.
> > In short, I have no idea what is causing the problem, on the software
> side I
> > am running:
> > $ uname -a
> > Linux ShhnapDesk 2.6.38-10-generic #46-Ubuntu SMP Tue Jun 28 15:07:17 UTC
> > 2011 x86_64 x86_64 x86_64 GNU/Linux
> > $ cat /etc/lsb-release
> > DISTRIB_ID=Ubuntu
> > DISTRIB_RELEASE=11.04
> > DISTRIB_CODENAME=natty
> > DISTRIB_DESCRIPTION="Ubuntu 11.04"
> > $ xmonad --version
> > xmonad 0.9.2
> > My window manager is XMonad as you can see from above and I am also
> > XMobar (0.13) through that. I have tried:
> > Asking for help elsewhere:
> > Uninstalling Flash because I read that it might be the problem.
> > Using Firefox instead of Google Chrome (I found that chrome had some X
> > issues in the past)
> > Closing every single X program (bar XMonad) to see if /usr/bin/X would
> > behaving again.
> > But none of those troubleshooting attempts worked out for me.
> > I do not know what else to do other than read through the entire codebase
> > X and try and reverse engineer where my problem lies. If anybody has any
> > suggestions then please make them and any extra information that you
> > to require I will be more than happy to provide. This problem is
> > significantly hindering my Linux joy and I love Linux. I use it for
> > everything and have done so for the last three years.
> > Thanks in advance for any and all help,
> > Robert
> > _______________________________________________
> > xorg at lists.freedesktop.org: X.Org support
> > Archives: http://lists.freedesktop.org/archives/xorg
> > Info: http://lists.freedesktop.org/mailman/listinfo/xorg
> > Your subscription address: pekane52 at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the xorg