I got here because my apport-raised bug #1721492 apparently
automatically got marked as a duplicate of this. I'm not so sure:

This happened after a kernel upgrade to 4.13.0-14-generic. Yesterday I
was happily using this system in a wayland session using nouveau. On
reboot with this update, all I saw was a black screen. I had to ssh in
from my phone to see in /var/log/syslog a bunch of apparent nouveau-drm
failures like this:

Oct  5 10:12:46 fleetfoot kernel: [    1.304052] [drm] Initialized nouveau 
1.3.1 20120801 for 0000:01:00.0 on minor 0
Oct  5 10:12:46 fleetfoot kernel: [    4.245166] nouveau 0000:01:00.0: DRM: EVO 
timeout
Oct  5 10:12:46 fleetfoot kernel: [    6.245268] nouveau 0000:01:00.0: DRM: 
base-1: timeout
Oct  5 10:12:46 fleetfoot kernel: [    8.250984] nouveau 0000:01:00.0: DRM: 
base-1: timeout
Oct  5 10:12:47 fleetfoot kernel: [    9.292554] nouveau 0000:01:00.0: bus: 
MMIO read of 00000000 FAULT at 61a804 [ IBUS ]
Oct  5 10:12:47 fleetfoot kernel: [    9.302375] nouveau 0000:01:00.0: bus: 
MMIO read of 00000000 FAULT at 61a804 [ IBUS ]
Oct  5 10:12:55 fleetfoot kernel: [   17.770234] nouveau 0000:01:00.0: DRM: 
base-0: timeout
Oct  5 10:12:57 fleetfoot kernel: [   19.770400] nouveau 0000:01:00.0: DRM: 
base-0: timeout
Oct  5 10:12:57 fleetfoot kernel: [   19.776398] nouveau 0000:01:00.0: DRM: 
base-1: timeout
Oct  5 10:12:59 fleetfoot kernel: [   21.776531] nouveau 0000:01:00.0: DRM: 
base-1: timeout
Oct  5 10:12:59 fleetfoot kernel: [   21.807177] nouveau 0000:01:00.0: DRM: 
base-0: timeout
Oct  5 10:13:01 fleetfoot kernel: [   23.782358] nouveau 0000:01:00.0: DRM: 
base-1: timeout
Oct  5 10:13:03 fleetfoot kernel: [   25.801765] nouveau 0000:01:00.0: DRM: 
base-0: timeout
Oct  5 10:13:03 fleetfoot kernel: [   25.807270] nouveau 0000:01:00.0: DRM: 
base-1: timeout
Oct  5 10:13:05 fleetfoot kernel: [   27.818059] nouveau 0000:01:00.0: DRM: 
base-0: timeout
Oct  5 10:13:05 fleetfoot kernel: [   27.823600] nouveau 0000:01:00.0: DRM: 
base-1: timeout

... and so on. It doesn't stop until I reboot (which hangs, although I
think after rsyslogd has closed. I need to hit reset).

I had seen this before, on the first kernel 4.13 version in Artful.
Reverting then to the last 4.12 let things work for me. But trying that
this time, trying to boot kernel 4.13.0.12, didn't help; I just got the
same symptoms.

Got the system working again by installing the nvidia-387 proprietary
drivers and using them in default configuration in an xorg session. On
the previous occasion I saw this, it also affected nvidia-384 (as was
current then), with continual panics reported in the nvidia-drm module,
until I turned off modeset (at the time I had, with partial success,
been running wayland on that). I haven't yet tried modeset on this
nvidia driver.

After I got the system working again, and logged in, I was presented
with the apport bug report that led to #1721492. I queried in there
whether it was the same issue, but on later seeing syslog it looks like
those nouveau errors only show up after gnome-shell (in gdm) is
launched.

Attached to this comment, the complete syslog of that first session
after rebooting from the upgrade. I think those nouveau timeout errors
are the thing. Attached to the next comment (as I seem unable to attach
more than one file to a comment) is the section from
/var/log/apt/history.log showing what was upgraded this morning before
that all happened. Other drivers were involved.

** Attachment added: "syslog.nouveaudrm"
   
https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/1505409/+attachment/4962743/+files/syslog.nouveaudrm

-- 
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/1505409

Title:
  gnome-shell crashed with SIGTRAP in x_io_error() from _XIOError() from
  _XEventsQueued() from XPending() from gdk_check_xpending()
  ["Connection to xwayland lost"]

Status in GNOME Shell:
  Confirmed
Status in Ubuntu GNOME:
  Confirmed
Status in gdm3 package in Ubuntu:
  Confirmed
Status in gnome-shell package in Ubuntu:
  Confirmed
Status in mutter package in Ubuntu:
  Confirmed
Status in gdm3 source package in Artful:
  Confirmed
Status in gnome-shell source package in Artful:
  Confirmed
Status in mutter source package in Artful:
  Confirmed

Bug description:
  https://errors.ubuntu.com/problem/d0252e2b465152efea2511e72f1e31681e2b2742

  ---

  Occurred during start-up, before I did anything special...

  1 Ubuntu Wily Werewolf (development branch) 15.10
  2 3.16.3-1ubuntu6
  3&4 not applicable

  ProblemType: Crash
  DistroRelease: Ubuntu 15.10
  Package: gnome-shell 3.16.3-1ubuntu6
  ProcVersionSignature: Ubuntu 4.2.0-16.19-generic 4.2.3
  Uname: Linux 4.2.0-16-generic x86_64
  NonfreeKernelModules: wl
  ApportVersion: 2.19.1-0ubuntu2
  Architecture: amd64
  CurrentDesktop: GNOME
  Date: Mon Oct 12 19:22:07 2015
  DisplayManager: gdm
  ExecutablePath: /usr/bin/gnome-shell
  GsettingsChanges:

  InstallationDate: Installed on 2015-10-08 (4 days ago)
  InstallationMedia: Ubuntu-GNOME 15.10 "Wily Werewolf" - Alpha amd64 (20150924)
  ProcCmdline: gnome-shell --mode=gdm --wayland --display-server
  ProcEnviron:
   SHELL=/bin/false
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=nl_NL.UTF-8
  Signal: 5
  SourcePackage: gnome-shell
  StacktraceTop:
   ?? () from /usr/lib/libmutter.so.0
   _XIOError () from /usr/lib/x86_64-linux-gnu/libX11.so.6
   _XEventsQueued () from /usr/lib/x86_64-linux-gnu/libX11.so.6
   XPending () from /usr/lib/x86_64-linux-gnu/libX11.so.6
   ?? () from /usr/lib/x86_64-linux-gnu/libgdk-3.so.0
  Title: gnome-shell crashed with signal 5 in _XIOError()
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups:

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-shell/+bug/1505409/+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

Reply via email to