• Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.
  • The forums have been upgraded with support for dark mode. By default it will follow the setting on your system/browser. You may override it by scrolling to the end of the page and clicking the gears icon.

F@H Ubuntu 15.10 install for Nvidia GPU's

BUCK NASTY

4P Enthusiust
Joined
Aug 8, 2007
Messages
5,020 (0.77/day)
Location
Fort Pierce, FL. U.S.A.
System Name Main Rig
Processor AMD RYZEN 5600X
Motherboard MSI MPG X570 GAMING EDGE WIFI
Cooling CORSAIR H115i
Memory 16gb DDR4 @ 1200MHZ
Video Card(s) GIGABYTE RTX 4080 SUPER
Storage SAMSUNG M.2 1TB
Display(s) ASUS 24" IPS
Case Coolermaster Centurion 590
Audio Device(s) Onboard
Power Supply EVGA SUPERNOVA 1000
Software Windows 10 64
************ UPDATED FOR 15.10 INSTALL AND NVIDIA 352.77 DRIVERS ***************

I want to thank our old friend msgclb for helping me out with this install. It's been folding 9201's for the last 7 days and has produced 3.9 Million PPD in those days.

For any Nvidia GPU supported by 352.77 drivers


1. Download Ubuntu 15.10 and burn to CD or flash to bootable USB drive.
http://www.ubuntu.com/download/desktop

2. Place CD into drive and install OS to your hard drive.

3. Check for updates and then restart.

4. Go to attached website and follow steps 1 - 10 by copying and pasting into TERMINAL. (you can ignore steps 8+9)
http://howtoubuntu.org/things-to-do-after-installing-ubuntu-14-10-utopic-unicorn.

5. Restart computer.

6. Input following command into TERMINAL to install Nvidia 352.77 drivers into Ubuntu 15.10:
sudo add-apt-repository ppa:xorg-edgers/ppa && sudo apt-get update && sudo apt-get install nvidia-352

7. Restart computer (you should get video output now).

8. In Terminal, type in sudo nvidia-xconfig --cool-bits=12 (For Fan control and OC core)

9. Download and Install FAH Client and FAH Control (.deb extensions) from the following address
http://folding.stanford.edu/

10. DO NOT TRY TO DOWNLOAD ANY PROJECTS YET.

11. In "Expert tab" of FAH Control :
a.Delete GPU False
b.Then type:
gpu true
client-type advanced


capture153.jpg


12. Restart computer.

13. Download unit

See how it goes before you put your key in (just in case you fail WU in rapid succession)

After you are stable and folding, open up Nvidia X-Server and adjust your fan speeds and clocks to your liking.

:toast:
 
Last edited:
#7 can it read any Nvidia card? I dont have a GTX 970. :laugh:
Does this work with multiple cards? Say a GTX 680 and a GTX 780 in the same machine?
 
#7 can it read any Nvidia card? I dont have a GTX 970. :laugh:
Does this work with multiple cards? Say a GTX 680 and a GTX 780 in the same machine?
Fixed. Yes, it's should work for multiple cards as long as they are supported in 343.22. You must consider which card you want to O/C and control fan on. Nvidia X-Server will only allow O/C and Fan control for the GPU0 with the Monitor attached. Adding a monitor to GPU1 does nothing. I'm working on a fix for this.

Edit: Adding a monitor to 2nd card does unlock the coolbit settings under X-server(after several restarts). Fan control and overclocking become available.
 
Last edited:
A more linux savvy person can please correct me if I am wrong, but wouldn't step 6 be easier if you copy and pasted the following:

sudo add-apt-repository ppa:xorg-edgers/ppa && sudo apt-get update && sudo apt-get install nvidia-343

When you put an && between commands, linux will run the next command as soon as the previous one finishes.

Alternatively, you could do step 6 and 7 in one go with the following:

sudo add-apt-repository ppa:xorg-edgers/ppa && sudo apt-get update && sudo apt-get install nvidia-343 && sudo reboot


I am following these instructions currently to get some darn core 17 wu's for my 750ti's. Copy and pasting such commands is the only way I was able to use them, because for whatever reason I can not copy 20+ characters exactly.
 
Last edited:
A more linux savvy person can please correct me if I am wrong, but wouldn't step 6 be easier if you copy and pasted the following:

sudo add-apt-repository ppa:xorg-edgers/ppa && sudo apt-get update && sudo apt-get install nvidia-343

When you put an && between commands, linux will run the next command as soon as the previous one finishes.

Alternatively, you could do step 6 and 7 in one go with the following:

sudo add-apt-repository ppa:xorg-edgers/ppa && sudo apt-get update && sudo apt-get install nvidia-343 && sudo reboot


I am following these instructions currently to get some darn core 17 wu's for my 750ti's.
I'm sure @Easy Rhino could answer this question.
 
I have been summoned! The answer is yes! *poof* <disappears>
 
So you want to overclock multiple gpu's. This is how.

You are going to have to edit your xorg.conf file, manually editing in a fake monitor. Xorg.conf is a read only file so you will have to edit in the terminal as a root user.

So...
  1. Open a terminal
  2. type the command: lspci | grep VGA
  3. Note the pci device id for each card you want to overclock.
  4. type the command: sudo nano /etc/X11/xorg.conf
  5. Edit as need based on example below
  6. Press "Cnrl O" (O as in the letter) to write the edits when done.
Basically in Xorg.conf you are making up a monitor for each gpu you have. I only have 2 gpu's in this sytem so I only needed to add 1 fake monitor. Buck in his 4 card GTX 970 system will have to add 3 fake monitors. In the example below I will bold the edits I made on top of the default xorg.conf file.

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 343.36 (buildmeister@swio-display-x86-rhel47-09) Mon Dec 1 16:47:14 PST 2014


Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
Screen 1 "Screen1" 0 0
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 "HP"
ModelName "W17q"
HorizSync 28.0 - 33.0
VertRefresh 43.0 - 72.0
Option "DPMS"
EndSection

Section "Monitor"
Identifier "Monitor1"
VendorName "Fake"
ModelName "Monitor"
HorizSync 30-94
VertRefresh 48-85
EndSection


Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BusID "PCI:1:0:0"
EndSection

Section "Device"
Identifier "Device1"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BusID "PCI:2:0:0"
EndSection


Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "Coolbits" "12"
SubSection "Display"
Depth 24
EndSubSection
EndSection

Section "Screen"
Identifier "Screen1"
Device "Device1"
Monitor "Monitor1"
DefaultDepth 24
Option "Coolbits" "12"
SubSection "Display"
Depth 24
EndSubSection
EndSection



Note that in the above example anything bold is something I added to the default xorg.conf file. In Section "Device" the bus id should match the gpu you have in your system.

If you have more than 2 gpu's you can look at this other example below.

Code:
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 337.19  (buildmeister@swio-display-x64-rhel04-03)  T$


Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    Screen      1  "Screen1" 0 0
    Screen      2  "Screen2" 0 0
    Screen      3  "Screen3" 0 0
    Screen      4  "Screen4" 0 0
    Screen      5  "Screen5" 0 0
    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"
    HorizSync      30-94
    VertRefresh    48-85
EndSection

Section "Monitor"
    Identifier     "Monitor2"
    HorizSync      30-94
    VertRefresh    48-85
EndSection

Section "Monitor"
    Identifier     "Monitor3"
    HorizSync      30-94
    VertRefresh    48-85
EndSection

Section "Monitor"
    Identifier     "Monitor4"
    HorizSync      30-94
    VertRefresh    48-85
EndSection

Section "Monitor"
    Identifier     "Monitor5"
    HorizSync      30-94
    VertRefresh    48-85
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BusID          "PCI:1:0:0"
EndSection

Section "Device"
    Identifier     "Device1"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BusID          "PCI:2:0:0"
EndSection

Section "Device"
    Identifier     "Device2"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BusID          "PCI:3:0:0"
EndSection

Section "Device"
    Identifier     "Device3"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BusID          "PCI:4:0:0"
EndSection

Section "Device"
    Identifier     "Device4"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BusID          "PCI:5:0:0"
EndSection

Section "Device"
    Identifier     "Device5"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BusID          "PCI:6:0:0"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "Coolbits" "12"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen1"
    Device         "Device1"
    Monitor        "Monitor1"
    DefaultDepth    24
    Option         "Coolbits" "12"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen2"
    Device         "Device2"
    Monitor        "Monitor2"
    DefaultDepth    24
    Option         "Coolbits" "12"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen3"
    Device         "Device3"
    Monitor        "Monitor3"
    DefaultDepth    24
    Option         "Coolbits" "12"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen4"
    Device         "Device4"
    Monitor        "Monitor4"
    DefaultDepth    24
    Option         "Coolbits" "12"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen5"
    Device         "Device5"
    Monitor        "Monitor5"
    DefaultDepth    24
    Option         "Coolbits" "12"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection


My little guide here was a summary of this guide here.
 
Since I am on another new install of linux, I was trying to follow these instructions and they were not working anymore.

This worked for me, and puts me on the latest drivers.

sudo add-apt-repository ppa:xorg-edgers/ppa

Then type in the following to see what the latest driver you can install is.

apt-cache search nvidia | grep --ignore-case binary | grep version

At this time it is the 346 drivers that are the latest. So I typed in:

sudo apt-get install nvidia-346 && sudo reboot
 
Last edited:
I'll try it next week when I have to re-install 14.10 for the new rig. Thanks @james888 .
 
Also, I found out when installing the drivers, repository ppa:xorg-edgers/ppa, should only be used when installing nvidia drivers and removed afterwords. For just folding purposes we should mostly be ok though. I never read the warning it gives but you should not do a distro upgrade or similar with that ppa installed.
 
Last edited by a moderator:
Finally!!! After 2 days of tearing my hair out I finally got this 970 folding on Ubuntu 14.04. I tried the write up for 14.10 and everytime I installed the Nvidia driver 343 I got a loop for my password. It would not boot into Ubuntu. Got a message some updates would not work with 14.10. So I tried the 14.04 and did as per the write up that Buck made and screen would go black. Searched the internet and found a post to use Nvidia 346 instead and bingo it worked. Now if someone could explain the coolbits for me how to run it I can oc this thing a little. Had it on windows running 1500 core but got a string of x15.


Screenshot from 2015-05-10 23:33:46.png
 
Sounds similar but worse to my experience, and why I posted some additional instructions that are just a couple posts up.
 
Congrat's @mx500torid . These Ubuntu installs can be so flaky. I have run into the password prompt and the Black Screen multiple times(mostly corrupted installs that were my fault......swapping HDD's/CPU's/Cards). Had to do fresh installs to get back to normal. Just enable Coolbits from the 1st post above and you can edit the Clocks/Fans in Nvidia X-Server for a single card. If you add additional cards, you'll have to edit your Xorg.conf file to create fake monitors. Your getting great PPD for stock clocks!

Sounds similar but worse to my experience, and why I posted some additional instructions that are just a couple posts up.
....and I'm finally getting around to editing the primary post. LOL:roll:
 
Last edited:
I just dont understand how to make cool bits work. It says open x-server I dont know the command for that either. All the posts I saw on internet had open x-server but not a one I saw told me how to do it. Then once I do get it open i dont understand how to tweak it. Im kinda stupid but i aint giving up. I got the EVGA SSC version and on windows it boosted to over 1400 stock. Sure would like to bump it a bit and shoot for 300k way better than the 40k I was getting on x15 in windows.
 
I just dont understand how to make cool bits work. It says open x-server I dont know the command for that either. All the posts I saw on internet had open x-server but not a one I saw told me how to do it. Then once I do get it open i dont understand how to tweak it. Im kinda stupid but i aint giving up. I got the EVGA SSC version and on windows it boosted to over 1400 stock. Sure would like to bump it a bit and shoot for 300k way better than the 40k I was getting on x15 in windows.
Sorry for the delay....just got back from Vacation:).Click the upper left Icon on the toolbar to enter search mode. Type in "nv" and it will populate all programs that start with 'nv". Click the program to launch. After x-server is running, you can adjust Thermal Settings(Fan Speed) and Powermizer(Overclock). Change the offset(+150 to +225) on Powermizer to overclock.

:toast:
 
Thanks Buck worked like a charm!!
 
Last edited:
Is it possible to bump voltage on a 970 on 14.04?
 
Well the Ubuntu machine must have updated now folding@home cant find my 970 so trying to fix it and not having much luck.
 
Back
Top