[Bug 398968] Re: [i945GM] X server gets stuck in loop waiting on DRI, reads mouse events but ignores all socket I/O hence appears frozen
I'm having the same problems since an update for the jaunty xserver intel driver. After changing to karmic my desktop still freezes, although I can still move the mouse. Any suggestions on how to get this fixed. ** Attachment added: dri_debug-20091029.tgz http://launchpadlibrarian.net/34603048/dri_debug-20091029.tgz -- [i945GM] X server gets stuck in loop waiting on DRI, reads mouse events but ignores all socket I/O hence appears frozen https://bugs.launchpad.net/bugs/398968 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 398968] Re: [i945GM] X server gets stuck in loop waiting on DRI, reads mouse events but ignores all socket I/O hence appears frozen
I did the debugging work because I thought you (or upstream) might find it useful. Plenty of lockups have been reported but not many where it's possible to observe a faulty kernel or hardware state in detail. Specifically, because of the clues in how the kernel or hardware state was broken and X server restart didn't recover it, I though you or upstream developers would find it useful. But it appears that was a mistake since you weren't interested in analysis, just whether running Karmic for a month locks up less often. (Running it for a day would not be enough). In other words, if I'd just reported it locking up, your response would have been exactly the same: try Karmic, see if it's more reliable. I'm not sure what response you were waiting for, other than 'I ran Karmic and don't get (as many) lockups'. Instead I turned off DRI entirely (on Jaunty), and I get far fewer lockups but have still had one, unfortunately. Presumably the one I had subsequently was a different kind, as the one in this report depends on DRI. == So, I have a question: If I do experience lockups when I eventually move to Karmic and re-enable DRI, and it's not a complete system freeze so possible to debug like in this report, should I spend the hours doing that or is it not useful here? Thanks! Btw, why is the new status Invalid and not Closed? This report may be useful to someone else who comes searching in future, especially if the problem reappears, and Invalid bugs tend to be skipped over when searching. -- [i945GM] X server gets stuck in loop waiting on DRI, reads mouse events but ignores all socket I/O hence appears frozen https://bugs.launchpad.net/bugs/398968 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 398968] Re: [i945GM] X server gets stuck in loop waiting on DRI, reads mouse events but ignores all socket I/O hence appears frozen
We're closing this bug since it is has been some time with no response from the original reporter. However, if the issue still exists please feel free to reopen with the requested information. Also, if you could, please test against the latest development version of Ubuntu, since this confirms the bug is one we may be able to pass upstream for help. ** Changed in: xserver-xorg-video-intel (Ubuntu) Status: Incomplete = Invalid -- [i945GM] X server gets stuck in loop waiting on DRI, reads mouse events but ignores all socket I/O hence appears frozen https://bugs.launchpad.net/bugs/398968 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 398968] Re: [i945GM] X server gets stuck in loop waiting on DRI, reads mouse events but ignores all socket I/O hence appears frozen
** Tags added: jaunty -- [i945GM] X server gets stuck in loop waiting on DRI, reads mouse events but ignores all socket I/O hence appears frozen https://bugs.launchpad.net/bugs/398968 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 398968] Re: [i945GM] X server gets stuck in loop waiting on DRI, reads mouse events but ignores all socket I/O hence appears frozen
** Attachment added: ps WCHAN, confirming it's blocked in the kernel at i915_wait_request http://launchpadlibrarian.net/28982461/X_DRI_freeze_wchan.txt -- [i945GM] X server gets stuck in loop waiting on DRI, reads mouse events but ignores all socket I/O hence appears frozen https://bugs.launchpad.net/bugs/398968 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 398968] Re: [i945GM] X server gets stuck in loop waiting on DRI, reads mouse events but ignores all socket I/O hence appears frozen
** Attachment added: strace of X server not responding except mouse moves http://launchpadlibrarian.net/28982429/X_DRI_freeze_strace.txt -- [i945GM] X server gets stuck in loop waiting on DRI, reads mouse events but ignores all socket I/O hence appears frozen https://bugs.launchpad.net/bugs/398968 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 398968] Re: [i945GM] X server gets stuck in loop waiting on DRI, reads mouse events but ignores all socket I/O hence appears frozen
** Attachment added: File descriptors when frozen, to relate to strace http://launchpadlibrarian.net/28982441/X_DRI_freeze_fds.txt -- [i945GM] X server gets stuck in loop waiting on DRI, reads mouse events but ignores all socket I/O hence appears frozen https://bugs.launchpad.net/bugs/398968 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 398968] Re: [i945GM] X server gets stuck in loop waiting on DRI, reads mouse events but ignores all socket I/O hence appears frozen
** Attachment added: X server log of the first stuck server, same one as straced etc. http://launchpadlibrarian.net/28982487/X_DRI_freeze_log.txt -- [i945GM] X server gets stuck in loop waiting on DRI, reads mouse events but ignores all socket I/O hence appears frozen https://bugs.launchpad.net/bugs/398968 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 398968] Re: [i945GM] X server gets stuck in loop waiting on DRI, reads mouse events but ignores all socket I/O hence appears frozen
** Attachment added: Second X server log, got stuck in the same during initialisation http://launchpadlibrarian.net/28982504/X2_DRI_frozen_startup.txt -- [i945GM] X server gets stuck in loop waiting on DRI, reads mouse events but ignores all socket I/O hence appears frozen https://bugs.launchpad.net/bugs/398968 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 398968] Re: [i945GM] X server gets stuck in loop waiting on DRI, reads mouse events but ignores all socket I/O hence appears frozen
** Attachment added: Third X server log, with 'Option DRI no', shows some broken hardware state details http://launchpadlibrarian.net/28982514/X3_no_DRI_broken_hwstate.txt -- [i945GM] X server gets stuck in loop waiting on DRI, reads mouse events but ignores all socket I/O hence appears frozen https://bugs.launchpad.net/bugs/398968 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 398968] Re: [i945GM] X server gets stuck in loop waiting on DRI, reads mouse events but ignores all socket I/O hence appears frozen
** Attachment added: Fourth X server log, DRI completely disabled, freezes in userspace loop waiting on PP_STATUS reg http://launchpadlibrarian.net/28982552/X4_no_DRI_stuck_in_loop_gdb.txt -- [i945GM] X server gets stuck in loop waiting on DRI, reads mouse events but ignores all socket I/O hence appears frozen https://bugs.launchpad.net/bugs/398968 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 398968] Re: [i945GM] X server gets stuck in loop waiting on DRI, reads mouse events but ignores all socket I/O hence appears frozen
Here are some lined grepped from my kernel log at the time of this freeze. I don't think they are related, but you never know. I did a grep i915 /var/log/kern.log. The initial freeze happens after the entry at time 00:47:30, before the entry at 04:45:10. The entries from 04:45:10 are due to me starting more X servers. ** Attachment added: Kernel log around the time of testing, 'grep i915 /var/log/kern.log' http://launchpadlibrarian.net/28982624/i915_kernel_log.txt -- [i945GM] X server gets stuck in loop waiting on DRI, reads mouse events but ignores all socket I/O hence appears frozen https://bugs.launchpad.net/bugs/398968 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 398968] Re: [i945GM] X server gets stuck in loop waiting on DRI, reads mouse events but ignores all socket I/O hence appears frozen
Hi Jamie, excellent analysis work. I can share some additional background and analysis we've done on this class of bug. A lot of people have found that the 2.6 driver series simply does not work properly for them, and opt to either upgrade to 2.7 or downgrade to 2.4. We have PPAs providing packages for each of these options, in the x-updates and x-retro PPAs here: https://edge.launchpad.net/~ubuntu-x-swat If you want to focus on identifying the root cause of the issue, I've written up some additional troubleshooting tips at https://wiki.ubuntu.com/X/Troubleshooting/Freeze which may be of some use. I also put together some tools that help in diagnosis x freeze errors: https://edge.launchpad.net/~ubuntu-x-swat/+archive/x-freeze-test/ Unfortunately, we had found in the run-up to the Jaunty release that most of the patches we tried that fixed a problem for one group, would cause some unpredictable breakages for other folks with different hardware; thus we're being extraordinarily conservative of introducing patches for Jaunty's -intel, and focusing efforts towards getting the issues resolved in the newer versions of the code, so Karmic is a solid upgrade for everyone. On that note, I would also encourage you to give a try of reproducing the issue on Karmic. Running a LiveCD of alpha-2 or a daily might be worth trying, although I know with these freeze bugs often it can take many hours or several days to reproduce the issue and running a livecd may be impractical. The good news though is that so far we're seeing huge improvements in the Karmic -intel driver. A ton of the most pervasive bugs have vanished, and while there are still of course some problems, they seem more of the corner case variety and seem to be getting good attention when reported upstream. If you do want to help chase down a patch for Jaunty for this issue, I'll be happy to review and package it for Karmic and arrange to get sufficient testing that we can prove it to be safe. On the other hand, if you're satisfied with one of the other options listed above, we can consider that the fix. ** Changed in: xserver-xorg-video-intel (Ubuntu) Status: New = Incomplete -- [i945GM] X server gets stuck in loop waiting on DRI, reads mouse events but ignores all socket I/O hence appears frozen https://bugs.launchpad.net/bugs/398968 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs