Hi.
I use one server run to render video, but i not connection monitor. I use remote via network LAN.
How to set speed for FAN for VGA ? I use commands share on website, but is it need one connect Monitor.
Thank!
Hi.
I use one server run to render video, but i not connection monitor. I use remote via network LAN.
How to set speed for FAN for VGA ? I use commands share on website, but is it need one connect Monitor.
Thank!
use
Option “AllowEmptyInitialConfiguration”
in xorg.conf to start an X server without monitor attached.
I user coinfig Xorg:
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 384.111 (buildmeister@swio-display-x86-rhel47-01) Wed Dec 20 00:05:28 PST 2017
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
Screen 1 "Screen0 (1)" RightOf "Screen0"
Screen 2 "Screen0 (2)" RightOf "Screen0 (1)"
Screen 3 "Screen0 (3)" RightOf "Screen0 (2)"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection
Section "Files"
FontPath "/usr/share/fonts/default/Type1"
EndSection
Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
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 "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce GTX 1080 Ti"
BusID "PCI:1:0:0"
Screen 0
EndSection
Section "Device"
Identifier "Device0 (1)"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce GTX 1080 Ti"
BusID "PCI:1:0:0"
Screen 1
EndSection
Section "Device"
Identifier "Device0 (2)"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce GTX 1080 Ti"
BusID "PCI:1:0:0"
Screen 2
EndSection
Section "Device"
Identifier "Device0 (3)"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce GTX 1080 Ti"
BusID "PCI:1:0:0"
Screen 3
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "AllowEmptyInitialConfiguration" "True"
SubSection "Display"
Depth 24
EndSubSection
EndSection
Section "Screen"
Identifier "Screen0 (1)"
Device "Device0 (1)"
Monitor "Monitor0"
DefaultDepth 24
Option "AllowEmptyInitialConfiguration" "True"
SubSection "Display"
Depth 24
EndSubSection
EndSection
Section "Screen"
Identifier "Screen0 (2)"
Device "Device0 (2)"
Monitor "Monitor0"
DefaultDepth 24
Option "AllowEmptyInitialConfiguration" "True"
SubSection "Display"
Depth 24
EndSubSection
EndSection
Section "Screen"
Identifier "Screen0 (3)"
Device "Device0 (3)"
Monitor "Monitor0"
DefaultDepth 24
Option "AllowEmptyInitialConfiguration" "True"
SubSection "Display"
Depth 24
EndSubSection
EndSection
But command not work:
nvidia-settings -a "[fan:0]/GPUTargetFanSpeed=100"
ERROR: The control display is undefined; please run `nvidia-settings --help` for usage information.
Why are you opening four screens on the same gpu? Please run nvidia-bug-report.sh and attach the tar.gz file it creates to your post.
ERROR: The control display is undefined; please run nvidia-settings --help
for usage information.
Have you tried doing what it tells you to do???
Spoiler:
nvidia-settings -c :0 -a "[fan:0]/GPUTargetFanSpeed=100"
If that doesnt work, use pgrep -a Xorg to find whichever display you are using.
# pgrep -a Xorg
368 /usr/libexec/Xorg -nolisten tcp <b>:0</b> -auth /home/user/.serverauth.351 vt8
Firstly I thank you for taking the precious time to help me!
Yes.
Due to my mistake to leave Nvidia default configuration should generate 4 screens in the config file. I deleted the other screen leaving only 1, but it still generates error, now the error is:
ERROR: Error assigning value 100 to attribute 'GPUTargetFanSpeed' (localhost.localdomain: 0 [fan: 0]) as specified in assignment '[fan: 0] / GPUTargetFanSpeed = 100' (Unknown Error).
Xorg Config new:
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 384.111 (buildmeister@swio-display-x86-rhel47-01) Wed Dec 20 00:05:28 PST 2017
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection
Section "Files"
FontPath "/usr/share/fonts/default/Type1"
EndSection
Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
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 "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce GTX 1080 Ti"
BusID "PCI:1:0:0"
Screen 0
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "AllowEmptyInitialConfiguration" "True"
SubSection "Display"
Depth 24
EndSubSection
EndSection
You have to define the Coolbits option according to what you want to control, see:
[url]https://download.nvidia.com/XFree86/Linux-x86_64/384.98/README/xconfigoptions.html[/url]
And after he/she figures out how to do that, here is solution to his/hers next and hopefully final problem:
nvidia-settings -a '[gpu:0]/GPUFanControlState=1' -a '[fan: 0]/GPUTargetFanSpeed=100'
Because you can’t set TargetFanSpeed unless you enable manual control state, which is toggled off by default.
Almost wanna put their X extension into IDA Pro and write an non X-org wrapper around this crap, not sure why Nvidia haven’t done that already, probably some really clever reason like setting performance levels based on foreground tasks, something that is present on windows and has to be emulated via xorg on linux.
Or they are just lazy (by the way, have you finally merged debian reproducible build patches?)
Thank you for your help.
I have found a solution to this problem.
I used the script: GitHub - allenwq/nvidia-fan-control: Controlling Nvidia GPU fan speed on a headless linux computer
Or run the command:
nvidia-settings -c :0 -a "[fan:0]/GPUTargetFanSpeed=100"