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. <div><br></div><div>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.</div>

<div><br></div><div>I will update you on any progress and, once again, any and all ideas and suggestions are very welcome,</div><div>I am going to get to the bottom of this,</div><div>Robert</div><div><br></div><div>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 having.<br>

<div><br><div class="gmail_quote">On Thu, Sep 8, 2011 at 12:03 PM, Pat Kane <span dir="ltr"><<a href="mailto:pekane52@gmail.com">pekane52@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

It would  be interesting to see strace output of the Xorg process when<br>
it is in that state.    That is a bit tricky to do however, you need to ssh into<br>
the box to run strace, otherwise you might hit a deadlock, see:<br>
<br>
     <a href="http://lists.x.org/archives/xorg/2008-August/038048.html" target="_blank">http://lists.x.org/archives/xorg/2008-August/038048.html</a><br>
<br>
Run the strace with detailed timestamps and do not be confused by<br>
"normal" Xorg activity.  You should practice running strace on the<br>
X server when it is not broken.<br>
<br>
Pat<br>
---<br>
<div><div></div><div class="h5"><br>
<br>
On Mon, Sep 5, 2011 at 7:46 PM, Robert Massaioli<br>
<<a href="mailto:robertmassaioli@gmail.com">robertmassaioli@gmail.com</a>> wrote:<br>
> Hi XOrg Mailing List,<br>
><br>
> In a nutshell: I am having issues with /usr/bin/X taking up way too much CPU<br>
> and, when it does start to use more CPU, my entire user experience becomes<br>
> quite laggy. I have tried really hard to solve the problem on my own but I<br>
> was unable to find a solution so I have finally decided that it is time for<br>
> me to ask this mailing list for help. That is the fundamental problem, the<br>
> rest of this post deals with how it happens, what I am running and what I<br>
> have already tried. I could use any help I can get so thank you for reading.<br>
><br>
> This link points to a screenshot of htop running showing the constant high<br>
> 40-60% CPU usage that /usr/bin/X now sits at: <a href="http://i.imgur.com/mRIzG.png" target="_blank">http://i.imgur.com/mRIzG.png</a><br>
><br>
> My computer is quite powerful and should easily be able to handle any load<br>
> that any part of linux can throw at it. I have a Quad Core i2500k CPU, an<br>
> NVIDIA 560 Ti Graphics Card and 8GB RAM, so no hardware bottlenecks thats<br>
> for sure (and my Windows Partition runs like a breeze; which proves that the<br>
> hardware seems to be solid). However, with that in mind this is what<br>
> happens:<br>
><br>
> Start computer, everything is working fine, /usr/bin/X is behaving normally.<br>
> I can play and watch videos with no lag at all.<br>
> Wait some undefined period of time and just work on stuff (I don't actually<br>
> know how to reliably reproduce the problem but it does happen every single<br>
> time I use my linux partition).<br>
> Watch one of my CPU's spike to an average of 50% and keyboard responsiveness<br>
> drop to the point where I can notice the lag in response time. Video<br>
> playback also becomes impossibly slow at this point.<br>
><br>
> I would not have thought that the keyboard would be an issue but it is<br>
> lagging so I have a Razer Acosta keyboard if that helps.<br>
><br>
> In short, I have no idea what is causing the problem, on the software side I<br>
> am running:<br>
><br>
> $ uname -a<br>
> Linux ShhnapDesk 2.6.38-10-generic #46-Ubuntu SMP Tue Jun 28 15:07:17 UTC<br>
> 2011 x86_64 x86_64 x86_64 GNU/Linux<br>
> $ cat /etc/lsb-release<br>
> DISTRIB_ID=Ubuntu<br>
> DISTRIB_RELEASE=11.04<br>
> DISTRIB_CODENAME=natty<br>
> DISTRIB_DESCRIPTION="Ubuntu 11.04"<br>
> $ xmonad --version<br>
> xmonad 0.9.2<br>
><br>
> My window manager is XMonad as you can see from above and I am also running<br>
> XMobar (0.13) through that. I have tried:<br>
><br>
> Asking for help elsewhere:<br>
> <a href="http://superuser.com/questions/328612/linux-x11-is-using-up-50-of-one-of-my-cpus-and-lagging-terribly" target="_blank">http://superuser.com/questions/328612/linux-x11-is-using-up-50-of-one-of-my-cpus-and-lagging-terribly</a><br>


> Uninstalling Flash because I read that it might be the problem.<br>
> Using Firefox instead of Google Chrome (I found that chrome had some X<br>
> issues in the past)<br>
> Closing every single X program (bar XMonad) to see if /usr/bin/X would start<br>
> behaving again.<br>
><br>
> But none of those troubleshooting attempts worked out for me.<br>
><br>
> I do not know what else to do other than read through the entire codebase of<br>
> X and try and reverse engineer where my problem lies. If anybody has any<br>
> suggestions then please make them and any extra information that you happen<br>
> to require I will be more than happy to provide. This problem is<br>
> significantly hindering my Linux joy and I love Linux. I use it for<br>
> everything and have done so for the last three years.<br>
><br>
> Thanks in advance for any and all help,<br>
> Robert<br>
><br>
</div></div><div class="im">> _______________________________________________<br>
> <a href="mailto:xorg@lists.freedesktop.org">xorg@lists.freedesktop.org</a>: X.Org support<br>
> Archives: <a href="http://lists.freedesktop.org/archives/xorg" target="_blank">http://lists.freedesktop.org/archives/xorg</a><br>
> Info: <a href="http://lists.freedesktop.org/mailman/listinfo/xorg" target="_blank">http://lists.freedesktop.org/mailman/listinfo/xorg</a><br>
</div>> Your subscription address: <a href="mailto:pekane52@gmail.com">pekane52@gmail.com</a><br>
><br>
</blockquote></div><br></div></div>