nvidia failure to resume from suspend; kernel fallback broken
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
nvidia-graphics-drivers-550 (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
I am unable to resume from suspend. The system comes back on but the screen is black. Switching to a virtual console to look for a solution is impossible as the keyboard appears to be dead.
The issue is far from new and and goes as far back (for me) as 22.04. Until 23.10, however, it could be worked around by disabling the systemd suspend mechanism (disable nvidia-suspend, nvidia-hibernate and nvidia-resumpe). The system would then use the kernel driver fallback instead, which worked fine. Until now.
I have tried nvida drivers 535 and 550. Neither worked. I have enabled the graphics-drivers ppa to test the latest available driver, which is a newer version of the 550 driver included in the repositories. No luck.
ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: linux-generic (not installed)
ProcVersionSign
Uname: Linux 6.8.0-31-generic x86_64
NonfreeKernelMo
ApportVersion: 2.28.1-0ubuntu2
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/seq: codey 2877 F.... pipewire
/dev/snd/
/dev/snd/
CRDA: N/A
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
Date: Tue May 7 16:38:34 2024
InstallationDate: Installed on 2022-03-27 (772 days ago)
InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Alpha amd64 (20220326)
MachineType: System manufacturer System Product Name
ProcFB: 0 simpledrmdrmfb
ProcKernelCmdLine: BOOT_IMAGE=
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.
RelatedPackageV
linux-
linux-
linux-firmware 20240318.
RfKill:
0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 03/13/2023
dmi.bios.release: 5.17
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 6063
dmi.board.
dmi.board.name: PRIME X470-PRO
dmi.board.vendor: ASUSTeK COMPUTER INC.
dmi.board.version: Rev X.0x
dmi.chassis.
dmi.chassis.type: 3
dmi.chassis.vendor: Default string
dmi.chassis.
dmi.modalias: dmi:bvnAmerican
dmi.product.family: To be filled by O.E.M.
dmi.product.name: System Product Name
dmi.product.sku: SKU
dmi.product.
dmi.sys.vendor: System manufacturer
OK, this looks (for now) fixed. I have gone back to 535 and now resume is working again.
What has made the difference, I guess, is that installing 535 has restored /lib/systemd/ system- sleep/nvidia. Deleting that file used to be part of the procedure to disable the systemd suspend/resume mechanism in favour of the kernel driver fallback. It looks like this is no longer the case and that the file needs to be left alone.