Asteroids@Home GPU Tasks Fail on Ubuntu 24.04 with Mesa Clover


Message boards : Problems and bug reports : Asteroids@Home GPU Tasks Fail on Ubuntu 24.04 with Mesa Clover

Message board moderation

To post messages, you must log in.
AuthorMessage
caja

Send message
Joined: 1 Feb 25
Posts: 2
Credit: 255,611
RAC: 4,093
Message 9339 - Posted: 29 Dec 2025, 15:09:55 UTC
Hello,

I am getting the following error when processing a task for the GPU @ boinc client 8.2.8 x86_64-pc-linux-gnu :
<core_client_version>8.2.8</core_client_version>
<![CDATA[
<message>
process exited with code 2 (0x2, -254)</message>
<stderr_txt>
BOINC client version 8.2.8
BOINC GPU type 'ATI', deviceId=0, slot=2
Application: ../../projects/asteroidsathome.net_boinc/period_search_10218_x86_64-pc-linux-gnu__opencl_101_amd_linux
Version: 102.18.0.0
Platform name: Clover
Platform vendor: Mesa
OpenCL device C version: OpenCL C 1.1  | OpenCL 1.1 Mesa 25.0.7-0ubuntu0.24.04.2
OpenCL device Id: 0
OpenCL device name: AMD Radeon Pro WX 3200 Series (radeonsi, polaris12, ACO, DRM 3.57, 6.8.0-90-generic) 4GB
Device driver version: 25.0.7-0ubuntu0.24.04.2
Multiprocessors: 10
Max Samplers: 32
Max work item dimensions: 3
Resident blocks per multiprocessor: 32
Grid dim: 640 = 2 * 10 * 32
Block dim: 128
Binary build log for AMD Radeon Pro WX 3200 Series (radeonsi, polaris12, ACO, DRM 3.57, 6.8.0-90-generic):
In file included from <built-in>:1:
/usr/include/clc/clc.h:19:10: fatal error: 'clc/clcfunc.h' file not found
 (-2)
Build log: Clover | AMD Radeon Pro WX 3200 Series (radeonsi, polaris12, ACO, DRM 3.57, 6.8.0-90-generic):

 Error creating queue: invalid binary(-42)

</stderr_txt>
]]>


Here is some information about OpenCL:
Number of platforms                               2
  Platform Name                                   Clover
  Platform Vendor                                 Mesa
  Platform Version                                OpenCL 1.1 Mesa 25.0.7-0ubuntu0.24.04.2
  Platform Profile                                FULL_PROFILE
  Platform Extensions                             cl_khr_icd
  Platform Extensions function suffix             MESA

  Platform Name                                   rusticl
  Platform Vendor                                 Mesa/X.org
  Platform Version                                OpenCL 3.0 
  Platform Profile                                FULL_PROFILE
  Platform Extensions                             cl_khr_icd
  Platform Extensions with Version                cl_khr_icd                                                       0x400000 (1.0.0)
  Platform Numeric Version                        0xc00000 (3.0.0)
  Platform Extensions function suffix             MESA
  Platform Host timer resolution                  1ns

  Platform Name                                   Clover
Number of devices                                 1
  Device Name                                     AMD Radeon Pro WX 3200 Series (radeonsi, polaris12, ACO, DRM 3.57, 6.8.0-90-generic)
  Device Vendor                                   AMD
  Device Vendor ID                                0x1002
  Device Version                                  OpenCL 1.1 Mesa 25.0.7-0ubuntu0.24.04.2
  Device Numeric Version                          0x401000 (1.1.0)
  Driver Version                                  25.0.7-0ubuntu0.24.04.2
  Device OpenCL C Version                         OpenCL C 1.1 
  Device OpenCL C Numeric Version                 0x401000 (1.1.0)
  Device Type                                     GPU
  Device Profile                                  FULL_PROFILE
  Device Available                                Yes
  Compiler Available                              Yes
  Max compute units                               10
  Max clock frequency                             1295MHz
  Max work item dimensions                        3
  Max work item sizes                             256x256x256
  Max work group size                             256
