On startup, how to set GPU power limit?

I can change the power limit to 200W with the command sudo nvidia-smi -pl 200, but how/where can I set this so it applies automatically every time the system starts?

OS: Zorin OS 18 x86_64
Host: MacPro5,1 0.0
Kernel: 6.17.0-19-generic
Packages: 2346 (dpkg), 32 (flatpak),
Shell: bash 5.2.21
Resolution: 3840x2160
GPU: GTX980 Ti
DE: GNOME 46.0

Try the app LACT to set the power limit automatically.

2 Likes

It works! THANKS

1 Like

You can try this:

  • Create and Save nvidia-tdp.service and nvidia-tdp.timer to /etc/systemd/system.
  • Run to apply immediately and on future boots.
sudo systemctl daemon-reload && sudo systemctl enable nvidia-tdp && sudo systemctl start nvidia-tdp

nvidia-tdp.service

[Unit]
Description=Set NVIDIA power limit above default

[Service]
Type=oneshot
ExecStart=/usr/bin/nvidia-smi -pl 200

nvidia-tdp.timer

[Unit]
Description=Set NVIDIA power limit on boot

[Timer]
OnBootSec=5

[Install]
WantedBy=timers.target

Cool Thanks

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.