> 1. You don't have an integrated GPU, do you? I am reminded of bug
1705369.

No I'm running the i7-7820X which has no option for integrated GPU.
Motherboard MSI X299 SLI PLUS.

> 2. In case something is crashing, check /var/crash for files and run
'ubuntu-bug YOURFILE.crash' on each. And tell us here the IDs of new
bugs created.

There appear to be some crashes but not from yesterday.  Last week I had
been seeing some UI crashes when the desktop was sitting idle after
logged in (before I started using it as my main PC). I had installed the
nvidia drivers which seemed to prevent the crashes. Though perhaps I was
wrong.

How do I find the IDs for bugs created?

 $ ll /var/crash/
total 26700
drwxrwsrwt 1 root     whoopsie      776 May 10 00:06 ./
drwxr-xr-x 1 root     root          126 Apr 11 11:20 ../
-rw-r----- 1 root     whoopsie  1064044 May  8 17:21 
_lib_systemd_systemd-logind.0.crash
-rw-r--r-- 1 root     whoopsie        0 May  8 17:22 
_lib_systemd_systemd-logind.0.upload
-rw------- 1 whoopsie whoopsie        0 May  8 17:22 
_lib_systemd_systemd-logind.0.uploaded
-rw-r----- 1 gdm      whoopsie 20579804 May  2 11:09 
_usr_bin_gnome-shell.119.crash
-rw-r--r-- 1 root     whoopsie        0 May  2 11:09 
_usr_bin_gnome-shell.119.upload
-rw------- 1 whoopsie whoopsie        0 May  2 11:09 
_usr_bin_gnome-shell.119.uploaded
-rw-r----- 1 gdm      whoopsie  3030664 May  2 11:10 _usr_bin_Xwayland.119.crash
-rw-r--r-- 1 root     whoopsie        0 May  2 11:10 
_usr_bin_Xwayland.119.upload
-rw------- 1 whoopsie whoopsie        0 May  2 11:10 
_usr_bin_Xwayland.119.uploaded
-rw-r----- 1 root     whoopsie  2660730 May  8 17:21 
_usr_lib_udisks2_udisksd.0.crash
-rw-r--r-- 1 root     whoopsie        0 May  8 17:21 
_usr_lib_udisks2_udisksd.0.upload
-rw------- 1 whoopsie whoopsie        0 May  8 17:21 
_usr_lib_udisks2_udisksd.0.uploaded


