[Bug 1189645] Re: General lag under desktop environments

2013-07-13 Thread Alan Pater
** Attachment added: On AC, result of tlp-stat https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1189645/+attachment/3735759/+files/tlp-stat.2013.07.13 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1189645] Re: General lag under desktop environments

2013-07-12 Thread Alan Pater
Ok, I think I am getting closer. I had TLP installed to handle power managment on the laptop. As part of my testing I purged that and the problem went away. Reinstalled TLP and the problem came back. So it has something to do with how TLP is configuring power management ... ** Also affects: tlp

[Bug 1189645] Re: General lag under desktop environments

2013-07-12 Thread Chris Wilson
It would be fascinating if you could dig a little into how TLP (what's the actual package called?) works. Being able to identify this in future would help me to help others. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1189645] Re: General lag under desktop environments

2013-07-12 Thread Alan Pater
From the horses mouth: TLP is a power management tool for Linux. It brings you the benefits of advanced power management without the need to understand every technical detail. TLP does not replace but enhance the existing power management of your Linux installation. TLP applies it's settings

[Bug 1189645] Re: General lag under desktop environments

2013-07-09 Thread Chris Wilson
Not so bad, just less than ideal. Though since that hw doesn't support runtime suspend, there isn't anything that can be done. It is certainly not the cause of the spontaneous slowdown. (At least that what's I think, a mere driver author!) -- You received this bug notification because you are a

[Bug 1189645] Re: General lag under desktop environments

2013-07-08 Thread Alan Pater
Nothing showing up in hardware testing either. Question. How to identify the cause of the problem being able to survive a reboot but not a shutdown? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1189645] Re: General lag under desktop environments

2013-07-08 Thread Alan Pater
Do all the Bad things in this screen mean anything? ** Attachment added: PowerTop tunables https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1189645/+attachment/3729842/+files/PowerTop2013-07-08.png -- You received this bug notification because you are a member of Ubuntu Bugs, which is

[Bug 1189645] Re: General lag under desktop environments

2013-07-07 Thread Chris Wilson
To clarify, you experience the issue with kernels as far back as 3.4.50? If you can install a 3.2 that would be good to check. Indeed that it does not present itself in any logs or as an obvious effect, is very worrying. If nothing in the kernel/userspace claims responsibility, then we have to

[Bug 1189645] Re: General lag under desktop environments

2013-07-07 Thread Alan Pater
Thanks a lot for all your help Chris! I'm testing all the hw on the machine to see if I can find out more. So far memtest86+, smart, cpuburn have not turned up anything ... -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1189645] Re: General lag under desktop environments

2013-07-06 Thread Alan Pater
No changes. The problem remains. I can't find anything in the logs indicating where the issue might be. I tried a mainline kernel from http://kernel.ubuntu.com/~kernel- ppa/mainline/drm-intel-next/current/ ~$ uname -r 3.10.0-994-generic No change. Problem remains. Tried starting

[Bug 1189645] Re: General lag under desktop environments

2013-07-06 Thread Chris Wilson
Try with an older kernel, say v3.5. If it turns out to be a difference in kernels, try to find the last known good (and the first known bad) and begin a bisect. The results will be most illuminating. -- You received this bug notification because you are a member of Ubuntu Bugs, which is

[Bug 1189645] Re: General lag under desktop environments

2013-07-06 Thread Alan Pater
Yeah, I've tried a bunch of kernels: 3.4.50-030450-generic 3.6.11-030611-generic 3.8.0-25-generic 3.8.0-25-lowlatency 3.8.13-03081302-generic 3.10.0-031000rc7-generic 3.10.0-994-generic I'm sure there was a 3.5. something as well, but I

[Bug 1189645] Re: General lag under desktop environments

2013-07-05 Thread Chris Wilson
The NMI error is a bug in that kernel's perf (iirc). I still haven't seen anything to suggest a reason for any slowdown. Must be as infuriating for you as it is for me. Can you please watch top and sudo perf top whilst the system is idle and lightly loaded to learn the expected behaviour, then

[Bug 1189645] Re: General lag under desktop environments

2013-07-05 Thread Alan Pater
Chris, does it help knowing that it takes a complete shutdown and eventual restart to clear the issue? Neither a restart or a simple session logoff/logon helps. I'm still not seeing anything unusual in the log files, top or perf top, but it's likely I'm not looking in the right spot .. **

[Bug 1189645] Re: General lag under desktop environments

2013-07-05 Thread Chris Wilson
So far I think we've established that it is not a rouge CPU hog that is blocking the system. Having to restart the system rather the session, also lends credence to that it is not a simple userspace or even gfx driver issue. On the theory that the GPU goes nuts, download and build

[Bug 1189645] Re: General lag under desktop environments

2013-07-05 Thread Alan Pater
I'e already run intel_gpu_top and it did not go nuts when triggering the issue, it never went over ~25% then went right back down even though the system was still lagging like crazy. Let's see what powertop latencytop show ... -- You received this bug notification because you are a member of

[Bug 1189645] Re: General lag under desktop environments

2013-07-05 Thread Alan Pater
Triggered by opening a PDF form in Evince. ** Attachment added: power/latency top https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1189645/+attachment/3726407/+files/Screenshot%20from%202013-07-05%2017%3A53%3A02.png -- You received this bug notification because you are a member of

[Bug 1189645] Re: General lag under desktop environments

2013-07-05 Thread Alan Pater
Bug #1174169 shows that others have run into the same thing. They mention that battery/AC has something to do with it. My laptop battery is completely dead, all my issues have occurred on AC, though with the dead battery still installed. -- You received this bug notification because you are a

[Bug 1189645] Re: General lag under desktop environments

2013-07-05 Thread Alan Pater
Found something interesting using cpufreq-info, cpu frequency gets stuck at lowest level. On a fresh start: available frequency steps: 1.20 GHz, 800 MHz current policy: frequency should be within 800 MHz and 1.20 GHz. After triggering the issue: available frequency steps: 1.20 GHz, 800

[Bug 1189645] Re: General lag under desktop environments

2013-07-05 Thread Alan Pater
I fixed the cpufreq issue on this laptop. It was exaggerating the issue, but the problem remains. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1189645 Title: General lag under desktop environments

[Bug 1189645] Re: General lag under desktop environments

2013-07-04 Thread Alan Pater
** Attachment added: perf top https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1189645/+attachment/3724327/+files/2013-07-04%2007.55.26.jpg -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1189645] Re: General lag under desktop environments

