Skip to content

[BUG] nvidia: suspend fails due to missing power management systemd services #13400

Description

@pyndys

Full Raw Package Name (e.g. anda-0.4.14-1.fcrawhide.x86_64)

akmod-nvidia-610.43.02-1.fc44.x86_64 nvidia-driver-610.43.02-1.fc44.x86_64 nvidia-kmod-common-610.43.02-1.fc44.noarch

Release Version

f44

Describe the Bug

The nvidia package ships /usr/lib/modprobe.d/nvidia.conf with NVreg_PreserveVideoMemoryAllocations=1 set, but does not include the required systemd power management services (nvidia-suspend.service, nvidia-resume.service, nvidia-hibernate.service).

The issue is confirmed to be Terra-specific: switching to RPM Fusion drivers (which ship xorg-x11-drv-nvidia-power containing the missing services) fixes suspend completely.

To Reproduce

  1. Install nvidia drivers from Terra on Fedora 44
  2. Attempt to suspend the system (systemctl suspend or via DE)
  3. System immediately wakes up after ~2 seconds

Expected Behavior

Either:

  1. Ship nvidia-suspend.service, nvidia-resume.service, nvidia-hibernate.service (like RPM Fusion does via xorg-x11-drv-nvidia-power)
  2. Or remove NVreg_PreserveVideoMemoryAllocations=1 from modprobe config if the required services are not provided

Relevant Log Output

NVRM: GPU 0000:01:00.0: PreserveVideoMemoryAllocations module parameter is set. System Power Management attempted without driver procfs suspend interface.
nvidia 0000:01:00.0: PM: pci_pm_suspend(): nv_pmops_suspend [nvidia] returns -5
nvidia 0000:01:00.0: PM: failed to suspend async: error -5
PM: Some devices failed to suspend, or early wake event detected
systemd-sleep: Failed to put system to sleep. System resumed again: Input/output error

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions