└── README.md /README.md: -------------------------------------------------------------------------------- 1 | # Linux NVIDIA GPU overclocking Guide 2 | ## The Guide Part 1 3 | First enable cool-bits 4 | ``` 5 | sudo nvidia-xconfig -a --cool-bits=28 6 | ``` 7 | Next we will edit the xorg config file 8 | ``` 9 | sudo nano /etc/X11/xorg.conf 10 | ``` 11 | Scroll down till you find Section "Screen" 12 | ``` 13 | Section "Screen" 14 | Identifier "Screen0" 15 | Device "Device0" 16 | Monitor "Monitor0" 17 | DefaultDepth 24 18 | Option "Coolbits" "28" 19 | SubSection "Display" 20 | Depth 24 21 | EndSubSection 22 | EndSection 23 | ``` 24 | Add this line under [Option "Coolbits" "28"] 25 | ``` 26 | Option "RegistryDwords" "PowerMizerEnable=0x1; PerfLevelSrc=0x2222; PowerMizerDefaultAC=0x1" 27 | ``` 28 | So it looks like this 29 | ``` 30 | Section "ScreeSection "Screen" 31 | Identifier "Screen0"SectioSection "Screen" 32 | Identifier "Screen0" 33 | Device "Device0" 34 | Monitor "Monitor0" 35 | DefaultDepth 24 36 | Option "Coolbits" "28" 37 | Option "RegistryDwords" "PowerMizerEnable=0x1; PerfLevelSrc=0x2222; PowerMizerDefaultAC=0x1" 38 | SubSection "Display" 39 | Depth 24 40 | EndSubSection 41 | EndSection 42 | ``` 43 | Once done reboot. 44 | 45 | ## The Guide Part 2 46 | 47 | Next lets create a overclocking script to overclock our gpu automatically 48 | 49 | The number "#1" has to be the same and number "#" can be any number. Make sure those numbers match in the NVIDIA X Server Settings. 50 | ``` 51 | sudo nano /usr/bin/overclock.sh 52 | !/bin/bash 53 | nvidia-settings -a '[gpu:0]/GPUGraphicsClockOffset[1]=#' 54 | 55 | nvidia-settings -a '[gpu:0]/GPUGraphicsMemoryOffset[1]=#1' 56 | 57 | nvidia-settings -a '[gpu:0]/GPUMemoryTransferRateOffset[1]=#1' 58 | 59 | nvidia-settings -a '[gpu:0]/GPUFanControlState=1' 60 | 61 | nvidia-settings -a '[fan:0]/GPUTargetFanSpeed=#' 62 | ``` 63 | Next make it executable 64 | ``` 65 | sudo chmod +x /usr/bin/overclock.sh 66 | ``` 67 | And add it to startup for XFCE its in Application>Settings>Settings Manager>Session and Startup>Application Autostart 68 | Then click on Add. Give it a name, desciption and in command type 69 | ``` 70 | bash /usr/bin/overclock.sh 71 | ``` 72 | That will automatically overclock your GPU at startup. 73 | 74 | To make sure it works reboot for the last and final time and enjoy your overclocked GPU. 75 | --------------------------------------------------------------------------------