2013-07-04 Thread Chris Wilson
Hmm, perf is taking up quite a bit of time to unwind stuff, more that I would expect. But other than libc (likely memcpy/memmove, perhaps apt-get install libc6-dbg and check), the only danger sign is the presence of acpi_os_write. Can you also look at sudo perf top --sort=dso (and install the

[Bug 1189645] Re: General lag under desktop environments

2013-07-04 Thread Alan Pater
** Attachment added: perf top --sort=dso https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1189645/+attachment/3725081/+files/Screenshot%20from%202013-07-04%2016%3A51%3A06.png -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1189645] Re: General lag under desktop environments

2013-07-04 Thread Chris Wilson
Hmm, perf top -U ? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1189645 Title: General lag under desktop environments To manage notifications about this bug go to:

[Bug 1189645] Re: General lag under desktop environments

2013-07-04 Thread Alan Pater
This appeared in syslog. Does it mean anything? Jul 4 16:26:09 loronegro kernel: [12868.528514] Uhhuh. NMI received for unknown reason 30 on CPU 0. Jul 4 16:26:09 loronegro kernel: [12868.528525] Do you have a strange power saving mode enabled? Jul 4 16:26:09 loronegro kernel: [12868.528530]

[Bug 1189645] Re: General lag under desktop environments

2013-07-04 Thread Alan Pater
** Attachment added: perf top -U https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1189645/+attachment/3725137/+files/PerfTop-U.after.png -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1189645

[Bug 1189645] Re: General lag under desktop environments

