PC frequently fails to wake from suspend with kernel 5.4
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Ever since upgrading from Bionic to Focal, my machine frequently (multiple times per week) fails to wake up from suspend with the default 5.4 kernel (linux-
When booting the 4.15 kernel from Bionic that I still have installed (linux-
The symptoms of the failure to wake up are that the machine powers up (fans, LEDs), but the screen stays black. Num lock LED on the keyboard is ON and cannot be toggled. The Machine cannot be pinged.
After hard-resetting the machine, the last entry in journalctl from the previous boot is "kernel: PM: suspend entry (deep)".
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: linux-image-generic 5.4.0.152.149
ProcVersionSign
Uname: Linux 5.4.0-152-generic x86_64
ApportVersion: 2.20.11-
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
/dev/snd/
/dev/snd/
CasperMD5CheckR
CurrentDesktop: XFCE
Date: Tue Jun 27 09:02:07 2023
InstallationDate: Installed on 2014-09-16 (3205 days ago)
InstallationMedia: Ubuntu 12.04.5 LTS "Precise Pangolin" - Release amd64 (20140807.1)
MachineType: Gigabyte Technology Co., Ltd. H97M-D3H
ProcFB: 0 nouveaudrmfb
ProcKernelCmdLine: BOOT_IMAGE=
RelatedPackageV
linux-
linux-
linux-firmware 1.187.39
RfKill:
SourcePackage: linux
UpgradeStatus: Upgraded to focal on 2023-04-03 (84 days ago)
dmi.bios.date: 06/03/2014
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: F3
dmi.board.
dmi.board.name: H97M-D3H
dmi.board.vendor: Gigabyte Technology Co., Ltd.
dmi.board.version: x.x
dmi.chassis.
dmi.chassis.type: 3
dmi.chassis.vendor: Gigabyte Technology Co., Ltd.
dmi.chassis.
dmi.modalias: dmi:bvnAmerican
dmi.product.family: To be filled by O.E.M.
dmi.product.name: H97M-D3H
dmi.product.sku: To be filled by O.E.M.
dmi.product.
dmi.sys.vendor: Gigabyte Technology Co., Ltd.
The issue persists also with the 5.8 and 5.15 kernels that are installable on Focal.
It actually looks like the machine wakes up, but Xorg does not. I was able to shut down the machine gracefully by pressing the power button.
Looking at the log files after rebooting, it looks like there is a problem with nouveau:
Jul 04 08:08:50 christian- homeoffice kernel: pci_bus 0000:05: Allocating resources homeoffice kernel: pci 0000:04:00.0: bridge window [mem 0x00100000- 0x000fffff 64bit pref] to [bus 05] add_size 200000 add_align 100000 homeoffice kernel: pci 0000:04:00.0: BAR 15: no space for [mem size 0x00200000 64bit pref] homeoffice kernel: pci 0000:04:00.0: BAR 15: failed to assign [mem size 0x00200000 64bit pref] homeoffice kernel: pci 0000:04:00.0: BAR 15: no space for [mem size 0x00200000 64bit pref] homeoffice kernel: pci 0000:04:00.0: BAR 15: failed to assign [mem size 0x00200000 64bit pref] homeoffice kernel: done. homeoffice kernel: PM: suspend exit homeoffice kernel: nouveau 0000:01:00.0: gr: TRAP ch 3 [003fbc6000 Xorg[1162]] homeoffice kernel: nouveau 0000:01:00.0: gr: UNK6 80000001 [TEMP_TOO_SMALL] homeoffice kernel: nouveau 0000:01:00.0: gr: TRAP UNHANDLED 00000020 homeoffice kernel: nouveau 0000:01:00.0: fifo: read fault at bad0ac1000 engine 00 [PGRAPH] client 05 [CTXCTL] reason 00 [PT_NOT_PRESENT] on channel 3 [003fbc6000 Xorg[1162]] homeoffice kernel: nouveau 0000:01:00.0: fifo: gr engine fault on channel 3, recovering... homeoffice kernel: nouveau 0000:01:00.0: Xorg[1162]: nv50cal_space: -16 homeoffice systemd- sleep[150344] : System resumed. homeoffice kernel: nouveau 0000:01:00.0: Xorg[1162]: nv50cal_space: -16 homeoffice kernel: nouveau 0000:01:00.0: Xorg[1162]: nv50cal_space: -16 homeoffice kernel: nouveau 0000:01:00.0: Xorg[1162]: nv50cal_space: -16 homeoffice kernel: nouveau 0000:01:00.0: Xorg[1162]: nv50cal_space: -16 homeoffice systemd[1]: systemd- suspend. service: Succeeded. homeoffice systemd[1]: Finished Suspend. homeoffice systemd[1]: Stopped target Sleep. homeoffice systemd[1]: Reached target Suspend. homeoffice systemd[1]: Stopped target Suspend. homeoffice systemd- logind[ 926]: Operation 'sleep' finished. homeoffice kernel: nouveau 0000:01:00.0: Xorg[1162]: nv50cal_space: -16 homeoffice kernel: nouveau 0000:01:00.0: Xorg[1162]: nv50cal_space: -16 homeoffice kernel: nouveau 0000:01:00.0: Xorg[1162]: nv50cal_space: -16 homeoffice kernel: nouveau 0000:01:00.0: Xorg[1162]: nv50cal_space: -16
Jul 04 08:08:50 christian-
Jul 04 08:08:50 christian-
Jul 04 08:08:50 christian-
Jul 04 08:08:50 christian-
Jul 04 08:08:50 christian-
Jul 04 08:08:50 christian-
Jul 04 08:08:50 christian-
Jul 04 08:08:50 christian-
Jul 04 08:08:50 christian-
Jul 04 08:08:50 christian-
Jul 04 08:08:50 christian-
Jul 04 08:08:50 christian-
Jul 04 08:08:50 christian-
Jul 04 08:08:46 christian-
Jul 04 08:08:50 christian-
Jul 04 08:08:50 christian-
Jul 04 08:08:51 christian-
Jul 04 08:08:51 christian-
Jul 04 08:08:51 christian-
Jul 04 08:08:51 christian-
Jul 04 08:08:51 christian-
Jul 04 08:08:51 christian-
Jul 04 08:08:51 christian-
Jul 04 08:08:51 christian-
Jul 04 08:08:51 christian-
Jul 04 08:08:52 christian-
Jul 04 08:08:52 christian-
Jul 04 08:08:52 christian-
Jul 04 08:08:52 ...