Skip to content

Instantly share code, notes, and snippets.

@Calinou
Last active April 11, 2022 14:40
Show Gist options
  • Save Calinou/2966777d961ff30c9edf5a3c83053a7d to your computer and use it in GitHub Desktop.
Save Calinou/2966777d961ff30c9edf5a3c83053a7d to your computer and use it in GitHub Desktop.
Increase NVIDIA power limit with the proprietary driver on Linux, from 200W to the maximum 216W on a GeForce GTX 1080

Instructions

  • Save nvidia-tdp.service and nvidia-tdp.timer to /etc/systemd/system.
  • Run sudo systemctl daemon-reload && sudo systemctl enable nvidia-tdp && sudo systemctl start nvidia-tdp to apply immediately and on future boots.
[Unit]
Description=Set NVIDIA power limit above default
[Service]
Type=oneshot
ExecStart=/usr/bin/nvidia-smi -pl 216
[Unit]
Description=Set NVIDIA power limit on boot
[Timer]
OnBootSec=5
[Install]
WantedBy=timers.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment