[Bug 1247607] Re: Libdrm compiled with gcc 4.8 makes card hang on resume from s2disk
I verified that suspend still works on raring. This wasn't a bug on precise/quantal/raring, but it was mentioned when updating the changelogs to the saucy version. ** Tags removed: verification-needed ** Tags added: verification-done -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1247607 Title: Libdrm compiled with gcc 4.8 makes card hang on resume from s2disk To manage notifications about this bug go to: https://bugs.launchpad.net/gcc/+bug/1247607/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1247607] Re: Libdrm compiled with gcc 4.8 makes card hang on resume from s2disk
Hello Ronald, or anyone else affected, Accepted libdrm into precise-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/libdrm/2.4.46-1ubuntu0.0.0.1 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users. If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision. Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance! ** Tags removed: verification-done ** Tags added: verification-needed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1247607 Title: Libdrm compiled with gcc 4.8 makes card hang on resume from s2disk To manage notifications about this bug go to: https://bugs.launchpad.net/gcc/+bug/1247607/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1247607] Re: Libdrm compiled with gcc 4.8 makes card hang on resume from s2disk
Confirmed fixed on saucy-amd64. :) ** Tags removed: verification-needed ** Tags added: verification-done -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1247607 Title: Libdrm compiled with gcc 4.8 makes card hang on resume from s2disk To manage notifications about this bug go to: https://bugs.launchpad.net/gcc/+bug/1247607/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1247607] Re: Libdrm compiled with gcc 4.8 makes card hang on resume from s2disk
This bug was fixed in the package libdrm - 2.4.46-1ubuntu1 --- libdrm (2.4.46-1ubuntu1) saucy-proposed; urgency=low [ Colin Watson ] * Declare libdrm-dev Multi-Arch: same. [ Maarten Lankhorst ] * Cherry-pick upstream patch to fix relocations for all cards nv50. (LP: #1247607) -- Maarten Lankhorst maarten.lankho...@ubuntu.com Mon, 11 Nov 2013 13:02:28 +0100 ** Changed in: libdrm (Ubuntu Saucy) Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1247607 Title: Libdrm compiled with gcc 4.8 makes card hang on resume from s2disk To manage notifications about this bug go to: https://bugs.launchpad.net/gcc/+bug/1247607/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1247607] Re: Libdrm compiled with gcc 4.8 makes card hang on resume from s2disk
Hello Ronald, or anyone else affected, Accepted libdrm into saucy-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/libdrm/2.4.46-1ubuntu1 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users. If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision. Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance! ** Changed in: libdrm (Ubuntu Saucy) Status: In Progress = Fix Committed ** Tags added: verification-needed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1247607 Title: Libdrm compiled with gcc 4.8 makes card hang on resume from s2disk To manage notifications about this bug go to: https://bugs.launchpad.net/gcc/+bug/1247607/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1247607] Re: Libdrm compiled with gcc 4.8 makes card hang on resume from s2disk
** Branch linked: lp:ubuntu/saucy-proposed/libdrm -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1247607 Title: Libdrm compiled with gcc 4.8 makes card hang on resume from s2disk To manage notifications about this bug go to: https://bugs.launchpad.net/gcc/+bug/1247607/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1247607] Re: Libdrm compiled with gcc 4.8 makes card hang on resume from s2disk
** Description changed: - My initial bugreport was here: - https://bugs.freedesktop.org/show_bug.cgi?id=71116 + [Impact] + * Relocations on nv04-nv4f are completely broken, any kind of memory stress will result in userspace failure. + + [Test Case] + * Suspend on a system with an affected nvidia card. + * Resume should complete without any errors in FIFO. + * Other test is to run max-texture-size from piglit, system should survive. + * For m-a same change: confirm libdrm-dev:amd64 and libdrm-dev:i386 coinstall. + + [Regression Potential] + * Original bug report was caused by undefined behavior in gcc: +- *push-cur++ = pushbuf_krel(push) +- pushbuf_krel uses (push-cur - push-bgn) to calculate offset. +- It's undefined whether push-cur is incremented before calling pushbuf_krel or not. +- New gcc changed the order, causing the bug. +- Fixed by calling push-cur++ in a separate statement. + * Bug reports will be watched for any new problems that may pop up. + + [Original bug report] + My initial bugreport was here: https://bugs.freedesktop.org/show_bug.cgi?id=71116 - Recompiling libdrm with gcc 4.7 fixed the bug. Upstream GCC mail thread here: http://gcc.gnu.org/ml/gcc- help/2013-07/msg00103.html This was fixed thanks to Emil Velikov from the nouveau project. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1247607 Title: Libdrm compiled with gcc 4.8 makes card hang on resume from s2disk To manage notifications about this bug go to: https://bugs.launchpad.net/gcc/+bug/1247607/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1247607] Re: Libdrm compiled with gcc 4.8 makes card hang on resume from s2disk
** Changed in: nouveau Status: Confirmed = Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1247607 Title: Libdrm compiled with gcc 4.8 makes card hang on resume from s2disk To manage notifications about this bug go to: https://bugs.launchpad.net/gcc/+bug/1247607/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1247607] Re: Libdrm compiled with gcc 4.8 makes card hang on resume from s2disk
Fixed with the upload to 2.4.46-4 ** Changed in: libdrm (Ubuntu) Status: New = Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1247607 Title: Libdrm compiled with gcc 4.8 makes card hang on resume from s2disk To manage notifications about this bug go to: https://bugs.launchpad.net/gcc/+bug/1247607/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1247607] Re: Libdrm compiled with gcc 4.8 makes card hang on resume from s2disk
** Changed in: libdrm (Ubuntu) Status: Fix Committed = Fix Released ** Changed in: libdrm (Ubuntu Saucy) Status: New = In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1247607 Title: Libdrm compiled with gcc 4.8 makes card hang on resume from s2disk To manage notifications about this bug go to: https://bugs.launchpad.net/gcc/+bug/1247607/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1247607] Re: Libdrm compiled with gcc 4.8 makes card hang on resume from s2disk
** Tags added: saucy trusty ** Also affects: libdrm (Ubuntu Saucy) Importance: Undecided Status: New ** Changed in: libdrm (Ubuntu) Assignee: (unassigned) = Maarten Lankhorst (mlankhorst) ** Changed in: libdrm (Ubuntu Saucy) Assignee: (unassigned) = Maarten Lankhorst (mlankhorst) ** Changed in: libdrm (Ubuntu) Importance: Undecided = High ** Changed in: libdrm (Ubuntu Saucy) Importance: Undecided = High -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1247607 Title: Libdrm compiled with gcc 4.8 makes card hang on resume from s2disk To manage notifications about this bug go to: https://bugs.launchpad.net/gcc/+bug/1247607/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1247607] Re: Libdrm compiled with gcc 4.8 makes card hang on resume from s2disk
Launchpad has imported 18 comments from the remote bug at https://bugs.freedesktop.org/show_bug.cgi?id=71116. If you reply to an imported comment from within Launchpad, your comment will be sent to the remote bug automatically. Read more about Launchpad's inter-bugtracker facilities at https://help.launchpad.net/InterBugTracking. On 2013-11-01T08:40:06+00:00 Ronald wrote: Created attachment 88462 Attempt to resume [0.197865] nouveau [ DEVICE][:01:00.0] Chipset: NV34 (NV34) [0.197869] nouveau [ DEVICE][:01:00.0] Family : NV30 After *only upgrading userspace* from Ubuntu 13.04 to Ubuntu 13.10 the card fails to properly resume from s2disk. Important upgraded packages: xserver-xorg-core:i386 2:1.13.3-0ubuntu6.2 - 2:1.14.3-3ubuntu2 xserver-xorg-video-nouveau:i386 1:1.0.7-0ubuntu1 - 1:1.0.9-2ubuntu1 libdrm2:i386 2.4.43-0ubuntu1.1 - 2.4.46-1 libpciaccess0:i386 0.13.1-2 - 0.13.2-1 Reply at: https://bugs.launchpad.net/ubuntu/+source/libdrm/+bug/1247607/comments/0 On 2013-11-01T08:41:07+00:00 Ronald wrote: Created attachment 88463 Attempt to resume (nouveau.agpmode=4) Suggested by imirkin. No dice. Reply at: https://bugs.launchpad.net/ubuntu/+source/libdrm/+bug/1247607/comments/1 On 2013-11-01T08:41:44+00:00 Ronald wrote: Created attachment 88464 Full list of all upgraded packages Reply at: https://bugs.launchpad.net/ubuntu/+source/libdrm/+bug/1247607/comments/2 On 2013-11-02T14:59:07+00:00 Ronald wrote: Woa, tried nvidia-173 on - 3.11 - 3.10 - 3.4 All failed to resume with a black screen. I guess nouveau used to have an edge on this one! So, no mmiotraces =( ... Reply at: https://bugs.launchpad.net/ubuntu/+source/libdrm/+bug/1247607/comments/3 On 2013-11-02T16:34:25+00:00 Ronald wrote: Using agp=off for the Linux 3.11 kernel and NvAGP=1 in xorg.conf it works with the blob again. Let me know if you would like to have a trace and all. https://bugs.launchpad.net/suse/+bug/255601 Reply at: https://bugs.launchpad.net/ubuntu/+source/libdrm/+bug/1247607/comments/4 On 2013-11-02T19:12:59+00:00 Emil-l-velikov wrote: Hi Ronald AFAICS there are two routes you/we can take this * Find out which package update caused the breakage * Disable AGP with nouveau (similar to what you did with the blob) If you're going for the first one, here is a list of packages that you'll need to check (other may not me related): * xserver-xorg-core * xserver-xorg-video-nouveau * All *mesa* The above can be rather messy and hard, as you'll need to track that the dependencies are met and/or rebuild packages. The latter route is much easier * Append nouveau.agpmode=0 to your kernel command line (i.e. grub/lilo) Reply at: https://bugs.launchpad.net/ubuntu/+source/libdrm/+bug/1247607/comments/5 On 2013-11-03T07:38:42+00:00 Ronald wrote: Created attachment 88546 2_Attempt to resume (nouveau.agpmode=0) Survives one cycle since I did this from SSH with `pm-hibernate`. Apparently Xorg only locksup on resume because of xscreensaver if I press the button in XFCE. Reply at: https://bugs.launchpad.net/ubuntu/+source/libdrm/+bug/1247607/comments/6 On 2013-11-03T07:39:20+00:00 Ronald wrote: Created attachment 88547 2_Attempt to resume (agp=off) Also tried agp=off Reply at: https://bugs.launchpad.net/ubuntu/+source/libdrm/+bug/1247607/comments/7 On 2013-11-03T07:40:11+00:00 Ronald wrote: Created attachment 88548 2_Attempt to resume To confirm my hypotheses that disabling AGP has no effect I tried it without kernel parameters that alter the driver's behaviour. Same effect. Reply at: https://bugs.launchpad.net/ubuntu/+source/libdrm/+bug/1247607/comments/8 On 2013-11-03T07:40:35+00:00 Ronald wrote: (see above three logfiles) I tried your second suggestion, did not work(!). - nouveau.agpmode=0 - crash - agp=off - crash - no kernel parameters - typing pm-hibernate from SSH - success(!) . Clicking somewhere on desktop - crash (Only moving cursor did not make it crash). I'm not totally against bisecting these source packages, but that will then be a longterm thing. Furthermore, is all of mesa required? (i.e. I'm not using a compositing desktop for that matter (just XFCE)). Conclusion, it appears that disabling agp has no effect. Machine only crashes after resume if the screen is