Очень хорошо, спасибо. Способ, в общем-то известный и даже действенный. Но. У меня 4 идентичных видеокарты в системе. Скорость вентиляторов извеняется только на GPU0 и GPU1. На остальных команды хоть и прожёвываются без ругани, с виду всё хорошо и должно работать - но нет. Скорость даже наоборот, в последние дни стала стопориться на 35% (на 2й и 3й картах). Как временная мера - отключил всю регуляцию, драйвер управляет вентиляторами. Но, похоже, он настроен на ориентир - 80С, а мне хотелось бы всё-таки 70-75.
Ubuntu 18.10, драйвёр 415.27.
p.s. по разным источникам пробовал CoolBits 28, 31 и вот 4. В /etc/rc.local прописано следующее:
#!/bin/sh
#
#Below are the commands for enabling GPU overclocking and fan control
#
# Add some error logging, you can disable it after when you are certain everything is working:
exec 2> /tmp/rc.local.log
exec 1>&2
set -x
#
# Enabling persistence mode makes sure that the driver doesn't get unloaded. С этим или без этого результат тот же самый.
sudo nvidia-smi -pm ENABLED
#
# Adjust the power limit. In Afterburner you set a % but here you must specify value. You can get base power limit through nvidia-smi
# In my case, the value for GPU0 is 151W, so 70% power limit is 151*0.70~106
# You specify the card through the parameter -i, so GPU is -i 0
#sudo nvidia-dmi -i 0 -pl 110
#
# You must start the X Server for overclocking and fan control to work
X :0 &
sleep 10
export DISPLAY=:0
sleep 2
#
# Set GPU0 fan speed to 90%
# For more cards, just copy paste the line and change [gpu:x] and [fan:x]
nvidia-settings -a "[gpu:0]/GPUFanControlState=1" -a "[fan:0]/GPUTargetFanSpeed=90"
sleep 2 #добавил уже в порядке дебаггинга
nvidia-settings -a "[gpu:1]/GPUFanControlState=1" -a "[fan:1]/GPUTargetFanSpeed=90"
sleep 2
nvidia-settings -a "[gpu:2]/GPUFanControlState=1" -a "[fan:2]/GPUTargetFanSpeed=90"
sleep 2
nvidia-settings -a "[gpu:3]/GPUFanControlState=1" -a "[fan:3]/GPUTargetFanSpeed=90"
#
#
#start the miner(s) - ради чего всё затевалось
#
screen -dm -S bminer /home/rabinovitch/bminer-v15.2.0-c1d0f59/bminer -uri cuckatoo31+ssl://Rabinovitch:bebebe@stratum.mwgrinpool.com:3334
exit 0
xorg.conf имеет такой вид (может, в нём что не так...):
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 415.27
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0"
Screen 1 "Screen1" RightOf "Screen0"
Screen 2 "Screen2" RightOf "Screen0"
Screen 3 "Screen3" RightOf "Screen0"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection
Section "Files"
EndSection
Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Unknown"
HorizSync 28.0 - 33.0
VertRefresh 43.0 - 72.0
Option "DPMS"
EndSection
Section "Monitor"
Identifier "Monitor1"
VendorName "Unknown"
ModelName "Unknown"
HorizSync 28.0 - 33.0
VertRefresh 43.0 - 72.0
Option "DPMS"
EndSection
Section "Monitor"
Identifier "Monitor2"
VendorName "Unknown"
ModelName "Unknown"
HorizSync 28.0 - 33.0
VertRefresh 43.0 - 72.0
Option "DPMS"
EndSection
Section "Monitor"
Identifier "Monitor3"
VendorName "Unknown"
ModelName "Unknown"
HorizSync 28.0 - 33.0
VertRefresh 43.0 - 72.0
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce RTX 2080 Ti"
BusID "PCI:1:0:0"
EndSection
Section "Device"
Identifier "Device1"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce RTX 2080 Ti"
BusID "PCI:3:0:0"
EndSection
Section "Device"
Identifier "Device2"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce RTX 2080 Ti"
BusID "PCI:8:0:0"
EndSection
Section "Device"
Identifier "Device3"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce RTX 2080 Ti"
BusID "PCI:9:0:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "AllowEmptyInitialConfiguration" "True"
Option "UseDisplayDevice" "DFP-0"
Option "Coolbits" "4"
Option "ConnectedMonitor" "DFP-0"
SubSection "Display"
Depth 24
EndSubSection
EndSection
Section "Screen"
Identifier "Screen1"
Device "Device1"
Monitor "Monitor1"
DefaultDepth 24
Option "AllowEmptyInitialConfiguration" "True"
Option "UseDisplayDevice" "DFP-0"
Option "Coolbits" "4"
Option "ConnectedMonitor" "DFP-0"
SubSection "Display"
Depth 24
EndSubSection
EndSection
Section "Screen"
Identifier "Screen2"
Device "Device2"
Monitor "Monitor2"
DefaultDepth 24
Option "AllowEmptyInitialConfiguration" "True"
Option "UseDisplayDevice" "DFP-0"
Option "Coolbits" "4"
Option "ConnectedMonitor" "DFP-0"
SubSection "Display"
Depth 24
EndSubSection
EndSection
Section "Screen"
Identifier "Screen3"
Device "Device3"
Monitor "Monitor3"
DefaultDepth 24
Option "AllowEmptyInitialConfiguration" "True"
Option "UseDisplayDevice" "DFP-0"
Option "Coolbits" "4"
Option "ConnectedMonitor" "DFP-0"
SubSection "Display"
Depth 24
EndSubSection
EndSection