Package Details: foldingathome 7.6.21-1

Git Clone URL: (read-only, click to copy)
Package Base: foldingathome
Description: A distributed computing project for simulating protein dynamics
Upstream URL:
Keywords: folding foldingathome
Licenses: custom
Submitter: dtw
Maintainer: rustymech
Last Packager: rustymech
Votes: 164
Popularity: 1.16
First Submitted: 2007-06-28 14:55
Last Updated: 2021-01-09 21:16

Pinned Comments

alucryd commented on 2020-04-21 14:23

To be clear, nvidia users need to enable both foldingathome.service and foldingathome-nvidia.service.

Latest Comments

« First ‹ Previous ... 2 3 4 5 6 7 8 9 10 11 12 ... Next › Last »

alucryd commented on 2020-04-18 05:04

@Takei: On a server? I'll probably go with it, but will change to

Takei commented on 2020-04-18 04:59

@BS86 @alucryd Can confirm works with the settings from BS86.

alucryd commented on 2020-04-18 04:06

@lesto: Please have a read, look for DynamicUser:

@andrej: You can't trust most people to know how to do that, this must come with the package. I added those lines with both ! and -. That way nvidia will work out of the box and non nvidia systems will not be impacted. If this fails on an nvidia system you probably have bigger problems to deal with anyway. Also, nvidia-modprobe is setuid, so anyone can invoke this binary as root, but it seems systemd still applies some restrictions to it so ! it is.

@BS86: I still can't figure out why the video group is needed since virtually all the filesystem is read-only thanks to DynamicUser, unless amd has some files needed for opencl that are no world-readable? Also, before I add I want to make sure it still works fine on a headless server.

@YanDoroshenko: You might want to read the comments.

YanDoroshenko commented on 2020-04-17 23:21

I'm unable to use GPU since today's update. I've tried everything I was able to find (and a couple of my own inventions) - all quite fruitless. Running FAHClient via sudo does the trick and GPU picks up right away with the same config and same command.

BS86 commented on 2020-04-17 21:46

And Success: With and booting now works as expected.

Tried and first, but would not work due to obvious cycle-detection. System booted, but FAH service was not loaded.

BS86 commented on 2020-04-17 21:38

ok, with SupplementaryGroups=video, OpenCL and FAH works and does find my Vega64 running with opencl-amd, but on reboot, the system breaks like expected. Had to chroot to get the system back working.

Will play around a bit with the WantedBy and After options to get fah loaded after X.

andrej commented on 2020-04-17 21:37

@alucryd As for NVidia, it's better to add a drop-in instead of changing the unit file. Also, I think the prefix should be !, not -. (A failure is not OK and, AFAIK, only root can modprobe.) This is only relevant for people with NVidia GPUs anyway.

On my system I've created /etc/systemd/system/foldingathome.service.d/modprobe.conf containing this:

ExecStartPre=!/usr/bin/nvidia-modprobe -c0 -u

(The first nvidia-modprobe is a no-op if you run a desktop or otherwise load the module automatically.)

The drop-in will show up in the status (after systemctl daemon-reload etc.):

● foldingathome.service - Folding@home distributed computing client
     Loaded: loaded (/usr/lib/systemd/system/foldingathome.service; disabled; vendor preset: disabled)
    Drop-In: /etc/systemd/system/foldingathome.service.d
     Active: active (running) since Fri 2020-04-17 22:51:46 CEST; 10min ago
    Process: 15205 ExecStartPre=/usr/bin/chown -R fah:fah /etc/foldingathome (code=exited, status=0/SUCCESS)
    Process: 15207 ExecStartPre=/usr/bin/nvidia-modprobe (code=exited, status=0/SUCCESS)
    Process: 15209 ExecStartPre=/usr/bin/nvidia-modprobe -c0 -u (code=exited, status=0/SUCCESS)
   Main PID: 15212 (FAHClient)
      Tasks: 65 (limit: 77025)
     CGroup: /system.slice/foldingathome.service

lesto commented on 2020-04-17 20:22

in the service file you do: "/usr/bin/chown -R fah:fah /etc/foldingathome" I think this should be done by the install script instead, so it is done once and that is it.

also my xt5700x is seen as 5600, not sure where this GPUs.txt come from

fagianijunior commented on 2020-04-17 20:11

What is a newer or older AMD GPU? I has a Radeon R7

Takei commented on 2020-04-17 20:05

@alucryd sorry but it doesn't seem to work. Still the same error code even after another restart of the service. Anyways i'm off to bed.