Package Details: nvidia-prime-rtd3pm 1.0-2

Git Clone URL: https://aur.archlinux.org/nvidia-prime-rtd3pm.git (read-only, click to copy)
Package Base: nvidia-prime-rtd3pm
Description: Configure your discrete NVIDIA GPU to power down when not in use.
Upstream URL: https://us.download.nvidia.com/XFree86/Linux-x86_64/525.89.02/README/dynamicpowermanagement.html
Keywords: config gpu laptop management power
Licenses: MIT
Submitter: cyqsimon
Maintainer: cyqsimon
Last Packager: cyqsimon
Votes: 2
Popularity: 0.111412
First Submitted: 2023-03-05 10:33 (UTC)
Last Updated: 2023-03-05 10:41 (UTC)

Dependencies (0)

Required by (0)

Sources (3)

Latest Comments

imranr commented on 2023-06-19 11:40 (UTC) (edited on 2023-06-19 11:43 (UTC) by imranr)

The bundled one didn't works for me on Latitude 3520 with Nvidia MX450. I needed extra rules as follows (as described in upstream URL above)

# Remove NVIDIA USB xHCI Host Controller devices, if present
ACTION=="add", SUBSYSTEM=="pci", ATTR{vendor}=="0x10de", ATTR{class}=="0x0c0330", ATTR{remove}="1"

# Remove NVIDIA USB Type-C UCSI devices, if present
ACTION=="add", SUBSYSTEM=="pci", ATTR{vendor}=="0x10de", ATTR{class}=="0x0c8000", ATTR{remove}="1"

# Remove NVIDIA Audio devices, if present
ACTION=="add", SUBSYSTEM=="pci", ATTR{vendor}=="0x10de", ATTR{class}=="0x040300", ATTR{remove}="1"

# Enable runtime PM for NVIDIA VGA/3D controller devices on adding device
ACTION=="add", SUBSYSTEM=="pci", ATTR{vendor}=="0x10de", ATTR{class}=="0x030000", TEST=="power/control", ATTR{power/control}="auto"
ACTION=="add", SUBSYSTEM=="pci", ATTR{vendor}=="0x10de", ATTR{class}=="0x030200", TEST=="power/control", ATTR{power/control}="auto"

# Enable runtime PM for NVIDIA VGA/3D controller devices on driver bind
ACTION=="bind", SUBSYSTEM=="pci", ATTR{vendor}=="0x10de", ATTR{class}=="0x030000", TEST=="power/control", ATTR{power/control}="auto"
ACTION=="bind", SUBSYSTEM=="pci", ATTR{vendor}=="0x10de", ATTR{class}=="0x030200", TEST=="power/control", ATTR{power/control}="auto"

# Disable runtime PM for NVIDIA VGA/3D controller devices on driver unbind
ACTION=="unbind", SUBSYSTEM=="pci", ATTR{vendor}=="0x10de", ATTR{class}=="0x030000", TEST=="power/control", ATTR{power/control}="on"
ACTION=="unbind", SUBSYSTEM=="pci", ATTR{vendor}=="0x10de", ATTR{class}=="0x030200", TEST=="power/control", ATTR{power/control}="on"

Also added i915 driver in initramfs modules list so that it loads early

Finally, getting D3cold state for Nvidia card

cyqsimon commented on 2023-05-08 01:22 (UTC)

@Mario156090

Option "NVreg_DynamicPowerManagement=0x03" This is the default setting. For Ampere or later notebooks with supported configurations, this value translates to fine-grained power control. For pre-Ampere notebooks, this value disables runtime D3 power management features.

The default value is 0x03, which only enables fine-grained power control on very new cards (rtx30+). On older devices (e.g. my gtx1650), it's necessary to manually set 0x02.

As of the udev rules I'm not completely sure whether they're strictly necessary. But it is what Nvidia recommends so I have it in there just to be safe.

Mario156090 commented on 2023-05-08 00:58 (UTC)

Hello, is this package necessary? I believe that config is for default in this moment.