display goes blank and system hangs after (and sometimes before) gdm3 login with nvidia-driver-390 and a gtx 970m

Bug #1808658 reported by Jeremy Carter
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gdm3 (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

After entering username and password, gnome3 never loads, and instead you are stuck on a blank screen. Switching tty doesn't work. Sometimes gdm3 doesn't even load and the blank screen happens before you can try to log in. Without a workaround, you are forced to boot into recovery mode and purge nvidia, reverting back to nouveau.

At first glance, this seems similar to this bug: https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-390/+bug/1752053/+index?comments=all

However, none of the solutions listed there work and the workaround is to use lightdm instead of gdm3:
sudo apt install lightdm

If it doesn't ask you to set the default display manager, then do this after, and set lightdm as the default when prompted:
sudo dpkg-reconfigure gdm3

After that, the system will boot and let you log in normally.

This problem is happening on a Clevo laptop without Optimus, with a dedicated nvidia gtx 970m device, after installing any of the modern nvidia drivers from version 390 onward, from the official repo, from the graphics PPA, and I presume also the official driver from the nvidia site.

I tested on both Ubuntu 18.04.1 + updates, and Ubuntu 18.10 + updates.

I tested with nvidia driver versions 390, 396, and 415.

gdm3 works fine until you install the nvidia driver.
---
ProblemType: Bug
ApportVersion: 2.20.10-0ubuntu13.1
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
DistroRelease: Ubuntu 18.10
InstallationDate: Installed on 2018-12-15 (1 days ago)
InstallationMedia: Ubuntu 18.10 "Cosmic Cuttlefish" - Release amd64 (20181017.3)
NonfreeKernelModules: nvidia_modeset nvidia
Package: gdm3 3.30.1-1ubuntu5
PackageArchitecture: amd64
ProcVersionSignature: Ubuntu 4.18.0-12.13-generic 4.18.17
Tags: cosmic
Uname: Linux 4.18.0-12-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
_MarkForUpload: True

description: updated
summary: - gdm3 crashes after (and sometimes before) login with nvidia-driver-390
- and a gtx 970m
+ display goes blank and system hangs after (and sometimes before) gdm3
+ login with nvidia-driver-390 and a gtx 970m
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Please use the workaround of lightdm to get the machine usable, and then run this command to send us more information about it:

  apport-collect 1808658

tags: added: black-screen nvidia
tags: added: bionic cosmic
Changed in gdm3 (Ubuntu):
status: New → Incomplete
Revision history for this message
Jeremy Carter (defcronyke) wrote : Dependencies.txt

apport information

tags: added: apport-collected
description: updated
Revision history for this message
Jeremy Carter (defcronyke) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
Jeremy Carter (defcronyke) wrote : ProcEnviron.txt

apport information

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for gdm3 (Ubuntu) because there has been no activity for 60 days.]

Changed in gdm3 (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.