Trying to overclock my two 1080 Ti GPUs, to do so, I set the GPU in persistence mode:
sudo nvidia-smi --persistence-mode=1
sudo nvidia-smi --power-limit=299
…Both commands are successful. But then, when I try either of the following commands:
nvidia-settings -a “GPUMemoryTransferRateOffset=500”
nvidia-settings -a “GPUGraphicsClockOffset=100”
Failed to connect to Mir: Failed to connect to server socket: No such file or directory
Unable to init server: Could not connect: Connection refused
ERROR: The control display is undefined; please run
nvidia-settings --help for usage information.
I believe it has to do with a PATH variable not set correctly, because I am pretty sure I have all of the software I need to run this already installed (xorg, etc). So I don’t really know why it can’t find the server, or how to start the server, or why it’s refused.
I’ve heard this error may occur when a monitor is not connected to the computer, and to remedy this, I added the following command to the top of my script, but to no avail:
sudo nvidia-xconfig --connected-monitor=DFP
Any help you can provide in successfully getting the GPUMemoryTransferRateOffset and GPUGraphicsClockOffset variables set would be greatly appreciated! Thanks!