@BS86 Not sure, my GPU is too old for F@H. Maybe an After= in the unit file would fix it?
Search Criteria
Package Details: foldingathome 8.4.9-1
Package Actions
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: | fah science |
Licenses: | GPL-3.0-or-later |
Submitter: | dtw |
Maintainer: | PlasticSoup |
Last Packager: | PlasticSoup |
Votes: | 179 |
Popularity: | 0.31 |
First Submitted: | 2007-06-28 14:55 (UTC) |
Last Updated: | 2024-12-09 00:07 (UTC) |
Dependencies (16)
- bzip2 (bzip2-gitAUR)
- expat (expat-gitAUR)
- gcc-libs (gcc-libs-gitAUR, gccrs-libs-gitAUR, gcc11-libsAUR, gcc-libs-snapshotAUR)
- glibc (glibc-gitAUR, glibc-linux4AUR, glibc-eacAUR, glibc-eac-binAUR, glibc-eac-rocoAUR)
- lz4 (lz4-gitAUR)
- openssl (openssl-gitAUR, openssl-staticAUR)
- sqlite (sqlite-fossilAUR)
- systemd-libs (systemd-chromiumos-libsAUR, systemd-libs-selinuxAUR, systemd-libs-gitAUR, systemd-libs-fmlAUR)
- zlib (zlib-ng-compat-gitAUR, zlib-gitAUR, zlib-ng-compat)
- git (git-gitAUR, git-glAUR) (make)
- leveldb (leveldb-gitAUR) (make)
- libyaml (libyaml-gitAUR) (make)
- re2 (re2-gitAUR) (make)
- scons (make)
- snappy (snappy-gitAUR) (make)
- opencl-driver (opencl-nvidia-410xxAUR, amdapp-sdkAUR, opencl-nvidia-440xxAUR, vc4cl-gitAUR, opencl-nvidia-430xxAUR, opencl-legacy-amdgpu-proAUR, intel-compute-runtime-gitAUR, beignetAUR, opencl-nvidia-vulkanAUR, beignet-gitAUR, intel-openclAUR, clvk-gitAUR, opencl-rusticl-mesa-minimal-gitAUR, mesa-gitAUR, mesa-wsl2-gitAUR, opencl-nvidia-535xxAUR, opencl-nvidia-470xxAUR, amdonly-gaming-opencl-clover-mesa-gitAUR, amdonly-gaming-opencl-rusticl-mesa-gitAUR, opencl-nvidia-390xxAUR, opencl-nvidia-teslaAUR, opencl-amdAUR, intel-compute-runtime-binAUR, opencl-nvidia-betaAUR, intel-compute-runtime-legacy-binAUR, intel-compute-runtime-legacyAUR, opencl-nvidia-525xxAUR, opencl-510xx-nvidiaAUR, opencl-nvidia-340xxAUR, opencl-nvidia-550xxAUR, intel-compute-runtime, intel-oneapi-compiler-shared-runtime, opencl-clover-mesa, opencl-nvidia, opencl-rusticl-mesa, rocm-opencl-runtime) (optional) – GPU support
Required by (0)
Sources (2)
Latest Comments
« First ‹ Previous 1 .. 8 9 10 11 12 13 14 15 16 17 18 .. 23 Next › Last »
jpkotta commented on 2020-04-17 17:12 (UTC)
BS86 commented on 2020-04-17 17:11 (UTC) (edited on 2020-04-17 17:11 (UTC) by BS86)
And apparently, the user "fah" also does not exist on my system because it was not required by this package until now. Only the noroot-package needed it.
@alucryd: If the xorg breakage and GPU detection is solved with the previous comments, and you want to stick with the DynamicUser approach, might you please add a installation warning that the user "fah" needs to be created?
BS86 commented on 2020-04-17 17:06 (UTC)
@jpkotta: Does this also solve the xorg - breakage mentioned in the Wiki?
jpkotta commented on 2020-04-17 17:03 (UTC)
@BS86 @alucryd
You need to add SupplementaryGroups=video
to the service file.
zero456 commented on 2020-04-17 16:59 (UTC) (edited on 2020-04-17 17:01 (UTC) by zero456)
@alucryd There seems to be a regression in the latest version that is causing folding@home to not download the GPUs.txt file. This is what it uses to detect what GPUs it can and cannot use. Without it, it will not use any GPU.
Copying from the old directory /opt/fah/GPUs.txt
to /etc/foldingathome
fixes the issue.
See: https://github.com/FoldingAtHome/fah-issues/issues/1363
Takei commented on 2020-04-17 16:55 (UTC) (edited on 2020-04-17 17:23 (UTC) by Takei)
New version breaks folding@home for Nvidia gpus, because only root can create the device necessary to use cuda. Atleast according to what i found so far. Problem only starts after the first reboot, because the necessary device does not exist anymore. https://www.pgroup.com/userforum/viewtopic.php?t=4587
GPU 0: Bus:1 Slot:0 Func:0 NVIDIA:8 GP104 [GeForce GTX 1080] 8873 CUDA: Not detected: cuInit() returned 999 OpenCL: Not detected: clGetPlatformIDs() returned -1001
Log when FAHclient is started as root: GPU 0: Bus:1 Slot:0 Func:0 NVIDIA:8 GP104 [GeForce GTX 1080] 8873 CUDA Device 0: Platform:0 Device:0 Bus:1 Slot:0 Compute:6.1 Driver:10.2 OpenCL Device 0: Platform:0 Device:0 Bus:1 Slot:0 Compute:1.2 Driver:440.82
BS86 commented on 2020-04-17 16:55 (UTC)
apparently, foldingathome switched to the noroot - approach with DynamicUser which breaks GPU usage (check Wiki for details: https://wiki.archlinux.org/index.php/Folding@home#Run_f@h_with_limited_privileges)
would be great to have this package here in the future, too (if foldingathome copies the approach from here, that would work to)
BS86 commented on 2020-04-17 16:44 (UTC) (edited on 2020-04-17 17:01 (UTC) by BS86)
For some reason, with that commit today (Version 7.5.1-2) : https://aur.archlinux.org/cgit/aur.git/commit/?h=foldingathome&id=d6dac582292af9d594c9d8bf7f9b6a4f8e56fa4c
This package switched to the DynamicUser approach which is troublesome, check the wiki: https://wiki.archlinux.org/index.php/Folding@home#Run_f@h_with_limited_privileges
Quote:
To use your graphics card for this task the fah user has to be in the required group (video). But doing this will also cause the foldingathome.service to start before Xorg and breaking it in the process.
The last working version for me is 7.5.1-1
zegkljan commented on 2020-04-17 16:34 (UTC)
@alucryd The chown way is definitely the way to go but it still does not work because the directory /etc/foldingathome
is owned by root and therefore FAHClient cannot remove the old configuration when it needs to update (yes, it first removes it and then writes a new one). There are 16:31:39:WARNING:Exception: Failed to remove '/etc/foldingathome/config.xml': Permission denied
warnings in the log when it tries to update.
keithy commented on 2020-04-17 16:21 (UTC)
@alucryd
Thanks thats fixed it.
Pinned Comments
SovietReimu1228 commented on 2024-08-22 14:48 (UTC)
I'll leave a note for those who are having trouble starting FAH after updating. You should do
pacman -Rs foldingathome
and install again. This will create thefah-client
user.