e97
Jr. Member
Offline
Activity: 58
Merit: 1
|
|
October 28, 2017, 10:53:52 PM |
|
|
|
|
|
|
e97
Jr. Member
Offline
Activity: 58
Merit: 1
|
|
November 02, 2017, 02:57:22 AM |
|
Does anyone have instructions on how to do this over SSH?
|
|
|
|
thevictimofuktyranny (OP)
Legendary
Offline
Activity: 1092
Merit: 1004
|
|
November 02, 2017, 04:32:43 PM |
|
Does anyone have instructions on how to do this over SSH?
Nope. Been busy gaming this Fall Season!
|
|
|
|
e97
Jr. Member
Offline
Activity: 58
Merit: 1
|
|
November 05, 2017, 03:47:30 AM |
|
Figured this out thanks to a few posts around the web and here.. 1. Clean install ubuntu-16.04.3-server 2. Install cuda-9 using these instructions: https://developer.nvidia.com/cuda-downloads?target_os=Linux&target_arch=x86_64&target_distro=Ubuntu&target_version=1604&target_type=deblocal 3. Run sudo nvidia-xconfig -a --allow-empty-initial-configuration --cool-bits=28 --use-display-device="DFP-0" --connected-monitor="DFP-0" 4. Reboot 5. Commands for overclocking over SSH: sudo nvidia-smi -pm 1 # persistence mode sudo nvidia-smi -pl 150 # power limit Turn off LEDs sudo DISPLAY=:0 XAUTHORITY=/var/run/lightdm/root/:0 nvidia-settings -a [gpu:0]/GPULogoBrightness=0 Core clock and memory transfer speed (mem clock?) sudo DISPLAY=:0 XAUTHORITY=/var/run/lightdm/root/:0 nvidia-settings -a [gpu:0]/GPUGraphicsClockOffset[3]=-100 sudo DISPLAY=:0 XAUTHORITY=/var/run/lightdm/root/:0 nvidia-settings -a [gpu:0]/GPUMemoryTransferRateOffset[3]=1900 Fans sudo DISPLAY=:0 XAUTHORITY=/var/run/lightdm/root/:0 nvidia-settings -a [gpu:0]/GPUFanControlState=1 sudo DISPLAY=:0 XAUTHORITY=/var/run/lightdm/root/:0 nvidia-settings -a [fan:0]/GPUTargetFanSpeed=45
|
|
|
|
davidwillis
Newbie
Offline
Activity: 21
Merit: 0
|
|
November 19, 2017, 05:11:26 PM |
|
Hi, I just went through this guide. Thanks! But I am running into a slight problem. I only seem to have overclock adjustment on 4 of my 6GPU's When I try to adjust the other two, it does not verify the setting is set, or give an error. also in the nvide settings gui, there are no adjustable settings on two of the GPU's. I have looked at xorg.conf, and it looks like it has the same settings for all 6 gpu's, so I have no idea why only 4 are adjustable (they are all gigabit gtx 1070). Here is my xorg.conf # nvidia-xconfig: X configuration file generated by nvidia-xconfig # nvidia-xconfig: version 384.90 (buildmeister@swio-display-x86-rhel47-05) Tue Sep 19 18:13:03 PDT 2017
Section "ServerLayout" Identifier "Layout0" Screen 0 "Screen0" Screen 1 "Screen1" RightOf "Screen0" Screen 2 "Screen2" RightOf "Screen1" Screen 3 "Screen3" RightOf "Screen2" Screen 4 "Screen4" RightOf "Screen3" Screen 5 "Screen5" RightOf "Screen4" 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 "Monitor" Identifier "Monitor4" VendorName "Unknown" ModelName "Unknown" HorizSync 28.0 - 33.0 VertRefresh 43.0 - 72.0 Option "DPMS" EndSection
Section "Monitor" Identifier "Monitor5" 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 1070" BusID "PCI:1:0:0" EndSection
Section "Device" Identifier "Device1" Driver "nvidia" VendorName "NVIDIA Corporation" BoardName "GeForce GTX 1070" BusID "PCI:2:0:0" EndSection
Section "Device" Identifier "Device2" Driver "nvidia" VendorName "NVIDIA Corporation" BoardName "GeForce GTX 1070" BusID "PCI:4:0:0" EndSection
Section "Device" Identifier "Device3" Driver "nvidia" VendorName "NVIDIA Corporation" BoardName "GeForce GTX 1070" BusID "PCI:6:0:0" EndSection
Section "Device" Identifier "Device4" Driver "nvidia" VendorName "NVIDIA Corporation" BoardName "GeForce GTX 1070" BusID "PCI:8:0:0" EndSection
Section "Device" Identifier "Device5" Driver "nvidia" VendorName "NVIDIA Corporation" BoardName "GeForce GTX 1070" BusID "PCI:9:0:0" EndSection
Section "Screen" Identifier "Screen0" Device "Device0" Monitor "Monitor0" DefaultDepth 24 Option "AllowEmptyInitialConfiguration" "True" Option "Coolbits" "28" SubSection "Display" Depth 24 EndSubSection EndSection
Section "Screen" Identifier "Screen1" Device "Device1" Monitor "Monitor1" DefaultDepth 24 Option "AllowEmptyInitialConfiguration" "True" Option "Coolbits" "28" SubSection "Display" Depth 24 EndSubSection EndSection
Section "Screen" Identifier "Screen2" Device "Device2" Monitor "Monitor2" DefaultDepth 24 Option "AllowEmptyInitialConfiguration" "True" Option "Coolbits" "28" SubSection "Display" Depth 24 EndSubSection EndSection
Section "Screen" Identifier "Screen3" Device "Device3" Monitor "Monitor3" DefaultDepth 24 Option "AllowEmptyInitialConfiguration" "True" Option "Coolbits" "28" SubSection "Display" Depth 24 EndSubSection EndSection
Section "Screen" Identifier "Screen4" Device "Device4" Monitor "Monitor4" DefaultDepth 24 Option "AllowEmptyInitialConfiguration" "True" Option "Coolbits" "28" SubSection "Display" Depth 24 EndSubSection EndSection
Section "Screen" Identifier "Screen5" Device "Device5" Monitor "Monitor5" DefaultDepth 24 Option "AllowEmptyInitialConfiguration" "True" Option "Coolbits" "28" SubSection "Display" Depth 24 EndSubSection EndSection
|
|
|
|
ste1
Newbie
Offline
Activity: 36
Merit: 0
|
|
November 19, 2017, 06:21:01 PM |
|
3. Run sudo nvidia-xconfig -a --allow-empty-initial-configuration --cool-bits=28 --use-display-device="DFP-0" --connected-monitor="DFP-0" This command never works. OC settings still hidden.
|
|
|
|
thevictimofuktyranny (OP)
Legendary
Offline
Activity: 1092
Merit: 1004
|
|
November 21, 2017, 04:21:05 PM |
|
Interesting, I did test with six GTX 1060 3GB and there were no issues.
Try using the 378 drivers - those have been validated by Ubuntu and optimised for the OS
There are various bugs in using Nvidia driver release that are not optimised by developers of Ubuntu OS.
Should that fail, you can always get a couple of cheap dummy HDMI monitor plugs for those 2 cards.
|
|
|
|
ya5h
Newbie
Offline
Activity: 5
Merit: 0
|
|
November 21, 2017, 08:44:49 PM |
|
Hello, Went through this guide to OC my 1060 cards, but was not able to do it. After this command "sudo nvidia-xconfig -a --cool-bits=28 --allow-empty-initial-configuration", on Reboot xorg.conf file is being reset to default. Coolbits option was not found in the file and Overclocking is not enabled on GPU's. Is there any possible solution for this? Please let me know.. Thanks Using Ubuntu 16.04, nvidia-384 drivers. xorg.conf file after coolbits command: # nvidia-xconfig: X configuration file generated by nvidia-xconfig # nvidia-xconfig: version 384.90 (buildmeister@swio-display-x86-rhel47-05) Tue Sep 19 18:13:03 PDT 2017
Section "ServerLayout" Identifier "layout" Screen 0 "Screen0" Screen 1 "Screen1" RightOf "Screen0" Screen 2 "Screen2" RightOf "Screen1" Inactive "intel" InputDevice "Keyboard0" "CoreKeyboard" InputDevice "Mouse0" "CorePointer" EndSection
Section "InputDevice" # generated from default Identifier "Keyboard0" Driver "keyboard" 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 "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 "Device" Identifier "Device0" Driver "nvidia" VendorName "NVIDIA Corporation" BoardName "GeForce GTX 1060 6GB" BusID "PCI:2:0:0" EndSection
Section "Device" Identifier "Device1" Driver "nvidia" VendorName "NVIDIA Corporation" BoardName "GeForce GTX 1060 6GB" BusID "PCI:3:0:0" EndSection
Section "Device" Identifier "Device2" Driver "nvidia" VendorName "NVIDIA Corporation" BoardName "GeForce GTX 1060 6GB" BusID "PCI:6:0:0" EndSection
Section "Screen" Identifier "Screen0" Device "Device0" Monitor "Monitor0" DefaultDepth 24 Option "AllowEmptyInitialConfiguration" "True" Option "Coolbits" "28" SubSection "Display" Depth 24 EndSubSection EndSection
Section "Screen" Identifier "Screen1" Device "Device1" Monitor "Monitor1" DefaultDepth 24 Option "AllowEmptyInitialConfiguration" "True" Option "Coolbits" "28" SubSection "Display" Depth 24 EndSubSection EndSection
Section "Screen" Identifier "Screen2" Device "Device2" Monitor "Monitor2" DefaultDepth 24 Option "AllowEmptyInitialConfiguration" "True" Option "Coolbits" "28" SubSection "Display" Depth 24 EndSubSection EndSection
xorg.conf file after reboot: Section "ServerLayout" Identifier "layout" Screen 0 "nvidia" Inactive "intel" EndSection
Section "Device" Identifier "intel" Driver "modesetting" BusID "PCI:0@0:2:0" Option "AccelMethod" "None" EndSection
Section "Screen" Identifier "intel" Device "intel" EndSection
Section "Device" Identifier "nvidia" Driver "nvidia" BusID "PCI:2@0:0:0" Option "ConstrainCursor" "off" EndSection
Section "Screen" Identifier "nvidia" Device "nvidia" Option "AllowEmptyInitialConfiguration" "on" Option "IgnoreDisplayDevices" "CRT" EndSection
Section "Device" Identifier "nvidia" Driver "nvidia" BusID "PCI:3@0:0:0" Option "ConstrainCursor" "off" EndSection
Section "Screen" Identifier "nvidia" Device "nvidia" Option "AllowEmptyInitialConfiguration" "on" Option "IgnoreDisplayDevices" "CRT" EndSection
Section "Device" Identifier "nvidia" Driver "nvidia" BusID "PCI:6@0:0:0" Option "ConstrainCursor" "off" EndSection
Section "Screen" Identifier "nvidia" Device "nvidia" Option "AllowEmptyInitialConfiguration" "on" Option "IgnoreDisplayDevices" "CRT" EndSection
|
|
|
|
givemesummer
Newbie
Offline
Activity: 73
Merit: 0
|
|
November 22, 2017, 03:31:26 AM |
|
When running the Optiminer in Ubuntu the performance level of all GPUs changes from the max one (3) to 2 (Nvidia X Server Settings). So the memory becomes 7604 instead of 8008 (GTX1060). Is this somehow fixable? Couldnt find any info.
|
|
|
|
reb0rn21
Legendary
Offline
Activity: 1901
Merit: 1024
|
|
November 22, 2017, 10:21:38 PM |
|
I did not see this guide at first, I had problems making it run without monitor + manage OC on all cards but I had to make and edit xorg.conf both in etc/X11 but first make it here /usr/share/X11/xorg.conf.d/xorg.conf Also I used edit.bin there, now it works but as miners are far from me, I can not test this way explained here
|
|
|
|
go6ooo1212
Legendary
Offline
Activity: 1512
Merit: 1000
quarkchain.io
|
|
November 23, 2017, 12:07:39 AM |
|
I'm searching for similar solution. How may I shut the system's xorg auto reset on reboot. Maybe after that editing the xorg will remain permanent and the display attached wont be needed...
|
|
|
|
radeone
|
|
November 24, 2017, 11:17:24 AM |
|
cant this all be done through nvidia-smi command? i dont run my gpus with xserver installed. i just install ubuntu server 16.10 and the nvidia drivers and go but i need to get more power efficiency and i cant seem to get my overclocks right.
|
|
|
|
radeone
|
|
November 24, 2017, 11:42:31 AM |
|
i do nvidia-smi -pl 110 and i shave off about 15-20 watts per card and only lose a marginal amount of hashing power and gain efficiency. this is with my gtx 1060. getting about 296 sols/s @ 110w from 120-125 watts.
|
|
|
|
thevictimofuktyranny (OP)
Legendary
Offline
Activity: 1092
Merit: 1004
|
|
November 24, 2017, 06:38:50 PM |
|
Hello, Went through this guide to OC my 1060 cards, but was not able to do it. After this command "sudo nvidia-xconfig -a --cool-bits=28 --allow-empty-initial-configuration", on Reboot xorg.conf file is being reset to default. Coolbits option was not found in the file and Overclocking is not enabled on GPU's. Is there any possible solution for this? Please let me know.. Thanks Using Ubuntu 16.04, nvidia-384 drivers. xorg.conf file after coolbits command: # nvidia-xconfig: X configuration file generated by nvidia-xconfig # nvidia-xconfig: version 384.90 (buildmeister@swio-display-x86-rhel47-05) Tue Sep 19 18:13:03 PDT 2017
Section "ServerLayout" Identifier "layout" Screen 0 "Screen0" Screen 1 "Screen1" RightOf "Screen0" Screen 2 "Screen2" RightOf "Screen1" Inactive "intel" InputDevice "Keyboard0" "CoreKeyboard" InputDevice "Mouse0" "CorePointer" EndSection
Section "InputDevice" # generated from default Identifier "Keyboard0" Driver "keyboard" 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 "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 "Device" Identifier "Device0" Driver "nvidia" VendorName "NVIDIA Corporation" BoardName "GeForce GTX 1060 6GB" BusID "PCI:2:0:0" EndSection
Section "Device" Identifier "Device1" Driver "nvidia" VendorName "NVIDIA Corporation" BoardName "GeForce GTX 1060 6GB" BusID "PCI:3:0:0" EndSection
Section "Device" Identifier "Device2" Driver "nvidia" VendorName "NVIDIA Corporation" BoardName "GeForce GTX 1060 6GB" BusID "PCI:6:0:0" EndSection
Section "Screen" Identifier "Screen0" Device "Device0" Monitor "Monitor0" DefaultDepth 24 Option "AllowEmptyInitialConfiguration" "True" Option "Coolbits" "28" SubSection "Display" Depth 24 EndSubSection EndSection
Section "Screen" Identifier "Screen1" Device "Device1" Monitor "Monitor1" DefaultDepth 24 Option "AllowEmptyInitialConfiguration" "True" Option "Coolbits" "28" SubSection "Display" Depth 24 EndSubSection EndSection
Section "Screen" Identifier "Screen2" Device "Device2" Monitor "Monitor2" DefaultDepth 24 Option "AllowEmptyInitialConfiguration" "True" Option "Coolbits" "28" SubSection "Display" Depth 24 EndSubSection EndSection
xorg.conf file after reboot: Section "ServerLayout" Identifier "layout" Screen 0 "nvidia" Inactive "intel" EndSection
Section "Device" Identifier "intel" Driver "modesetting" BusID "PCI:0@0:2:0" Option "AccelMethod" "None" EndSection
Section "Screen" Identifier "intel" Device "intel" EndSection
Section "Device" Identifier "nvidia" Driver "nvidia" BusID "PCI:2@0:0:0" Option "ConstrainCursor" "off" EndSection
Section "Screen" Identifier "nvidia" Device "nvidia" Option "AllowEmptyInitialConfiguration" "on" Option "IgnoreDisplayDevices" "CRT" EndSection
Section "Device" Identifier "nvidia" Driver "nvidia" BusID "PCI:3@0:0:0" Option "ConstrainCursor" "off" EndSection
Section "Screen" Identifier "nvidia" Device "nvidia" Option "AllowEmptyInitialConfiguration" "on" Option "IgnoreDisplayDevices" "CRT" EndSection
Section "Device" Identifier "nvidia" Driver "nvidia" BusID "PCI:6@0:0:0" Option "ConstrainCursor" "off" EndSection
Section "Screen" Identifier "nvidia" Device "nvidia" Option "AllowEmptyInitialConfiguration" "on" Option "IgnoreDisplayDevices" "CRT" EndSection
This method was tested with Ubuntu validated 378 drivers - performance level with 384 drivers is worse and they generate more heat per card. I did put a workaround for this problem: Firstly, log in and enable overclocking on one GPU: sudo nvidia-xconfig -a --cool-bits=28 Log out and then log back in, then enable overclocking on all the other identical GPUs: sudo nvidia-xconfig -a --cool-bits=28 --allow-empty-initial-configuration Then log out and log back in and all the GPUs will have overclocking and fan control enabled.
|
|
|
|
thevictimofuktyranny (OP)
Legendary
Offline
Activity: 1092
Merit: 1004
|
|
November 24, 2017, 06:46:00 PM |
|
When running the Optiminer in Ubuntu the performance level of all GPUs changes from the max one (3) to 2 (Nvidia X Server Settings). So the memory becomes 7604 instead of 8008 (GTX1060). Is this somehow fixable? Couldnt find any info.
No, this was hard set by Nvidia for compute workloads due to memory instability issue for Micron modules at launch. A later bio update fixed the issue, but because not everyone updated their bios the memory defaults down to the lower speed still on Ubuntu. This is why the guide shows how to enable overclocking and you can set the correct memory speed or set a higher speed.
|
|
|
|
davidwillis
Newbie
Offline
Activity: 21
Merit: 0
|
|
November 25, 2017, 06:44:56 PM |
|
How do you install 378 drivers? Ubuntu wants to update to the latest ones
|
|
|
|
thevictimofuktyranny (OP)
Legendary
Offline
Activity: 1092
Merit: 1004
|
|
November 28, 2017, 04:13:39 PM Last edit: December 03, 2017, 05:01:02 PM by thevictimofuktyranny |
|
How do you install 378 drivers? Ubuntu wants to update to the latest ones
It appears they have been withdrawn, which is weird. You can access Nvidia Driver Archive and install via that method and I have old method for installing them listed below the current drivers.
|
|
|
|
|
davidwillis
Newbie
Offline
Activity: 21
Merit: 0
|
|
November 30, 2017, 04:15:33 AM |
|
Thanks. Is there anything I need to do to install that driver? Do I need to remove the old one first?
|
|
|
|
|