Folding at home option

Hi,

I am trying to use services.foldingathome option, but I am getting this output when I start to fold:

19:35:58:E :WU30:Core returned FAILED_3 (255)
19:35:58:E :WU30:The folding core did not produce any log output. This indicates that the core is not functional on your system. Check for missing libraries or GPU drivers. Make a post about your issue on https://foldingforum.org/ to get more help.
19:35:58:E :WU30:Run did not produce any results. Dumping WU

Before I was executing fah-client manually and everything was working fine. Then I found that there is service option but I am having trouble with folding.

My fah config:

{ config, … }:
{
  #Enable OpenCl
  hardware.amdgpu.opencl.enable = true;
  #Enable FAH
  services.foldingathome.enable = true;
}

My system:

Operating System: NixOS 25.11
KDE Plasma Version: 6.5.3
KDE Frameworks Version: 6.20.0
Qt Version: 6.10.1
Kernel Version: 6.17.9 (64-bit)
Graphics Platform: Wayland
Processors: 32 × AMD Ryzen 9 5900XT 16-Core Processor
Memory: 32 GiB of RAM (31,2 GiB usable)
Graphics Processor: AMD Radeon Graphics ( RX 9060XT 16GB)
Manufacturer: ASUS

Any help is appreciated.

When you enable the service, it’s running fah-client with a default team and no user. If you systemctl status foldingathome.service, you’ll see some output and the port it’s running on. And if you check your running processes, fah-client will be running.

You don’t need to run the client manually.

Edit: Or is the error you wrote about happening when the service is running the client?

Edit 2: I tested it on my machine and this is indeed a bug. There’s also a GitHub issue on the topic: Foldingathome ROCM GPU Support · Issue #304868 · NixOS/nixpkgs · GitHub

It seems the service is broken and doesn’t work. Sorry to disappoint!

3 Likes

Thanks for answer,

yea error started while I changed to option, before I was using fahclient package and running it manually every time I wanted to fold. Once again thank you for answer/help.

Hi, found a way to make foldingathome module to work. By removing DynamicUser = true from serviceConfig module is usable and doesn’t dump WUs. If anyone is having same issue I hope this helps.

1 Like