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.55
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 ... 3 4 5 6 7 8 9 10 11 12 13 ... Next › Last »

alucryd commented on 2020-04-17 19:23

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

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

@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

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

@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

@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

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

Takei commented on 2020-04-17 18:32

@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

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

@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.