08-16-2016, 04:50 AM
Summary:
When I run any nvidia-settings command (such as nvidia-settings -a GPUPowerMizerMode=1 -a GPUFanControlState=1 -a GPUCurrentFanSpeed=90 -a GPUGraphicsClockOffset[3]=100) I get errors:
Full Details:
Per other postings, I performed an "OpenSSH Server" install of Ubuntu 14.04.1.
I then d/l'ed the latest NVIDIA Drivers straight from the NVIDIA site: NVIDIA-Linux-x86_64-367.35.run
I Ran:
Then, I found a few posts about some nvidia-settings commands for headless systems:
...and lastly...
However, anything I do with the nvidia-settings command results in errors:
...or...
Any suggestions what I could have done wrong or what I could do to correct this?
Thank you for any feedback, your assistance is appreciated.
When I run any nvidia-settings command (such as nvidia-settings -a GPUPowerMizerMode=1 -a GPUFanControlState=1 -a GPUCurrentFanSpeed=90 -a GPUGraphicsClockOffset[3]=100) I get errors:
Code:
# sudo nvidia-settings -q GPUCurrentClockFreqs
** (nvidia-settings:18807): WARNING **: Could not open X display
Full Details:
Per other postings, I performed an "OpenSSH Server" install of Ubuntu 14.04.1.
I then d/l'ed the latest NVIDIA Drivers straight from the NVIDIA site: NVIDIA-Linux-x86_64-367.35.run
I Ran:
Code:
apt-get install -y build-essential p7zip unrar unzip
bash NVIDIA-Linux-x86_64-367.35.run
apt-get install linux-headers-4.4.0-31-generic build-essential libx11* libxnvctrl-dev
dpkg --remove-architecture i386
aptitude update && aptitude full-upgrade
sync && reboot
Then, I found a few posts about some nvidia-settings commands for headless systems:
Code:
nvidia-xconfig -s -a --force-generate --allow-empty-initial-configuration \
--cool-bits=12 --registry-dwords="PerfLevelSrc=0x2222" \
--no-sli --connected-monitor="DFP-0"
sed -i '/BusID.*/a \ \ \ \ Option "Interactive" "False"' /etc/X11/xorg.conf
...and lastly...
Code:
nvidia-settings -a GPUPowerMizerMode=1 \
-a GPUFanControlState=1 \
-a GPUCurrentFanSpeed=90 \
-a GPUGraphicsClockOffset[3]=100
However, anything I do with the nvidia-settings command results in errors:
Code:
# sudo nvidia-settings -q GPUCurrentClockFreqs
** (nvidia-settings:18807): WARNING **: Could not open X display
ERROR: The control display is undefined; please run `nvidia-settings --help` for usage information.
...or...
Code:
$ sudo nvidia-settings -a GPUPowerMizerMode=1 -a GPUFanControlState=1 -a GPUCurrentFanSpeed=90 -a GPUGraphicsClockOffset[3]=100
error: XDG_RUNTIME_DIR not set in the environment.
ERROR: The control display is undefined; please run `nvidia-settings --help` for usage information.
Any suggestions what I could have done wrong or what I could do to correct this?
Thank you for any feedback, your assistance is appreciated.