=== CL_PROGRAM_BUILD_LOG ===
In file included from <built-in>:1:
/usr/include/clc/clc.h:19:10: fatal error: 'clc/clcfunc.h' file not found
  Preferred work group size multiple (kernel)     <getWGsizes:1980: create kernel : error -46>
  Preferred / native vector sizes                 
    char                                                16 / 16      
    short                                                8 / 8       
    int                                                  4 / 4       
    long                                                 2 / 2       
    half                                                 0 / 0        (n/a)
    float                                                4 / 4       
    double                                               2 / 2        (cl_khr_fp64)
  Half-precision Floating-point support           (n/a)
  Single-precision Floating-point support         (core)
    Denormals                                     No
    Infinity and NANs                             Yes
    Round to nearest                              Yes
    Round to zero                                 No
    Round to infinity                             No
    IEEE754-2008 fused multiply-add               No
    Support is emulated in software               No
    Correctly-rounded divide and sqrt operations  No
  Double-precision Floating-point support         (cl_khr_fp64)
    Denormals                                     Yes
    Infinity and NANs                             Yes
    Round to nearest                              Yes
    Round to zero                                 Yes
    Round to infinity                             Yes
    IEEE754-2008 fused multiply-add               Yes
    Support is emulated in software               No
  Address bits                                    64, Little-Endian
  Global memory size                              4294967296 (4GiB)
  Error Correction support                        No
  Max memory allocation                           1073741824 (1024MiB)
  Unified memory for Host and Device              No
  Minimum alignment for any data type             128 bytes
  Alignment of base address                       32768 bits (4096 bytes)
  Global Memory cache type                        None
  Image support                                   No
  Local memory type                               Local
  Local memory size                               65536 (64KiB)
  Max number of constant args                     16
  Max constant buffer size                        67108864 (64MiB)
  Max size of kernel argument                     1024
  Queue properties                                
    Out-of-order execution                        No
    Profiling                                     Yes
  Profiling timer resolution                      0ns
  Execution capabilities                          
    Run OpenCL kernels                            Yes
    Run native kernels                            No
    ILs with version                              (n/a)
  Built-in kernels with version                   (n/a)
  Device Extensions                               cl_khr_byte_addressable_store cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_int64_base_atomics cl_khr_int64_extended_atomics cl_khr_fp64 cl_khr_extended_versioning
  Device Extensions with Version                  cl_khr_byte_addressable_store                                    0x400000 (1.0.0)
                                                  cl_khr_global_int32_base_atomics                                 0x400000 (1.0.0)
                                                  cl_khr_global_int32_extended_atomics                             0x400000 (1.0.0)
                                                  cl_khr_local_int32_base_atomics                                  0x400000 (1.0.0)
                                                  cl_khr_local_int32_extended_atomics                              0x400000 (1.0.0)
                                                  cl_khr_int64_base_atomics                                        0x400000 (1.0.0)
                                                  cl_khr_int64_extended_atomics                                    0x400000 (1.0.0)
                                                  cl_khr_fp64                                                      0x400000 (1.0.0)
                                                  cl_khr_extended_versioning                                       0x400000 (1.0.0)

  Platform Name                                   rusticl
Number of devices                                 0

NULL platform behavior
  clGetPlatformInfo(NULL, CL_PLATFORM_NAME, ...)  Clover
  clGetDeviceIDs(NULL, CL_DEVICE_TYPE_ALL, ...)   Success [MESA]
  clCreateContext(NULL, ...) [default]            Success [MESA]
  clCreateContext(NULL, ...) [other]              <error: no devices in non-default plaforms>
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_DEFAULT)  Success (1)
    Platform Name                                 Clover
    Device Name                                   AMD Radeon Pro WX 3200 Series (radeonsi, polaris12, ACO, DRM 3.57, 6.8.0-90-generic)
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_CPU)  No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_GPU)  Success (1)
    Platform Name                                 Clover
    Device Name                                   AMD Radeon Pro WX 3200 Series (radeonsi, polaris12, ACO, DRM 3.57, 6.8.0-90-generic)
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_ACCELERATOR)  No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_CUSTOM)  No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_ALL)  Success (1)
    Platform Name                                 Clover
    Device Name                                   AMD Radeon Pro WX 3200 Series (radeonsi, polaris12, ACO, DRM 3.57, 6.8.0-90-generic)

ICD loader properties
  ICD loader Name                                 OpenCL ICD Loader
  ICD loader Vendor                               OCL Icd free software
  ICD loader Version                              2.3.2
  ICD loader Profile                              OpenCL 3.0


I was trying to fix missing `clcfunc.h` header by attempting to downgrade `libclc-dev` to `libclc-15-dev` to resolve the missing header but it breaks the whole Mesa OpenCL driver!

Does anyone know how to solve this problem please?

Thank you in advance,

Best regards,
caja
ID: 9339 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
ahorek's team
Volunteer developer
Volunteer tester

