nvidia enforced power limit stuck to 45W

lr flag

Nvidia enforced power limit is set and not exceeding more then 45 Watts on Ubuntu 22.04, how can I change it?

==============NVSMI LOG==============

Timestamp                                 : Sun Jun 25 18:55:49 2023
Driver Version                            : 530.30.02
CUDA Version                              : 12.1

Attached GPUs                             : 1
GPU 00000000:01:00.0
    Power Readings
        Power Management                  : Supported
        Power Draw                        : 29.05 W
        Power Limit                       : 125.00 W
        Default Power Limit               : 125.00 W
        Enforced Power Limit              : 45.00 W
        Min Power Limit                   : 1.00 W
        Max Power Limit                   : 140.00 W
    Power Samples
        Duration                          : 2.36 sec
        Number of Samples                 : 119
        Max                               : 31.34 W
        Min                               : 27.82 W
        Avg                               : 29.31 W
id flag

You should be able to set it from a command line using nvidia-smi with the -pl or Power Limit switch to change the enforcement. Since your default is showing 125 for the limit then that is what you should set it for.

Note: You might have to enable persistence mode for it to stick first with the following command.

sudo nvidia-smi -pm 1

The following command sets the power limit to 125W.

sudo nvidia-smi -pl 125
Ms.Simpson avatar
lr flag
After running this command I receiving `Power limit for GPU 00000000:01:00.0 was set to 125.00 W from 125.00 W. All done.` and basically nothing happening, after restarting machine GPU is still on 45 W limit
Terrance avatar
id flag
@Ms.Simpson Have you checked if the power from the power supply is connected to the NVIDIA card? 45W ~ 50W is what the PCIe slot can output. Anything above that would require a separate power connection directly to the video card.
Ms.Simpson avatar
lr flag
This is a laptop computer
Terrance avatar
id flag
@Ms.Simpson We can only guess when you don't supply information that would help like it being a laptop system.
lr flag

Eventually the power mode in BIOS resolved the issue (there are four of them). This might be specific to the laptop model, this one was Alienware m15 r7

I sit in a Tesla and translated this thread with Ai:


Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.