System crashes/freezes when suspending

Bug #2058514 reported by Liudvikas Akelis
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
xserver-xorg-video-amdgpu (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Sometimes (I'd say 20% of the time) either a manual or automatic suspend fails in these ways:

* power button remains lit (on succesful suspend it flashes)
* Fans may remain spinning and (indirectly observed) battery drains quite fast
* Screen black, impossible to wake, only to shut down by long power button press

Bug occurs BOTH on Wayland and Xorg Gnome, so not sure which package is at fault.

In addition, bug submission documentation is not very good, I'm filing this bug after 30 minutes of bug documentation and I'm still confident this is filed incorrectly.

ProblemType: Bug
DistroRelease: Ubuntu 23.10
Package: xserver-xorg-video-amdgpu 23.0.0-1
ProcVersionSignature: Ubuntu 6.5.0-26.26-generic 6.5.13
Uname: Linux 6.5.0-26-generic x86_64
ApportVersion: 2.27.0-0ubuntu5
Architecture: amd64
BootLog: Error: [Errno 13] Permission denied: '/var/log/boot.log'
CasperMD5CheckResult: pass
CompositorRunning: None
CurrentDesktop: ubuntu:GNOME
Date: Wed Mar 20 19:57:53 2024
DistUpgraded: Fresh install
DistroCodename: mantic
DistroVariant: ubuntu
GraphicsCard:
 Advanced Micro Devices, Inc. [AMD/ATI] Lucienne [1002:164c] (rev c2) (prog-if 00 [VGA controller])
   Subsystem: Lenovo Lucienne [17aa:5097]
InstallationDate: Installed on 2023-12-08 (103 days ago)
InstallationMedia: Ubuntu 23.10.1 "Mantic Minotaur" - Release amd64 (20231016.1)
MachineType: {report['dmi.sys.vendor']} {report['dmi.product.name']}
ProcEnviron:
 LANG=en_US.UTF-8
 PATH=(custom, no user)
 SHELL=/bin/bash
 TERM=xterm
 XDG_RUNTIME_DIR=<set>
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-6.5.0-26-generic root=UUID=112bce1c-b1dd-49e6-b6e9-7c913a1842d9 ro quiet splash usbcore.autosuspend=-1 vt.handoff=7
SourcePackage: xserver-xorg-video-amdgpu
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 09/29/2023
dmi.bios.release: 1.16
dmi.bios.vendor: LENOVO
dmi.bios.version: R1OET37W (1.16 )
dmi.board.asset.tag: Not Available
dmi.board.name: 20YG00BRMH
dmi.board.vendor: LENOVO
dmi.board.version: Not Defined
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: None
dmi.ec.firmware.release: 1.16
dmi.modalias: dmi:bvnLENOVO:bvrR1OET37W(1.16):bd09/29/2023:br1.16:efr1.16:svnLENOVO:pn20YG00BRMH:pvrThinkPadE15Gen3:rvnLENOVO:rn20YG00BRMH:rvrNotDefined:cvnLENOVO:ct10:cvrNone:skuLENOVO_MT_20YG_BU_Think_FM_ThinkPadE15Gen3:
dmi.product.family: ThinkPad E15 Gen 3
dmi.product.name: 20YG00BRMH
dmi.product.sku: LENOVO_MT_20YG_BU_Think_FM_ThinkPad E15 Gen 3
dmi.product.version: ThinkPad E15 Gen 3
dmi.sys.vendor: LENOVO
version.compiz: compiz N/A
version.libdrm2: libdrm2 2.4.115-1
version.libgl1-mesa-dri: libgl1-mesa-dri 23.2.1-1ubuntu3.1
version.libgl1-mesa-glx: libgl1-mesa-glx N/A
version.xserver-xorg-core: xserver-xorg-core 2:21.1.7-3ubuntu2.7
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:19.1.0-3
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.917+git20210115-1
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.17-2build1

Revision history for this message
Liudvikas Akelis (liudvikas.akelis) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in xserver-xorg-video-amdgpu (Ubuntu):
status: New → Confirmed
Revision history for this message
Martin Randau (cmmrandau) wrote (last edit ):

sudo systemctl start suspend.target works fine but closing lid or selecting suspend from the menu causes a freeze (no blinking light) and requires hard shutdown.

This is on Ubuntu 24.04 with the latest updates.
Thinkpad P14s gen 3, AMD Ryzen 7 PRO 6850U

Revision history for this message
Martin Randau (cmmrandau) wrote :
Download full text (10.2 KiB)

Still having this problem on 24.04 LTS with the latest upgrades. It happens rarely, systemctl -b -1 says:

Apr 24 10:43:50 ThinkPad-P14s-Gen-3 systemd-logind[1171]: Lid closed.
Apr 24 10:43:50 ThinkPad-P14s-Gen-3 systemd-logind[1171]: Suspending...
Apr 24 10:43:50 ThinkPad-P14s-Gen-3 kernel: Lockdown: systemd-logind: hibernation is restricted; see man kernel_lockdown.7
Apr 24 10:43:50 ThinkPad-P14s-Gen-3 kernel: audit: type=1107 audit(1713948230.548:853): pid=1144 uid=101 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operatio>
                                             exe="/usr/bin/dbus-daemon" sauid=101 hostname=? addr=? terminal=?'
Apr 24 10:43:50 ThinkPad-P14s-Gen-3 ModemManager[1373]: <msg> [sleep-monitor-systemd] system is about to suspend
Apr 24 10:43:50 ThinkPad-P14s-Gen-3 NetworkManager[1209]: <info> [1713948230.5501] manager: sleep: sleep requested (sleeping: no enabled: yes)
Apr 24 10:43:50 ThinkPad-P14s-Gen-3 kernel: audit: type=1107 audit(1713948230.549:854): pid=1144 uid=101 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operatio>
                                             exe="/usr/bin/dbus-daemon" sauid=101 hostname=? addr=? terminal=?'
Apr 24 10:43:50 ThinkPad-P14s-Gen-3 NetworkManager[1209]: <info> [1713948230.5503] manager: NetworkManager state is now ASLEEP
Apr 24 10:43:50 ThinkPad-P14s-Gen-3 NetworkManager[1209]: <info> [1713948230.5506] device (wlp1s0): state change: activated -> deactivating (reason 'sleeping', sys-iface-state: 'mana>
Apr 24 10:43:50 ThinkPad-P14s-Gen-3 dbus-daemon[1144]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service' >
Apr 24 10:43:50 ThinkPad-P14s-Gen-3 kernel: Lockdown: systemd-logind: hibernation is restricted; see man kernel_lockdown.7
Apr 24 10:43:50 ThinkPad-P14s-Gen-3 kernel: audit: type=1107 audit(1713948230.556:855): pid=1144 uid=101 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operatio>
                                             exe="/usr/bin/dbus-daemon" sauid=101 hostname=? addr=? terminal=?'
Apr 24 10:43:50 ThinkPad-P14s-Gen-3 kernel: audit: type=1107 audit(1713948230.556:856): pid=1144 uid=101 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operatio>
                                             exe="/usr/bin/dbus-daemon" sauid=101 hostname=? addr=? terminal=?'
Apr 24 10:43:50 ThinkPad-P14s-Gen-3 kernel: audit: type=1107 audit(1713948230.557:857): pid=1144 uid=101 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operatio>
                                             exe="/usr/bin/dbus-daemon" sauid=101 hostname=? addr=? terminal=?'
Apr 24 10:43:50 ThinkPad-P14s-Gen-3 kernel: Lockdown: systemd-logind: hibernation is restricted; see man kernel_lockdown.7
Apr 24 10:43:50 ThinkPad-P14s-Gen-3 kernel: Lockdown: systemd-logind: hibernation is restricted; see man kernel_lockdown.7
Apr 24 10:43:50 ThinkPad-P14s-Gen-3 systemd[1]: Starting NetworkManager-dispatcher.service - Network Manager Script Dispatcher Service...
Apr 24 10:43:50 ThinkPad-P14s-Gen-3 kernel: Lockdown: systemd-logind: hibernatio...

Revision history for this message
Martin Randau (cmmrandau) wrote :

Well, my specific problem might be related to the Thinkpad model: https://www.reddit.com/r/thinkpad/comments/13pzjlq/t14_gen_3_amd_sleep_hibernate_issues_collection/

Suspend works perfectly on my other computers.

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.