[nvidia] After updating to 18.04 only Wayland works. Cannot get Xorg to work on Gnome

Bug #1771661 reported by jim ruxton
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gdm3 (Ubuntu)
Expired
Undecided
Unassigned
nvidia-graphics-drivers-390 (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

I recently updated to Ubuntu 18.04. After updating I can only log into Gnome if I select Gnome or Ubuntu with Wayland at my login screen. Nothing I can do will allow me tuse Xorg. I tried reinstalling Xorg and reinstalling my video driver (nvidia-390) . If I select Ubuntu with Xorg at login I get a purple screen and frozen mouse. If I set etting |WaylandEnable=false| in |/etc/gdm/custom.conf| I cannot get to the login screen. The system freezes.
---
ApportVersion: 2.20.9-0ubuntu7
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
DistroRelease: Ubuntu 18.04
InstallationDate: Installed on 2017-09-16 (242 days ago)
InstallationMedia: Ubuntu 17.04 "Zesty Zapus" - Release amd64 (20170412)
NonfreeKernelModules: nvidia_modeset nvidia
Package: nvidia-graphics-drivers-390
PackageArchitecture: amd64
ProcVersionSignature: Ubuntu 4.15.0-20.21-generic 4.15.17
Tags: bionic wayland-session
Uname: Linux 4.15.0-20-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dialout dip lpadmin plugdev sambashare sudo video
_MarkForUpload: True
mtime.conffile..etc.gdm3.custom.conf: 2018-05-13T00:31:45.698321

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

It sounds like you might have two different bugs, if the purple screen is bug 1766137.

Please:

1. Run this command to attach more information: apport-collect 1771661

2. Run 'lspci -k' and attach its output here.

3. Copy /proc/cmdline and attach it here.

tags: added: bionic nvidia
Changed in gdm3 (Ubuntu):
status: New → Incomplete
Changed in nvidia-graphics-drivers-390 (Ubuntu):
status: New → Incomplete
summary: - After updating to 18.04 only Wayland works. Cannot get Xorg to work on
- Gnome
+ [nvidia] After updating to 18.04 only Wayland works. Cannot get Xorg to
+ work on Gnome
Revision history for this message
jim ruxton (jim-ruxton) wrote : Dependencies.txt

apport information

tags: added: apport-collected wayland-session
description: updated
Revision history for this message
jim ruxton (jim-ruxton) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
jim ruxton (jim-ruxton) wrote : ProcEnviron.txt

apport information

Revision history for this message
jim ruxton (jim-ruxton) wrote : modified.conffile..etc.gdm3.custom.conf.txt

apport information

Revision history for this message
jim ruxton (jim-ruxton) wrote : Re: [Bug 1771661] Re: After updating to 18.04 only Wayland works. Cannot get Xorg to work on Gnome
Download full text (4.9 KiB)

Thanks ,

See below for requested info.

Results of "apport-collect 1771661" was sent via launchpad

cat /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-4.15.0-20-generic
root=UUID=f76e7b72-a204-4096-ac1d-8857a3afacb0 ro quiet splash vt.handoff=1

Result of  "lspci -k"
00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v6/7th Gen Core
Processor Host Bridge/DRAM Registers (rev 05)
     Subsystem: Lenovo Xeon E3-1200 v6/7th Gen Core Processor Host
Bridge/DRAM Registers
00:01.0 PCI bridge: Intel Corporation Skylake PCIe Controller (x16) (rev 05)
     Kernel driver in use: pcieport
     Kernel modules: shpchp
00:02.0 VGA compatible controller: Intel Corporation Device 591b (rev 04)
     Subsystem: Lenovo Device 38e1
     Kernel driver in use: i915
     Kernel modules: i915
00:14.0 USB controller: Intel Corporation Sunrise Point-H USB 3.0 xHCI
Controller (rev 31)
     Subsystem: Lenovo Sunrise Point-H USB 3.0 xHCI Controller
     Kernel driver in use: xhci_hcd
00:14.2 Signal processing controller: Intel Corporation Sunrise Point-H
Thermal subsystem (rev 31)
     Subsystem: Lenovo Sunrise Point-H Thermal subsystem
     Kernel driver in use: intel_pch_thermal
     Kernel modules: intel_pch_thermal
00:15.0 Signal processing controller: Intel Corporation Sunrise Point-H
Serial IO I2C Controller #0 (rev 31)
     Subsystem: Lenovo Sunrise Point-H Serial IO I2C Controller
     Kernel driver in use: intel-lpss
     Kernel modules: intel_lpss_pci
00:15.2 Signal processing controller: Intel Corporation Device a162 (rev 31)
     Subsystem: Lenovo Device 381e
     Kernel driver in use: intel-lpss
     Kernel modules: intel_lpss_pci
00:16.0 Communication controller: Intel Corporation Sunrise Point-H CSME
HECI #1 (rev 31)
     Subsystem: Lenovo Sunrise Point-H CSME HECI
     Kernel driver in use: mei_me
     Kernel modules: mei_me
00:17.0 SATA controller: Intel Corporation Sunrise Point-H SATA
Controller [AHCI mode] (rev 31)
     Kernel driver in use: ahci
     Kernel modules: ahci
00:1c.0 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root
Port #3 (rev f1)
     Kernel driver in use: pcieport
     Kernel modules: shpchp
00:1c.3 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root
Port #4 (rev f1)
     Kernel driver in use: pcieport
     Kernel modules: shpchp
00:1c.4 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root
Port #5 (rev f1)
     Kernel driver in use: pcieport
     Kernel modules: shpchp
00:1d.0 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root
Port #9 (rev f1)
     Kernel driver in use: pcieport
     Kernel modules: shpchp
00:1f.0 ISA bridge: Intel Corporation Sunrise Point-H LPC Controller
(rev 31)
     Subsystem: Lenovo Sunrise Point-H LPC Controller
00:1f.2 Memory controller: Intel Corporation Sunrise Point-H PMC (rev 31)
     Subsystem: Lenovo Sunrise Point-H PMC
00:1f.3 Audio device: Intel Corporation CM238 HD Audio Controller (rev 31)
     Subsystem: Lenovo CM238 HD Audio Controller
     Kernel driver in use: snd_hda_intel
     Kernel modules: snd_hda_intel
00:1f.4 SMBus: Intel Corporation Sunrise Point-H SMBus (rev 31)
     Subsystem: Lenovo Sunrise Point-H SMBus
     Kernel modules: i2c_i801
0...

Read more...

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Thanks. It looks like you have a hybrid system with both Nvidia/Intel GPUs.

In case the freezes are caused by something crashing, please also:

1. Look in /var/crash for crash files and if found run:
   ubuntu-bug /var/crash/YOURFILE.crash
and tell us the ID of any new bug created.

2. Check for older crashes send from your system by looking at https://errors.ubuntu.com/user/ID where ID is the contents of /var/lib/whoopsie/whoopsie-id. If you find any links to crashes that you think are relevant then please share them here.

3. Attach output from 'journalctl -b' from right after a failure has occurred.

Revision history for this message
jim ruxton (jim-ruxton) wrote : Re: [Bug 1771661] Re: [nvidia] After updating to 18.04 only Wayland works. Cannot get Xorg to work on Gnome

> In case the freezes are caused by something crashing, please also:
>
> 1. Look in /var/crash for crash files and if found run:
> ubuntu-bug /var/crash/YOURFILE.crash
> and tell us the ID of any new bug created.
If I run this with a file "_usr_bin_gnome-shell.1000.crash" a crash
report is generated which I sent. I didn't get an ID however.
> 2. Check for older crashes send from your system by looking at
> https://errors.ubuntu.com/user/ID where ID is the contents of
> /var/lib/whoopsie/whoopsie-id. If you find any links to crashes that you
> think are relevant then please share them here.
I only see the crash from above which was sent.
> 3. Attach output from 'journalctl -b' from right after a failure has
> occurred.
A file is attached with the results of 'journalctl -b' . To generate
this I set login to login using Xorg. After logging in the machine
crashed with a frozen mouse and a purple screen. I did a reset using
SysReq R E I S U B . When getting to login screen I reset login to use
Wayland. I logged in and ran 'journalctl -b' in a terminal .

Jim

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

[Expired for nvidia-graphics-drivers-390 (Ubuntu) because there has been no activity for 60 days.]

Changed in nvidia-graphics-drivers-390 (Ubuntu):
status: Incomplete → Expired
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.