I just switched from using the Ubuntu PPA for installing Nvidia-related packages to using the Nvidia one.
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:
Whereas the identically named package provided by Ubuntu contains:
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.
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 search nvidia-suspend.service
Which will show you the package name(s) containing the file.
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:
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
I wonder if this is a bug or some issue with how Nvidia are packaging up the latest version of the driver etc.