Laptop docked with lid closed, goes to sleep immediately on login
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnome-shell (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
mutter (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
xorg-server (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Ubuntu 20.04's software updater just applied quite a few updates affecting grub and nvidia. The modules should show in the report just submitted. Also, updates to initramfs had just installed a few days ago. Kudos in that these updates fixed two login/startup issues: I'd been affected by the compression change for initramfs and had started getting the spinning ubuntu circle on the logon splash screen, apparently due to an nvidia driver conflict. I'd turned the splash screen to nosplash, and have now been able to set it back to splash. Both of those issues now appear to be fixed.
BUT now when I start Ubuntu with the T570 laptop docked, lid closed, external display and keyboard via the dock: as soon as I enter the login password and press enter, the system goes into suspend. If I then press the dock power button again, the system will resume and proceed normally.
It seems that the new startup modules don't realize that the machine is docked; and/or that it erroneously now "detects" the closed lid as a change in lid state during startup, triggering suspend. Prior to today's updates, this was not an issue.
I would appreciate seeing this corrected. Thank you.
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: ubuntu-
ProcVersionSign
Uname: Linux 5.4.0-48-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.11-0ubuntu27.9
Architecture: amd64
CasperMD5CheckR
CrashDB: ubuntu
CurrentDesktop: ubuntu:GNOME
Date: Thu Sep 24 18:15:31 2020
InstallationDate: Installed on 2020-06-22 (94 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
PackageArchitec
ProcEnviron:
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: ubuntu-
Symptom: release-upgrade
UpgradeStatus: No upgrade log present (probably fresh install)
VarLogDistupgra
affects: | ubuntu → ubuntu-release-upgrader (Ubuntu) |
summary: |
- login triggers suspend after update + [ThinkPad T570] login triggers suspend after update |
summary: |
- [ThinkPad T570] login triggers suspend after update + Laptop docked with lid closed, goes to sleep immediately on login |
affects: | ubuntu-release-upgrader (Ubuntu) → gnome-shell (Ubuntu) |
tags: | added: multimonitor |
Additional observations:
1. This bug is interacting with another: where the "short name" of the user (the Home file name) rather than the full user name is showing up on the login screen. Usually the short name shows up on this machine when it is docked. When the laptop is being used by itself, the full name shows up. ONLY ONCE tonight has the full name shown up at login in the dock... and when it did, the machine did not suspend.
2. This bug is also affecting automatic WiFi connection. When the machine suspends and I press power again to resume it (on the dock), it connects to WiFi as it should. But on that one occasion where the full user name showed up and it did not suspend, it cannot find the WiFi network security credentials even though they are stored. Very strange.
3. In working with this tonight, the spinning ubuntu logo hang came back during login. Since I know that initramfs was updated shortly before the kernel and nvidia updates, I created a new initramfs image. I also had to update that new image explicitly with a second execution of the update-initramfs command. I turned the splash screen back off, and verified that refreshing the ramdrive has once again cleared the initramfs deconding errors.
4. So the changes to initramfs, to the core/kernel, and to the nvidia drivers don't seem to be getting along with each other too well.
I hope this helps.