I tried the modeset change first, as that one we'd presumably prefer to
be true anyway one day, whereas giving stuff root that isn't supposed to
have root never feels right. :-)
It worked. I left it to display sleep for a couple of minutes and on
wake I came right back to the desktop. (I don't have screen lock on, so
no password needed.)
In case the length of sleep makes a difference (don't know why it
should) I'll leave it to cut in normally when I go out for a couple of
hours shortly, and see what happens when I get back.
NB: I had tried enabling this before as part of forcing nvidia to use
wayland. I disabled it because (in Wayland) it was terribly sluggish and
in the logs I was seeing nvidia_drm panic and presumably relaunch almost
continuously, on the 4.13 kernel. Nouveau was also failing on that
kernel, even worse, giving just a black screen. That was when I decided
to try harder to have a working Xorg system again. :-) But I hadn't
tried turning modeset on and still use xorg; I didn't know there was a
point in doing so. It seems to be happy.
BTW FWIW
rachel@fleetfoot:~$ apt-cache policy nvidia-384
nvidia-384:
Installed: 384.90-0ubuntu0~gpu17.10.1
Candidate: 384.90-0ubuntu0~gpu17.10.1
Version table:
*** 384.90-0ubuntu0~gpu17.10.1 500
500 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu artful/main
amd64 Packages
100 /var/lib/dpkg/status
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-shell in Ubuntu.
https://bugs.launchpad.net/bugs/1720149
Title:
gnome-shell segv on wake from display or system sleep
Status in gnome-shell package in Ubuntu:
Confirmed
Bug description:
The observable symptom is that if I go away and let the computer go
either to display sleep or suspend, when I come back and try to wake
it up again, I find myself, after sliding up the lock screen, at the
gdm login screen. I'm logged out, and logging in gives me a fresh new
session. Anything I had open in the previous session is lost. (I'm
getting used to saving stuff before I step away from the computer!)
The only trace I've been able to find is that in /var/log/syslog I see
a line like:
Sep 28 14:38:44 fleetfoot kernel: [10621.432586] gnome-shell[1863]:
segfault at 2c ip 00007f6200e82434 sp 00007ffc46f981c8 error 4 in
libmutter-1.so.0.0.0[7f6200de4000+140000]
This happens at the time of attempted wake, not the time of going to
sleep. It's preceded by a lot of activity from gdm-x-session that I'm
not sure is indicating any error, just the process of waking up. I
will attach a portion of syslog surrounding the whole event in the
hope it helps. (In fact attaching the whole current syslog file - it
has two such events occuring in it, first display sleep/wake at 09:02
this morning, and secondly (because I was experimenting) a suspend-
wake at 14:38 this afternoon.
This is only affecting Xorg sessions, and may possibly only be
affecting where nvidia is in use, I'm not sure about that. But the
fact it occurs on display wake alone, not needing the system itself to
have suspended (I was trying suspend to see if it *avoided* the
problem, which it doesn't), does point the finger in that direction I
guess. But ultimately I'm guessing it's gnome-shell itself segfaulting
that's causing the login session to end?
Not observed on my Wayland system.
This is not new as of the current version of gnome-shell but I think
it is relatively recent. Now my hackintosh partition is wrecked by a
failed upgrade to High Sierra I'm using my Linux system more in
earnest than before, so I'm hitting this often enough for it to
provoke a bug report (and much of the time, to just turn all auto
suspend/display-sleep off and instead shut down the computer when I'm
leaving it for any length of time).
The ubuntu bug reporter is not picking this up by itself, so I presume
a crash report of the sort that uses is not being saved.
ProblemType: Bug
DistroRelease: Ubuntu 17.10
Package: gnome-shell 3.26.0-0ubuntu2
ProcVersionSignature: Ubuntu 4.13.0-12.13-generic 4.13.3
Uname: Linux 4.13.0-12-generic x86_64
NonfreeKernelModules: nvidia_uvm nvidia_drm nvidia_modeset nvidia
ApportVersion: 2.20.7-0ubuntu1
Architecture: amd64
CurrentDesktop: GNOME
Date: Thu Sep 28 14:41:07 2017
DisplayManager: gdm3
InstallationDate: Installed on 2017-07-30 (59 days ago)
InstallationMedia: Ubuntu-GNOME 17.04 "Zesty Zapus" - Release amd64 (20170412)
SourcePackage: gnome-shell
UpgradeStatus: Upgraded to artful on 2017-08-22 (37 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/1720149/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp