Skip to content

A shell script to call and control NVIDIA gpu card in Linux command line for Powerlimit, Fan speed, and core/mem overlock.

Notifications You must be signed in to change notification settings

Jir8taiwan/Nvidia-overclock-and-fan-control-in-Linux-shell-script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 

Repository files navigation

Nvidia-overclock-and-fan-control-in-Linux-shell-script

https://github.com/Jir8taiwan/Nvidia-overclock-and-fan-control-in-Linux-shell-script

Nvidia GPUs control functions in command line for: power output limit overclock core and mem fan speed fixing show temp and fan

The latest version 20220627-2

  1. make the script exacutable

chmod +x ./fanNVIDIAfixspeed.sh

  1. modify environment to fit usage

nano ./fanNVIDIAfixspeed.sh

  1. run with option to call function needs

./fanNVIDIAfixspeed.sh

Usage ./fanNVIDIAfixspeed.sh {all|powerlimit|overclock|fixfanspeed|showalltempfan}

all: all four options

powerlimit: define in the function and modify need

overclock: define in the function and modify need

fixfanspeed: define in config and auto run all gpus in system

showalltempfan: show csv format in all gpus of temp and fan speed

oc [ID] [CORE] [MEM]: overclock the appointed GPU id to tune core/mem alone

EX: oc 1 50 -100 (means ID 1 core +50 mem -100)

--

If this small code is helping and useful after application, it can donate BCH coin to me for encourage as following address:

bitcoincash:qq6ghvdmyusnse9735rd5q09ensacl8z8qzrlwf49q

Thank you very much.

-- Special NOTE: (1) Failed to set new Fan Speed in X desktop or 'GPUTargetFanSpeed=60' (Unknown Error) with failue in script command ans: It may try to add a line "needs_root_rights=yes" before the line "allowed_users=console" at "sudo nano /./etc/X11/Xwrapper.config".

About

A shell script to call and control NVIDIA gpu card in Linux command line for Powerlimit, Fan speed, and core/mem overlock.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages