03-22-2017, 04:34 AM
(This post was last modified: 08-06-2017, 11:19 PM by devilsadvocate.)
I recently added an additional GTX 1080 FE to my setup and couldn't control it through nvidia-settings commands. It is not quite plug and play. After the physical installation of the card, you will need to rerun nvidia-xconfig just like in the previous post.
I am still running Ubuntu 14 with xdm as my login manager. It has been configured per the instructions on the wiki (even though those instructions are for AMD).
https://hashcat.net/wiki/doku.php?id=lin...nvironment
Optionally, update the Nvidia driver to version 378 with "sudo apt-get install nvidia-378"
(You don't really need to update the driver. I could post benchmarks for the GTX 1080 FE with driver versions 370, 375, and 378, but they are almost identical.)
If you want to update to the latest driver (384 as of August 6th, 2017), then execute the following:
Reboot.
Run the following as root. (Note: I am running headless.)
Reboot once more and you should be good to go.
I can now control the fans with commands like:
nvidia-settings -a "[gpu:0]/GPUFanControlState=1" -a "[fan:0]/GPUTargetFanSpeed=90" --ctrl-display=:0
nvidia-settings -a "[gpu:1]/GPUFanControlState=1" -a "[fan:1]/GPUTargetFanSpeed=90" --ctrl-display=:0
Footnote: if you are doing this from scratch, see evilmog's guide on how to do this with Ubuntu 16.
https://hashcat.net/forum/thread-6063-post-32355.html
Also, admins, please consider updating the wiki one of these days.
I am still running Ubuntu 14 with xdm as my login manager. It has been configured per the instructions on the wiki (even though those instructions are for AMD).
https://hashcat.net/wiki/doku.php?id=lin...nvironment
Optionally, update the Nvidia driver to version 378 with "sudo apt-get install nvidia-378"
(You don't really need to update the driver. I could post benchmarks for the GTX 1080 FE with driver versions 370, 375, and 378, but they are almost identical.)
If you want to update to the latest driver (384 as of August 6th, 2017), then execute the following:
Code:
sudo add-apt-repository ppa:graphics-drivers/ppa
sudo apt-get update
sudo apt-get install nvidia-384 nvidia-libopencl1-384 nvidia-opencl-icd-384
Reboot.
Run the following as root. (Note: I am running headless.)
Code:
nvidia-xconfig -s -a --allow-empty-initial-configuration \
--cool-bits=12 --registry-dwords="PerfLevelSrc=0x2222" \
--no-sli --connected-monitor="DFP-0" -o /etc/X11/xorg.conf
sed -i '/Driver/a Option "Interactive" "False"' /etc/X11/xorg.conf
Reboot once more and you should be good to go.
I can now control the fans with commands like:
nvidia-settings -a "[gpu:0]/GPUFanControlState=1" -a "[fan:0]/GPUTargetFanSpeed=90" --ctrl-display=:0
nvidia-settings -a "[gpu:1]/GPUFanControlState=1" -a "[fan:1]/GPUTargetFanSpeed=90" --ctrl-display=:0
Footnote: if you are doing this from scratch, see evilmog's guide on how to do this with Ubuntu 16.
https://hashcat.net/forum/thread-6063-post-32355.html
Also, admins, please consider updating the wiki one of these days.