Bitcoin Forum
May 08, 2024, 11:53:25 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 [3] 4 5 6 7 »  All
  Print  
Author Topic: HOW TO SET UP OVERCLOCKING AND FAN CONTROL ON UBUNTU 16.04 FOR NVIDIA CARDS  (Read 54990 times)
Brucelats
Sr. Member
****
Offline Offline

Activity: 326
Merit: 250



View Profile
June 21, 2017, 02:23:14 AM
 #41

Did you mean 17.04 ? Ubuntu site can't have link to 17.10. Only 17.04

PCH option under the PCI-Express speed works on PCI-E X16 slot 0. But I am using PCI-E X1 slot 2,3.
Does it change anything?

Yeah, 17.04LTS.

You need to set all the slots to Gen 1 or Gen 2, whichever one works. Otherwise, you'll get weird Nvidia display errors.

For example:  Asus Prime H270 Plus - when it is not set to Gen 1 - on either Gen 2 or Gen 3 you get display errors, before the log in page.

And, only 2 cards are recognised - even though motherboard support is for 4 GPUs on PCI-E 1X.

Hey! Do you have any clues how to make my Asus Z270-P Motherboard recognize 5 or more GPU-s. I can do 4 but not more Sad i am desperate. Not sure what to do. I use ubuntu 16.04 downloaded from ubuntu site. Desktop version

1715169205
Hero Member
*
Offline Offline

Posts: 1715169205

View Profile Personal Message (Offline)

Ignore
1715169205
Reply with quote  #2

1715169205
Report to moderator
1715169205
Hero Member
*
Offline Offline

Posts: 1715169205

View Profile Personal Message (Offline)

Ignore
1715169205
Reply with quote  #2

1715169205
Report to moderator
Make sure you back up your wallet regularly! Unlike a bank account, nobody can help you if you lose access to your BTC.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715169205
Hero Member
*
Offline Offline

Posts: 1715169205

View Profile Personal Message (Offline)

Ignore
1715169205
Reply with quote  #2

1715169205
Report to moderator
1715169205
Hero Member
*
Offline Offline

Posts: 1715169205

View Profile Personal Message (Offline)

Ignore
1715169205
Reply with quote  #2

1715169205
Report to moderator
1715169205
Hero Member
*
Offline Offline

Posts: 1715169205

View Profile Personal Message (Offline)

Ignore
1715169205
Reply with quote  #2

1715169205
Report to moderator
thevictimofuktyranny (OP)
Legendary
*
Offline Offline

Activity: 1092
Merit: 1004


View Profile
June 21, 2017, 10:17:06 AM
 #42

Did you mean 17.04 ? Ubuntu site can't have link to 17.10. Only 17.04

PCH option under the PCI-Express speed works on PCI-E X16 slot 0. But I am using PCI-E X1 slot 2,3.
Does it change anything?

Yeah, 17.04LTS.

You need to set all the slots to Gen 1 or Gen 2, whichever one works. Otherwise, you'll get weird Nvidia display errors.

For example:  Asus Prime H270 Plus - when it is not set to Gen 1 - on either Gen 2 or Gen 3 you get display errors, before the log in page.

And, only 2 cards are recognised - even though motherboard support is for 4 GPUs on PCI-E 1X.

Hey! Do you have any clues how to make my Asus Z270-P Motherboard recognize 5 or more GPU-s. I can do 4 but not more Sad i am desperate. Not sure what to do. I use ubuntu 16.04 downloaded from ubuntu site. Desktop version

Have Bios version 0609.

Find DMI/OPI Configuration and change to Gen 1

Find PEG Port Configuration and change to Gen 1

Then after installing drivers on  Ubuntu Nvidia drivers go back into bios and find Above 4G Decoding and change it to Enabled

thesmokingman
Full Member
***
Offline Offline

Activity: 212
Merit: 100



View Profile
June 21, 2017, 11:37:45 AM
 #43

Did you mean 17.04 ? Ubuntu site can't have link to 17.10. Only 17.04

PCH option under the PCI-Express speed works on PCI-E X16 slot 0. But I am using PCI-E X1 slot 2,3.
Does it change anything?

Yeah, 17.04LTS.

You need to set all the slots to Gen 1 or Gen 2, whichever one works. Otherwise, you'll get weird Nvidia display errors.

For example:  Asus Prime H270 Plus - when it is not set to Gen 1 - on either Gen 2 or Gen 3 you get display errors, before the log in page.

