Bug#1038006: nvidia-graphics-drivers: please package systemd power management scripts

Andreas Beckmann anbe at debian.org
Fri Aug 4 18:27:26 BST 2023


Hi,

On 15/06/2023 12.42, Andrea Pappacoda via pkg-nvidia-devel wrote:
> Hi, could you please consider packaging the systemd power management scripts
> provided by Nvidia? They are currently located in /usr/share/doc/xserver-xorg-
> video-nvidia/examples/, and are not installed and enabled by the Debian
> package.

I've added a new package nvidia-suspend-common (currently only in 
experimental, but should be usable with the driver in sid or stable, 
too, since it has no hard dependency on any driver component).

Could you try whether this is already sufficient?

According to the docs you need to add
   NVreg_PreserveVideoMemoryAllocations=1
to /etc/modprobe.d/nvidia-options.conf and reboot (or otherwiese reload 
the module). (New uploads will have that line in commented form there.)

> In short, the driver simply needs to install some systemd unit files and an
> "nvidia-sleep.sh" script in /usr/bin.

The files are there, but I'm not sure whether the unit files still "need 
to be activated".

> Installing these scripts is required, for example, to use Wayland on GNOME with
> the Nvidia drivers, as a udev rule installed by gdm3 checks for their presence
> and disables Wayland support if they are not enabled - the rule is in
> /lib/udev/rules.d/61-gdm.rules


Andreas



More information about the pkg-nvidia-devel mailing list