Skip to content

Instantly share code, notes, and snippets.

@iandark
Forked from Calinou/README.md
Last active April 11, 2022 14:40
Show Gist options
  • Select an option

  • Save iandark/a7e53f904f033892213e1faabf55815f to your computer and use it in GitHub Desktop.

Select an option

Save iandark/a7e53f904f033892213e1faabf55815f 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 125
[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