2013-07-03 Thread Chris Wilson
Let's start off with the basics: Xorg.0.log, dmesg and a system profile of what is happening when it is slow. And narrow down the complaint, for instance are the measurements you made in parallel with other system activity or after you shut them down? Also please do try running these tests with a

[Bug 1189645] Re: General lag under desktop environments

2013-07-03 Thread Alan Pater
** Attachment added: Xorg log https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1189645/+attachment/3723030/+files/Xorg.0.log -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1189645 Title:

[Bug 1189645] Re: General lag under desktop environments

2013-07-03 Thread Alan Pater
** Attachment added: dmesg log https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1189645/+attachment/3723029/+files/dmesg -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1189645 Title: General

[Bug 1189645] Re: General lag under desktop environments

2013-07-03 Thread Alan Pater
Ok, triggered issue running Lubuntu. Ran GtkPerf on a freash startup with no other apps running. Started Firefox, browsed news sites (guardian, bbc). Started Totem, played local video. Started Evince, opened local PDF form which triggered the issue. Vidoe slows down and gets out of sync with

[Bug 1189645] Re: General lag under desktop environments

2013-07-03 Thread Alan Pater
Perhaps unrelated, but I did find a couple of people having similiar issues: http://ubuntuforums.org/showthread.php?t=2147319 https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/1188874 Though their workarounds did not do anything for me. -- You received this bug

[Bug 1189645] Re: General lag under desktop environments

2013-07-03 Thread Chris Wilson
That rules out the obvious causes such as GPU hangs. Is that reproduction script as simple as you can make it? i.e. does just loading firefox and browsing a single website enough to bring the system to its knees, or just totem etc? Can you please 'apt-get install linux-tools xserver-xorg-core-dbg

[Bug 1189645] Re: General lag under desktop environments

2013-07-03 Thread Alan Pater
Reproducing the issue is somewhat random, so no, there is not a single website that consistently has triggered the problem, at least not since I purged Adobe Flash. If I have some time later today, I'll re-install flash and the packages you suggest and see if I can reproduce the issue simply. I

[Bug 1189645] Re: General lag under desktop environments

2013-07-03 Thread Alan Pater
** Attachment added: Screen showing free sudo perf top https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1189645/+attachment/3723702/+files/2013-07-03%2016.27.03.jpg -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1189645] Re: General lag under desktop environments

2013-07-03 Thread Chris Wilson
So the update-apt-index process is running? (just a quick glance at a normal top) Can you wait until the system is idle (may be upto 5 minutes on some systems) and remeasure? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1189645] Re: General lag under desktop environments

2013-07-03 Thread Alan Pater
Look's that way, doesn't it :-) I'll retest a bit later, about to head out for the evening ... -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1189645 Title: General lag under desktop environments

[Bug 1189645] Re: General lag under desktop environments

2013-07-02 Thread Alan Pater
I ran GtkPerf before and after triggering the problem. Just after starting the computer running ~$ gtkperf -a Total time: 10.78 After triggering the issue by playing a movie via Totem, the system bogs down and gtkperf -a gives a result of: Total time: 96.63 The attached text

[Bug 1189645] Re: General lag under desktop environments

2013-07-02 Thread Alan Pater
Looks like a UXA versus SNA problem. https://wiki.ubuntu.com/X/Testing/IntelSNA ~$ grep SNA init /var/log/Xorg.0.log [47.176] (II) intel(0): SNA initialized with gen3 backend The default is SNA, which is fast, until something goes wrong, then it gets really slow. If I start with UXA, it

[Bug 1189645] Re: General lag under desktop environments

2013-07-02 Thread Alan Pater
** Also affects: xserver-xorg-video-intel Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1189645 Title: General lag under desktop environments To manage

[Bug 1189645] Re: General lag under desktop environments

2013-07-02 Thread Alan Pater
** Tags added: xserver-xorg-video-intel -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1189645 Title: General lag under desktop environments To manage notifications about this bug go to:

[Bug 1189645] Re: General lag under desktop environments

