Nvidia Linux Power Management
Fixed a bug that prevented nvidia gpus from entering the low power d3 state when entering suspend to idle s2idle.
Nvidia linux power management. Sudo nvidia smi i 0 pl power limit gpu1 sudo nvidia smi i 1 pl power limit gpu2. And to set it. This is why we made those able to run sudo without a password if you have multiple gpus. Sudo nvidia smi pl base power limit 11 and add that to a shell script that runs at startup.
I am using a pascal gtx 1080 on gentoo linux more specs below. Being mostly satisfied with the card i must say i am quite disappointed by the power management. When idle the card usually needs 10w or less in the lowest performance level 0. The nvidia linux driver includes initial experimental support for dynamically managing power to the nvidia gpu.
Once you install nvidia s geforce drivers for your video card you can open up the nvidia control panel and navigate to manage 3d settings. When the system suspends or hibernates the nvidia kernel drivers prepare in use gpus for the sleep cycle saving state required to return these gpus to normal operation when the system is later resumed. It depends on the runtime power management framework within the linux kernel to arbitrate power needs of various pci functions. Nvidia smi c 1 i gpu b2f5f1b745e3d23d 65a3a26d 097db358 7303e0b6 149642ff3d219f8587cde3a8 set the compute mode to exclusive thread for gpu with uuid gpu b2f5f1b745e3d23d 65a3a26d 097db358 7303e0b6 149642ff3d219f8587cde3a8.
Then to query your power limit. After investigating the reason turned to be pretty obvious. Scroll down to the bottom and you will find the power management mode option. However whenever you do something on the laptop the card very soon jumps to the highest level 4 and drains 40w 50w of power significantly reducing.
Then i have checked and tried the automated setup section on that page create udev rule to enable power management but it didn t work for intel graphics mode. Rules are set to enable power management once the nvidia driver is loaded and bound to a device. In order to have maximum power saving from this feature two conditions must be met. The nvidia linux driver includes support for the suspend suspend to ram and hibernate suspend to disk system power management operations such as acpi s3 and s4 on the x86 x86 64 platforms.
Note that on some systems this may expose an existing timing issue in the linux kernel. Most clock register manipulation on jetson xavier is handled by the boot and power management bpmp firmware power management firmware running on the bpmp. You will find all of the global settings at their default position. Sudo nvidia smi q d power.