Jump to content

F@H & BOINC Installation on Linux

Notes

Quote

4/26/2020 - 26042020

Re-look over BOINC section installation.  Steps are still valid for 19.3 Mint Mate.

 

Later plan to re-verify F@H installation portion.

 

This steps where done on Mint Mate 18.2.  I plan to later verify if the steps are still valid on 19.3.

 

Considering I am doing a fresh install of Mint Mate 18.2, I decided to do updated guide for installing F@H and BOINC on a Debian branch Linux for any interested to running these applications on a Linux.

 

First off, ensure the Linux OS is up-to-date.  I usually utilize Update Manager to apply updates on Mint.  Otherwise, if your OS is already updated, skip on to the next step.

 

Next, ensure to have the GPU driver installed.  If already installed, skip on ahead; otherwise, open up Driver Manager and select the driver for your GPU.  Ignore the chipset driver, you only need to be concern with the GPU driver.

For nVidia, this what driver manager will show (don't have an AMD card on hand to show):

5a17a3ab12198_Screenshotat2017-11-2322-08-20.png.1aba99810f54818644d8506690c80a5c.png

 

Alrighty, OS is update and GPU driver installed.  The next thing I like do myself is enable overclocking for the GPU.  Note:  this is for nVidia GPUs (don't have AMD GPU on hand).

 

Enabling OC for nVidia cards in Linux

 

 


Run this line within Terminal.  This enables fan control and overclocking through the NVIDIA X Server.

 


sudo nvidia-xconfig --cool-bits=28

 

 

Restart after running this command.  Once rebooted, open up NVIDIA X Server.  Under Thermal Settings you will now have fan control.

5a17a4d533fd1_Screenshotat2017-11-2323-48-51.png.de96b04514f6c446e7a89602d4d87cca.png

 

Under PowerMizer, you now can set clock and memory offset for overclocking.

5a17a56ac72e2_Screenshotat2017-11-2323-51-11.png.cebaec6a20b02513932d2329da482cca.png
 

 

Now, onto getting F@H to play ball with Linux.

First off, the newer Ubuntu and Mint distros no longer have the python support package that F@H needs.

wget http://launchpadlibrarian.net/109052632/python-support_1.0.15_all.deb
sudo dpkg -i python-support_1.0.15_all.deb

If you rather use a package manager, you can find this package by doing a search for python-support.

Synaptic Package Manager has the ability to install it.

5a183d66ee02d_Screenshotat2017-11-2410-38-49.png.c3262d9786dfa99c9d50fb0dd56b7bae.png

 

 

Once that package is installed, onto downloading and installing F@H.

 

F@H Installation Steps0

 

 

These commands are from Standford on F@H website:  http://folding.stanford.edu/support/faq/installation-guides/linux/manual-installation-advanced/


wget --no-check-certificate https://fah.stanford.edu/file-releases/public/release/fahclient/debian-testing-64bit/v7.4/fahclient_7.4.4_amd64.deb 

wget --no-check-certificate https://fah.stanford.edu/file-releases/public/release/fahcontrol/debian-testing-64bit/v7.4/fahcontrol_7.4.4-1_all.deb 

wget --no-check-certificate https://fah.stanford.edu/file-releases/public/release/fahviewer/debian-testing-64bit/v7.4/fahviewer_7.4.4_amd64.deb

hese commands will download the packages for the fahclient, fahcontrol, and fahviewer (viewer is optional).

5a17a96ce3f58_Screenshotat2017-11-2400-00-47.png.bf6d9dcf5bddbefb080638ef831468ed.png

 

Now, install the fahclient first as this is the heart of the application.


sudo dpkg -i --force-depends fahclient_7.4.4_amd64.deb

 

During the installation, you will be asked for username, team number, passkey, folding level, and if the client should start up automatically at startup (highly recommended).

The following is screenshots of these:

 

 


5a17a9acc9532_Screenshotat2017-11-2400-01-35.png.b73a89294bb301ef9a941280f75246b7.png

5a17a9e05d491_Screenshotat2017-11-2400-02-04.png.b97749e0f6659a4f5af331d4d7b58da4.png

5a17a9e1e6c38_Screenshotat2017-11-2400-02-23.png.c8975d410b9098e96936ebfcf6a54815.png
 

 

 

Afterwards, this what the Terminal should look like for a successful install of the client.

5a17aa71b9952_Screenshotat2017-11-2400-05-18.png.ca284843ab8201ddac5afbbc41d6e905.png

 

Alright, from here you don't really need F@HControl nor F@HViewer.  The web interface link will work, but note, your GPU will not be folding and the CPU will be folding.

5a17ae380b6eb_Screenshotat2017-11-2400-06-13.png.d29b47765a9a25936ba9af66f0204b2f.png

 

So, for the ease of everyone, onto installing the F@HControl.  This where F@H likes to be a butt head in Linux.  (this requires that python support package installed earlier)


sudo dpkg -i --force-depends fahcontrol_7.4.4-1_all.deb



Heads up, if installing and you see python-genome2 not installed.  Open Synaptic Package Manger (seriously, if you going to mess with Debian branch Linux, have this application)

5a17ad9647756_Screenshotat2017-11-2400-16-06.png.d5d7c99c479bb313fb322c2b05808c8b.png

This the major reason I prefer to use Terminal for installing, easier to see what going on with an install.

First, uninstall fahcontrol with Synaptic.  Click Search and type fahcontrol.  Hit Enter.

Fahcontrol will show a big nice red block beside it if any dependences are out of wack.  Right click on it and select mark for uninstall.

 

5a17aeeb8df7b_Screenshotat2017-11-2400-30-47.png.9dd5082c19eaad63d1c7d2dab33eaed0.png

Apply will become available.  Hit Apply then Ok.  Fahcontrol should now be uninstalled.

Now, onto getting that genome2 package installed.

Click Search again and type python-genome2.

Mark the python-genome2 for installation.  Click Apply, Synaptic will install the dependencies for the package as well.

5a17af6b6ed9e_Screenshotat2017-11-2400-22-38.png.b98b01696facab53c3515fe72aff420f.png

 

Now, reopen Terminal and run the install command for fahcontrol again.  No errors should show.  You can double check in Synaptic since it will show green now within that application.

 
5a17b04dd3c26_Screenshotat2017-11-2400-23-18.png.ca18898c6cd8888d4f52b0e45f64cef5.png

 

Ok, for some wacky reason F@HControl was not showing up in the search bar.  To find it, go to File System then to this file path:   usr/bin/F@HControl

This will launch F@HControl.  Now, you have the GUI to control the client.

5a17b31241ac6_Screenshotat2017-11-2400-48-50.png.a0d9a64ad373092b782f6acfe6782efd.png
 

 

Tomorrow I will add BOINC guide to this.  Also, will add on how to get the GPU up on F@HControl along with some more advance settings.

Also, anyone with an AMD card running in Linux.  I would be very glad for screenshots on driver install and steps on overclocking within Linux.

 

I must give a shout out to Beercan over on OCN.  He the one who figured out that F@H required the python support package to work on the newer Debian branch Linux distros.

 

 

 

Adding GPU Slot in F@HControl

Spoiler

First off, the value for GPU needs to be switch from false to true for the client.

To do this, click on Configure.  Then go over  to the Expert tab.

This is what will show:

5a183a5683912_Screenshotat2017-11-2410-07-15.png.f21ad0cb2ab8d25f327a75fd7e5ba91f.png

 

Double click on the false for GPU.  Now you can erase out false and type in true.

This is what you should get:

5a183a8b8b226_Screenshotat2017-11-2410-07-26.png.08729e626649cf79b61d5beaccc8656a.png

 

Click Save, and now Reboot the computer.

 

Reopen up F@HControl and click Configure again.

This time, click on the Slots tab.

5a183ac751989_Screenshotat2017-11-2410-06-06.png.7ac8fd965767e213b04d7dc906538924.png

 

Click Add, you will see a radio button for CPU and GPU.  You want to click the radio button for GPU.

5a183b0bde76e_Screenshotat2017-11-2410-06-45.png.09b9d99a61642544d380ca500e26e438.png

 

Leave the values as is and click OK.

You should now have this shown in the Slots tab.

5a183b56b30c6_Screenshotat2017-11-2410-06-52.png.bb27b52dd098833e7d6b5c8398d09771.png

 

Click Save.  GPU slot is now added.

5a183b78d4453_Screenshotat2017-11-2410-10-49.png.fd3c147ee9785d9f9b185ee32cf6f06b.png

 

Setup 2nd GPU Slot in F@H Control

Spoiler

First off, click on Configure at the top of FAHControl

Configure window will appear.

Next ensure you on the Slots tab.

On the Slots tab click Add near the bottom.

Folding Slot Window will appear.

Leave all values as is and click OK.

5a4019cd4d752_Screenshotat2017-12-2416-02-03.png.3d367a49ceb416a592634ee12ae61375.png

 

Configure window will now show this.  Click on Save.

5a401a4579526_Screenshotat2017-12-2416-02-11.png.38178dbc2218f10d5a800f9c7b63ff50.png

 

You will now have two GPUs shown in the FAHControl GUI.

5a401afb4c168_Screenshotat2017-12-2416-03-09.png.f18a20b6bc778ad918fe8c6e2c27f9f1.png

Note:  FAHControl does have a habit at times on mixing up slots and GPUs.  Below is some tips on how you can figure out if FAHControl is showing correctly.

 

Have one GPU do an unit.  This will load the GPU and cause its temperature to go up on the core.  Using X Server, you will see which GPU has a load and temperature increase.

5a401c25e3f5c_Screenshotat2017-12-2416-04-00.thumb.png.fd4b44e6e0c00ac5a7cee7acf11f3f08.png

In my case, GTX960 is labeled correctly in FAHControl except for its slot.  This will not impact folding performance, so it alright to leave this GPU showing as slot 2 in FAHControl.

Also, dealing with Maxwell cards, when loaded with a F@H unit they will drop to state 2/level 2.  This is normal behavior for these Maxwell cards when folding.

Usually where this gets tricky is when you have multiples of the same type of card.  As your slot 1 card may not show as slot 1 in FAHControl but as a different slot number.

 

 

 

BOINC Installation Steps

Verified to work on Mint Mate 19.3 and 18 versions.

Spoiler

The following is steps to installing BOINC on a Debian Linux distro.

I done these steps on Ubuntu, Mint, and Fedora.  BOINC is far easier to get up and running on Linux compare to F@H.

 

First off, open up a package manager.  In these steps, Synaptic Package Manger is being used.

Click Search and type boinc.

5a1842a46e783_Screenshotat2017-11-2410-43-29.png.c4674561a6a377acd6ce356a4958a892.png

Click Search or Enter.  The package manager will show the available BOINC packages for install.

 

5a1842a6a450f_Screenshotat2017-11-2410-43-45.png.ab1df9416e876a8cf6011c645d3d7fe8.png

 

Mark for Install the boinc at the top.  This will mark the other packages like the GUI and client for installation as well.

 

5a184324de390_Screenshotat2017-11-2410-44-07.png.aa7c27c0445468118a5011fa720141a2.png

 

Now, you should have something similar to this.

5a18432797f44_Screenshotat2017-11-2410-44-54.png.8f5d3ed7e4e3274af9bfbe2d9d2add3e.png

 

You not done yet.  Depending on what GPU you have.  Click either the nvidia-cuda or opencl metapackage for Install.

Also, click the libboinc-app7 for Install to save some headache in getting projects to work.

Now, you should have something like this.

5a1843c00bd74_Screenshotat2017-11-2410-45-51.png.5450780ada8c876cb4a3ab80786f4969.png

 

Now Click Apply, the package manager will install all the packages.

Once Installed, you should have something similar to this.

5a1843c2e973a_Screenshotat2017-11-2410-47-32.png.a84dc5a124c716dac1d25c25030b28f3.png

 

BOINC is now installed.  Yeah, I know, so much easier than F@H (seriously Standford, up your game.  Berkley kicking you at installation).

 

Now, open up BOINC because I don't think you want your CPU pegged at 100% usage if you plan to use it.

5a18441498a2a_Screenshotat2017-11-2410-48-01.png.6c7618b2712f03c208b1c0d292b69654.png

 

This is basic view.  It is usable, but kind of lacking once you get the hang of Advance View.  To change Views, click View then Advance View.

 

Alright, time to change Compute Preferences.  Click on Options then Compute Preferences.  You will get a screen like this one.

BOINC by default puts CPU at 100% on Usage Limits.  The first percent space controls how many threads will be loaded on the CPU.  The second percent is CPU time/load.  I usually like 80% on the first with 99% on the second, so I can use the computer.  Otherwise, I will set the first to 95% during big BOINC events.  Best thing to do is play around with the usage limits to see what load you prefer on your CPU.

5a184423c02ea_Screenshotat2017-11-2410-50-27.png.2a3086def237be730315d891038bfbfa.png

 

Most of the rest are easy to understand.

You can control how BOINC will handle the GPU if any projects are using it and set how much days of work you want stored up.   For just casual BOINCers you probably fine on the defaults, us nutty big time BOINCers who compete in the Pent mess with these settings a lot for bunker techniques.

 

Click OK once you are done setting your preferences.  Now, your computer is off to the races.

 

5a1844297cd52_Screenshotat2017-11-2410-52-47.thumb.png.235f7f0e7e61245928081f776daa391a.png

 

 

2023 BOINC Pentathlon Event

F@H & BOINC Installation on Linux Guide

My CPU Army: 5800X, E5-2670V3, 1950X, 5960X J Batch, 10750H *lappy

My GPU Army:3080Ti, 960 FTW @ 1551MHz, RTX 2070 Max-Q *lappy

My Console Brigade: Gamecube, Wii, Wii U, Switch, PS2 Fatty, Xbox One S, Xbox One X

My Tablet Squad: iPad Air 5th Gen, Samsung Tab S, Nexus 7 (1st gen)

3D Printer Unit: Prusa MK3S, Prusa Mini, EPAX E10

VR Headset: Quest 2

 

Hardware lost to Kevdog's Law of Folding

OG Titan, 5960X, ThermalTake BlackWidow 850 Watt PSU

Link to comment
Share on other sites

Link to post
Share on other sites

  • 2 years later...

Re-look over BOINC section installation.  Steps are still valid for 19.3 Mint Mate.

 

Later plan to re-verify F@H installation portion.

2023 BOINC Pentathlon Event

F@H & BOINC Installation on Linux Guide

My CPU Army: 5800X, E5-2670V3, 1950X, 5960X J Batch, 10750H *lappy

My GPU Army:3080Ti, 960 FTW @ 1551MHz, RTX 2070 Max-Q *lappy

My Console Brigade: Gamecube, Wii, Wii U, Switch, PS2 Fatty, Xbox One S, Xbox One X

My Tablet Squad: iPad Air 5th Gen, Samsung Tab S, Nexus 7 (1st gen)

3D Printer Unit: Prusa MK3S, Prusa Mini, EPAX E10

VR Headset: Quest 2

 

Hardware lost to Kevdog's Law of Folding

OG Titan, 5960X, ThermalTake BlackWidow 850 Watt PSU

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×