Send message
Joined: 1 Jan 13
Posts: 170
Credit: 15,655,032
RAC: 19,501
Message 9341 - Posted: 29 Dec 2025, 17:13:37 UTC
Is your GPU detected if you enable RUSTICL?
export RUSTICL_ENABLE=radeonsi
export RUSTICL_FEATURES=fp64
clinfo


Newer Mesa releases should have this enabled by default. Clover is a deprecated OpenCL implementation and was essentially unusable for almost all BOINC projects.

With RUSTICL you have a chance to run some projects (primegrid, einstein...). Unfortunately, the asteroids app doesn't work with RUSTICL yet.
Anyway, those implementations are typically about 30% slower "IF" they work at all.

For GPU-based projects and optimal performance, installing AMD ROCm drivers is strongly recommended. The issue is that Ubuntu 24.04 no longer appears to be supported.
https://www.amd.com/en/support/downloads/drivers.html/graphics/radeon-pro/radeon-pro-wx-x200-series/radeon-pro-wx-3200.html
if ROCm is not an option because pre-RDNA cards are poorly supported, RUSTICL is the best alternative on Linux.
ID: 9341 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
caja

Send message
Joined: 1 Feb 25
Posts: 2
Credit: 255,611
RAC: 4,093
Message 9346 - Posted: 30 Dec 2025, 8:28:04 UTC - in response to Message 9341.  
Thank you for your concise answer. I have tried to export the variables you suggested, and it looks the same:
Number of platforms                               2
  Platform Name                                   Clover
  Platform Vendor                                 Mesa
  Platform Version                                OpenCL 1.1 Mesa 25.0.7-0ubuntu0.24.04.2
  Platform Profile                                FULL_PROFILE
  Platform Extensions                             cl_khr_icd
  Platform Extensions function suffix             MESA

  Platform Name                                   rusticl
  Platform Vendor                                 Mesa/X.org
  Platform Version                                OpenCL 3.0 
  Platform Profile                                FULL_PROFILE
  Platform Extensions                             cl_khr_icd
  Platform Extensions with Version                cl_khr_icd                                                       0x400000 (1.0.0)
  Platform Numeric Version                        0xc00000 (3.0.0)
  Platform Extensions function suffix             MESA
  Platform Host timer resolution                  1ns

  Platform Name                                   Clover
Number of devices                                 1
  Device Name                                     AMD Radeon Pro WX 3200 Series (radeonsi, polaris12, ACO, DRM 3.57, 6.8.0-90-generic)
  Device Vendor                                   AMD
  Device Vendor ID                                0x1002
  Device Version                                  OpenCL 1.1 Mesa 25.0.7-0ubuntu0.24.04.2
  Device Numeric Version                          0x401000 (1.1.0)
  Driver Version                                  25.0.7-0ubuntu0.24.04.2
  Device OpenCL C Version                         OpenCL C 1.1 
  Device OpenCL C Numeric Version                 0x401000 (1.1.0)
  Device Type                                     GPU
  Device Profile                                  FULL_PROFILE
  Device Available                                Yes
  Compiler Available                              Yes
  Max compute units                               10
  Max clock frequency                             1295MHz
  Max work item dimensions                        3
  Max work item sizes                             256x256x256
  Max work group size                             256