2013-07-02 Thread Alan Pater
** Also affects: xserver-xorg-video-intel (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1189645 Title: General lag under desktop environments

[Bug 1189645] Re: General lag under desktop environments

2013-06-30 Thread Alan Pater
The issue just got triggered by viewing several pdf forms in evince, so it's not just being triggered by flash videos. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1189645 Title: General lag under

[Bug 1189645] Re: General lag under desktop environments

2013-06-26 Thread Joseph Salisbury
** Description changed: A while after logging on, the system gets really slow. Menus and window movements take a while to respond, switching windows is slow, etc. This is a regression, it was not like this using Ubuntu 12.10, it just started on 13.04. Tried different desktops (Unity,

[Bug 1189645] Re: General lag under desktop environments

2013-06-25 Thread Alan Pater
Tried a couple of other kernels, but the problem remains. 3.4.50-030450-generic 3.8.0-25-lowlatency So it looks like the issue has been there all along, but was not being triggered previous to Raring. For now, I just purged the adobe Flash plugin as it does not really provide critical

[Bug 1189645] Re: General lag under desktop environments

2013-06-23 Thread Alan Pater
I can now trigger the problem viewing online video using the current flashplugin 11.2.202.291-0raring1 kernel versions which I have tried the last day or so and which have the problem: 3.6.11-030611-generic 3.8.0-25-generic 3.8.13-03081302-generic -- You received this bug

[Bug 1189645] Re: General lag under desktop environments

2013-06-23 Thread Alan Pater
The latest kernel from saucy still has the problem. 3.10.0-031000rc7-generic -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1189645 Title: General lag under desktop environments To manage

[Bug 1189645] Re: General lag under desktop environments

2013-06-17 Thread Joseph Salisbury
So this issue does happen with the 3.8.13 kernel eventually, as well as the 3.9 and 3.10 kernels? If so, we can perform a bisect to identify the commit that introduced this in Raring. ** Also affects: linux (Ubuntu Raring) Importance: Undecided Status: New ** Also affects: linux

[Bug 1189645] Re: General lag under desktop environments

2013-06-17 Thread Alan Pater
The flashplugin was recently updated and I can't reproduce the issue. Where can i get the previous version of Flash? Regardless, a buggy flash plugin should not, I think, affect the whole system. When the issue occured, a complete shutdown was needed to restore sanity. A simple restart did not

[Bug 1189645] Re: General lag under desktop environments

2013-06-14 Thread Alan Pater
I seem to have hit the bug again using kernel 3.8.13.2. The web site which triggered it is http://www.theglobeandmail.com/news/news-video/understanding-rob-fords- relationship-with-to-police/article12559196/ ** Tags removed: kernel-da-key kernel-fixed-upstream ** Tags added:

[Bug 1189645] Re: General lag under desktop environments

2013-06-13 Thread Alan Pater
The issue remains with other mainline kernels, both 3.8.0-23-generic and 3.9 rc8. ** Changed in: linux (Ubuntu) Status: Incomplete = Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1189645] Re: General lag under desktop environments

2013-06-13 Thread Alan Pater
I've now tried 2 mainline kernels. 3.8.13-03081302-generic (v3.8.13.2-raring) dated 07-Jun-2013 is working well so far, no issues. 3.9 rc8 dated 21-Apr-2013 is problematic. ** Tags added: kernel-fixed-upstream -- You received this bug notification because you are a member of Ubuntu Bugs,

[Bug 1189645] Re: General lag under desktop environments

2013-06-13 Thread Alan Pater
Also tried 3.10 rc5. That version also has issues. The version which seems to be working ok is 3.8.13. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1189645 Title: General lag under desktop

[Bug 1189645] Re: General lag under desktop environments

2013-06-11 Thread Joseph Salisbury
Would it be possible for you to test the latest upstream stable kernel? Please test the latest v3.8 stable kernel[0]. If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'. If the mainline kernel does not fix this bug, please add the tag:

[Bug 1189645] Re: General lag under desktop environments

2013-06-11 Thread Alan Pater
I am now noticing that the 3.9 rc8 kernel does eventually display the same problem, it just takes a lot longer. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1189645 Title: General lag under