Package Details: foldingathome 8.4.3-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: fah science
Licenses: GPL-3.0-or-later
Submitter: dtw
Maintainer: PlasticSoup
Last Packager: PlasticSoup
Votes: 180
Popularity: 0.65
First Submitted: 2007-06-28 14:55 (UTC)
Last Updated: 2024-08-21 01:37 (UTC)

Dependencies (16)

Required by (0)

Sources (2)

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 the fah-client user.

Latest Comments

« First ‹ Previous 1 .. 6 7 8 9 10 11 12 13 14 15 16 .. 23 Next › Last »

alucryd commented on 2020-04-17 19:23 (UTC) (edited on 2020-04-17 19:27 (UTC) by alucryd)

Nevermind that, cuda depends on it. Looking at the manpage, nvidia-modprobe -u should create the device. Not sure if it's right to automatically call it with fah though, but can you try adding ExecStartPre=-/usr/bin/nvidia-modprobe -u to the systemd service?

https://paste.xinu.at/iVpWFQg1bqSFZVzA/

alucryd commented on 2020-04-17 19:16 (UTC)

Do you guys have nvidia-utils installed? It contains nvidia-modprobe which is a setuid binary that can create this device without sudo.

katt commented on 2020-04-17 18:56 (UTC)

@Takei I really don't know what this application does for CUDA, I just know it works really. https://github.com/DeadSix27/waifu2x-converter-cpp

Anyway the file is only created when I've run the the application using CUDA.

alucryd commented on 2020-04-17 18:47 (UTC)

I never ever use cuda, still /dev/nvidia-uvm is automatically created for me, so yeah it works even after a reboot :/

Takei commented on 2020-04-17 18:44 (UTC)

@katt if true that would make it atleast possible to make this run as a normal user. Could you see if you can find something in that application that might help us out? Maybe it has a service file or something else from what we could get the info we need.

katt commented on 2020-04-17 18:36 (UTC) (edited on 2020-04-17 18:40 (UTC) by katt)

@alucryd Added just ReadWritePaths=/dev/nvidia-uvm and SupplementaryGroups=video and it seems to be working now, not quite sure why it was complaning that /dev/nvidia-uvm didnt exist, havent even rebooted since..

Now to just get a new WU ;p

18:32:32:  CUDA Device 0: Platform:0 Device:0 Bus:9 Slot:0 Compute:6.1 Driver:10.2
18:32:32:OpenCL Device 0: Platform:0 Device:0 Bus:9 Slot:0 Compute:1.2 Driver:440.82

EDIT: Maybe related to why it suddenly "showed up", just realised I was doing some CUDA work earlier, that's probably why. (that application was not run as root though)

Takei commented on 2020-04-17 18:35 (UTC)

@alucryd tried sudo modprobe nvidia_uvm just now. Does not create the device.

Takei commented on 2020-04-17 18:32 (UTC)

@alucryd did you also try after a reboot?If you use cuda once per session as root, it will also work for a normal user,but only root can create the device.

Just tried with ReadWritePaths=/dev/nvidia-uvm after reboot, did not work. Errormsg foldingathome.service: Failed to set up mount namespacing: /run/systemd/unit-root/dev/nvidia-uvm: No such file or directory

alucryd commented on 2020-04-17 18:30 (UTC)

Actually this should work even without KMS, does sudo modprobe nvidia_uvm create the /dev/nvidia-uvm device?

alucryd commented on 2020-04-17 18:23 (UTC) (edited on 2020-04-17 18:24 (UTC) by alucryd)

@katt, @Takei: Tried on my desktop with a 1080Ti, I can reproduce.

I'm not exactly sure, but it seems you need /dev/nvidia-uvm, seems to be linked to KMS: https://wiki.archlinux.org/index.php/NVIDIA#DRM_kernel_mode_setting

Then I added it to ReadWritePaths and restarted foldingathome and it worked fine.

Can you try that before I add it to the service file? Would be great if someone could write that down on the wiki as well.