EVGA

F@H On Linux?

Page: < 1234 > Showing page 3 of 4
Author
ProDigit
iCX Member
  • Total Posts : 465
  • Reward points : 0
  • Joined: 2019/02/20 14:04:37
  • Status: offline
  • Ribbons : 4
Re: F@H On Linux? 2019/06/24 04:01:55 (permalink)
In a situation with folding under Linux, I would always recommend to have 2 setups.
A main setup, running FAH, and a cheaper alternative for experimenting.

For instance, buy a cheap second hand PC on eBay. A Dell, an old core 2 duo or whatever is in the $50 range; with GPU slot, and get a cheap, $25-35 NVidia GT 1030 from eBay.
Buy additionally a Linux compatible wifi dongle if you need it, a $15-20 (32-64GB) SSD, and experiment with it.
Overall, it's a sub $100 investment.
You learn how to use Linux, while your main rig (windows or Linux) is folding.

Whatever procedure works for a GT 1030, will work for all NVidia cards up to the RTX 2080.
For RTX 2080Ti, NVidia drivers call on another bit, so the 2080ti is not hotswappable with other cards, but basically, if your system is set up for a GT 1030, GTX or RTX card, you can turn off the PC, up or downgrade the card to a faster or slower one, by just physically swapping the card out, and boot the PC without any problems.

If you're running NVidia cards and Linux (I recommend Lubuntu 18.10 over mint even) on one PC, you can experiment different flavors of Linux on the other.
Once you've worked out a solution (eg: what flavor of Linux, how to install everything and make it work) on your cheap PC, repeat the procedure on your main rig.
The procedure will be 90-99% identical.

Keep logs!
Logs on PPD, temperature, GPU overclocking and power settings, Linux OS, driver versions,...
This so you more hard evidence of certain changes benefit the folding or not.
Believe me, after trying out a variety of settings and operating systems, numbers will blur, and a small sticky tag note with some main parameters can be a welcome reference point.

Not only learning how to use Linux, or experimenting with different flavors of Linux, but regularly NVidia will come out with new drivers.
Not all newer drivers will work better.
Current latest 430.26 drivers work slower than 418 drivers for folding.
All this can be tested before implementation on your main rig.

Another, Linux's new kernel updates, security patches, or is upgrades.
Occasionally vulnerabilities are exposed.
In my case, my main server was attacked a few days ago, since it hadn't received a kernel patch update, while my smaller unit did have a patched kernel, and on the same network, was unaffected.

Lastly, in case of hardware failure, and waiting for parts.
If your main server went out due to hardware failure, and you're waiting for parts, or trying to identify the problem, it's easy to just swap out your best graphics cards to the cheap alternative. While it won't give best PPD, it'll at least keep you folding in the meantime.

If you aren't too fond of Lubuntu with more of a windows 7 desktop layout, you can try Mint, which is popular and similar but less stable and a bit more bloated.
Kubuntu, which is based on the KDE interface, also a windows 7 desktop variant, is stable, but many find it looking less appealing, and is using slightly more resources.
Ubuntu or Xubuntu, which have more of a Mac Os looks,
Debian, which you will get for stability, server hardware, and performance.
Debian is a popular is amongst IT staff, but it's not as pleasing to work with, and commands vary slightly from Ubuntu variants.
Debian is the grandfather, Ubuntu and it's variants are the father, and mint is the child.
Redhat/centos is also supported. It's a lot different from Ubuntu/Debian.
Redhat would be the great uncle, centos the uncle, and Fedora the nephew.
Same extended family, but not quite the same family.
Fedora is most unstable. Since fah control needs python 2, you'll have to run fahclient headless on Fedora, which is quite a pain.

MacOs only supports CPU folding, not GPU.

Aside from that, FreeBSD and Intel's clear Linux aren't supported at this time.
Nevertheless, FreeBSD is based on Unix, which MacOs is too.
If fah CPU folding works on MacOs, it should work on Unix, and should be able to be ported over to FreeBSD .
But no GPU folding there.
Considering the fact that FreeBSD is an OS made for security, and known to lack in a lot of day to day performance tasks, and more progress and optimizations habe been done on Linux than Unix, I would stick with a Linux based, preferably Ubuntu derived variant for folding.
post edited by ProDigit - 2019/06/24 04:33:58
#61
the_Scarlet_one
formerly Scarlet-tech
  • Total Posts : 24581
  • Reward points : 0
  • Joined: 2013/11/13 02:48:57
  • Location: East Coast
  • Status: offline
  • Ribbons : 79
