Xorg freeze when using nvidia driver 390

Bug #1795808 reported by Nicolas Michel
36
This bug affects 7 people
Affects Status Importance Assigned to Milestone
nvidia-graphics-drivers-390 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Hi,

Since the installation of Ubuntu 18.10, I get the login screen but once logged in I get a black screen. It happens only with the proprietary nvidia driver 390. If I remove the nvidia driver to use nouveau, it works.

My graphic card is: NVIDIA Corporation GP104 [GeForce GTX 1070 Ti]

So the automatic report in attachement will show you no nvidia driver installed. It's because I am doing this bug report after removing the nvidia driver to be able to get a desktop.

In attachement I add the journalctl of the preview boot which failed with nvidia driver.

ProblemType: Bug
DistroRelease: Ubuntu 18.10
Package: xorg 1:7.7+19ubuntu8
ProcVersionSignature: Ubuntu 4.18.0-8.9-generic 4.18.7
Uname: Linux 4.18.0-8-generic x86_64
ApportVersion: 2.20.10-0ubuntu11
Architecture: amd64
CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins'
CompositorRunning: None
CurrentDesktop: ubuntu:GNOME
Date: Wed Oct 3 09:19:03 2018
DistUpgraded: 2018-10-03 00:59:01,660 ERROR got error from PostInstallScript ./xorg_fix_proprietary.py (g-exec-error-quark: Failed to execute child process “./xorg_fix_proprietary.py” (No such file or directory) (8))
DistroCodename: cosmic
DistroVariant: ubuntu
DkmsStatus:
 virtualbox, 5.2.18, 4.15.0-36-generic, x86_64: installed
 virtualbox, 5.2.18, 4.18.0-8-generic, x86_64: installed
ExtraDebuggingInterest: Yes
GpuHangFrequency: Continuously
GpuHangReproducibility: Yes, I can easily reproduce it
GpuHangStarted: Immediately after installing this version of Ubuntu
GraphicsCard:
 NVIDIA Corporation GP104 [GeForce GTX 1070 Ti] [10de:1b82] (rev a1) (prog-if 00 [VGA controller])
   Subsystem: ASUSTeK Computer Inc. GP104 [GeForce GTX 1070 Ti] [1043:8620]
InstallationDate: Installed on 2017-09-17 (380 days ago)
InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Alpha amd64 (20170915)
MachineType: System manufacturer System Product Name
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.18.0-8-generic root=UUID=567a9b2b-0864-450e-9cfe-dab7a54b9fce ro rootflags=subvol=@ quiet splash vt.handoff=1
SourcePackage: xorg
Symptom: display
Title: Xorg freeze
UpgradeStatus: Upgraded to cosmic on 2018-10-02 (0 days ago)
dmi.bios.date: 09/28/2012
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 0501
dmi.board.asset.tag: To be filled by O.E.M.
dmi.board.name: P8Z77-V LX2
dmi.board.vendor: ASUSTeK COMPUTER INC.
dmi.board.version: Rev X.0x
dmi.chassis.asset.tag: Asset-1234567890
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr0501:bd09/28/2012:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKCOMPUTERINC.:rnP8Z77-VLX2:rvrRevX.0x:cvnChassisManufacture:ct3:cvrChassisVersion:
dmi.product.family: To be filled by O.E.M.
dmi.product.name: System Product Name
dmi.product.sku: SKU
dmi.product.version: System Version
dmi.sys.vendor: System manufacturer
version.compiz: compiz N/A
version.libdrm2: libdrm2 2.4.94-1
version.libgl1-mesa-dri: libgl1-mesa-dri 18.2.1-1ubuntu1
version.libgl1-mesa-glx: libgl1-mesa-glx 18.2.1-1ubuntu1
version.xserver-xorg-core: xserver-xorg-core 2:1.20.1-3ubuntu1
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:18.1.0-1
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.917+git20171229-1build1
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.15-3
xserver.bootTime: Wed Oct 3 09:03:39 2018
xserver.configfile: default
xserver.errors:

xserver.logfile: /var/log/Xorg.0.log
xserver.outputs:

xserver.version: 2:1.20.1-3ubuntu1

Revision history for this message
Nicolas Michel (be-nicolas-michel) wrote :
affects: xorg (Ubuntu) → xorg-server (Ubuntu)
summary: - Xorg freeze
+ Xorg freeze when using nvidia driver 390
Timo Aaltonen (tjaalton)
no longer affects: xorg-server (Ubuntu)
Revision history for this message
Konstantin Vlasenko (mlnk1981) wrote :

Ubuntu 18.10. No login screen after Nvidia-410 drivers installation.
System accessible via ssh.
Only after purge nvidia drivers login screen back and system works fine

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

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in nvidia-graphics-drivers-390 (Ubuntu):
status: New → Confirmed
Revision history for this message
Konstantin Vlasenko (mlnk1981) wrote :

Problem is in GDM3. I removed it and installed lightdm. OS booted normally.

Revision history for this message
Konstantin Vlasenko (mlnk1981) wrote :

Solution is

Please try, in the /etc/gdm3/custom.conf, uncomment WaylandEnable=false and Nvidia driver will work with gdm3.

Works fine.

Revision history for this message
giantmundo (ray-carter) wrote :

This worked for me as well.

I must say the whole business with gdm and lightdm etc is very frustrating. Every upgrade is a problem. Heaven help the man on the street. We will never get them on board unless all graphics issues are resolved prior to a release hitting the street.

Revision history for this message
ccdisle (sim-blk) wrote :

Uncommenting "WaylandEnable=false " worked for me as well.

Removing gdm3 did not work, I just got redirected to a tty3 login shell.

Thanks

Revision history for this message
Konstantin Vlasenko (mlnk1981) wrote :

Coz u need install another display manager instead of removed gdm3, lightdm for example.
But uncomment WaylandEnable in gdm3 config is much easir solution of coz

Revision history for this message
ccdisle (sim-blk) wrote :

That makes sense. Lightdm was never there, which probably means there was no other display manager.

Revision history for this message
John Babrick (johnbabrick) wrote :

Uncommenting "WaylandEnable=false " worked for me as well. And, the GPU is back and working for SETI.

Revision history for this message
bblrlo (bblrlo-gmail) wrote :

I have KUbuntu installed with sddm and have same problem with my GT630M on 390 and 396 drivers.

Revision history for this message
gugaiz (gugaiz) wrote :

Uncommenting "WaylandEnable=false" line on /etc/gdm3/custom.conf left my computer without booting the UI, it got stuck with the message "A start job is running for Hold until boot process finishes up (Xmin Xs/no limit)", I was not even able to switch to terminals using CTRL+ALT+FX. To fix it I had to boot on "safe mode" and comment out that line again to at least boot using Wayland.

This happened after I upgraded from 18.04 to 18.10

Revision history for this message
SimonFoley (simon-d-foley) wrote :

CTRL-ALT-F2 followed by CTRL-ALT-F1 bypassed the issue for me. However I have now uncommented the WaylandEnable in gdm3 config, and that allows the boot sequence to complete and display the login screen.

Revision history for this message
mohammad (yosefpor) wrote :

thank you. uncommenting "WaylandEnable=false " worked for me as well. now I can use android studio emulator with hardware accelerator.

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.