Steam for Linux

Steam for Linux

Marlock Mar 22, 2020 @ 11:31am
Donate processing power to Folding@home for Coronavirus (COVID-19) research!
Uncle Gaming on Linux wants you!
https://www.gamingonlinux.com/articles/help-gamingonlinux-beat-coronavirus-join-us-on-foldinghome.16264


Folding@home is actually quite an old crowdsourcing effort, already, using a myriad of normal computers to 3d-model the variations in molecule shape over time, to help researchers gain insight into potential binding sites for drugs, etc.

For obvious reasons, they have been awful busy running models of COVID-19 proteins, and are trying to get as much help as possible to run those quickly:
https://foldingathome.org/2020/03/15/coronavirus-what-were-doing-and-how-you-can-help-in-simple-terms/

It's even older inspiration SETI@home is actually winding down this month and asking everyone to contribute to Folding@home instead:
https://www.forbes.com/sites/kionasmith/2020/03/15/setihome-is-over-the-fight-against-covid-19-is-just-beginning/#5ed614b4572d


Setting things up is not complicated but ensuring the software is able to use all available processing resources as best it can may take a little extra effort (eg: ensuring OpenCL and/or Cuda are available). Some hints for linux setup on the GoL article, and here is the official setup page:
https://foldingathome.org/start-folding/

Joining a Team ID is optional and doesn't really affect in any way whatever useful processing will be done, but is a nice way to give some recognition to whoever brought you into the effort. So in case you are willing to also do some attribution, add Gaming on Linux's Team ID 245680.


IMPORTANT: someone is distributing fake emails linking to a fake Folding@home website with malicious software
https://www.proofpoint.com/us/threat-insight/post/new-redline-stealer-distributed-using-coronavirus-themed-email-campaign

Never follow links from emails, instead go directly to Folding@home's official website. There is no mention of any breaches in the real software.

In any case, I always recommend scanning the installer files with online security tools before using it (since it's not on any distro's official repos), just to be sure it hasn't been tampered with... the increased interest does make them a big potential target. Here are the ones I use (yes, even for .deb installers on linux and .apk for android):
https://virusscan.jotti.org/
https://www.virustotal.com/
Last edited by Marlock; Mar 23, 2020 @ 7:47am
< >
Showing 1-15 of 23 comments
Marlock Mar 22, 2020 @ 11:48am 
Oh, just so you folks have a notion of the scale of this project... it has amassed more processing power than the Top 7 Supercomputers of the world combined:
https://www.tomshardware.com/news/folding-at-home-worlds-top-supercomputers-coronavirus-covid-19

And of its results, in this case finding a useful binding site in a previously "undruggable" molecule on Ebola:
https://www.biorxiv.org/content/10.1101/2020.02.09.940510v1.abstract
Last edited by Marlock; Mar 22, 2020 @ 11:48am
Jinkros ✓ Mar 22, 2020 @ 11:54am 
Will share this, thanks
meheezen Mar 22, 2020 @ 12:06pm 
okey, i set it up on my old laptop.

it keeps giving me a warning about "no WUs available for this configuration".
lets wait a day or two

thx for sharing
x_wing Mar 22, 2020 @ 12:14pm 
Originally posted by meheezen:
okey, i set it up on my old laptop.

it keeps giving me a warning about "no WUs available for this configuration".
lets wait a day or two

thx for sharing


Think twice before using old hardware. Your contribution may be pointless and you would be wasting energy. IMO, unless you have a high end GPU it's more efficient to directly donate to the project the extra money you would have to pay in your power bill when contributing with your old hardware.
Last edited by x_wing; Mar 22, 2020 @ 12:14pm
Marlock Mar 22, 2020 @ 12:32pm 
Originally posted by meheezen:
okey, i set it up on my old laptop.

it keeps giving me a warning about "no WUs available for this configuration".
lets wait a day or two

thx for sharing

