After upgrade 20.04 LTS -> 23.10, closing laptop lid causes all GUI apps to be quit
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
I have a brand new Lenovo ThinkPad T14 (AMD) Gen 3 with touchscreen. I was told this is a good laptop for Linux and Lenovo says it is "certified" on Ubuntu 20.04.
Yesterday I installed Ubuntu 22.04 LTS off a USB stick. It worked pretty well. Later in the day I decided to upgrade to a newer Ubuntu and installed Ubuntu 23.10 off a USB stick (I did not upgrade, I told it to delete the partition and create a new one). This has had a couple new, serious problems (see also https:/
With 23.10 I am seeing a behavior where if I close the lid, wait for the red light on the Thinkpad logo to begin blinking to indicate it is in sleep, then open the lid, it asks me to log in, and when I log in I am looking at a new, blank desktop session. All my apps have been quit. I see this behavior both when I am plugged into power and when I am not plugged into power. I am 95% certain I did not see this yesterday in 22.04 LTS. I closed and reopened the laptop multiple times.
I have made fumbling attempts to fix this myself but because this is a common laptop, Lenovo-certified with Ubuntu, with default settings, and I *THINK* it is a regression (seemed to work with 22.04 LTS?) I think it should work out of the box.
MY FUMBLING ATTEMPTS TO FIX THIS MYSELF
I learned Linux on servers and before the systemd era. I do not currently know how to find out: - Where is there a log of which applications have crashed, and when? - Where is there a log of reboots? On Windows there is an "event viewer" which tells you the last reboot (and whether it was caused by a power event, the OS or user requesting the reboot, or what). At the moment I don't know in Linux if it is trying to hibernate and failing, intentionally powering down, or if it is correctly hibernating and waking but at some step a critical software (like the wayland server) is dying. I am happy to gather any information needed.
The Arch wiki, which in my experience is often a good source of general Linux information, has a page on this device https:/
"According to Lenovo staff the CPU generation in this device only supports s2idle and not S3 sleep."
They recommend running: $ cat /sys/power/
"If you run system firmware version 0.1.17 do not set the suspend mode in UEFI setup to Linux (S3). This sleep mode is not supported by the CPU. If you set S3 mode and upgrade the system firmware you need to do a downgrade to 0.1.17 to change it back, because the option is removed in newer firmware. If you set S3 mode nevertheless and try to suspend to mem/S3 mode the system will crash and you need to reset it by holding the power button for a few seconds."
I have not yet explored this in the pre-OS UEFI settings but will try that after filing this bug.
ProblemType: Bug
DistroRelease: Ubuntu 23.10
Package: linux-image-
ProcVersionSign
Uname: Linux 6.5.0-9-generic x86_64
ApportVersion: 2.27.0-0ubuntu5
Architecture: amd64
CRDA: N/A
CasperMD5CheckR
CloudArchitecture: x86_64
CloudID: none
CloudName: none
CloudPlatform: none
CloudSubPlatform: config
CurrentDesktop: ubuntu:GNOME
Date: Wed Oct 18 15:08:29 2023
InstallationDate: Installed on 2023-10-18 (1 days ago)
InstallationMedia: Ubuntu 23.10.1 "Mantic Minotaur" - Release amd64 (20231016.1)
MachineType: {report[
ProcEnviron:
LANG=en_US.UTF-8
PATH=(custom, no user)
SHELL=/bin/bash
TERM=xterm-
XDG_RUNTIME_
ProcFB: 0 amdgpudrmfb
ProcKernelCmdLine: BOOT_IMAGE=
RelatedPackageV
linux-
linux-
linux-firmware 20230919.
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 08/08/2023
dmi.bios.release: 1.40
dmi.bios.vendor: LENOVO
dmi.bios.version: R23ET70W (1.40 )
dmi.board.
dmi.board.name: 21CF000CUS
dmi.board.vendor: LENOVO
dmi.board.version: SDK0T76538 WIN
dmi.chassis.
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.
dmi.ec.
dmi.modalias: dmi:bvnLENOVO:
dmi.product.family: ThinkPad T14 Gen 3
dmi.product.name: 21CF000CUS
dmi.product.sku: LENOVO_
dmi.product.
dmi.sys.vendor: LENOVO
This change was made by a bot.