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

Andrea Pappacoda andrea at pappacoda.it
Thu Jun 15 11:42:51 BST 2023


Source: nvidia-graphics-drivers
Version: 525.105.17-1
Severity: wishlist

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.

The official driver installer, on the other hand, installs them automatically
since version 465.

You can find more information about these scripts in chapter 21 of the driver
documentation - the file is /usr/share/doc/nvidia-
driver/html/powermanagement.html

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

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

Thanks!


-- System Information:
Debian Release: 12.0
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-9-amd64 (SMP w/2 CPU threads; PREEMPT)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled



More information about the pkg-nvidia-devel mailing list