Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nvidia GPU extra devices need udev rules for power management #291

Closed
bsherman opened this issue Oct 28, 2024 · 0 comments · Fixed by ublue-os/akmods#263
Closed

nvidia GPU extra devices need udev rules for power management #291

bsherman opened this issue Oct 28, 2024 · 0 comments · Fixed by ublue-os/akmods#263
Labels
enhancement New feature or request

Comments

@bsherman
Copy link
Contributor

bsherman commented Oct 28, 2024

We have the core GPU device covered on power management (both in 60-nvidia.rules and in 90-supergfxd-nvidia-pm.rules)

But we don't have rules for the sometimes present extra devices. We should add rules since it doesn't hurt but will enable power management should a machine have these devices:

# 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"

I'm thinking we may just want to add this to /usr/lib/udev/rules.d/60-nvidia.rules

see: https://download.nvidia.com/XFree86/Linux-x86_64/565.57.01/README/dynamicpowermanagement.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant