Page 1 of 1

GPU WUs are failing

Posted: Mon Mar 23, 2026 9:29 pm
by Swooferfan
I recently did a full system update on my PC (Ryzen 5 7600X, Radeon RX 9070 XT, running CachyOS), and afterwards, GPU WUs would always fail a few seconds after starting.
This is the WU log of a failed WU:

21:27:11:I1:WU367: Checkpoint write interval: 62500 steps (5%) [20 total]
21:27:11:I1:WU367: JSON viewer frame write interval: 12500 steps (1%) [100 total]
21:27:11:I1:WU367: XTC frame write interval: 5000 steps (0.4%) [250 total]
21:27:11:I1:WU367: TRR frame write interval: disabled
21:27:11:I1:WU367: Global context and integrator variables write interval: disabled
21:27:11:I1:WU367:There are 3 platforms available.
21:27:11:I1:WU367:Platform 0: Reference
21:27:11:I1:WU367:Platform 1: CPU
21:27:11:I1:WU367:Platform 2: OpenCL
21:27:11:I1:WU367: opencl-device 0 specified
21:27:21:I1:WU367:Attempting to create OpenCL context:
21:27:21:I1:WU367: Configuring platform OpenCL
21:27:21:I1:WU367:Failed to create OpenCL context:
21:27:21:I1:WU367:No compatible OpenCL platform is available
21:27:21:I1:WU367:ERROR:125: Failed to create a GPU-enabled OpenMM Context.
21:27:21:I1:WU367:Saving result file ../logfile_01.txt
21:27:21:I1:WU367:Saving result file science.log
21:27:21:I1:WU367:Folding@home Core Shutdown: BAD_WORK_UNIT
21:27:21:E :WU367:Core returned BAD_WORK_UNIT (114)
21:27:21:I1:WU367:Uploading WU results
21:27:21:I1:WU367:UPLOAD 92% 31.95KiB of 34.54KiB
21:27:21:I1:WU367:Credited

What should I do to solve this problem?

Re: GPU WUs are failing

Posted: Mon Mar 23, 2026 9:38 pm
by muziqaz

Re: GPU WUs are failing

Posted: Mon Mar 23, 2026 9:57 pm
by anonymous defaulteam
Going by your previous thread
Do you still have opencl-mesa installed? did it it get upgraded? Did it recreate etc/OpenCL/vendors/rusticl.icd?

Re: GPU WUs are failing

Posted: Mon Mar 23, 2026 10:00 pm
by muziqaz
Removing opencl-mesa indeed removes rusticl, which then allows installing rocm-opencl-runtime and rocm-hip-runtime, and ocl-icd takes over

Re: GPU WUs are failing

Posted: Wed Mar 25, 2026 2:16 am
by Swooferfan
@muziqaz:
I ran all of the commands that you sent in your first message, but the problems persist. What should I do?

Re: GPU WUs are failing

Posted: Wed Mar 25, 2026 5:34 am
by muziqaz
Swooferfan wrote: Wed Mar 25, 2026 2:16 am @muziqaz:
I ran all of the commands that you sent in your first message, but the problems persist. What should I do?
viewtopic.php?p=373665&sid=3372244fe29f ... bb#p373665

You can run clinfo, to see which opencl platforms you are running

Re: GPU WUs are failing

Posted: Wed Mar 25, 2026 8:11 pm
by Swooferfan
Image
Is it 2.1 or 3.0?

Re: GPU WUs are failing

Posted: Wed Mar 25, 2026 8:26 pm
by muziqaz
Swooferfan wrote: Wed Mar 25, 2026 8:11 pm Image
Is it 2.1 or 3.0?
sudo pacman -Rsc opencl-mesa
then
sudo pacman -S ocl-icd or ocl-icd-dev (whichever is available).
then
sudo systemctl restart fah-client

I have cachyos test system set up, and removing opencl-mesa, brings forward AMD's own rocm opencl binaries (if rocm-opencl-runtime and rocm-hip-runtime were already installed).

To answer the question, rusticl reports supporting opencl 3.0, while rocm or amd report supporting 2.1 for some reason, though both support 3.0. For fah opencl 2.0 is the minimum

Re: GPU WUs are failing

Posted: Wed Mar 25, 2026 9:26 pm
by Swooferfan
It's working now! Thank you!

Re: GPU WUs are failing

Posted: Thu Mar 26, 2026 9:40 am
by muziqaz
Nice one