What apt package contains nvidia-suspend.service etc?

I just switched from using the Ubuntu PPA for installing Nvidia-related packages to using the Nvidia one.

The nvidia-kernel-common package provided by Ubuntu contains /lib/systemd/system/nvidia-suspend.service but the Nvidia one does not.

Which of the packages directly provided by Nvidia do I need in order to install nvidia-suspend.service and the other files needed to successfully suspend and resume?

For example, the Nvidia provided nvidia-kernel-common-515 package contains just:

lib/firmware/nvidia/515.65.07/gsp.bin
lib/modprobe.d/nvidia-graphics-drivers.conf
lib/udev/rules.d/71-nvidia.rules
sbin/ub-device-create
usr/share/doc/nvidia-kernel-common-515/changelog.Debian.gz
usr/share/doc/nvidia-kernel-common-515/copyright
usr/share/initramfs-tools/hooks/framebuffer-nvidia

Whereas the identically named package provided by Ubuntu contains:

  lib/firmware/nvidia/515.65.01/gsp.bin
  lib/modprobe.d/nvidia-graphics-drivers.conf
* lib/systemd/system/nvidia-hibernate.service
* lib/systemd/system/nvidia-resume.service
* lib/systemd/system/nvidia-suspend.service
* lib/systemd/system-sleep/nvidia
  lib/udev/rules.d/71-nvidia.rules
  sbin/ub-device-create
* usr/bin/nvidia-powerd
* usr/bin/nvidia-sleep.sh
  usr/share/doc/nvidia-kernel-common-515/changelog.Debian.gz
  usr/share/doc/nvidia-kernel-common-515/copyright
* usr/share/doc/nvidia-kernel-common-515/nvidia-powerd.service
  usr/share/initramfs-tools/hooks/framebuffer-nvidia

I’ve marked the additional files with *.

If I look at the README, installed in /usr/share/doc/nvidia-driver-515, in the power management systemd section that covers nvidia-resume.service etc, it just says:

These files are installed and enabled by nvidia-installer automatically if
systemd is detected. Installation of systemd units can be disabled by
specifying the '--no-systemd' installer option.

I.e. the README doesn’t seem to cover the case where people are installing things via a package manager.

I don’t know, but you could try to help yourself with apt-file. i.e.:
apt-file search nvidia-suspend.service

Which will show you the package name(s) containing the file.

I’d tried apt-file but it only shows hits for nvidia-suspend.service for packages provided via Ubuntu rather than Nvidia.

I brute-forced things by downloading (but not installing) the .deb files for the latest version of every package provided by:

https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/

I then unpacked the downloaded .deb files and looked at the files each provides, I found various .service files (e.g. I could see that nvidia-powerd.service is provided by the nvidia-compute-utils package) but none contained nvidia-suspend.service.

I wonder if this is a bug or some issue with how Nvidia are packaging up the latest version of the driver etc.