Re: F@H On Linux? 2019/06/24 05:29:17 (permalink)
yodap
Was that valiant try Mint 18.3 or earlier, or 19xx?


I am running late. I have been gone for a week and did not get a chance to try out linux any more after the initial try.

I was trying Mint 19xx if I am not mistaken. I will try again and I think I will do like is mentioned above, and grab an older PC just to learn linux. I am just not familiar with the commands.
#62
ipkha
CLASSIFIED Member
  • Total Posts : 2308
  • Reward points : 0
  • Joined: 2015/02/10 21:01:40
  • Location: Indiana
  • Status: offline
  • Ribbons : 6
Re: F@H On Linux? 2019/06/27 18:36:45 (permalink)
I finally managed to get it installed and working on Debian Buster RC2.
I copied my config file from the Windows partition and it worked fine once I got OpenCL up and running.
Will check in the morning to see how the tasks worked out.


#63
drougnor
CLASSIFIED Member
  • Total Posts : 2715
  • Reward points : 0
  • Joined: 2006/07/18 05:57:59
  • Location: FL USA /Affiliate MCK692UUS /Assoc HPW7E9T81P8KCCH
  • Status: offline
  • Ribbons : 18
Re: F@H On Linux? 2019/06/27 19:32:04 (permalink)
Got my fingers crossed for you!  Sadly, the big number WU's are currently apparently out of comision, but you should still see a noticeable hike from the windows based numbers.
 
d


#64
ipkha
CLASSIFIED Member
  • Total Posts : 2308
  • Reward points : 0
  • Joined: 2015/02/10 21:01:40
  • Location: Indiana
  • Status: offline
  • Ribbons : 6
Re: F@H On Linux? 2019/06/28 04:24:47 (permalink)
The only thing I need now is a control for it since fahcontrol doesn't install.


#65
Chris21010
FTW Member
  • Total Posts : 1587
  • Reward points : 0
  • Joined: 2006/05/03 07:26:39
  • Status: offline
  • Ribbons : 9
Re: F@H On Linux? 2019/06/28 05:49:55 (permalink)
you can stop/star/restart by calling it like this. more info here: https://foldingathome.org/support/faq/installation-guides/linux/command-line-options/
 
sudo /etc/init.d/FAHClient start

 
other than that the setup is done in your config.xml file.


#66
ipkha
CLASSIFIED Member
  • Total Posts : 2308
  • Reward points : 0
  • Joined: 2015/02/10 21:01:40
  • Location: Indiana
  • Status: offline
  • Ribbons : 6
Re: F@H On Linux? 2019/06/28 10:56:47 (permalink)
I'm looking for Finish and stop command. Like in advanced control.


#67
yodap
CLASSIFIED Member
  • Total Posts : 4642
  • Reward points : 0
  • Joined: 2011/05/15 06:13:40
  • Location: NY, Upstate
  • Status: offline
  • Ribbons : 8
Re: F@H On Linux? 2019/06/28 12:33:01 (permalink)
Try these if it's a Debian distro.
 
sudo /etc/init.d/FAHClient start
sudo /etc/init.d/FAHClient stop
 

sudo /etc/init.d/FAHClient restart
sudo /etc/init.d/FAHClient reload




 

 
#68
Chris21010
FTW Member
  • Total Posts : 1587
  • Reward points : 0
  • Joined: 2006/05/03 07:26:39
  • Status: offline
  • Ribbons : 9
Re: F@H On Linux? 2019/06/28 15:16:53 (permalink)
there is no finish command unfortunately. what that command actually does is modify the xml file and then restarts the program to get the program to stop once finished.
 


#69
ipkha
CLASSIFIED Member
  • Total Posts : 2308
  • Reward points : 0
  • Joined: 2015/02/10 21:01:40
  • Location: Indiana
  • Status: offline
  • Ribbons : 6
