EVGA

Hot!Folding on Linux Multi-GPU?

Page: 12 > Showing page 1 of 2
Author
GP300
Superclocked Member
  • Total Posts : 111
  • Reward points : 0
  • Joined: 2013/01/09 18:12:44
  • Status: offline
  • Ribbons : 0
2020/04/24 06:33:22 (permalink)
So, since I'm revitalizing an old board (ASUS M4A79T DELUXE) to use as a folding rig I'm thinking I may set it up with Linux if it makes sense so I have a few questions. 
1. Does Linux still get slightly better PPD than Win10?
2. What's the best way to setup on Linux?  What distro?  Where can I get it? I'll be using an old 70GB SSD
3. How much RAM is recommended if I plan on running 2 x 2060KOs?  Think 8GB will be enough?  It's DDR3
4. Will I be able to monitor FaH over network with the built-in FaH Client Monitor?
I'll probably have more questions...lol
Appreciate any help and feedback!
 



 
#1

34 Replies Related Threads

    favrepeoria
    New Member
    • Total Posts : 69
    • Reward points : 0
    • Joined: 2020/03/21 17:46:13
    • Status: offline
    • Ribbons : 0
    Re: Folding on Linux Multi-GPU? 2020/04/24 06:48:14 (permalink)
    I just setup a machine with Linux Mint and it went pretty smoothly. Linux mint website will send you to appropriate mirrors. I had the iso written to a flash drive and that worked fine. I have been getting about 3.8 million ppd (if only I could stay fully loaded all the time)with a 2080 ti. Not sure what everyone gets with windows. 8gb of Ram should be enough. It won’t be highly utilized anyway. I have seen guides saying to just get a single stick of 4gb before so it really has low impact. I haven’t monitored using built in FAH client monitors. Might need to look into that. Works out that I can just walk over to the machines right now lol
    #2
    ipkha
    CLASSIFIED Member
    • Total Posts : 2240
    • Reward points : 0
    • Joined: 2015/02/10 21:01:40
    • Location: Indiana
    • Status: offline
    • Ribbons : 6
    Re: Folding on Linux Multi-GPU? 2020/04/24 07:57:42 (permalink)
    I run Xubuntu 20.04 with the latest beta client and forked fahcontrol. It works quite well and generally gets more points than Windows.


    #3
    STR1D3R_2
    SSC Member
    • Total Posts : 982
    • Reward points : 0
    • Joined: 2017/09/15 16:13:53
    • Location: Hudson Valley NY
    • Status: offline
    • Ribbons : 5
    Re: Folding on Linux Multi-GPU? 2020/04/24 09:07:09 (permalink)
    Been using Mint on most rigs and will soon delve into Xubuntu to try a different flavor. Just did another setup with mint  over the weekend with an older version of mint I had on a flash drive. Once installed I upgraded. I still use all the commands (copy/paste) in this tutorial from Chris21010
    https://forums.evga.com/G...ding-Rig-m2682398.aspx
    Do everything in order and things should go smoothly. When it comes time to download driver from NVIDIA I sometimes have issues with the newest and have to either try an older version or enter a terminal command to fetch the opencl package.
     sudo apt install ocl-icd-opencl-dev
     
    edit, firewall is turned off by default so make certain to turn it on
    post edited by STR1D3R_2 - 2020/04/24 09:09:12


    It's a start
    #4
    ipkha
    CLASSIFIED Member
    • Total Posts : 2240
    • Reward points : 0
    • Joined: 2015/02/10 21:01:40
    • Location: Indiana
    • Status: offline
    • Ribbons : 6
    Re: Folding on Linux Multi-GPU? 2020/04/24 09:49:20 (permalink)
    That guide is slightly outdated. Install the nvidia driver package directly from the distros repository. Using the proprietary driver section of the package manager. This should pull down the complete driver package and the nvidia-xxx-compute as well.


    #5
    favrepeoria
    New Member
    • Total Posts : 69
    • Reward points : 0
    • Joined: 2020/03/21 17:46:13
    • Status: offline
    • Ribbons : 0
    Re: Folding on Linux Multi-GPU? 2020/04/24 10:48:05 (permalink)
    Turning firewall on for mint is “Sudo ufw enable” btw
    #6
    STR1D3R_2
    SSC Member
    • Total Posts : 982
    • Reward points : 0
    • Joined: 2017/09/15 16:13:53
    • Location: Hudson Valley NY
    • Status: offline
    • Ribbons : 5
    Re: Folding on Linux Multi-GPU? 2020/04/24 13:52:49 (permalink)
    favrepeoria
    Turning firewall on for mint is “Sudo ufw enable” btw

    Or Menu > preferences > Firewall configuration
     


    It's a start
    #7
    favrepeoria
    New Member
    • Total Posts : 69
    • Reward points : 0
    • Joined: 2020/03/21 17:46:13
    • Status: offline
    • Ribbons : 0
    Re: Folding on Linux Multi-GPU? 2020/04/24 14:21:24 (permalink)
    STR1D3R_2
    favrepeoria
    Turning firewall on for mint is “Sudo ufw enable” btw

    Or Menu > preferences > Firewall configuration
     


    I like the feeling of typing a code in tho. Much more satisfying then mashing some buttons with a mouse.
    #8
    STR1D3R_2
    SSC Member
    • Total Posts : 982
    • Reward points : 0
    • Joined: 2017/09/15 16:13:53
    • Location: Hudson Valley NY
    • Status: offline
    • Ribbons : 5
    Re: Folding on Linux Multi-GPU? 2020/04/24 14:29:29 (permalink)
    favrepeoria
    STR1D3R_2
    favrepeoria
    Turning firewall on for mint is “Sudo ufw enable” btw

    Or Menu > preferences > Firewall configuration
     


    I like the feeling of typing a code in tho. Much more satisfying then mashing some buttons with a mouse.

    So true, but the simplest typo can sometimes cause situations ,,,,

     


    It's a start
    #9
    GP300
    Superclocked Member
    • Total Posts : 111
    • Reward points : 0
    • Joined: 2013/01/09 18:12:44
    • Status: offline
    • Ribbons : 0
    Re: Folding on Linux Multi-GPU? 2020/04/24 15:35:00 (permalink)
    Thanks for info!  I can use the newest version of mint (19.3) correct? 



     
    #10
    STR1D3R_2
    SSC Member
    • Total Posts : 982
    • Reward points : 0
    • Joined: 2017/09/15 16:13:53
    • Location: Hudson Valley NY
    • Status: offline
    • Ribbons : 5
    Re: Folding on Linux Multi-GPU? 2020/04/24 15:57:28 (permalink)
    No you can NOT! It is in use right now, I will let you know as soon as I have upgraded L   O   L
    Have at it


    It's a start
    #11
    GP300
    Superclocked Member
    • Total Posts : 111
    • Reward points : 0
    • Joined: 2013/01/09 18:12:44
    • Status: offline
    • Ribbons : 0
    Re: Folding on Linux Multi-GPU? 2020/04/25 04:40:14 (permalink)
    STR1D3R_2
    No you can NOT! It is in use right now, I will let you know as soon as I have upgraded L   O   L
    Have at it


    You almost had me!
     
    Going to start playing with Mint today, just waiting on 2060KO Ultra to arrive but have an old GTX660 I can throw in to get it running



     
    #12
    GP300
    Superclocked Member
    • Total Posts : 111
    • Reward points : 0
    • Joined: 2013/01/09 18:12:44
    • Status: offline
    • Ribbons : 0
    Re: Folding on Linux Multi-GPU? 2020/04/25 15:37:32 (permalink)
    Well, it was an interesting day of trying to get Mint on the computer but I finally have it installed and FaH ready to go for the 2060KO when it arrives Monday!  Thanks for the help all!



     
    #13
    STR1D3R_2
    SSC Member
    • Total Posts : 982
    • Reward points : 0
    • Joined: 2017/09/15 16:13:53
    • Location: Hudson Valley NY
    • Status: offline
    • Ribbons : 5
    Re: Folding on Linux Multi-GPU? 2020/04/25 15:49:47 (permalink)
    Waiting on mine as well.


    It's a start
    #14
    ipkha
    CLASSIFIED Member
    • Total Posts : 2240
    • Reward points : 0
    • Joined: 2015/02/10 21:01:40
    • Location: Indiana
    • Status: offline
    • Ribbons : 6
    Re: Folding on Linux Multi-GPU? 2020/04/25 21:05:07 (permalink)
    I'll be back to multiple gpu folding on linux as soon as RMA comes. In for repair now.


    #15
    GP300
    Superclocked Member
    • Total Posts : 111
    • Reward points : 0
    • Joined: 2013/01/09 18:12:44
    • Status: offline
    • Ribbons : 0
    Re: Folding on Linux Multi-GPU? 2020/04/27 14:44:30 (permalink)
    Getting the following error when trying to fold on the 2060KO?  Any ideas?
     
    21:35:26:WU00:FS00:Starting
    21:35:26:WU00:FS00:Running FahCore: /usr/bin/FAHCoreWrapper /var/lib/fahclient/cores/cores.foldingathome.org/v7/lin/64bit/Core_22.fah/FahCore_22 -dir 00 -suffix 01 -version 706 -lifeline 1507 -checkpoint 15 -gpu-vendor nvidia -opencl-device 0 -cuda-device 0 -gpu 0
    21:35:26:WU00:FS00:Started FahCore on PID 2757
    21:35:26:WU00:FS00:Core PID:2761
    21:35:26:WU00:FS00:FahCore 0x22 started
    21:35:26:WARNING:WU00:FS00:FahCore returned: WU_STALLED (127 = 0x7f)
    21:36:09:FS00:Paused
    21:36:58:Removing old file 'configs/config-20200427-210441.xml'
    21:36:58:Saving configuration to /etc/fahclient/config.xml
    21:36:58:<config>
    21:36:58:  <!-- HTTP Server -->



     
    #16
    GP300
    Superclocked Member
    • Total Posts : 111
    • Reward points : 0
    • Joined: 2013/01/09 18:12:44
    • Status: offline
    • Ribbons : 0
    Re: Folding on Linux Multi-GPU? 2020/04/27 15:25:19 (permalink)
    Now I'm getting this....
     
    22:21:13:Read GPUs.txt
    22:21:13:Enabled folding slot 00: READY gpu:0:TU106-200A [GeForce RTX 2060]
    22:21:13:WU00:FS00:Starting
    22:21:13:ERROR:WU00:FS00:Failed to start core: OpenCL device matching slot 0 not found, make sure the OpenCL driver is installed or try setting 'opencl-index' manually
    22:21:13:WU00:FS00:Starting
    22:21:13:ERROR:WU00:FS00:Failed to start core: OpenCL device matching slot 0 not found, make sure the OpenCL driver is installed or try setting 'opencl-index' manually
    22:22:13:WU00:FS00:Starting
    22:22:13:ERROR:WU00:FS00:Failed to start core: OpenCL device matching slot 0 not found, make sure the OpenCL driver is installed or try setting 'opencl-index' manually
    22:23:50:WU00:FS00:Starting
    22:23:50:ERROR:WU00:FS00:Failed to start core: OpenCL device matching slot 0 not found, make sure the OpenCL driver is installed or try setting 'opencl-index' manually





     
    #17
    ipkha
    CLASSIFIED Member
    • Total Posts : 2240
    • Reward points : 0
    • Joined: 2015/02/10 21:01:40
    • Location: Indiana
    • Status: offline
    • Ribbons : 6
    Re: Folding on Linux Multi-GPU? 2020/04/27 16:10:03 (permalink)
    Sounds at first glance like a driver reinstall is needed. After that try redoing the slots.


    #18
    favrepeoria
    New Member
    • Total Posts : 69
    • Reward points : 0
    • Joined: 2020/03/21 17:46:13
    • Status: offline
    • Ribbons : 0
    Re: Folding on Linux Multi-GPU? 2020/04/27 18:03:59 (permalink)
    I had to manually add opencl on mint. It should just come with the driver but mine did this too. Let me look up what I did to manually invoke openCL. In terminal type

    sudo apt-get install ocl-icd-libopencl1

    Please note I had to restart after to get it working right
    post edited by favrepeoria - 2020/04/27 18:05:31
    #19
    GP300
    Superclocked Member
    • Total Posts : 111
    • Reward points : 0
    • Joined: 2013/01/09 18:12:44
    • Status: offline
    • Ribbons : 0
    Re: Folding on Linux Multi-GPU? 2020/04/27 19:16:41 (permalink)
    Got frustrated and just installed Win10, I'll play with it again tomorrow.  Thanks for the info on the openCL!



     
    #20
    ipkha
    CLASSIFIED Member
    • Total Posts : 2240
    • Reward points : 0
    • Joined: 2015/02/10 21:01:40
    • Location: Indiana
    • Status: offline
    • Ribbons : 6
    Re: Folding on Linux Multi-GPU? 2020/04/27 21:05:41 (permalink)
    With Ubuntu derivatives, Mint included. The best course is to install the official Nvidia-xxx meta package. The best way to do this is via the Synaptic package manager. Search Nvidia and select the most recent meta package. Fah uses python so I also search python and OpenCL and install those packages as well.


    #21
    ProDigit
    iCX Member
    • Total Posts : 458
    • Reward points : 0
    • Joined: 2019/02/20 14:04:37
    • Status: offline
    • Ribbons : 4
    Re: Folding on Linux Multi-GPU? 2020/04/29 16:10:23 (permalink)
    On average, Windows is slightly slower than Linux.
    Especially for multi GPU setups, limited by pcie lanes.
    Linux also allows more than 64 CPU cores. Any more on windows, and you'll need the server version (for highest end threadripper and Epyc CPU.
     
    If you want the absolute best, to with a headless version of either Debian, Ubuntu, or redhat/centos.
    Not sure if centos/redhat works more efficient than Debian, but Ubuntu is a derivative of Debian.
    So is xubuntu, lubuntu, and mint a derivative of Ubuntu. Which means the underlying architecture of Debian, Ubuntu, lubuntu, mint, xubuntu, and edubuntu is all identical.
     
    If you do go with a gui, you could choose between a Mac style gui (Ubuntu using gnome), or a windows Vista style gui (Mint), or a lower eye candy, lower foot print gui like lubuntu (win 98 style gui), or xubuntu (win XP with start bar on the top).
    Out of all of them, each works just as fast as the other, but Ubuntu and mint use slightly more ram memory in their gui (a few tens to a hundred megabytes), and lubuntu is using the least. Yet the underlying architecture (the core that handles program performance) is identical to one another.
    Debian uses also a bit more RAM for their GUI. Though basic, Debians gui loads entirely from ram, so if you overload the OS with programs, you'll see a significant increase in used idle ram memory, which might affect folding if you're on a limited ram system (4GB or less) and high core count (16 threads or more).
     
     
    All other procedures between Debian, Ubuntu, mint, lubuntu,... Is all the same.
    Most other questions you asked in the main thread is 'yes'.
    You can use the terminal and start an ssh session to access each remote PC.
    post edited by ProDigit - 2020/04/29 16:12:00
    #22
    ipkha
    CLASSIFIED Member
    • Total Posts : 2240
    • Reward points : 0
    • Joined: 2015/02/10 21:01:40
    • Location: Indiana
    • Status: offline
    • Ribbons : 6
    Re: Folding on Linux Multi-GPU? 2020/04/29 16:54:41 (permalink)
    The easiest distribution for Linux is a direct Ubuntu derivative (X/K/L/Ubuntu). Debian is a royal PITA to configure for proprietary drivers as is anything out of Redhat (Fedora and CentOS).


    #23
    STR1D3R_2
    SSC Member
    • Total Posts : 982
    • Reward points : 0
    • Joined: 2017/09/15 16:13:53
    • Location: Hudson Valley NY
    • Status: offline
    • Ribbons : 5
    Re: Folding on Linux Multi-GPU? 2020/04/29 17:04:22 (permalink)
    I remember the first time I had a go around with Linux about 10+ years ago was on Knoppix which had a really neat 3D feel to it. I tried it for awhile but just didnt get to far with it. It is a very light OS that seemed to pack a punch back then. Anyone ever try folding on it? I found a lil tutorial from way back here.  http://linuxminded.xs4all...-windows-network-share
    Just out of curiosity I may give it a try again. Not so much for folding but other things. If folding can be run with it that would be a plus.


    It's a start
    #24
    ProDigit
    iCX Member
    • Total Posts : 458
    • Reward points : 0
    • Joined: 2019/02/20 14:04:37
    • Status: offline
    • Ribbons : 4
    Re: Folding on Linux Multi-GPU? 2020/04/29 17:06:08 (permalink)
    Aside from the fact that I'm not fond of gnome desktop (Mac looking), lubuntu and xubuntu are identical in support and ease on working out of the box.
    In the early stages of mint, I did have some issues on my netbook, with wifi drivers not found, display brightness not increasing correctly (also on xubuntu/lubuntu; surprisingly Ubuntu was the only one that worked fine), and multi GPU setups, where mint needed extra grub edits to display text via the igp when a dgpu was present.
    Xubuntu works pretty well, but I prefer lubuntu. Lubuntu desktop has some minor issues, mostly resolved around 19.10 or higher.
     
    The main issue with Ubuntu/Debian derivatives after 18.04 and 18.10, is that they don't allow nvidia-xserver (the overclocking tool for Linux) to work properly on multi GPU systems.
    Still today I run 18.10 and 18.04, simply because I can install multi GPUs and enable overclocking on all of them.
    #25
    GP300
    Superclocked Member
    • Total Posts : 111
    • Reward points : 0
    • Joined: 2013/01/09 18:12:44
    • Status: offline
    • Ribbons : 0
    Re: Folding on Linux Multi-GPU? 2020/05/02 13:18:06 (permalink)
    Finally got the 2060KO folding on Linux Mint 19.3!
    Thanks for all the help!
     
    Also installed a piece of software called GreenwithEnvy to overclock and monitor the 2060KO
    post edited by GP300 - 2020/05/02 13:19:55



     
    #26
    BadBertie
    SSC Member
    • Total Posts : 820
    • Reward points : 0
    • Joined: 2012/08/10 17:09:48
    • Location: France
    • Status: offline
    • Ribbons : 1
    Re: Folding on Linux Multi-GPU? 2020/08/01 09:40:45 (permalink)
    GP300
    Finally got the 2060KO folding on Linux Mint 19.3!
    Thanks for all the help!
     
    Also installed a piece of software called GreenwithEnvy to overclock and monitor the 2060KO



    SO what was the magic?
    I'm stuck with 3 gpus that won't download wus but the cpu will.
    have installed opencl etc. but left scratching my head now

    obsidian black - Asus X99 RAV Ed 10, i7-6950X, 3 x Titan X pascal, 3x8gb Ripjaws V ...
    mini-D - Asus Z390, i9-9900k, 2 x 2080ti
    Double Trouble - Enthoo Luxe 2, EVGA X299 Dark, Corsair AX1600i x2, 4x16gb Dominator Platinum 3200, 2080ti Black edition

     


    #27
    ipkha
    CLASSIFIED Member
    • Total Posts : 2240
    • Reward points : 0
    • Joined: 2015/02/10 21:01:40
    • Location: Indiana
    • Status: offline
    • Ribbons : 6
    Re: Folding on Linux Multi-GPU? 2020/08/01 10:30:20 (permalink)
    What are the details of your setup BadBertie?
    OS, MB, CPU, and GPUs.

    My usual trick is to run Xubuntu (lightweight desktop) with the Nvidia driver packages provided by Xubuntu. Making sure the associated compute package and python OpenCL bindings are installed as well. 1 reboot and install folding software and configure.


    #28
    BadBertie
    SSC Member
    • Total Posts : 820
    • Reward points : 0
    • Joined: 2012/08/10 17:09:48
    • Location: France
    • Status: offline
    • Ribbons : 1
    Re: Folding on Linux Multi-GPU? 2020/08/01 15:33:21 (permalink)
    ipkha
    What are the details of your setup BadBertie?
    OS, MB, CPU, and GPUs.

    My usual trick is to run Xubuntu (lightweight desktop) with the Nvidia driver packages provided by Xubuntu. Making sure the associated compute package and python OpenCL bindings are installed as well. 1 reboot and install folding software and configure.

    Hi ipkha
    Ubuntu desktop 18.04lte
    hardware as for the Obsidian Black build in my sig
    I got Ubuntu to detect gpu and recommend driver  ... ubuntu-drivers devices, and did the autoinstall for nvidia-440 (I believe)
    Got OpenCL installed
    I've been running FAHClient and FAHControl no problems.
    the cpu has been folding, no problems
    F@H detects the 3 gpus, assigns them slots (after the cpu), goes looking for wus but never picks up any work. Doesn't even start downloading, just fails to find appropriate wus. switches to the right servers, as far as I can tell.
    I've tried client-type=advanced, verbosity=5 flags.
    The only thing I haven't tried is re-assigning the slots to 0, 1 & 2  but from past experience that should only cause a wu already downloaded to fail, not block wus from dowloading. mind you, that's all W10 knowledge. Could Ubuntu be that fussy?
    I grab a screen shot or text, tomorrow, but the failed attempts to fetch work show up in red-ish text in the terminal window.
    I tried re-booting, re-installing F@H and re-booting ...
    I can only think Ubuntu doesn't like the Titan Xps or the drivers aren't good to fold with.
    got any thoughts
     
     
     

    obsidian black - Asus X99 RAV Ed 10, i7-6950X, 3 x Titan X pascal, 3x8gb Ripjaws V ...
    mini-D - Asus Z390, i9-9900k, 2 x 2080ti
    Double Trouble - Enthoo Luxe 2, EVGA X299 Dark, Corsair AX1600i x2, 4x16gb Dominator Platinum 3200, 2080ti Black edition

     


    #29
    STR1D3R_2
    SSC Member
    • Total Posts : 982
    • Reward points : 0
    • Joined: 2017/09/15 16:13:53
    • Location: Hudson Valley NY
    • Status: offline
    • Ribbons : 5
    Re: Folding on Linux Multi-GPU? 2020/08/03 17:55:39 (permalink)
    I'm going to assume that you removed the gpu false flag seeing as how you're no novice (we all forget things from time to time). (Leaving this 4 newbies).
    More along the lines of your issue, taken from the F@h forums,
     
    "Joe_H wrote:Your client has run into a bug in how it handles updates in the GPUs.txt file that it downloads about once a month to get the changes. In this specific case, some Intel iGPUs have been enabled for the researchers to test and check out possibly supporting them in the future. The Intel GPU has taken over the GPU folding and there are no public WUs.

    This can be fixed up.
    First pause folding. Then using FAHControl's Configure select the Slots tab. Click on the GPU slot and then Edit. Add the Extra Slot Option 'pause-on-start-true' and set it to 'true'. OK and Save these changes.
    Next to add back in your RTX 2080, go back into Configure.and click Add under the Slots tab. On the window for adding and modifying slots click the radio button in the GPU area at the left side. It defaults to CPU, and in some themes is not too visible. OK and Save this. You should now have a working GPU folding slot."
    For now do not remove the GPU slot for the unable Intel GPU. The client will just add it back and mess things up again. You can pause folding using the pause all slots, but when resuming you will want to select just the slot for the 2080. To do this Right-click on the GPU slot for the 2080 in FAHControl, a small menu will pop up."
    &

    Hopefully this may help you out bertie.
     
    post edited by STR1D3R_2 - 2020/08/03 17:57:05


    It's a start
    #30
    Page: 12 > Showing page 1 of 2
    Jump to:
  • Back to Mobile