Package Details: foldingathome 7.6.21-1

Git Clone URL: https://aur.archlinux.org/foldingathome.git (read-only, click to copy)
Package Base: foldingathome
Description: A distributed computing project for simulating protein dynamics
Upstream URL: https://foldingathome.org/
Keywords: folding foldingathome
Licenses: custom
Submitter: dtw
Maintainer: rustymech
Last Packager: rustymech
Votes: 164
Popularity: 2.25
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.

jpkotta commented on 2020-03-21 00:13

@direc85

What does ls -l /dev/nvidia* show? If possible, reboot and run the ls command both before and after running that mknod script from nvidia.

jpkotta commented on 2020-03-20 23:53

@robinc @gourdcaptain

Can you try SupplementaryGroups=video instead? That seems more correct. I don't have fancy GPU hardware so I can't test this.

robinc commented on 2020-03-20 23:35

@gourdcaptain This seems to be a permissions problem. Adding Group=video to the service file solved this for me (AMD Vega 56). This is what my foldingathome.service looks like now:

[Unit]
Description=Folding@home distributed computing client
After=network.target

[Service]
DynamicUser=yes
Type=simple
User=fah
Group=video
StateDirectory=fah
WorkingDirectory=/var/lib/fah
ExecStart=/opt/fah/FAHClient

[Install]
WantedBy=multi-user.target

@jpkotta Could you please update the package to include this fix?

entropie commented on 2020-03-20 09:30

+1 what @xuanruiqi said

pluckobtain commented on 2020-03-20 00:33

+1 what @xuanruiqi said

direc85 commented on 2020-03-19 19:47

@jpkotta It looks like foldingathome community package has been removed.

direc85 commented on 2020-03-19 18:08

No, it isn't the 'video' group. Today I ran a script from NVIDIA CUDA Installation Guide for Linux and it seemed to have worked...

https://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html#runfile-verifications

eliasjackson commented on 2020-03-19 02:55

For whatever reason, one of the commands in the installed systemd service (ExecStartPre=/usr/bin/mkdir -p %h/.local/share/fahclient) wasn't working, so I had to create that directory manually in order to get the service to work. Might be worth adding to the PKGBUILD.

direc85 commented on 2020-03-19 02:34

I had hard time getting my NVidia GTX 1060 to work with OpenCL and/or Cuda. I kept getting OpenCL init error 999 and Cuda init error 1001. I think the final straw was adding user "fah" to group "video" and restarting the service...

jpkotta commented on 2020-03-19 01:50

There's a foldingathome in Community now: https://www.archlinux.org/packages/community/x86_64/foldingathome/. It uses basically the same systemd unit file that this package does, which is what enables running as a non-root user. I recommend you install that instead of this package. However, you're expected to hand edit the config.xml instead of using a script. That file is only quasi-human-writable, so I might just convert the fah-config script to its own package.