Login screen never appears on vmwgfx using bionic kernel 4.15
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Bionic |
Fix Released
|
High
|
Eric Desrochers | ||
Disco |
Fix Released
|
Undecided
|
Unassigned | ||
Eoan |
Invalid
|
Undecided
|
Unassigned | ||
linux-hwe (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Bionic |
Fix Released
|
Undecided
|
Unassigned | ||
Disco |
Invalid
|
Undecided
|
Unassigned | ||
Eoan |
Invalid
|
Undecided
|
Unassigned | ||
mutter (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Bionic |
Won't Fix
|
High
|
Daniel van Vugt | ||
Disco |
Invalid
|
Undecided
|
Unassigned | ||
Eoan |
Invalid
|
Undecided
|
Unassigned |
Bug Description
[Impact]
With most recent version of mutter installed.
If running kernel is in the 4.15 serie (using the vmwgfx video kernel driver) and if the login screen uses wayland, then the login prompt doesn't appears. All we see is the purple background with ubuntu in white at the bottom, nothing else.
The vmwgfx driver in kernels prior to 4.17 reported bogus timestamps using the wrong clock. This would lead us to wait forever (or at least 49 years)
before rendering the next frame. There's no decisive way to know this kernel bug is going to happen before it does so just detect timestamps which are obviously going to cause freezes and ignore them.
[Test case]
1) Use Virtualbox or VMware ESxi (if you have the infra)
1.1) [virtualbox] Make sure in the VM setting that the display uses 'VMSVGA' which will force the OS to pick 'vmwgfx' video kernel driver. You can confirm with 'lspci -nnvv' command.
2) Deploy a VM with Ubuntu 18.04.1 (which come w/ 4.15)
4) apt-get dist-upgrade
5) Reboot
with 4.15 it will fails
with hwe kernel 4.18 it will work as expected. # workaround
[Potential regression]
Low, it should fix vmwgfx and stop using the wrong clock.
A test kernel (pre-sru) has been made available to impact users for them to test and conclude it works. It does work as expected, and no regression has been found during the pre-sru testing phase.
As per commit description:
"
This should be transparent to to user space, as long as it doesn't
compare the time against the result of gettimeofday().
"
[Other informations]
upstream fix:
https:/
[Original description]
I'm running Ubuntu 18.04.2 desktop in a virtual machine under VMWare Fusion Pro V11.1.0 on MacOS Mojave 10.14.5, all on a 15inch 2018 Macbook Pro.
I've been running this Ubuntu 18.04.2 VM without problem for many months without problem.
Yesterday, I did 'sudo apt update; sudo apt upgrade'. Upon rebooting, the system hangs immediately after displaying the splash screen. I never see a login screen. And I can't use Ctrl+Alt+F2 to navigate to a console/tty login.
I can SSH into the system however.
I've found that I can work around the hang/freeze if I uncomment the following line in /etc/gdm3/
#WaylandEnable=
After uncommenting the WaylandEnable=false line and rebooting, then I see the login prompt as expected and I can then log in and use the system normally again.
After the 'apt upgrade' my system is running linux kernel 4.15.0-51, as shown in this 'uname -a' output;
Linux ubuntuvm1 4.15.0-51-generic #55-Ubuntu SMP Wed May 15 14:27:21 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
lsb_release -a output;
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.2 LTS
Release: 18.04
Codename: bionic
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: xorg 1:7.7+19ubuntu7.1
ProcVersionSign
Uname: Linux 4.15.0-51-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.6
Architecture: amd64
CompositorRunning: None
Date: Sun Jun 9 12:38:37 2019
DistUpgraded: Fresh install
DistroCodename: bionic
DistroVariant: ubuntu
ExtraDebuggingI
GpuHangFrequency: This is the first time
GraphicsCard:
VMware SVGA II Adapter [15ad:0405] (prog-if 00 [VGA controller])
Subsystem: VMware SVGA II Adapter [15ad:0405]
InstallationDate: Installed on 2018-05-06 (399 days ago)
InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
MachineType: VMware, Inc. VMware Virtual Platform
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=
SourcePackage: xorg
Symptom: display
Title: Xorg freeze
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 04/13/2018
dmi.bios.vendor: Phoenix Technologies LTD
dmi.bios.version: 6.00
dmi.board.name: 440BX Desktop Reference Platform
dmi.board.vendor: Intel Corporation
dmi.board.version: None
dmi.chassis.
dmi.chassis.type: 1
dmi.chassis.vendor: No Enclosure
dmi.chassis.
dmi.modalias: dmi:bvnPhoenixT
dmi.product.name: VMware Virtual Platform
dmi.product.
dmi.sys.vendor: VMware, Inc.
version.compiz: compiz N/A
version.libdrm2: libdrm2 2.4.95-1~18.04.1
version.
version.
version.
version.
version.
version.
version.
Related branches
- Iain Lane: Disapprove
- Marco Trevisan (Treviño): Approve
-
Diff: 59 lines (+34/-0)3 files modifieddebian/changelog (+8/-0)
debian/patches/lp1832138-workaround-old-vmwgfx.patch (+25/-0)
debian/patches/series (+1/-0)
CVE References
summary: |
- Login freeze during boot after upgrade + Login screen never appears on vmwgfx but setting WaylandEnable=false + fixes it |
affects: | xorg (Ubuntu) → mutter (Ubuntu) |
tags: | added: vmware |
Changed in gdm3 (Ubuntu): | |
status: | New → Confirmed |
Changed in gdm3 (Ubuntu): | |
status: | Incomplete → New |
Changed in mutter (Ubuntu): | |
status: | Incomplete → New |
Changed in mutter (Ubuntu): | |
assignee: | nobody → Daniel van Vugt (vanvugt) |
Changed in gdm3 (Ubuntu Bionic): | |
status: | New → Confirmed |
Changed in gdm3 (Ubuntu Eoan): | |
status: | Confirmed → Invalid |
no longer affects: | gdm3 (Ubuntu) |
no longer affects: | gdm3 (Ubuntu Bionic) |
no longer affects: | gdm3 (Ubuntu Eoan) |
Changed in mutter (Ubuntu Bionic): | |
status: | New → Confirmed |
assignee: | nobody → Daniel van Vugt (vanvugt) |
Changed in mutter (Ubuntu Eoan): | |
status: | Confirmed → Invalid |
assignee: | Daniel van Vugt (vanvugt) → nobody |
Changed in mutter (Ubuntu Bionic): | |
status: | Confirmed → In Progress |
Changed in mutter (Ubuntu Bionic): | |
status: | Incomplete → Confirmed |
status: | Confirmed → Incomplete |
Changed in linux (Ubuntu Bionic): | |
assignee: | nobody → Eric Desrochers (slashd) |
Changed in linux (Ubuntu Bionic): | |
status: | Confirmed → In Progress |
Changed in mutter (Ubuntu Bionic): | |
status: | Won't Fix → Incomplete |
Changed in mutter (Ubuntu Bionic): | |
importance: | Undecided → High |
description: | updated |
description: | updated |
Changed in linux (Ubuntu Bionic): | |
importance: | Undecided → Critical |
importance: | Critical → High |
description: | updated |
description: | updated |
Changed in linux-hwe (Ubuntu Disco): | |
status: | New → Triaged |
status: | Triaged → Invalid |
Changed in mutter (Ubuntu Disco): | |
status: | New → Invalid |
Changed in linux (Ubuntu Disco): | |
status: | New → Fix Released |
Changed in mutter (Ubuntu Bionic): | |
status: | In Progress → Won't Fix |
Changed in linux (Ubuntu Bionic): | |
status: | In Progress → Fix Committed |
tags: |
added: verification-done-bionic removed: verification-needed-bionic |
Status changed to 'Confirmed' because the bug affects multiple users.