Bug 37894 - After sleep/hibernate, X crashes after a few minutes
Summary: After sleep/hibernate, X crashes after a few minutes
Status: RESOLVED NOTOURBUG
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/nouveau (show other bugs)
Version: git
Hardware: x86 (IA32) Linux (All)
: medium critical
Assignee: Nouveau Project
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-03 14:01 UTC by pablo
Modified: 2011-06-08 14:19 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
tar-ball with the initial files (130.25 KB, application/x-bzip)
2011-06-03 14:01 UTC, pablo
no flags Details

Description pablo 2011-06-03 14:01:35 UTC
Created attachment 47492 [details]
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
Comment 1 Emil Velikov 2011-06-04 12:32:55 UTC
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
Comment 2 pablo 2011-06-04 12:58:45 UTC
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
Comment 3 pablo 2011-06-05 13:12:19 UTC
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
Comment 4 Emil Velikov 2011-06-08 14:10:38 UTC
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
Comment 5 pablo 2011-06-08 14:19:41 UTC
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


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.