Ubuntu 24.04 slow to resume after suspend

Asked by Isny

After upgrading from 23.10 to 24.04, resuming from suspend seems to take from 30-60 seconds. dmesg shows:

[ 214.489219] audit: type=1107 audit(1718070265.371:235): pid=1110 uid=103 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_signal" bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.login1.Manager" member="PrepareForSleep" name=":1.6" mask="receive" pid=3120 label="snap.firefox.firefox" peer_pid=1103 peer_label="unconfined"
                exe="/usr/bin/dbus-daemon" sauid=103 hostname=? addr=? terminal=?'
[ 214.491464] audit: type=1107 audit(1718070265.374:236): pid=1110 uid=103 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_signal" bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.DBus.Properties" member="PropertiesChanged" name=":1.6" mask="receive" pid=3120 label="snap.firefox.firefox" peer_pid=1103 peer_label="unconfined"
                exe="/usr/bin/dbus-daemon" sauid=103 hostname=? addr=? terminal=?'
[ 214.492132] audit: type=1107 audit(1718070265.374:237): pid=1110 uid=103 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_signal" bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.DBus.Properties" member="PropertiesChanged" name=":1.6" mask="receive" pid=3120 label="snap.firefox.firefox" peer_pid=1103 peer_label="unconfined"
                exe="/usr/bin/dbus-daemon" sauid=103 hostname=? addr=? terminal=?'
[ 214.547136] wlp3s0: deauthenticating from ac:15:a2:31:42:a7 by local choice (Reason: 3=DEAUTH_LEAVING)
[ 214.667052] audit: type=1107 audit(1718070265.549:238): pid=1110 uid=103 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_signal" bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.DBus.Properties" member="PropertiesChanged" name=":1.6" mask="receive" pid=3120 label="snap.firefox.firefox" peer_pid=1103 peer_label="unconfined"
                exe="/usr/bin/dbus-daemon" sauid=103 hostname=? addr=? terminal=?'
[ 215.319244] audit: type=1107 audit(1718070266.201:239): pid=1110 uid=103 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_signal" bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.DBus.Properties" member="PropertiesChanged" name=":1.6" mask="receive" pid=3120 label="snap.firefox.firefox" peer_pid=1103 peer_label="unconfined"
                exe="/usr/bin/dbus-daemon" sauid=103 hostname=? addr=? terminal=?'
[ 215.376216] PM: suspend entry (deep)
[ 215.394526] Filesystems sync: 0.018 seconds
[ 215.396201] Freezing user space processes
[ 215.399564] Freezing user space processes completed (elapsed 0.003 seconds)
[ 215.399572] OOM killer disabled.
[ 215.399574] Freezing remaining freezable tasks
[ 215.400529] Freezing remaining freezable tasks completed (elapsed 0.000 seconds)
[ 215.400571] printk: Suspending console(s) (use no_console_suspend to debug)
[ 215.412501] sd 0:0:0:0: [sda] Synchronizing SCSI cache
[ 215.415956] ata1.00: Entering standby power mode
[ 215.443510] pcieport 0000:00:1c.0: Enabling MPC IRBNCE
[ 215.443516] pcieport 0000:00:1c.0: Intel PCH root port ACS workaround enabled
[ 215.821341] ACPI: EC: interrupt blocked
[ 215.846209] ACPI: PM: Preparing to enter system sleep state S3
[ 215.854277] ACPI: EC: event blocked
[ 215.854279] ACPI: EC: EC stopped
[ 215.854280] ACPI: PM: Saving platform NVS memory
[ 215.854487] Disabling non-boot CPUs ...
[ 215.856054] smpboot: CPU 1 is now offline
[ 215.858760] smpboot: CPU 2 is now offline
[ 215.861023] smpboot: CPU 3 is now offline
[ 215.872348] ACPI: PM: Low-level resume complete
[ 215.872384] ACPI: EC: EC started
[ 215.872385] ACPI: PM: Restoring platform NVS memory
[ 215.872968] Enabling non-boot CPUs ...
[ 215.873017] smpboot: Booting Node 0 Processor 1 APIC 0x2
[ 219.617479] CPU1 is up
[ 219.976324] smpboot: Booting Node 0 Processor 2 APIC 0x1
[ 219.980543] CPU2 is up
[ 219.980568] smpboot: Booting Node 0 Processor 3 APIC 0x3
[ 236.023387] perf: interrupt took too long (14817 > 13010), lowering kernel.perf_event_max_sample_rate to 13000
[ 236.292457] CPU3 is up
[ 236.296286] ACPI: PM: Waking up from system sleep state S3
[ 236.304606] ACPI: EC: interrupt unblocked
[ 236.304784] pcieport 0000:00:1c.0: Enabling MPC IRBNCE
[ 236.304790] pcieport 0000:00:1c.0: Intel PCH root port ACS workaround enabled
[ 236.304792] pcieport 0000:00:1c.2: Enabling MPC IRBNCE
[ 236.304796] pcieport 0000:00:1c.2: Intel PCH root port ACS workaround enabled

I tried to change s2idle to deep, and that didn´t seem to do anything. Previously, I´d get the login screen almost instantaneously after resuming.

Question information

Language:
English Edit question
Status:
Open
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:

Can you help with this problem?

Provide an answer of your own, or ask Isny for more information if necessary.

To post a message you must log in.