And, only 2 cards are recognised - even though motherboard support is for 4 GPUs on PCI-E 1X.

Hey! Do you have any clues how to make my Asus Z270-P Motherboard recognize 5 or more GPU-s. I can do 4 but not more Sad i am desperate. Not sure what to do. I use ubuntu 16.04 downloaded from ubuntu site. Desktop version

Have Bios version 0609.

Find DMI/OPI Configuration and change to Gen 1

Find PEG Port Configuration and change to Gen 1

Then after installing drivers on  Ubuntu Nvidia drivers go back into bios and find Above 4G Decoding and change it to Enabled



I see you say install the drivers then go back and enable Above 4G encoding. What about if you're using a prebuilt OS with drivers already loaded like pimpOS?

PIMP your AMD & Nvidia Farm. Finally a Multi-Miner Linux 16.04 Distro with Web Monitoring and On the Fly Algo-Switching. My PIMP AMD/Nvidia FARM: https://miner.farm/farmer/554/farmstatus
thevictimofuktyranny (OP)
Legendary
*
Offline Offline

Activity: 1092
Merit: 1004


View Profile
June 21, 2017, 11:48:08 AM
 #44

Did you mean 17.04 ? Ubuntu site can't have link to 17.10. Only 17.04

PCH option under the PCI-Express speed works on PCI-E X16 slot 0. But I am using PCI-E X1 slot 2,3.
Does it change anything?

Yeah, 17.04LTS.

You need to set all the slots to Gen 1 or Gen 2, whichever one works. Otherwise, you'll get weird Nvidia display errors.

For example:  Asus Prime H270 Plus - when it is not set to Gen 1 - on either Gen 2 or Gen 3 you get display errors, before the log in page.

And, only 2 cards are recognised - even though motherboard support is for 4 GPUs on PCI-E 1X.

Hey! Do you have any clues how to make my Asus Z270-P Motherboard recognize 5 or more GPU-s. I can do 4 but not more Sad i am desperate. Not sure what to do. I use ubuntu 16.04 downloaded from ubuntu site. Desktop version

Have Bios version 0609.

Find DMI/OPI Configuration and change to Gen 1

Find PEG Port Configuration and change to Gen 1

Then after installing drivers on  Ubuntu Nvidia drivers go back into bios and find Above 4G Decoding and change it to Enabled



I see you say install the drivers then go back and enable Above 4G encoding. What about if you're using a prebuilt OS with drivers already loaded like pimpOS?

Try it! It takes less than 1 hour to install a Linux OS.

It's just to avoid getting a no display event (black screen) when you don't have drivers installed.
thesmokingman
Full Member
***
Offline Offline

Activity: 212
Merit: 100



View Profile
June 21, 2017, 05:29:08 PM
 #45

Did you mean 17.04 ? Ubuntu site can't have link to 17.10. Only 17.04

PCH option under the PCI-Express speed works on PCI-E X16 slot 0. But I am using PCI-E X1 slot 2,3.
Does it change anything?

Yeah, 17.04LTS.

You need to set all the slots to Gen 1 or Gen 2, whichever one works. Otherwise, you'll get weird Nvidia display errors.

For example:  Asus Prime H270 Plus - when it is not set to Gen 1 - on either Gen 2 or Gen 3 you get display errors, before the log in page.

And, only 2 cards are recognised - even though motherboard support is for 4 GPUs on PCI-E 1X.

Hey! Do you have any clues how to make my Asus Z270-P Motherboard recognize 5 or more GPU-s. I can do 4 but not more Sad i am desperate. Not sure what to do. I use ubuntu 16.04 downloaded from ubuntu site. Desktop version

Have Bios version 0609.

Find DMI/OPI Configuration and change to Gen 1

Find PEG Port Configuration and change to Gen 1

Then after installing drivers on  Ubuntu Nvidia drivers go back into bios and find Above 4G Decoding and change it to Enabled



I see you say install the drivers then go back and enable Above 4G encoding. What about if you're using a prebuilt OS with drivers already loaded like pimpOS?

Try it! It takes less than 1 hour to install a Linux OS.

It's just to avoid getting a no display event (black screen) when you don't have drivers installed.