Re: F@H On Linux? 2019/06/28 15:38:37 (permalink)
Thanks. Fahclient still doesn't install completely. It simply doesn't support the new init SystemD and I get a can't modify run level at every apt install/update. Fahcontrol won't install at all as it's package dependency needs can't be met. We are at gnome 3, gtk3 and well past the version of perl in the package. Hard version reqs are lazy and have never been the way to go. Sad because if they had used versions greater than it would probably work just fine.


#70
yodap
CLASSIFIED Member
  • Total Posts : 4642
  • Reward points : 0
  • Joined: 2011/05/15 06:13:40
  • Location: NY, Upstate
  • Status: offline
  • Ribbons : 8
Re: F@H On Linux? 2019/06/28 16:03:51 (permalink)
Chris21010
there is no finish command unfortunately. what that command actually does is modify the xml file and then restarts the program to get the program to stop once finished.
 


Correct. It will not dL a new wu.


 

 
#71
drougnor
CLASSIFIED Member
  • Total Posts : 2715
  • Reward points : 0
  • Joined: 2006/07/18 05:57:59
  • Location: FL USA /Affiliate MCK692UUS /Assoc HPW7E9T81P8KCCH
  • Status: offline
  • Ribbons : 18
Re: F@H On Linux? 2019/06/28 16:05:48 (permalink)
If you install FAHControl on a windows box, (Just don't run the folding itself), you should have no problem controlling Folding on the Linux box. Just make sure you have an inbound port open on the Linux firewall for FAH default 36330. That way you will have access to all the advance settings without needing the program itself on your Linux box. That's how I control my folding boxes, just use my laptop to do the control work while letting both of the space heaters chug away.
 
d


#72
ipkha
CLASSIFIED Member
  • Total Posts : 2308
  • Reward points : 0
  • Joined: 2015/02/10 21:01:40
  • Location: Indiana
  • Status: offline
  • Ribbons : 6
Re: F@H On Linux? 2019/07/06 06:14:51 (permalink)
I've determined that running the client directly from a terminal is best. And that giving the command --finish does in fact work.


#73
Cool GTX
EVGA Forum Moderator
  • Total Posts : 31005
  • Reward points : 0
  • Joined: 2010/12/12 14:22:25
  • Location: Folding for the Greater Good
  • Status: offline
  • Ribbons : 122
Re: F@H On Linux? 2019/07/06 07:39:20 (permalink)
ipkha
I've determined that running the client directly from a terminal is best. And that giving the command --finish does in fact work.



Thanks for that info

Learn your way around the EVGA Forums, Rules & limits on new accounts Ultimate Self-Starter Thread For New Members

I am a Volunteer Moderator - not an EVGA employee

https://foldingathome.org -->become a citizen scientist and contribute your compute power to help fight global health threats

RTX Project EVGA X99 FTWK Nibbler EVGA X99 Classified EVGA 3080Ti FTW3 Ultra


#74
drougnor
CLASSIFIED Member
  • Total Posts : 2715
  • Reward points : 0
  • Joined: 2006/07/18 05:57:59
  • Location: FL USA /Affiliate MCK692UUS /Assoc HPW7E9T81P8KCCH
  • Status: offline
  • Ribbons : 18
Re: F@H On Linux? 2019/07/06 10:15:01 (permalink)
I'll have to give that a try myself.  Thanks!
 
d


#75
ProDigit
iCX Member
  • Total Posts : 465
  • Reward points : 0
  • Joined: 2019/02/20 14:04:37
  • Status: offline
  • Ribbons : 4
Re: F@H On Linux? 2019/07/15 16:54:34 (permalink)
I'm currently running Lubuntu 18.10; though it's only supported until August 2019.
After that, I guess I can continue running it for a while.


18.04 should work until mid-2020. Newer hardware from then on, probably won't be supported.
It'll still receive maintenance updates until feb 2023, and security updates until Feb 2028.
 
Newer Ubuntu/Mint/Debian variants will work fine with FAH Client working.
#76
Chris21010
FTW Member
  • Total Posts : 1587
  • Reward points : 0
  • Joined: 2006/05/03 07:26:39
  • Status: offline
  • Ribbons : 9
Re: F@H On Linux? 2019/07/15 19:34:46 (permalink)
this just means that Stanford will finally be forced to update their FAHControl at some point soon.


#77
bill1024
Omnipotent Enthusiast
  • Total Posts : 11110
  • Reward points : 0
  • Joined: 2008/10/18 01:01:10
  • Status: offline
  • Ribbons : 65
Re: F@H On Linux? 2019/08/19 12:42:02 (permalink)
Just some Linux FYI.  I installed Ubuntu 18.04 to run some Seti in Linux for a challenge, it gets way better PPD.
That went fairly well. Installed OS, installed openCL, python dependency, Nvidia driver and BOINC. (found 418 better PPD)
Got that working well and decided to try to get folding at home working too while I was at it. Oh my WAPITA
I kept getting an error msg. NO GPU...
Found out you have to make sure gpus.txt has to be in /var/lib/fahclient folder. CHMOD+ that folder so you can add it 
Aslo the kicker is if everything is not right, folding will put GPU-false in the config file, have to make that true.
Well no matter how hard I tried it would not stick, so I deleted all those config files except the first one, and started the client in the background. Then started folding control, then I was able to get a GPU slot installed and folding.
Installed psensors to monitor CPU and GPU temps. That little programs has improved nicely over the years.
First time I used Linux since PG got rid of the bigadv tasks.
Nvidia driver I used was 418 right from nvidia driver page, just clicked it it uninstalled the old driver and installed the new.
Glad that's over!

 Life is too short to carry a cheap pocket knife

   
 
#78
STR1D3R_2
FTW Member
  • Total Posts : 1431
  • Reward points : 0
  • Joined: 2017/09/15 16:13:53
  • Location: Hudson Valley NY
  • Status: offline
  • Ribbons : 13
Re: F@H On Linux? 2019/08/19 13:40:10 (permalink)
bill1024
...  I installed Ubuntu 18.04 to run some Seti in Linux for a challenge, it gets way better PPD ....

Better PPD over another Linux distro?  (or we just talkin about Windows). Been running Mint only so far but did try a few variations 10+ years ago. 


Affiliate code E1HEL4HYPS
#79
bill1024
Omnipotent Enthusiast
  • Total Posts : 11110
  • Reward points : 0
  • Joined: 2008/10/18 01:01:10
  • Status: offline
  • Ribbons : 65
Re: F@H On Linux? 2019/08/19 16:48:13 (permalink)
STR1D3R_2
bill1024
...  I installed Ubuntu 18.04 to run some Seti in Linux for a challenge, it gets way better PPD ....

Better PPD over another Linux distro?  (or we just talkin about Windows). Been running Mint only so far but did try a few variations 10+ years ago. 


I meant with Seti, linux over windows was better, then I got even better times with driver 418 over 430,
just a few seconds a task. But a 10 sec improvement on a 50-60 sec task is pretty good.  Win was 360 a task, linux 50-60 sec, or less.
I was not even able to install Mint, I burned the ISO and booted from it, chose to install and it went to a black screen with a blinking cursor and stuck there. Then I tried to just run it from the USB drive and it did the same thing.
This was with two systems. x99 and a z370 both have EVGA 1080Ti GPU both using a WD velociraptor drive.
Ubuntu installed right away with no issues. At least with the install.

 Life is too short to carry a cheap pocket knife

   
 
#80
STR1D3R_2
FTW Member
  • Total Posts : 1431
  • Reward points : 0
  • Joined: 2017/09/15 16:13:53
  • Location: Hudson Valley NY
  • Status: offline
  • Ribbons : 13
Re: F@H On Linux? 2019/08/19 17:07:08 (permalink)
Never had luck doing a mint install with a 1080ti in the slot. I've always had to install with a 1070 or less and change it out afterwards.
Going to fire up the open air up in a few days and run seti again. I need to pay more attention to the announcements on the crunchin side.


Affiliate code E1HEL4HYPS
#81
bill1024
Omnipotent Enthusiast
  • Total Posts : 11110
  • Reward points : 0
  • Joined: 2008/10/18 01:01:10
  • Status: offline
  • Ribbons : 65
Re: F@H On Linux? 2019/08/19 17:25:28 (permalink)
STR1D3R_2
Never had luck doing a mint install with a 1080ti in the slot. I've always had to install with a 1070 or less and change it out afterwards.
Going to fire up the open air up in a few days and run seti again. I need to pay more attention to the announcements on the crunchin side.

Oh, that's interesting, that maybe is the issue I had trying to install Mint.
The Seti WOW even is going on right now.

 Life is too short to carry a cheap pocket knife

   
 
#82
ProDigit
iCX Member
  • Total Posts : 465
  • Reward points : 0
  • Joined: 2019/02/20 14:04:37
  • Status: offline
  • Ribbons : 4
Re: F@H On Linux? 2019/08/20 05:32:47 (permalink)
Improvements are only linux-windows.
Debian, mint, Ubuntu and it's variants, all work the same.
Perhaps there might be a slight difference between rpm based Linux (like redhat, Fedora,...) Vs Deb based Linux, but I don't think it's a lot.

Once you install FAH, you need to install opencl drivers, then reboot the service, then change GPU from false to true, and the client will automatically download the GPU.txt file.
Then restart the service again, and you now should be running all GPUs and cpu.
Delete CPU slot, as it's not beneficial, and run gpu only.
#83
drougnor
CLASSIFIED Member
  • Total Posts : 2715
  • Reward points : 0
  • Joined: 2006/07/18 05:57:59
  • Location: FL USA /Affiliate MCK692UUS /Assoc HPW7E9T81P8KCCH
  • Status: offline
  • Ribbons : 18
Re: F@H On Linux? 2019/10/30 21:28:25 (permalink)
I'm resurrecting this thread to add that as a primary Windows user for pretty much MOST of my computing life (DOS edged it out by a whopping 2 years before Windows 3.11 entered my world), I'm learning more about Linux (Specifically, Mint with the Cinnamon Desktop) with each month. 
 
My goal is to have a system that I can flip/flop from Windows to Linux with little to no interruption on our network.  This is an issue because my two big horsepower boxes are media servers (One primary, one redundant) for the family, and as we know, the Spousal Acceptance Factor often is a MASSIVE factor in what we do with our pcs that we've multi purposed. 
 
The family were getting a bit hairy at me for dropping one of the media servers 'offline' to fold at a better rate. 
 
I'm about 90% to having an uninterrupted experience for the rest of the family now. Just need to get something like Plex or Emby running so if our primary media box is being hinky, they can failover to the backup box.
 
If things work out, I'll have that 100% coverage and they'll never know when I switch back and forth!
 
d


#84
ipkha
CLASSIFIED Member
  • Total Posts : 2308
  • Reward points : 0
  • Joined: 2015/02/10 21:01:40
  • Location: Indiana
  • Status: offline
  • Ribbons : 6
Re: F@H On Linux? 2019/10/31 12:20:11 (permalink)
There's no reason why you can't run plex on linux.
Just copy the library over database and all.


#85
drougnor
CLASSIFIED Member
  • Total Posts : 2715
  • Reward points : 0
  • Joined: 2006/07/18 05:57:59
  • Location: FL USA /Affiliate MCK692UUS /Assoc HPW7E9T81P8KCCH
  • Status: offline
  • Ribbons : 18
Re: F@H On Linux? 2019/10/31 13:38:28 (permalink)
It's just a fiddly install and I was too tired to get digging when I posted this.  I did get Emby server installed, however, pretty straight forward, and got the movies setup and shared.  Next is the TV shows folders and then back to Plex once the library is done scanning and processing. We have a lot of media, and it takes a while.
 
d
 
**Edit** Not as fiddly as I figured, once I found a CLEAN set of instructions.  As with MANY tech things you search for on Google, there are usually 54 different ways to do a thing and 53 of them are wrong in your specific situation.  Now to let the libraries build and process then testing on the TV.
post edited by drougnor - 2019/10/31 19:18:03


#86
ProDigit
iCX Member
  • Total Posts : 465
  • Reward points : 0
  • Joined: 2019/02/20 14:04:37
  • Status: offline
  • Ribbons : 4
Re: F@H On Linux? 2019/11/15 22:20:31 (permalink)
Was going over this thread again, and wondering if anyone actually has benchmarked how much % a GUI takes from folding performance?
Probably less than 1% on an RTX2080, but for those running lower end hardware (eg: GT 1030), how much does running FAHClient on a headless OS improve performance over a GUI?
 
It would have been an interesting topic, if it wasn't for the fact that Nvidia-Xserver (runs only on GUI) is needed for overclocking, and in most cases also fan control.
As Terminal commands for fan control are very wonky, and won't work on most pcs.
 
 
Another thing I want to ask the community, is the installation procedures for multi GPU folding.
On 18.04/18.10 or before, one had to exit the GUI (CTRL + ALT + F1) (or F2); disable the GUI server (LDDM, LightDM, or SDDM, or other), sudo init 3, and install the Nvidia.run files (sudo ./nvidiasomethingdriver.run).
Because the package maintainer version (deb) that comes with Linux, is only good for 1 GPU.
Multi GPU setups result in broken desktop experiences. (mouse going off screen won't come back on, no desktop background, or the background is the picture of the last window you had open)...
 
The newer 19.04 version has given me some issues in this procedure, as that the GUI server never really unloads.
I think I'd probably have to 'sudo apt purge' it, because I've never been able to install the .run files correctly.
 
Third thing I want to ask someone who's proficient in Linux about is:
If you install the same linux versions with the same parameters (name, pc name, etc...), how come the desktop background ends up being the same on both. And uninstalling a program on one, uninstalls it on another?
I haven't been able to figure this out, and wonder if this is some sort of Lubuntu specific sync thing, or if this is general Linux (Ubuntu) related, or if it's just mighty coincidence that both programs disappeared at the same time on both PCs?
post edited by ProDigit - 2019/11/15 22:28:20
#87
ipkha
CLASSIFIED Member
  • Total Posts : 2308
  • Reward points : 0
  • Joined: 2015/02/10 21:01:40
  • Location: Indiana
  • Status: offline
  • Ribbons : 6
Re: F@H On Linux? 2019/11/16 06:22:45 (permalink)
Have you signed into a profile of some sort?
Generally you have init 1, 3 and 5. The rest aren't really material. I don't think you get much negative influence if you just keep the desktop idle or simply ctrl/alt into a terminal screen.
Regarding installation of the manual driver run file. You need to change the attributes to make it executable before running it. Ubuntu and it's derivatives don't have standard rc levels as they have updated to a newer init system (systemd).

I have not had these issues with multiple gpu setup. Xubuntu at least let all 3 1080ti run boinc cuda. I did install the Nvidia Cuda 10.1 repo for this purpose. Debian and by proxy it's derivatives make custom kernel and driver installations difficult. This is to make it harder to mess up your system. I can't begin to describe the hell we went through back in the day when X configuration was a nightmare and a single bad line could require a complete reinstall.


#88
ProDigit
iCX Member
  • Total Posts : 465
  • Reward points : 0
  • Joined: 2019/02/20 14:04:37
  • Status: offline
  • Ribbons : 4
Re: F@H On Linux? 2019/11/16 11:41:13 (permalink)
Been there, done that! Luckily I got the whole installation procedure down to 15-20 min, so not too much time was lost.
The .deb files from the installer did give errors for me, but maybe only because I added a GPU later.
Perhaps they work fine when all GPUs are installed at driver install.
#89
ProDigit
iCX Member
  • Total Posts : 465
  • Reward points : 0
  • Joined: 2019/02/20 14:04:37
  • Status: offline
  • Ribbons : 4
Re: F@H On Linux? 2019/11/18 19:58:24 (permalink)
ipkha
I have not had these issues with multiple gpu setup. Xubuntu at least let all 3 1080ti run boinc cuda. I did install the Nvidia Cuda 10.1 repo for this purpose. 

So, out of curiosity, how did you install the nvidia drivers (with run file, or repository .deb files)?
#90
Page: < 1234 > Showing page 3 of 4
Jump to:
  • Back to Mobile