Core 0x22 is unable to detect OpenCL device (bad work unit)

If you think it might be a driver problem, see viewforum.php?f=79

Moderators: Site Moderators, FAHC Science Team

Post Reply
arisu
Posts: 14
Joined: Mon Feb 24, 2025 11:11 pm

Core 0x22 is unable to detect OpenCL device (bad work unit)

Post by arisu »

All the 0x26 cores work fine and successfully detect OpenCL. They detect three platforms available (reference, CPU, OpenCL). All the 0x22 cores fail immediately and are unable to detect OpenCL even though it is functional. The system has an AMD Radeon 780M GPU.

Code: Select all

01:56:30:I1:WU141:Received WU assignment IN0o-HWTeJTiL68djWmepJV8dDDrtfFFhf6MKHkpf_4
01:56:30:I1:WU141:Downloading WU
01:56:30:I1:OUT4:> CONNECT pllwskifah2.mskcc.org:443 HTTP/1.1
01:56:31:I1:OUT4:> POST https://pllwskifah2.mskcc.org/api/assign HTTP/1.1
01:56:33:I1:WU141:DOWNLOAD 2% 238.59KiB of 9.95MiB
01:56:34:I1:WU141:DOWNLOAD 9% 962.33KiB of 9.95MiB
01:56:35:I1:WU141:DOWNLOAD 18% 1.79MiB of 9.95MiB
01:56:36:I1:WU141:DOWNLOAD 26% 2.55MiB of 9.95MiB
01:56:37:I1:WU141:DOWNLOAD 34% 3.36MiB of 9.95MiB
01:56:38:I1:WU141:DOWNLOAD 46% 4.58MiB of 9.95MiB
01:56:39:I1:WU141:DOWNLOAD 57% 5.66MiB of 9.95MiB
01:56:40:I1:WU141:DOWNLOAD 67% 6.64MiB of 9.95MiB
01:56:41:I1:WU141:DOWNLOAD 79% 7.83MiB of 9.95MiB
01:56:42:I1:WU141:DOWNLOAD 90% 8.91MiB of 9.95MiB
01:56:43:I1:OUT4:< HTTP/1.1 200 HTTP_OK
01:56:43:I1:WU141:Received WU P17636 R7 C29 G324
01:56:43:I1:Loaded cores/openmm-core-22/fahcore-22-linux-64bit-release-0.0.20/FahCore_22
01:56:43:I3:Running FahCore: /var/lib/fah-client/cores/openmm-core-22/fahcore-22-linux-64bit-release-0.0.20/FahCore_22 -dir IN0o-HWTeJTiL68djWmepJV8dDDrtfFFhf6MKHkpf_4 -suffix 01 -version 8.4.9 -lifeline 223819 -gpu-platform cuda -gpu-vendor amd -opencl-platform 0 -opencl-device 0 -gpu 0
01:56:43:I3:WU141:Started FahCore on PID 223837
01:56:44:I1:WU141:*********************** Log Started 2025-02-26T01:56:43Z ***********************
01:56:44:I1:WU141:*************************** Core22 Folding@home Core ***************************
01:56:44:I1:WU141:       Core: Core22
01:56:44:I1:WU141:       Type: 0x22
01:56:44:I1:WU141:    Version: 0.0.20
01:56:44:I1:WU141:     Author: Joseph Coffland <joseph@cauldrondevelopment.com>
01:56:44:I1:WU141:  Copyright: 2020 foldingathome.org
01:56:44:I1:WU141:   Homepage: https://foldingathome.org/
01:56:44:I1:WU141:       Date: Jan 20 2022
01:56:44:I1:WU141:       Time: 00:57:52
01:56:44:I1:WU141:   Revision: 3f211b8a4346514edbff34e3cb1c0e0ec951373c
01:56:44:I1:WU141:     Branch: HEAD
01:56:44:I1:WU141:   Compiler: GNU 9.4.0
01:56:44:I1:WU141:    Options: -faligned-new -std=c++11 -fsigned-char -ffunction-sections
01:56:44:I1:WU141:             -fdata-sections -O3 -funroll-loops -fno-pie
01:56:44:I1:WU141:             -DOPENMM_VERSION="\"7.7.0\""
01:56:44:I1:WU141:   Platform: linux 5.11.0-1025-azure
01:56:44:I1:WU141:       Bits: 64
01:56:44:I1:WU141:       Mode: Release
01:56:44:I1:WU141:Maintainers: John Chodera <john.chodera@choderalab.org> and Peter Eastman
01:56:44:I1:WU141:             <peastman@stanford.edu>
01:56:44:I1:WU141:       Args: -dir IN0o-HWTeJTiL68djWmepJV8dDDrtfFFhf6MKHkpf_4 -suffix 01
01:56:44:I1:WU141:             -version 8.4.9 -lifeline 223819 -gpu-platform cuda -gpu-vendor amd
01:56:44:I1:WU141:             -opencl-platform 0 -opencl-device 0 -gpu 0
01:56:44:I1:WU141:************************************ libFAH ************************************
01:56:44:I1:WU141:       Date: Jan 20 2022
01:56:44:I1:WU141:       Time: 00:57:22
01:56:44:I1:WU141:   Revision: 9f4ad694e75c2350d4bb6b8b5b769ba27e483a2f
01:56:44:I1:WU141:     Branch: HEAD
01:56:44:I1:WU141:   Compiler: GNU 9.4.0
01:56:44:I1:WU141:    Options: -faligned-new -std=c++11 -fsigned-char -ffunction-sections
01:56:44:I1:WU141:             -fdata-sections -O3 -funroll-loops -fno-pie
01:56:44:I1:WU141:   Platform: linux 5.11.0-1025-azure
01:56:44:I1:WU141:       Bits: 64
01:56:44:I1:WU141:       Mode: Release
01:56:44:I1:WU141:************************************ CBang *************************************
01:56:44:I1:WU141:       Date: Jan 20 2022
01:56:44:I1:WU141:       Time: 00:57:00
01:56:44:I1:WU141:   Revision: ab023d155b446906d55b0f6c9a1eedeea04f7a1a
01:56:44:I1:WU141:     Branch: HEAD
01:56:44:I1:WU141:   Compiler: GNU 9.4.0
01:56:44:I1:WU141:    Options: -faligned-new -std=c++11 -fsigned-char -ffunction-sections
01:56:44:I1:WU141:             -fdata-sections -O3 -funroll-loops -fno-pie -fPIC
01:56:44:I1:WU141:   Platform: linux 5.11.0-1025-azure
01:56:44:I1:WU141:       Bits: 64
01:56:44:I1:WU141:       Mode: Release
01:56:44:I1:WU141:************************************ System ************************************
01:56:44:I1:WU141:        CPU: AMD Ryzen 7 7840U w/ Radeon 780M Graphics
01:56:44:I1:WU141:     CPU ID: AuthenticAMD Family 25 Model 116 Stepping 1
01:56:44:I1:WU141:       CPUs: 8
01:56:44:I1:WU141:     Memory: 30.58GiB
01:56:44:I1:WU141:Free Memory: 22.37GiB
01:56:44:I1:WU141:    Threads: POSIX_THREADS
01:56:44:I1:WU141: OS Version: 6.1
01:56:44:I1:WU141:Has Battery: true
01:56:44:I1:WU141: On Battery: false
01:56:44:I1:WU141: UTC Offset: 0
01:56:44:I1:WU141:        PID: 223837
01:56:44:I1:WU141:        CWD: /var/lib/fah-client/work
01:56:44:I1:WU141:************************************ OpenMM ************************************
01:56:44:I1:WU141:    Version: 7.7.0
01:56:44:I1:WU141:********************************************************************************
01:56:44:I1:WU141:Project: 17636 (Run 7, Clone 29, Gen 324)
01:56:44:I1:WU141:Reading tar file core.xml
01:56:44:I1:WU141:Reading tar file integrator.xml.bz2
01:56:44:I1:WU141:Reading tar file state.xml.bz2
01:56:44:I1:WU141:Reading tar file system.xml.bz2
01:56:44:I1:WU141:Digital signatures verified
01:56:44:I1:WU141:Folding@home GPU Core22 Folding@home Core
01:56:44:I1:WU141:Version 0.0.20
01:56:44:I1:WU141:  Checkpoint write interval: 125000 steps (5%) [20 total]
01:56:44:I1:WU141:  JSON viewer frame write interval: 25000 steps (1%) [100 total]
01:56:44:I1:WU141:  XTC frame write interval: 250000 steps (10%) [10 total]
01:56:44:I1:WU141:  Global context and integrator variables write interval: disabled
01:56:44:I1:WU141:There are 2 platforms available.
01:56:44:I1:WU141:Platform 0: Reference
01:56:44:I1:WU141:Platform 1: CPU
01:56:44:I1:WU141:opencl-device was set but OpenCL platform could not be found.
01:56:44:I1:WU141:ERROR:126: Neither CUDA nor OpenCL is available.
01:56:44:I1:WU141:Saving result file ../logfile_01.txt
01:56:44:I1:WU141:Saving result file science.log
01:56:44:I1:WU141:Folding@home Core Shutdown: BAD_WORK_UNIT
01:56:45:E :WU141:Core returned BAD_WORK_UNIT (114)
Core 0x22 uses OpenMM 7.7.0 and core 0x26 uses 8.2.0 which might be relevant? See the relevant parts of the log from above:

Code: Select all

01:56:44:I1:WU141:There are 2 platforms available.
01:56:44:I1:WU141:Platform 0: Reference
01:56:44:I1:WU141:Platform 1: CPU
01:56:44:I1:WU141:opencl-device was set but OpenCL platform could not be found.
Compare it with the same part of the log from a 0x26 core:

Code: Select all

02:50:30:I1:WU150:There are 3 platforms available.
02:50:30:I1:WU150:Platform 0: Reference
02:50:30:I1:WU150:Platform 1: CPU
02:50:30:I1:WU150:Platform 2: OpenCL
02:50:30:I1:WU150:  opencl-device 0 specified
arisu
Posts: 14
Joined: Mon Feb 24, 2025 11:11 pm

Re: Core 0x22 is unable to detect OpenCL device (bad work unit)

Post by arisu »

It looks like this might be related to https://github.com/FoldingAtHome/fah-cl ... issues/245 which concludes that it is not a v8 issue but a core 0x22 issue. The last followup on that issue says:
Just the follow up. core22 is folding on v7 and v8 on kubuntu. So it is safe to say Mint Linux might be the culprit
However I am not using Mint. I am using Debian.
muziqaz
Posts: 1205
Joined: Sun Dec 16, 2007 6:22 pm
Hardware configuration: 9950x, 7950x3D, 5950x, 5800x3D
7900xtx, Radeon 7, 5700xt, 6900xt, RX 550 640SP
Location: London
Contact:

Re: Core 0x22 is unable to detect OpenCL device (bad work unit)

Post by muziqaz »

Core22 will fail on latest diatro versions with newer kernels and newer GLIBC
FAH Omega tester
arisu
Posts: 14
Joined: Mon Feb 24, 2025 11:11 pm

Re: Core 0x22 is unable to detect OpenCL device (bad work unit)

Post by arisu »

This is Debian stable (bookworm) with glibc 2.36 (2.36-9+deb12u9) and kernel linux-image-6.1.0-29-amd64 (6.1.123-1). Far from the latest.

What versions are incompatible? If Debian stable is too recent, that would make most Linux distros too recent as well.
muziqaz
Posts: 1205
Joined: Sun Dec 16, 2007 6:22 pm
Hardware configuration: 9950x, 7950x3D, 5950x, 5800x3D
7900xtx, Radeon 7, 5700xt, 6900xt, RX 550 640SP
Location: London
Contact:

Re: Core 0x22 is unable to detect OpenCL device (bad work unit)

Post by muziqaz »

Ubuntu 24.04 and 22.04 equivalents.
And yes we are aware that core22 is old
FAH Omega tester
Post Reply