Yep I've been trying everything but can't seem to get past a black screen with 4G enabled on the prebuilt OS I'm using. Was just asking since you mentioned drivers first then enable 4G decoding. Thanks for outlining what you did to get this to work. I've been using xorg.conf to enable overclocking, so interested in giving this a shot and comparing the two methods.

Thanks and have a good one!

PIMP your AMD & Nvidia Farm. Finally a Multi-Miner Linux 16.04 Distro with Web Monitoring and On the Fly Algo-Switching. My PIMP AMD/Nvidia FARM: https://miner.farm/farmer/554/farmstatus
alextheman12
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
July 17, 2017, 10:42:53 PM
 #46

How do you set this for multiple GPU's you put that I need to set the .sh file for each GPU? But it doesn't specifiy what to add to each .sh file in oreder for it to execute on each GPU? What am I missing?
thevictimofuktyranny (OP)
Legendary
*
Offline Offline

Activity: 1092
Merit: 1004


View Profile
July 18, 2017, 01:00:30 PM
 #47

How do you set this for multiple GPU's you put that I need to set the .sh file for each GPU? But it doesn't specifiy what to add to each .sh file in oreder for it to execute on each GPU? What am I missing?

Create multiple files and just change GPU0 to GPU1 and so on.
xMines
Newbie
*
Offline Offline

Activity: 37
Merit: 0


View Profile
July 18, 2017, 02:57:07 PM
 #48

thanks for the guide, is it also possible to set a powerlimit?
thevictimofuktyranny (OP)
Legendary
*
Offline Offline

Activity: 1092
Merit: 1004


View Profile
July 18, 2017, 04:23:01 PM
Last edit: July 24, 2017, 01:10:20 AM by thevictimofuktyranny
 #49

thanks for the guide, is it also possible to set a powerlimit?

Set Nvidia Drivers to persistent state (you must be in root - open terminal and enter "sudo -i"):

nvidia-smi -pm 1

First ask nvidia-smi what's the max power and min power limits are:

nvidia-smi -i 0 -q -d POWER

This will show MAX Power and MIN POWER allowed.

GTX 750TI as an example:
MIN POWER 30 W
MAX POWER 38.5 W

Then, you can reduce the watts to the MIN POWER allowed:

sudo nvidia-smi -pl 30

This gives you a net reduction of 22%.

Tested on Ubuntu, with max GPU load via running Unigine Heaven 4 Benchmark at MIN POWER.
Xeonus
Newbie
*
Offline Offline

Activity: 52
Merit: 0


View Profile
July 28, 2017, 09:58:25 AM
 #50

Thanks for the guide, was very helpful. Can you control fan speed of 2 or more cards?
For some reason, I can only control fans of one card, but not both (I have a 980 Ti and 970 installed, 980 Ti is adjustable). Works flawless otherwise.
thevictimofuktyranny (OP)
Legendary
*
Offline Offline

Activity: 1092
Merit: 1004


View Profile
July 28, 2017, 11:24:13 AM
 #51

Thanks for the guide, was very helpful. Can you control fan speed of 2 or more cards?
For some reason, I can only control fans of one card, but not both (I have a 980 Ti and 970 installed, 980 Ti is adjustable). Works flawless otherwise.

Assuming your fan controls are built to Nvidia spec, this activates both card controls:
 
sudo nvidia-xconfig -a --cool-bits=28 --allow-empty-initial-configuration

Doing it via the Nvidia X Server Settings

GPU 0 or GPU 1

Thermal Settings, move slider to the desired fan speed and click apply.

Or, you can create sh profile and attach it to the startup as the guide explains.
Xeonus
Newbie
*
Offline Offline

Activity: 52
Merit: 0


View Profile
July 28, 2017, 12:13:37 PM
 #52

Thanks for the guide, was very helpful. Can you control fan speed of 2 or more cards?
For some reason, I can only control fans of one card, but not both (I have a 980 Ti and 970 installed, 980 Ti is adjustable). Works flawless otherwise.

Assuming your fan controls are built to Nvidia spec, this activates both card controls:
 
sudo nvidia-xconfig -a --cool-bits=28 --allow-empty-initial-configuration

Doing it via the Nvidia X Server Settings

GPU 0 or GPU 1

Thermal Settings, move slider to the desired fan speed and click apply.

Or, you can create sh profile and attach it to the startup as the guide explains.
It was actually my mistake. I installed the second card after I modified xconfig with your command, so it did not add the string to the second GPU entry in the config file. I reran the command  and rebooted. Works as expected now. Thanks a lot Smiley
ste1
Newbie
*
Offline Offline