=== CL_PROGRAM_BUILD_LOG ===
In file included from <built-in>:1:
/usr/include/clc/clc.h:19:10: fatal error: 'clc/clcfunc.h' file not found
  Preferred work group size multiple (kernel)     <getWGsizes:1980: create kernel : error -46>
  Preferred / native vector sizes                 
    char                                                16 / 16      
    short                                                8 / 8       
    int                                                  4 / 4       
    long                                                 2 / 2       
    half                                                 0 / 0        (n/a)
    float                                                4 / 4       
    double                                               2 / 2        (cl_khr_fp64)
  Half-precision Floating-point support           (n/a)
  Single-precision Floating-point support         (core)
    Denormals                                     No
    Infinity and NANs                             Yes
    Round to nearest                              Yes
    Round to zero                                 No
    Round to infinity                             No
    IEEE754-2008 fused multiply-add               No
    Support is emulated in software               No
    Correctly-rounded divide and sqrt operations  No
  Double-precision Floating-point support         (cl_khr_fp64)
    Denormals                                     Yes
    Infinity and NANs                             Yes
    Round to nearest                              Yes
    Round to zero                                 Yes
    Round to infinity                             Yes
    IEEE754-2008 fused multiply-add               Yes
    Support is emulated in software               No
  Address bits                                    64, Little-Endian
  Global memory size                              4294967296 (4GiB)
  Error Correction support                        No
  Max memory allocation                           1073741824 (1024MiB)
  Unified memory for Host and Device              No
  Minimum alignment for any data type             128 bytes
  Alignment of base address                       32768 bits (4096 bytes)
  Global Memory cache type                        None
  Image support                                   No
  Local memory type                               Local
  Local memory size                               65536 (64KiB)
  Max number of constant args                     16
  Max constant buffer size                        67108864 (64MiB)
  Max size of kernel argument                     1024
  Queue properties                                
    Out-of-order execution                        No
    Profiling                                     Yes
  Profiling timer resolution                      0ns
  Execution capabilities                          
    Run OpenCL kernels                            Yes
    Run native kernels                            No
    ILs with version                              (n/a)
  Built-in kernels with version                   (n/a)
  Device Extensions                               cl_khr_byte_addressable_store cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_int64_base_atomics cl_khr_int64_extended_atomics cl_khr_fp64 cl_khr_extended_versioning
  Device Extensions with Version                  cl_khr_byte_addressable_store                                    0x400000 (1.0.0)
                                                  cl_khr_global_int32_base_atomics                                 0x400000 (1.0.0)
                                                  cl_khr_global_int32_extended_atomics                             0x400000 (1.0.0)
                                                  cl_khr_local_int32_base_atomics                                  0x400000 (1.0.0)
                                                  cl_khr_local_int32_extended_atomics                              0x400000 (1.0.0)
                                                  cl_khr_int64_base_atomics                                        0x400000 (1.0.0)
                                                  cl_khr_int64_extended_atomics                                    0x400000 (1.0.0)
                                                  cl_khr_fp64                                                      0x400000 (1.0.0)
                                                  cl_khr_extended_versioning                                       0x400000 (1.0.0)

  Platform Name                                   rusticl
Number of devices                                 0

NULL platform behavior
  clGetPlatformInfo(NULL, CL_PLATFORM_NAME, ...)  Clover
  clGetDeviceIDs(NULL, CL_DEVICE_TYPE_ALL, ...)   Success [MESA]
  clCreateContext(NULL, ...) [default]            Success [MESA]
  clCreateContext(NULL, ...) [other]              <error: no devices in non-default plaforms>
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_DEFAULT)  Success (1)
    Platform Name                                 Clover
    Device Name                                   AMD Radeon Pro WX 3200 Series (radeonsi, polaris12, ACO, DRM 3.57, 6.8.0-90-generic)
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_CPU)  No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_GPU)  Success (1)
    Platform Name                                 Clover
    Device Name                                   AMD Radeon Pro WX 3200 Series (radeonsi, polaris12, ACO, DRM 3.57, 6.8.0-90-generic)
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_ACCELERATOR)  No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_CUSTOM)  No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_ALL)  Success (1)
    Platform Name                                 Clover
    Device Name                                   AMD Radeon Pro WX 3200 Series (radeonsi, polaris12, ACO, DRM 3.57, 6.8.0-90-generic)

ICD loader properties
  ICD loader Name                                 OpenCL ICD Loader
  ICD loader Vendor                               OCL Icd free software
  ICD loader Version                              2.3.2
  ICD loader Profile                              OpenCL 3.0

So, downgrading the system to a version that still supports ROCm doesn't make sense, because this GPU doesn't have ROCm support anyway. Have I understood that correctly?
ID: 9346 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
ahorek's team
Volunteer developer
Volunteer tester

Send message
Joined: 1 Jan 13
Posts: 170
Credit: 15,655,032
RAC: 19,501
Message 9347 - Posted: 30 Dec 2025, 22:50:39 UTC
Ok, then the AMD Radeon Pro WX 3200 likely isn’t supported by Rusticl (or with your Mesa version). Since GCN 3 works, GCN 4 should also work. It’s probably just a matter of enabling the device ID, as this isn’t a typical gaming card, but unless you know how to debug and compile Mesa, I wouldn’t go this route.

then you have only 3 options left
• Downgrade to Ubuntu 22.04.3, which does appear to have ROCm support
• Upgrade Mesa to 26.0 0 (you may need to install it manually), there's a chance of better support for older cards
• Use Windows 10 or 11
ID: 9347 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote

Message boards : Problems and bug reports : Asteroids@Home GPU Tasks Fail on Ubuntu 24.04 with Mesa Clover