Ubuntu 19.04 login screen never appears when using the Nvidia driver
This is a resurrection of #435 (comment 499818)
Chatting with seb128 and Laney I reproduced a very similar issue on my system. The issue happens each time on my machine. Interestingly the machine uses an old HDD as an installation target so perhaps some race conditions are exaggerated by the slowness of IO.
I enabled GDM debug and here's the journal log from a failed startup:
A bit from the log that may be relevant:
Apr 29 17:43:39 fx kernel: resource sanity check: requesting [mem 0x000c0000-0x000fffff], which spans more than PCI Bus 0000:00 [mem 0x000d0000-0x000dffff window]
Apr 29 17:43:39 fx kernel: caller os_map_kernel_space.part.10+0x84/0x90 [nvidia] mapping multiple BARs
Apr 29 17:43:39 fx colord[1130]: failed to get session [pid 745]: No data available
Apr 29 17:43:39 fx kernel: bpfilter: Loaded bpfilter_umh pid 1226
Apr 29 17:43:40 fx gnome-shell[1125]: meta_kms_resources_init failed: Calling drmModeGetResources() failed, assuming we have no outputs
Apr 29 17:43:40 fx gnome-shell[1125]: Failed to create backend: No GPUs with outputs found
Apr 29 17:43:40 fx /usr/lib/gdm3/gdm-wayland-session[1114]: gnome-session-binary[1118]: DEBUG(+): GsmAutostartApp: (pid:1125) done (status:1)
Apr 29 17:43:40 fx /usr/lib/gdm3/gdm-wayland-session[1114]: gnome-session-binary[1118]: WARNING: App 'org.gnome.Shell.desktop' exited with code 1
Apr 29 17:43:40 fx gnome-session-binary[1118]: DEBUG(+): GsmAutostartApp: (pid:1125) done (status:1)
Apr 29 17:43:40 fx gnome-session-binary[1118]: Unrecoverable failure in required component org.gnome.Shell.desktop
NOTE: it's the whole log since gdm.service logs did not include some of the interesting output from gdm-wayland-session. Please feel free to reach out to me for more debugging requests.
As a bit of extra information, restarting gdm always results in a working desktop, this suggests there's a race condition somewhere along the way.
Edited by Ghost User