I have updated Ubuntu on my Lenovo Y520 from 18.04 to 23.10 (fresh install) and I have problems with suspending (freeze on suspend or wake up). I think it may be related to Nvidia. ``` [160828.853288] PM: suspend entry (deep) [160828.854252] Filesystems sync: 0.000 seconds [160828.882275] rfkill: input handler enabled [160829.005936] Freezing user space processes [160829.008956] Freezing user space processes completed (elapsed 0.003 seconds) [160829.008962] OOM killer disabled. [160829.008963] Freezing remaining freezable tasks [160829.010721] Freezing remaining freezable tasks completed (elapsed 0.001 seconds) [160829.010770] printk: Suspending console(s) (use no_console_suspend to debug) [160829.024762] wlp3s0: deauthenticating from 6c:5a:b0:c9:b8:2f by local choice (Reason: 3=DEAUTH_LEAVING) [160829.043993] sd 2:0:0:0: [sda] Synchronizing SCSI cache [160829.044204] sd 2:0:0:0: [sda] Stopping disk [160829.996520] ACPI: EC: interrupt blocked [160830.119907] ACPI: PM: Preparing to enter system sleep state S3 [160830.120226] ACPI: EC: event blocked [160830.120227] ACPI: EC: EC stopped [160830.120227] ACPI: PM: Saving platform NVS memory [160830.120464] Disabling non-boot CPUs ... [160830.121807] smpboot: CPU 1 is now offline [160830.123807] smpboot: CPU 2 is now offline [160830.125574] smpboot: CPU 3 is now offline [160830.127657] smpboot: CPU 4 is now offline [160830.129522] smpboot: CPU 5 is now offline [160830.131306] smpboot: CPU 6 is now offline [160830.133177] smpboot: CPU 7 is now offline [148701.924908] [Firmware Bug]: TSC ADJUST differs: CPU0 0 --> -500554061. Restoring [160830.137174] ACPI: PM: Low-level resume complete [160830.137234] ACPI: EC: EC started [160830.137234] ACPI: PM: Restoring platform NVS memory [160830.138184] Enabling non-boot CPUs ... [160830.138212] smpboot: Booting Node 0 Processor 1 APIC 0x2 [160830.141748] CPU1 is up [160830.141767] smpboot: Booting Node 0 Processor 2 APIC 0x4 [160830.144344] CPU2 is up [160830.144360] smpboot: Booting Node 0 Processor 3 APIC 0x6 [160830.147856] CPU3 is up [160830.147871] smpboot: Booting Node 0 Processor 4 APIC 0x1 [160830.148759] CPU4 is up [160830.148775] smpboot: Booting Node 0 Processor 5 APIC 0x3 [160830.149453] CPU5 is up [160830.149469] smpboot: Booting Node 0 Processor 6 APIC 0x5 [160830.150163] CPU6 is up [160830.150179] smpboot: Booting Node 0 Processor 7 APIC 0x7 [160830.150898] CPU7 is up [160830.154911] ACPI: PM: Waking up from system sleep state S3 [160830.160550] ACPI: EC: interrupt unblocked [160831.452670] nvidia 0000:01:00.0: Enabling HDA controller [160831.454493] ACPI: EC: event unblocked [160831.454557] rtlwifi: rtlwifi: wireless switch is on [160831.464924] i915 0000:00:02.0: [drm] [ENCODER:94:DDI A/PHY A] is disabled/in DSI mode with an ungated DDI clock, gate it [160831.464956] i915 0000:00:02.0: [drm] [ENCODER:102:DDI B/PHY B] is disabled/in DSI mode with an ungated DDI clock, gate it [160831.464988] i915 0000:00:02.0: [drm] [ENCODER:111:DDI C/PHY C] is disabled/in DSI mode with an ungated DDI clock, gate it [160831.479757] nvme nvme0: Shutdown timeout set to 10 seconds [160831.480874] nvme nvme0: 8/0/0 default/read/poll queues [160831.652005] r8169 0000:04:00.0 enp4s0: Link is Down [160831.728074] usb 1-6: reset high-speed USB device number 5 using xhci_hcd [160832.004190] usb 1-11: reset full-speed USB device number 8 using xhci_hcd [160832.157958] pcieport 0000:00:1c.0: PCI bridge to [bus 02] [160832.157971] pcieport 0000:00:1c.0: bridge window [mem 0xa4300000-0xa43fffff] [160832.158016] pcieport 0000:00:1c.2: PCI bridge to [bus 03] [160832.158019] pcieport 0000:00:1c.2: bridge window [io 0x4000-0x4fff] [160832.157957] mei_hdcp 0000:00:16.0-b638ab7e-94e2-4ea2-a552-d1c54b627f04: bound 0000:00:02.0 (ops i915_hdcp_ops [i915]) [160832.158029] pcieport 0000:00:1c.2: bridge window [mem 0xa4200000-0xa42fffff] [160832.158063] pcieport 0000:00:1c.3: PCI bridge to [bus 04] [160832.158066] pcieport 0000:00:1c.3: bridge window [io 0x3000-0x3fff] [160832.158075] pcieport 0000:00:1c.3: bridge window [mem 0xa4100000-0xa41fffff] [160832.158476] OOM killer enabled. [160832.158478] Restarting tasks ... [160832.158486] pcieport 0000:00:1d.0: PCI bridge to [bus 05] [160832.160223] pcieport 0000:00:1d.0: bridge window [mem 0xa4000000-0xa40fffff] [160832.166190] done. [160832.166208] random: crng reseeded on system resumption [160832.166288] Bluetooth: hci0: RTL: examining hci_ver=06 hci_rev=000a lmp_ver=06 lmp_subver=8821 [160832.167293] Bluetooth: hci0: RTL: rom_version status=0 version=1 [160832.167300] Bluetooth: hci0: RTL: loading rtl_bt/rtl8821a_fw.bin [160832.167628] Bluetooth: hci0: RTL: loading rtl_bt/rtl8821a_config.bin [160832.167657] Bluetooth: hci0: RTL: cfg_sz 10, total sz 17438 [160832.280199] PM: suspend exit [160832.468071] audit: type=1400 audit(1704653481.328:624): apparmor="DENIED" operation="open" class="file" profile="snap.firmware-updater.firmware-notifier" name="/proc/sys/vm/max_map_count" pid=198872 comm="firmware-notifi" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0 [160832.569303] Bluetooth: hci0: RTL: fw version 0x0e2fa041 [160832.645322] rfkill: input handler disabled [160832.680533] Bluetooth: MGMT ver 1.22 [160832.804000] ata3: SATA link up 6.0 Gbps (SStatus 133 SControl 300) [160833.213639] ata3.00: configured for UDMA/100 [160835.645296] wlp3s0: authenticate with 6c:5a:b0:c9:c2:0b [160835.645829] wlp3s0: send auth to 6c:5a:b0:c9:c2:0b (try 1/3) [160835.747872] wlp3s0: send auth to 6c:5a:b0:c9:c2:0b (try 2/3) [160835.851871] wlp3s0: send auth to 6c:5a:b0:c9:c2:0b (try 3/3) [160835.854603] wlp3s0: authenticated [160835.855857] wlp3s0: associate with 6c:5a:b0:c9:c2:0b (try 1/3) [160835.959897] wlp3s0: associate with 6c:5a:b0:c9:c2:0b (try 2/3) [160836.035760] wlp3s0: RX AssocResp from 6c:5a:b0:c9:c2:0b (capab=0x1411 status=0 aid=2) [160836.036077] wlp3s0: associated [160836.119987] wlp3s0: Limiting TX power to 26 (26 - 0) dBm as advertised by 6c:5a:b0:c9:c2:0b [160838.535814] workqueue: rtl_watchdog_wq_callback [rtlwifi] hogged CPU for >10000us 8 times, consider switching to WQ_UNBOUND ```
I have updated Ubuntu on my Lenovo Y520 from 18.04 to 23.10 (fresh install) and I have problems with suspending (freeze on suspend or wake up). I think it may be related to Nvidia. 0xa43fffff] 16.0-b638ab7e- 94e2-4ea2- a552-d1c54b627f 04: bound 0000:00:02.0 (ops i915_hdcp_ops [i915]) 0xa42fffff] 0xa41fffff] 0xa40fffff] rtl8821a_ fw.bin rtl8821a_ config. bin 1.328:624) : apparmor="DENIED" operation="open" class="file" profile= "snap.firmware- updater. firmware- notifier" name="/ proc/sys/ vm/max_ map_count" pid=198872 comm="firmware- notifi" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0 wq_callback [rtlwifi] hogged CPU for >10000us 8 times, consider switching to WQ_UNBOUND
```
[160828.853288] PM: suspend entry (deep)
[160828.854252] Filesystems sync: 0.000 seconds
[160828.882275] rfkill: input handler enabled
[160829.005936] Freezing user space processes
[160829.008956] Freezing user space processes completed (elapsed 0.003 seconds)
[160829.008962] OOM killer disabled.
[160829.008963] Freezing remaining freezable tasks
[160829.010721] Freezing remaining freezable tasks completed (elapsed 0.001 seconds)
[160829.010770] printk: Suspending console(s) (use no_console_suspend to debug)
[160829.024762] wlp3s0: deauthenticating from 6c:5a:b0:c9:b8:2f by local choice (Reason: 3=DEAUTH_LEAVING)
[160829.043993] sd 2:0:0:0: [sda] Synchronizing SCSI cache
[160829.044204] sd 2:0:0:0: [sda] Stopping disk
[160829.996520] ACPI: EC: interrupt blocked
[160830.119907] ACPI: PM: Preparing to enter system sleep state S3
[160830.120226] ACPI: EC: event blocked
[160830.120227] ACPI: EC: EC stopped
[160830.120227] ACPI: PM: Saving platform NVS memory
[160830.120464] Disabling non-boot CPUs ...
[160830.121807] smpboot: CPU 1 is now offline
[160830.123807] smpboot: CPU 2 is now offline
[160830.125574] smpboot: CPU 3 is now offline
[160830.127657] smpboot: CPU 4 is now offline
[160830.129522] smpboot: CPU 5 is now offline
[160830.131306] smpboot: CPU 6 is now offline
[160830.133177] smpboot: CPU 7 is now offline
[148701.924908] [Firmware Bug]: TSC ADJUST differs: CPU0 0 --> -500554061. Restoring
[160830.137174] ACPI: PM: Low-level resume complete
[160830.137234] ACPI: EC: EC started
[160830.137234] ACPI: PM: Restoring platform NVS memory
[160830.138184] Enabling non-boot CPUs ...
[160830.138212] smpboot: Booting Node 0 Processor 1 APIC 0x2
[160830.141748] CPU1 is up
[160830.141767] smpboot: Booting Node 0 Processor 2 APIC 0x4
[160830.144344] CPU2 is up
[160830.144360] smpboot: Booting Node 0 Processor 3 APIC 0x6
[160830.147856] CPU3 is up
[160830.147871] smpboot: Booting Node 0 Processor 4 APIC 0x1
[160830.148759] CPU4 is up
[160830.148775] smpboot: Booting Node 0 Processor 5 APIC 0x3
[160830.149453] CPU5 is up
[160830.149469] smpboot: Booting Node 0 Processor 6 APIC 0x5
[160830.150163] CPU6 is up
[160830.150179] smpboot: Booting Node 0 Processor 7 APIC 0x7
[160830.150898] CPU7 is up
[160830.154911] ACPI: PM: Waking up from system sleep state S3
[160830.160550] ACPI: EC: interrupt unblocked
[160831.452670] nvidia 0000:01:00.0: Enabling HDA controller
[160831.454493] ACPI: EC: event unblocked
[160831.454557] rtlwifi: rtlwifi: wireless switch is on
[160831.464924] i915 0000:00:02.0: [drm] [ENCODER:94:DDI A/PHY A] is disabled/in DSI mode with an ungated DDI clock, gate it
[160831.464956] i915 0000:00:02.0: [drm] [ENCODER:102:DDI B/PHY B] is disabled/in DSI mode with an ungated DDI clock, gate it
[160831.464988] i915 0000:00:02.0: [drm] [ENCODER:111:DDI C/PHY C] is disabled/in DSI mode with an ungated DDI clock, gate it
[160831.479757] nvme nvme0: Shutdown timeout set to 10 seconds
[160831.480874] nvme nvme0: 8/0/0 default/read/poll queues
[160831.652005] r8169 0000:04:00.0 enp4s0: Link is Down
[160831.728074] usb 1-6: reset high-speed USB device number 5 using xhci_hcd
[160832.004190] usb 1-11: reset full-speed USB device number 8 using xhci_hcd
[160832.157958] pcieport 0000:00:1c.0: PCI bridge to [bus 02]
[160832.157971] pcieport 0000:00:1c.0: bridge window [mem 0xa4300000-
[160832.158016] pcieport 0000:00:1c.2: PCI bridge to [bus 03]
[160832.158019] pcieport 0000:00:1c.2: bridge window [io 0x4000-0x4fff]
[160832.157957] mei_hdcp 0000:00:
[160832.158029] pcieport 0000:00:1c.2: bridge window [mem 0xa4200000-
[160832.158063] pcieport 0000:00:1c.3: PCI bridge to [bus 04]
[160832.158066] pcieport 0000:00:1c.3: bridge window [io 0x3000-0x3fff]
[160832.158075] pcieport 0000:00:1c.3: bridge window [mem 0xa4100000-
[160832.158476] OOM killer enabled.
[160832.158478] Restarting tasks ...
[160832.158486] pcieport 0000:00:1d.0: PCI bridge to [bus 05]
[160832.160223] pcieport 0000:00:1d.0: bridge window [mem 0xa4000000-
[160832.166190] done.
[160832.166208] random: crng reseeded on system resumption
[160832.166288] Bluetooth: hci0: RTL: examining hci_ver=06 hci_rev=000a lmp_ver=06 lmp_subver=8821
[160832.167293] Bluetooth: hci0: RTL: rom_version status=0 version=1
[160832.167300] Bluetooth: hci0: RTL: loading rtl_bt/
[160832.167628] Bluetooth: hci0: RTL: loading rtl_bt/
[160832.167657] Bluetooth: hci0: RTL: cfg_sz 10, total sz 17438
[160832.280199] PM: suspend exit
[160832.468071] audit: type=1400 audit(170465348
[160832.569303] Bluetooth: hci0: RTL: fw version 0x0e2fa041
[160832.645322] rfkill: input handler disabled
[160832.680533] Bluetooth: MGMT ver 1.22
[160832.804000] ata3: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[160833.213639] ata3.00: configured for UDMA/100
[160835.645296] wlp3s0: authenticate with 6c:5a:b0:c9:c2:0b
[160835.645829] wlp3s0: send auth to 6c:5a:b0:c9:c2:0b (try 1/3)
[160835.747872] wlp3s0: send auth to 6c:5a:b0:c9:c2:0b (try 2/3)
[160835.851871] wlp3s0: send auth to 6c:5a:b0:c9:c2:0b (try 3/3)
[160835.854603] wlp3s0: authenticated
[160835.855857] wlp3s0: associate with 6c:5a:b0:c9:c2:0b (try 1/3)
[160835.959897] wlp3s0: associate with 6c:5a:b0:c9:c2:0b (try 2/3)
[160836.035760] wlp3s0: RX AssocResp from 6c:5a:b0:c9:c2:0b (capab=0x1411 status=0 aid=2)
[160836.036077] wlp3s0: associated
[160836.119987] wlp3s0: Limiting TX power to 26 (26 - 0) dBm as advertised by 6c:5a:b0:c9:c2:0b
[160838.535814] workqueue: rtl_watchdog_
```