Activity: 36
Merit: 0


View Profile
July 29, 2017, 10:10:34 PM
 #53

Does not work for me. The xorg.conf is reset after every boot and no oc settings showing.
thevictimofuktyranny (OP)
Legendary
*
Offline Offline

Activity: 1092
Merit: 1004


View Profile
July 30, 2017, 12:59:44 PM
 #54

Does not work for me. The xorg.conf is reset after every boot and no oc settings showing.

What card and how many?

What CPU?

What motherboard?

Directly plugged into motherboard or USB 3 risers?

What Nvidia Drivers?

What PCI-Express Gen?
ste1
Newbie
*
Offline Offline

Activity: 36
Merit: 0


View Profile
August 03, 2017, 12:23:17 PM
 #55

2x 1060
6600k
MSI Z170-A Pro
directly
375 driver from ubuntu repo
Gen3

thevictimofuktyranny (OP)
Legendary
*
Offline Offline

Activity: 1092
Merit: 1004


View Profile
August 03, 2017, 02:34:00 PM
 #56

2x 1060
6600k
MSI Z170-A Pro
directly
375 driver from ubuntu repo
Gen3



Try Gen 1 and Gen 2. Also,

Usually, you need to try older PCI-E speeds.
ste1
Newbie
*
Offline Offline

Activity: 36
Merit: 0


View Profile
August 04, 2017, 01:10:57 PM
 #57

No it doesn't matter with 2 cards. Works perfectly in Windows. Just can't OC in Linux.
thevictimofuktyranny (OP)
Legendary
*
Offline Offline

Activity: 1092
Merit: 1004


View Profile
August 04, 2017, 09:12:12 PM
 #58

No it doesn't matter with 2 cards. Works perfectly in Windows. Just can't OC in Linux.

A couple of options:

a) try Ubuntu 17.04LTS - it has an updated kernel that may be better with your CPU and motherboard.

b) try Nvidia' newer drivers

sudo add-apt-repository ppa:graphics-drivers/ppa
sudo apt update.

Then go to additional drivers - an every Nvidia Ubuntu driver release up to the recent 384.59 will be available for install.

Sometimes, you'll need to click open Ubuntu Software and update X Server control panel for that driver.

Remember, after switching drivers and rebooting you will need to re-enter:

sudo nvidia-xconfig -a --cool-bits=28 --allow-empty-initial-configuration
ste1
Newbie
*
Offline Offline

Activity: 36
Merit: 0


View Profile
August 09, 2017, 09:36:18 PM
 #59

No it doesn't matter with 2 cards. Works perfectly in Windows. Just can't OC in Linux.

A couple of options:

a) try Ubuntu 17.04LTS - it has an updated kernel that may be better with your CPU and motherboard.

b) try Nvidia' newer drivers

sudo add-apt-repository ppa:graphics-drivers/ppa
sudo apt update.

Then go to additional drivers - an every Nvidia Ubuntu driver release up to the recent 384.59 will be available for install.

Sometimes, you'll need to click open Ubuntu Software and update X Server control panel for that driver.

Remember, after switching drivers and rebooting you will need to re-enter:

sudo nvidia-xconfig -a --cool-bits=28 --allow-empty-initial-configuration


I tried but still the same problem Sad
thevictimofuktyranny (OP)
Legendary
*
Offline Offline

Activity: 1092
Merit: 1004


View Profile
August 10, 2017, 11:39:07 PM
 #60

No it doesn't matter with 2 cards. Works perfectly in Windows. Just can't OC in Linux.

A couple of options:

a) try Ubuntu 17.04LTS - it has an updated kernel that may be better with your CPU and motherboard.

b) try Nvidia' newer drivers

sudo add-apt-repository ppa:graphics-drivers/ppa
sudo apt update.

Then go to additional drivers - an every Nvidia Ubuntu driver release up to the recent 384.59 will be available for install.

Sometimes, you'll need to click open Ubuntu Software and update X Server control panel for that driver.

Remember, after switching drivers and rebooting you will need to re-enter:

sudo nvidia-xconfig -a --cool-bits=28 --allow-empty-initial-configuration


I tried but still the same problem Sad

Not a lot can be done - especially, as you won't try using Gen 2 or Gen 1!
Pages: « 1 2 [3] 4 5 6 7 »  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!