Nvidia Overclock Linux Command Line
Overclocking nvidia cards from the linux command line.
Nvidia overclock linux command line. Amidst all the information are two options that let you very easily overclock your nvidia gpu on linux. Today i was interested in overclocking an older nvidia card a geforce 240 gt on a machine running ubuntu. Write a script that applies your overclocking settings using command line arguments to the nvidia settings program. Depending on your linux distro the settings can be applied at startup in one of a few ways.
Using sliders you can adjust the gpu clock offset and the gpu s vram clock offset. Below is an example. Overclocking your nvidia card on linux used to be a nightmare. For amd card owners the utilities that you need to overclock your card are included in the drivers you already have installed.
Overclocking nvidia gpu on linux. Overclock nvidia linux command line. Sudo nvidia xconfig a cool bits 28 allow empty initial configuration then edit xorg conf. This is no longer the case with nvidia ati on the other hand still has a way to go.
Overclocking in linux is annoying. An alternative to the third party developed nvtop nvidia smi is official software. It comes pre packaged with the proprietary drivers that nvidia provides for linux users so you don t need to install anything extra. You can do it through nvidia settings gui or command line.
The first ubuntu specific method is rather simple. What did work was to execute on the command line which sets it all up for you. But it s only functional if the watchdog timer is on for the gpu in question. Here s how you can easily overclock the amd gpu to get the best performance possible.
Overclocking your graphic cards in linux and getting the most out of them is more difficult than windows. Getting started the easiest way to install greenwithenvy is with flatpak. I m using the latest nvidia drivers ver 310 40 and found that simply enabling coolbits in xorg conf was not quite enough to get the full range of overclocking i wanted. This usually means it has to have a display hooked up to it.
I surmise this is so display gpus can be boosted for opengl etc. Depending on the values you choose you can potentially squeeze more performance out of your graphics card. This is slightly annoying and thankfully is easily fixed. If you d like to see additional command flags to customize nvtop before running it run nvtop h instead.
Then to overclock run. Thanks to roberto leinardi s program greenwithenvy you can now overclock with a simple clean gui.