> 3. As soon as the problem happens again, please take a copy of 
> ~/.local/share/xorg/* and attach them here.

Okay will do.  What's the difference between the /var/log/Xorg* files
and the ~/.local/share/xorg/* files?

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

Title:
  [nvidia] Logging in results in a black screen for many minutes after
  which the login screen reappears and I am able to login fine.

Status in gdm3 package in Ubuntu:
  Incomplete
Status in gnome-shell package in Ubuntu:
  Incomplete
Status in mutter package in Ubuntu:
  Incomplete

Bug description:
  ** Ubuntu Bionic; Nvidia GTX 1050 w/`nvidia-390` drivers

  ** Problem: Logging in results in a black screen for many minutes after which 
the login screen reappears and I am able to login fine. The below log seems to 
be the earliest error when this occurs.
  Note: This happened twice today so far, presumably each time I reboot.

  
  May  9 11:04:06 jcormier-MS-7A93 /usr/lib/gdm3/gdm-x-session[2581]: (EE) 
NVIDIA(GPU-0): Failed to acquire modesetting permission.
  May  9 11:04:06 jcormier-MS-7A93 /usr/lib/gdm3/gdm-x-session[2581]: (EE) 
NVIDIA(0): Failing initialization of X screen 0
  May  9 11:04:06 jcormier-MS-7A93 /usr/lib/gdm3/gdm-x-session[2581]: (II) 
UnloadModule: "nvidia"
  May  9 11:04:06 jcormier-MS-7A93 /usr/lib/gdm3/gdm-x-session[2581]: (II) 
UnloadSubModule: "wfb"
  May  9 11:04:06 jcormier-MS-7A93 /usr/lib/gdm3/gdm-x-session[2581]: (II) 
UnloadSubModule: "fb"
  May  9 11:04:06 jcormier-MS-7A93 /usr/lib/gdm3/gdm-x-session[2581]: (EE) 
Screen(s) found, but none have a usable configuration.
  May  9 11:04:06 jcormier-MS-7A93 /usr/lib/gdm3/gdm-x-session[2581]: (EE)
  May  9 11:04:06 jcormier-MS-7A93 /usr/lib/gdm3/gdm-x-session[2581]: Fatal 
server error:
  May  9 11:04:06 jcormier-MS-7A93 /usr/lib/gdm3/gdm-x-session[2581]: (EE) no 
screens found(EE)
  May  9 11:04:06 jcormier-MS-7A93 /usr/lib/gdm3/gdm-x-session[2581]: (EE)

  ** A systemd-logind watchdog seems to be responsible for the login
  screen reappearing

  May  9 11:20:02 jcormier-MS-7A93 systemd[1]: systemd-logind.service: Watchdog 
timeout (limit 3min)!
  May  9 11:20:02 jcormier-MS-7A93 systemd[1]: systemd-logind.service: Killing 
process 1697 (systemd-logind) with signal SIGABRT.
  May  9 11:20:03 jcormier-MS-7A93 systemd[1]: systemd-logind.service: Main 
process exited, code=dumped, status=6/ABRT
  May  9 11:20:03 jcormier-MS-7A93 systemd[1]: systemd-logind.service: Failed 
with result 'watchdog'.

  ** The Xorg.0.log doesn't seem to have any problem finding the screens
  just before the above error.

  29406:May  9 11:03:47 jcormier-MS-7A93 /usr/lib/gdm3/gdm-x-session[1742]: 
(II) NVIDIA(0): NVIDIA GPU GeForce GTX 1050 (GP107-A) at PCI:23:0:0 (GPU-0)
  29407:May  9 11:03:47 jcormier-MS-7A93 /usr/lib/gdm3/gdm-x-session[1742]: 
(--) NVIDIA(0): Memory: 2097152 kBytes
  29408:May  9 11:03:47 jcormier-MS-7A93 /usr/lib/gdm3/gdm-x-session[1742]: 
(--) NVIDIA(0): VideoBIOS: 86.07.2f.00.68
  29409:May  9 11:03:47 jcormier-MS-7A93 /usr/lib/gdm3/gdm-x-session[1742]: 
(II) NVIDIA(0): Detected PCI Express Link width: 16X
  29412:May  9 11:03:47 jcormier-MS-7A93 /usr/lib/gdm3/gdm-x-session[1742]: 
(--) NVIDIA(GPU-0): Acer AL1917 (DFP-0): connected
  29413:May  9 11:03:47 jcormier-MS-7A93 /usr/lib/gdm3/gdm-x-session[1742]: 
(--) NVIDIA(GPU-0): Acer AL1917 (DFP-0): Internal TMDS
  29414:May  9 11:03:47 jcormier-MS-7A93 /usr/lib/gdm3/gdm-x-session[1742]: 
(--) NVIDIA(GPU-0): Acer AL1917 (DFP-0): 330.0 MHz maximum pixel clock
  29415:May  9 11:03:47 jcormier-MS-7A93 /usr/lib/gdm3/gdm-x-session[1742]: 
(--) NVIDIA(GPU-0):

  
  ** Note that I also saw the watchdog kick in while I was logged in and 
working when I was suddenly sent back to the login screen.  I believe that 
lines up with the syslog timestamp below:

  
  May  9 10:31:24 jcormier-MS-7A93 systemd[1]: systemd-logind.service: Watchdog 
timeout (limit 3min)!
  May  9 10:31:24 jcormier-MS-7A93 systemd[1]: systemd-logind.service: Killing 
process 1691 (systemd-logind) with signal SIGABRT.
  May  9 10:31:25 jcormier-MS-7A93 systemd[1]: systemd-logind.service: Main 
process exited, code=dumped, status=6/ABRT
  May  9 10:31:25 jcormier-MS-7A93 systemd[1]: systemd-logind.service: Failed 
with result 'watchdog'.
  May  9 10:31:25 jcormier-MS-7A93 /usr/lib/gdm3/gdm-x-session[2607]: (EE)
  May  9 10:31:25 jcormier-MS-7A93 /usr/lib/gdm3/gdm-x-session[2607]: Fatal 
server error:
  May  9 10:31:25 jcormier-MS-7A93 /usr/lib/gdm3/gdm-x-session[2607]: (EE) 
systemd-logind disappeared (stopped/restarted?)
  May  9 10:31:25 jcormier-MS-7A93 /usr/lib/gdm3/gdm-x-session[2607]: (EE)
  May  9 10:31:25 jcormier-MS-7A93 /usr/lib/gdm3/gdm-x-session[2607]: (EE)

  ** I also experienced the computer reboot when I tried to open the
  calculator app sometime between these two timestamps.

  May  9 13:18:27 jcormier-MS-7A93 org.gnome.Shell.desktop[3311]: Window 
manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a 
timestamp of 0 for 0x2605a63 (Find/Repla)
  May  9 13:20:06 jcormier-MS-7A93 systemd-modules-load[437]: Inserted module 
'lp'


   $ sudo ubuntu-drivers devices
  == /sys/devices/pci0000:16/0000:16:00.0/0000:17:00.0 ==
  modalias : pci:v000010DEd00001C81sv00001458sd0000372Cbc03sc00i00
  vendor   : NVIDIA Corporation
  model    : GP107 [GeForce GTX 1050]
  driver   : nvidia-driver-390 - distro non-free recommended
  driver   : xserver-xorg-video-nouveau - distro free builtin

  It seems similar to this bug:
  https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1748656

  ProblemType: Bug
  DistroRelease: Ubuntu 18.04
  Package: gdm3 3.28.0-0ubuntu1
  ProcVersionSignature: Ubuntu 4.15.0-20.21-generic 4.15.17
  Uname: Linux 4.15.0-20-generic x86_64
  NonfreeKernelModules: nvidia_modeset nvidia
  ApportVersion: 2.20.9-0ubuntu7
  Architecture: amd64
  CurrentDesktop: ubuntu:GNOME
  Date: Wed May  9 13:57:37 2018
  InstallationDate: Installed on 2018-04-10 (28 days ago)
  InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Beta amd64 (20180404)
  ProcEnviron:
   LANG=en_US.UTF-8
   SHELL=/bin/bash
   TERM=xterm-256color
   XDG_RUNTIME_DIR=<set>
   PATH=(custom, no user)
  SourcePackage: gdm3
  UpgradeStatus: No upgrade log present (probably fresh install)
  mtime.conffile..etc.gdm3.custom.conf: 2018-05-09T11:02:19.660695

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gdm3/+bug/1770238/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to