Originally posted by x_wing:
Think twice before using old hardware. Your contribution may be pointless and you would be wasting energy. IMO, unless you have a high end GPU it's more efficient to directly donate to the project the extra money you would have to pay in your power bill when contributing with your old hardware.


They had about 30k contributors one week and jumped to 400k contributors the next week due to COVID, so they're warning folks that for now some holdups may happen.

True, power efficiency should be accounted for to some extent, but we're currently on a "getting results out as fast as possible even if not at peak efficiency" mode... some coments on the GoL post mention the energy caveat as well. This is still a million times better than burning Watts on bitcoin mining ;)

And yes, they do accept donations! And they do need them to help scale up server-side to reduce the current bottlenecks in distributing new workloads to contributing users.


Also worth noting this will run as lowest priority task and can be paused whenever the user wants, so shouldn't be any issue installing on the beefy main gaming PC where it has a higher chance to run faster and at the same time more efficiently, even if you intend to use it frequently these days.
Last edited by Marlock; Mar 22, 2020 @ 12:33pm
meheezen Mar 22, 2020 @ 12:34pm 
Originally posted by x_wing:
Think twice before using old hardware. Your contribution may be pointless and you would be wasting energy. IMO, unless you have a high end GPU it's more efficient to directly donate to the project the extra money you would have to pay in your power bill when contributing with your old hardware.
ya, im aware of that. but i have this laptop turned on 24/7 running some services i use on my home network, so i thought i'd give it a try.

in 1-2 days if i notice it is indeed pointless, then i'll just stop the service. no big beal
x_wing Mar 22, 2020 @ 1:52pm 
Originally posted by Marlock:
True, power efficiency should be accounted for to some extent, but we're currently on a "getting results out as fast as possible even if not at peak efficiency" mode... some coments on the GoL post mention the energy caveat as well. This is still a million times better than burning Watts on bitcoin mining ;)

