| Summary: | nvidia-power-management.conf settings not getting applied | ||
|---|---|---|---|
| Product: | Fedora | Reporter: | garumen |
| Component: | xorg-x11-drv-nvidia | Assignee: | leigh scott <leigh123linux> |
| Status: | RESOLVED WORKSFORME | ||
| Severity: | normal | CC: | garumen, kwizart, negativo17 |
| Priority: | P3 | ||
| Version: | f36 | ||
| Hardware: | x86_64 | ||
| OS: | GNU/Linux | ||
| namespace: | |||
| Attachments: |
Output from nvidia-bug-report.sh after working around the described issue
File used to tell dracut to include the power settings |
||
Created attachment 2412 [details]
File used to tell dracut to include the power settings
It works fine here. $ cat /proc/driver/nvidia/params |grep -e PreserveVideoMemoryAllocations -e TemporaryFilePath PreserveVideoMemoryAllocations: 1 TemporaryFilePath: "/var/tmp" Also dracut can see the current file location output for 'dracut -fvv' dracut: drwxr-xr-x 2 root root 0 Mar 30 09:53 usr/lib/modprobe.d dracut: -rw------- 1 root root 1035 Mar 30 09:53 usr/lib/modprobe.d/50-nfs.conf dracut: -rw-r--r-- 1 root root 382 Mar 30 09:53 usr/lib/modprobe.d/dist-alsa.conf dracut: -rw-r--r-- 1 root root 884 Mar 30 09:53 usr/lib/modprobe.d/dist-blacklist.conf dracut: -rw-r--r-- 1 root root 559 Feb 6 13:16 usr/lib/modprobe.d/libmlx4.conf dracut: -rw-r--r-- 1 root root 240 Mar 30 09:53 usr/lib/modprobe.d/nvidia-power-management.conf dracut: -rw-r--r-- 1 root root 545 Mar 30 09:53 usr/lib/modprobe.d/nvidia-uvm.conf dracut: -rw-r--r-- 1 root root 30 Jan 19 22:07 usr/lib/modprobe.d/openfwwf.conf dracut: -rw-r--r-- 1 root root 773 Mar 30 09:53 usr/lib/modprobe.d/systemd.conf File the issue against dracut if it can't see /usr/lib/modprobe.d/ |
Created attachment 2411 [details] Output from nvidia-bug-report.sh after working around the described issue It seems that on at least my system the settings included in nvidia-power-management.conf are not being applied after installing the package. I am using Fedora 36, the Nvidia proprietary driver, and Wayland. The file seems to be getting copied to /usr/lib/modprobe.d/nvidia-power-management.conf but after running dracut and rebooting I do not see the settings being applied by checking `/proc/driver/nvidia/params`. To get the settings applied on my system I had to create a symlink from /etc/modprobe.d/nvidia-power-management.conf to /usr/lib/modprobe.d/nvidia-power-management.conf and create an additional file `/etc/dracut.conf.d/nvidia-power-management.conf` (attached) telling it to include the file via the symlink. Attempting to tell dracut to directly use the file in /usr/lib did not work for me for unknown reasons. nvidia-bug-report log attached from after my changes in case it is helpful.