Skip to contentSkip to conversation

New: After sleep/hibernate, X crashes after a few minutes

Bug 37894 [email protected] 1 participant 6 messages Jun 3, 2011 – Jun 8, 2011 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=37894

Summary: After sleep/hibernate, X crashes after a few minutes
Product: xorg
Version: git
Platform: x86 (IA32)
OS/Version: Linux (All)
Status: NEW
Severity: critical
Priority: medium
Component: Driver/nouveau
AssignedTo: [email protected]
ReportedBy: [email protected]
QAContact: [email protected]

Created an attachment (id=47492)
--> (https://bugs.freedesktop.org/attachment.cgi?id=47492)
tar-ball with the initial files

[ I originally filed this bug against "openSUSE" [1] and tried the recommended
fix: install latest Nouveau GIT builds [2] ]

Howdy,

I have an issue where resuming from a "suspend", X will crash. I have had this issue with both the Nvidia and nouveau driver. Given the nouveau driver is OSS, I figure it's easier to debug so it's currently installed on my laptop [3].

Per Johannes Obermayr, I'm uploading a tar-ball with the following:

o dmesg
o /var/log/messages
o Xorg.0.log
o Xorg.0.log.old

Please note the crash occurred at 15:29:10 - see the following message in `messages':

    Jun  3 15:29:10 zoom kdm[1581]: X server for display :0 terminated

unexpectedly

When I say X crashes, what happens after a resumption is I end up in the login screen.

I'm marking this ticket as "critical" because when X crashes, any unsaved work is lost. :(

Please let me know if you need any additional forensics.

References
==========
[1] - https://bugzilla.novell.com/show_bug.cgi?id=696987
[2] - 0.0.16.get20110530.0010-1.1
[3] - M4300 - Quadro FX 360M

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

A message that is not in the archive (sent off-list or not yet received): bug-37894-8800-V0hAGp6uBxMKqLRl/[email protected]/

#2 lore raw

[Bug 37894] After sleep/hibernate, X crashes after a few minutes

https://bugs.freedesktop.org/show_bug.cgi?id=37894

--- Comment #1 from Emil Velikov <[email protected]> 2011-06-04 12:32:55 PDT --- Hi pablo

When Johannes Obermayr mentioned to try the latest git, he could/should have mentioned that nouveau consists of four components - kernel module, libdrm, ddx and mesa (3d)

That aside I have a few simple things you can try to narrow the issue

1. Confirm it's not a KDE issue (try with gnome, lxde, ...)
2. Use a minimal xorg.conf [1]
3. Try disabling AIGLX in xorg.conf
4. If the above fails append "nouveau.noaccel=1" to your kernel command line

Although if you are interested in trying the latest git please follow these instructions [2]

[1] http://nouveau.freedesktop.org/wiki/InstallNouveau
[2] http://nouveau.freedesktop.org/wiki/InstallNouveau

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#3 lore raw

[Bug 37894] After sleep/hibernate, X crashes after a few minutes

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=37894

--- Comment #2 from pablo <[email protected]> 2011-06-04 12:58:45 PDT --- Hi Emil,

I apologize for not being clear. Johannes did mention that I install the four components. I ended up installing the following (and including some of the -devel packages simply because I have the Dev environment on this laptop):

o Mesa
o Mesa-devel
o Mesa-nouveau3d
o drm-nouveau-kmp-desktop
o libdrm
o libva1
o libllvm
o xorg-x11-driver-video
o xorg-x11-driver-video-nouveau
o xorg-x11-proto-devel

I don't see ddx' but a little googling seems to imply that'd be the xorg-x11-driver*' packages. I hope so. :D

Thank you for the hints on narrowing the issue. I'll try them and report back.
Unfortunately it's a bit like painting the cuckoo in a cuckoo clock, without
the benefit of advancing time, it takes a few hours for the problem to manifest itself.

Thanks again!
-pablo

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#4 lore raw

[Bug 37894] After sleep/hibernate, X crashes after a few minutes

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=37894

--- Comment #3 from pablo <[email protected]> 2011-06-05 13:12:19 PDT --- Hi Emil,

A quick update ...

First I tried "KDE" + "minimal xorg.conf", which didn't work.

Next, I tried "gnome" + "minimal xorg.conf" and after nearly 48 hours, no issues.

The above suggests some type of KDE issue. This is good news. Now, I need to ponder the next step. I think I may open a KDE bug with "openSUSE" to get some direction from those folks because I'm not exactly sure how to proceed.

Of course, any ideas would be most welcomed!

Also, should I close this bug?

Thx a lot!
-pablo

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#5 lore raw

[Bug 37894] After sleep/hibernate, X crashes after a few minutes

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=37894

Emil Velikov <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|                            |NOTOURBUG

--- Comment #4 from Emil Velikov <[email protected]> 2011-06-08 14:10:38 PDT --- Hi pablo

I believe that we can close this bug as "notourbug" and I would appreciate if you can link the bug you opened with the KDE team.

In such a way any other users can take a look and/or monitor the progress.

Although if you have problems with other DE (gnome, lxde..), or it turns out that "nouveau is doing something wrong" please reopen the bug with a bit more information.

Thanks

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#6 lore raw

[Bug 37894] After sleep/hibernate, X crashes after a few minutes

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=37894

pablo <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

           See Also|                            |https://bugzilla.novell.com
                   |                            |/show_bug.cgi?id=696987

--- Comment #5 from pablo <[email protected]> 2011-06-08 14:19:41 PDT --- Hi Emil,

Once again, thank you /very/ much for your consideration. I'm adding the openSUSE bug URL as requested.

Through bifurcation, I /believe/ I've narrowed the issue with the x11vnc' package. As each test-run can take up to 24 hours, I can't say with certitude that it's x11vnc'

Cheers,
-pablo

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.