I know, sometimes efficiency has to wait. Still, it would be nice to have a calculator that tells the users if using certain hardware plus a kw price is better than a direct donation or not (as anyone can actually rent hardware in many cloud service it's quite easily to get a ratio to use as base)
Last edited by x_wing; Mar 22, 2020 @ 1:52pm
Marlock Mar 22, 2020 @ 3:26pm 
Oh, one more thing...

If anyone has an AMD GPU like me and wishes to utilize its power for computing instead of just the CPU, OpenCL libs need to be installed.

I'm currently trying to install AMD's OpenCL libs without replacing the opensource AMDGPU driver with the AMDGPU-PRO closed source driver, by following this instruction:
https://einsteinathome.org/pt-br/content/quick-guide-how-install-opencl-amd-gpus-linux-kubuntu-1804-and-similar-distro?page=1

Phoronix has tried to benchmark Folding@home recently and it didn't run on the opensource ROCm OpenCL implementation, hence the need for this.
i_nive Mar 22, 2020 @ 3:37pm 
While it's still cold out there donating CPU/GPU power should cost nothing to your electricity bill.
Marlock Mar 22, 2020 @ 4:08pm 
well, come to think of it, there is an inherent improvement to power usage if you heat your home by burning watts on a CPU/GPU instead of a "dumb" electrical resistance...

...but in my case room temperature is ranging from 25ºC to 35ºC most of the year so here this is not useful unless someone invents an egg-boiler CPU dissipator design :steammocking:
Last edited by Marlock; Mar 22, 2020 @ 4:08pm
Quibus Maximus Mar 23, 2020 @ 2:06am 
Folding@home is being misused by Red Line Stealer, so beware before you install anything.

https://www.proofpoint.com/us/threat-insight/post/new-redline-stealer-distributed-using-coronavirus-themed-email-campaign
Marlock Mar 23, 2020 @ 7:33am 
Originally posted by Quibus Maximus:
Folding@home is being misused by Red Line Stealer, so beware before you install anything.

https://www.proofpoint.com/us/threat-insight/post/new-redline-stealer-distributed-using-coronavirus-themed-email-campaign

Good warning!

I read the linked article and it's a common case of emails pretending to be from someone else and offering a link to a fake website offering a malicious software... no flaw in the real software from the real website.

So heading to Folding@home's official website directly (not clicking on link from random email) and installing from there is perfectly safe despite this shenanigans.

edit: added an alert to the OP
Last edited by Marlock; Mar 23, 2020 @ 7:49am
NRG-R9T Mar 23, 2020 @ 9:53am 
Originally posted by Marlock:
Oh, one more thing...

If anyone has an AMD GPU like me and wishes to utilize its power for computing instead of just the CPU, OpenCL libs need to be installed.

I'm currently trying to install AMD's OpenCL libs without replacing the opensource AMDGPU driver with the AMDGPU-PRO closed source driver, by following this instruction:
https://einsteinathome.org/pt-br/content/quick-guide-how-install-opencl-amd-gpus-linux-kubuntu-1804-and-similar-distro?page=1

Phoronix has tried to benchmark Folding@home recently and it didn't run on the opensource ROCm OpenCL implementation, hence the need for this.
I still try to get my head around the AMD OpenCL problem with Kubuntu 19.10, because it is not officially supported by the proprietary AMD Driver: AMDGPU-Pro. Isn't there an Open Source OpenCL driver for AMD that works with Fording@home? I mean, MESA supports it.

They just write to install it in headless mode right? like this:
./amdgpu-pro-install --opencl=legacy,pal --headless

doesn't work for me. I mean, CPU would work, but my GPU would be much more efficient.
Gist GPU device Information: https://gist.github.com/NRG-R9T/adb2de58c0bafaeb4c8e5113cbd66c5f

EDIT: found out that I missed the Config to tell the GPU to work, but still doesn't start a job. might need some time.

17:37:17:WU00:FS01:Download complete
17:37:17:WU00:FS01:Received Unit: id:00 state:DOWNLOAD error:NO_ERROR project:11746 run:0 clone:5537 gen:7 core:0x22 unit:0x0000000c8ca304f15e6bc362cc95559c
17:37:17:WU00:FS01:Downloading core from http://cores.foldingathome.org/v7/lin/64bit/Core_22.fah
17:37:17:WU00:FS01:Connecting to cores.foldingathome.org:80
17:37:18:WU00:FS01:FahCore 22: Downloading 3.58MiB
17:37:19:WU00:FS01:FahCore 22: Download complete
17:37:19:WU00:FS01:Valid core signature
17:37:19:WU00:FS01:Unpacked 9.30MiB to cores/cores.foldingathome.org/v7/lin/64bit/Core_22.fah/FahCore_22
17:37:19:WU00:FS01:Starting
17:37:19:ERROR:WU00:FS01:Failed to start core: OpenCL device matching slot 1 not found, try setting 'opencl-index' manually
17:37:19:WU00:FS01:Starting
17:37:19:ERROR:WU00:FS01:Failed to start core: OpenCL device matching slot 1 not found, try setting 'opencl-index' manually
Last edited by NRG-R9T; Mar 23, 2020 @ 10:38am
x_wing Mar 23, 2020 @ 2:17pm 
Originally posted by NRG-R9T:
Originally posted by Marlock:
Oh, one more thing...

If anyone has an AMD GPU like me and wishes to utilize its power for computing instead of just the CPU, OpenCL libs need to be installed.

I'm currently trying to install AMD's OpenCL libs without replacing the opensource AMDGPU driver with the AMDGPU-PRO closed source driver, by following this instruction:
https://einsteinathome.org/pt-br/content/quick-guide-how-install-opencl-amd-gpus-linux-kubuntu-1804-and-similar-distro?page=1

Phoronix has tried to benchmark Folding@home recently and it didn't run on the opensource ROCm OpenCL implementation, hence the need for this.
I still try to get my head around the AMD OpenCL problem with Kubuntu 19.10, because it is not officially supported by the proprietary AMD Driver: AMDGPU-Pro. Isn't there an Open Source OpenCL driver for AMD that works with Fording@home? I mean, MESA supports it.

They just write to install it in headless mode right? like this:
./amdgpu-pro-install --opencl=legacy,pal --headless

doesn't work for me. I mean, CPU would work, but my GPU would be much more efficient.
Gist GPU device Information: https://gist.github.com/NRG-R9T/adb2de58c0bafaeb4c8e5113cbd66c5f

EDIT: found out that I missed the Config to tell the GPU to work, but still doesn't start a job. might need some time.

17:37:17:WU00:FS01:Download complete
17:37:17:WU00:FS01:Received Unit: id:00 state:DOWNLOAD error:NO_ERROR project:11746 run:0 clone:5537 gen:7 core:0x22 unit:0x0000000c8ca304f15e6bc362cc95559c
17:37:17:WU00:FS01:Downloading core from http://cores.foldingathome.org/v7/lin/64bit/Core_22.fah
17:37:17:WU00:FS01:Connecting to cores.foldingathome.org:80
17:37:18:WU00:FS01:FahCore 22: Downloading 3.58MiB
17:37:19:WU00:FS01:FahCore 22: Download complete
17:37:19:WU00:FS01:Valid core signature
17:37:19:WU00:FS01:Unpacked 9.30MiB to cores/cores.foldingathome.org/v7/lin/64bit/Core_22.fah/FahCore_22
17:37:19:WU00:FS01:Starting
17:37:19:ERROR:WU00:FS01:Failed to start core: OpenCL device matching slot 1 not found, try setting 'opencl-index' manually
17:37:19:WU00:FS01:Starting
17:37:19:ERROR:WU00:FS01:Failed to start core: OpenCL device matching slot 1 not found, try setting 'opencl-index' manually

Try running "clinfo" and check that you get an output. You should see information regarding the OpenCL version that your GPU supports.
Marlock Mar 23, 2020 @ 7:26pm 
Originally posted by NRG-R9T:
I still try to get my head around the AMD OpenCL problem with Kubuntu 19.10, because it is not officially supported by the proprietary AMD Driver: AMDGPU-Pro. Isn't there an Open Source OpenCL driver for AMD that works with Fording@home? I mean, MESA supports it.

They just write to install it in headless mode right? like this:
./amdgpu-pro-install --opencl=legacy,pal --headless

doesn't work for me. I mean, CPU would work, but my GPU would be much more efficient.
Gist GPU device Information: https://gist.github.com/NRG-R9T/adb2de58c0bafaeb4c8e5113cbd66c5f

EDIT: found out that I missed the Config to tell the GPU to work, but still doesn't start a job. might need some time.

Yes, that's exactly what happened to me as well, thanks for bringing that up!

1. download, install and run FAHClient

2. get happy at some CPU work done

3. download and install amdgpu-pro, using these options for install:
./amdgpu-pro-install --opencl=legacy,pal --headless

2. reboot

3. scratch my head at the gpu still not being detected, and no web interface option to fix this

4. try to install and run FAHConfig, but it doesn't talk to FAHClient correctly for whatever readon

5. figure where config.xml is and what editing is necessary... which is just one extra line for the GPU, similar to the first one with the CPU

6. discover why nothing makes a difference... it's because there can exist two config.xml (one on my home folder, generated on acident when I manually ran the client) and another on a folder for all users (used by the client when it runs as a service when the OS boots)


my guess for gpu not being auto-listed is that the config.xml got generated before I added the OpenCL parts (because I ran it before that) and isn't REgenerated automatically, so would only list the gpu on its own if OpenCL was already there at first run, or if I deleted config.xml first
< >
Showing 1-15 of 23 comments
Per page: 1530 50

Date Posted: Mar 22, 2020 @ 11:31am
Posts: 23