You are not logged in.
I'm currently trying to get FAH to run on my computer. It runs fine on the CPU but when it tries to use the GPU (Radeon RX 6600) it errors out with
22:37:39:WU01:FS01:0x22:Failed to create OpenCL context:
22:37:39:WU01:FS01:0x22:Illegal value for DeviceIndex: 0
22:37:39:WU01:FS01:0x22:ERROR:125: Failed to create a GPU-enabled OpenMM Context.
22:37:39:WU01:FS01:0x22:Saving result file ../logfile_01.txt
22:37:39:WU01:FS01:0x22:Saving result file science.log
22:37:39:WU01:FS01:0x22:Folding@home Core Shutdown: BAD_WORK_UNIT
22:37:39:WARNING:WU01:FS01:FahCore returned: BAD_WORK_UNIT (114 = 0x72)
and tries again a few times before giving up.
I have tried all drivers listed in https://wiki.archlinux.org/title/GPGPU for AMD/ATI GPUs but none have worked, some don't see the GPU at all (opencl-legacy-amdgpu-pro, opencl-rusticl-mesa), some cause the error above (opencl-amd and rocm-opencl-runtime) and with some the driver sees the GPU but FAH says the the GPU doesn't support OpenCL (opencl-clover-mesa). I know that OpenCL works as I'm able to use other application that use it. Only FAH seems to have an issue. I've tried searchin online for solutions but most threads just tell you to install OpenCL drivers.
FAH log (With the opencl-amd driver (the same thing happens with the rocm-opencl-runtime driver)):
22:37:24:WU01:FS01:0x22:*********************** Log Started 2023-07-31T22:37:24Z ***********************
22:37:24:WU01:FS01:0x22:*************************** Core22 Folding@home Core ***************************
22:37:24:WU01:FS01:0x22: Core: Core22
22:37:24:WU01:FS01:0x22: Type: 0x22
22:37:24:WU01:FS01:0x22: Version: 0.0.20
22:37:24:WU01:FS01:0x22: Author: Joseph Coffland <joseph@cauldrondevelopment.com>
22:37:24:WU01:FS01:0x22: Copyright: 2020 foldingathome.org
22:37:24:WU01:FS01:0x22: Homepage: https://foldingathome.org/
22:37:24:WU01:FS01:0x22: Date: Jan 20 2022
22:37:24:WU01:FS01:0x22: Time: 00:57:52
22:37:24:WU01:FS01:0x22: Revision: 3f211b8a4346514edbff34e3cb1c0e0ec951373c
22:37:24:WU01:FS01:0x22: Branch: HEAD
22:37:24:WU01:FS01:0x22: Compiler: GNU 9.4.0
22:37:24:WU01:FS01:0x22: Options: -faligned-new -std=c++11 -fsigned-char -ffunction-sections
22:37:24:WU01:FS01:0x22: -fdata-sections -O3 -funroll-loops -fno-pie
22:37:24:WU01:FS01:0x22: -DOPENMM_VERSION="\"7.7.0\""
22:37:24:WU01:FS01:0x22: Platform: linux 5.11.0-1025-azure
22:37:24:WU01:FS01:0x22: Bits: 64
22:37:24:WU01:FS01:0x22: Mode: Release
22:37:24:WU01:FS01:0x22:Maintainers: John Chodera <john.chodera@choderalab.org> and Peter Eastman
22:37:24:WU01:FS01:0x22: <peastman@stanford.edu>
22:37:24:WU01:FS01:0x22: Args: -dir 01 -suffix 01 -version 706 -lifeline 2024 -checkpoint 15
22:37:24:WU01:FS01:0x22: -opencl-platform 0 -opencl-device 0 -gpu-vendor amd -gpu 0
22:37:24:WU01:FS01:0x22: -gpu-usage 100
22:37:24:WU01:FS01:0x22:************************************ libFAH ************************************
22:37:24:WU01:FS01:0x22: Date: Jan 20 2022
22:37:24:WU01:FS01:0x22: Time: 00:57:22
22:37:24:WU01:FS01:0x22: Revision: 9f4ad694e75c2350d4bb6b8b5b769ba27e483a2f
22:37:24:WU01:FS01:0x22: Branch: HEAD
22:37:24:WU01:FS01:0x22: Compiler: GNU 9.4.0
22:37:24:WU01:FS01:0x22: Options: -faligned-new -std=c++11 -fsigned-char -ffunction-sections
22:37:24:WU01:FS01:0x22: -fdata-sections -O3 -funroll-loops -fno-pie
22:37:24:WU01:FS01:0x22: Platform: linux 5.11.0-1025-azure
22:37:24:WU01:FS01:0x22: Bits: 64
22:37:24:WU01:FS01:0x22: Mode: Release
22:37:24:WU01:FS01:0x22:************************************ CBang *************************************
22:37:24:WU01:FS01:0x22: Date: Jan 20 2022
22:37:24:WU01:FS01:0x22: Time: 00:57:00
22:37:24:WU01:FS01:0x22: Revision: ab023d155b446906d55b0f6c9a1eedeea04f7a1a
22:37:24:WU01:FS01:0x22: Branch: HEAD
22:37:24:WU01:FS01:0x22: Compiler: GNU 9.4.0
22:37:24:WU01:FS01:0x22: Options: -faligned-new -std=c++11 -fsigned-char -ffunction-sections
22:37:24:WU01:FS01:0x22: -fdata-sections -O3 -funroll-loops -fno-pie -fPIC
22:37:24:WU01:FS01:0x22: Platform: linux 5.11.0-1025-azure
22:37:24:WU01:FS01:0x22: Bits: 64
22:37:24:WU01:FS01:0x22: Mode: Release
22:37:24:WU01:FS01:0x22:************************************ System ************************************
22:37:24:WU01:FS01:0x22: CPU: AMD Ryzen 5 5600 6-Core Processor
22:37:24:WU01:FS01:0x22: CPU ID: AuthenticAMD Family 25 Model 33 Stepping 0
22:37:24:WU01:FS01:0x22: CPUs: 12
22:37:24:WU01:FS01:0x22: Memory: 15.53GiB
22:37:24:WU01:FS01:0x22:Free Memory: 11.86GiB
22:37:24:WU01:FS01:0x22: Threads: POSIX_THREADS
22:37:24:WU01:FS01:0x22: OS Version: 6.4
22:37:24:WU01:FS01:0x22:Has Battery: false
22:37:24:WU01:FS01:0x22: On Battery: false
22:37:24:WU01:FS01:0x22: UTC Offset: 2
22:37:24:WU01:FS01:0x22: PID: 2028
22:37:24:WU01:FS01:0x22: CWD: /var/lib/private/fah/work
22:37:24:WU01:FS01:0x22:************************************ OpenMM ************************************
22:37:24:WU01:FS01:0x22: Version: 7.7.0
22:37:24:WU01:FS01:0x22:********************************************************************************
22:37:24:WU01:FS01:0x22:Project: 16706 (Run 65, Clone 4, Gen 265)
22:37:24:WU01:FS01:0x22:Reading tar file core.xml
22:37:24:WU01:FS01:0x22:Reading tar file integrator.xml
22:37:24:WU01:FS01:0x22:Reading tar file state.xml
22:37:25:WU01:FS01:0x22:Reading tar file system.xml
22:37:26:WU01:FS01:0x22:Digital signatures verified
22:37:26:WU01:FS01:0x22:Folding@home GPU Core22 Folding@home Core
22:37:26:WU01:FS01:0x22:Version 0.0.20
22:37:26:WU01:FS01:0x22: Checkpoint write interval: 62500 steps (5%) [20 total]
22:37:26:WU01:FS01:0x22: JSON viewer frame write interval: 12500 steps (1%) [100 total]
22:37:26:WU01:FS01:0x22: XTC frame write interval: 10000 steps (0.8%) [125 total]
22:37:26:WU01:FS01:0x22: Global context and integrator variables write interval: disabled
22:37:26:WU01:FS01:0x22:There are 3 platforms available.
22:37:26:WU01:FS01:0x22:Platform 0: Reference
22:37:26:WU01:FS01:0x22:Platform 1: CPU
22:37:26:WU01:FS01:0x22:Platform 2: OpenCL
22:37:26:WU01:FS01:0x22: opencl-device 0 specified
22:37:39:WU01:FS01:0x22:Attempting to create OpenCL context:
22:37:39:WU01:FS01:0x22: Configuring platform OpenCL
22:37:39:WU01:FS01:0x22:Failed to create OpenCL context:
22:37:39:WU01:FS01:0x22:Illegal value for DeviceIndex: 0
22:37:39:WU01:FS01:0x22:ERROR:125: Failed to create a GPU-enabled OpenMM Context.
22:37:39:WU01:FS01:0x22:Saving result file ../logfile_01.txt
22:37:39:WU01:FS01:0x22:Saving result file science.log
22:37:39:WU01:FS01:0x22:Folding@home Core Shutdown: BAD_WORK_UNIT
22:37:39:WARNING:WU01:FS01:FahCore returned: BAD_WORK_UNIT (114 = 0x72)
22:37:39:WU01:FS01:Sending unit results: id:01 state:SEND error:FAULTY project:16706 run:65 clone:4 gen:265 core:0x22 unit:0x09010000040000004100000042410000
22:37:39:WU01:FS01:Uploading 2.47KiB to 66.170.111.50
22:37:39:WU01:FS01:Connecting to 66.170.111.50:8080
22:37:40:WU02:FS01:Connecting to assign1.foldingathome.org:80
22:37:40:WU01:FS01:Upload complete
22:37:40:WU01:FS01:Server responded WORK_ACK (400)
22:37:40:WU01:FS01:Cleaning up
22:37:40:WU02:FS01:Assigned to work server 129.32.209.202
22:37:40:WU02:FS01:Requesting new work unit for slot 01: gpu:11:0 Navi 23 XT-XL [Radeon RX 6600/6600 XT/6600M] from 129.32.209.202
22:37:40:WU02:FS01:Connecting to 129.32.209.202:8080
22:37:41:WU02:FS01:Downloading 56.80MiB
After this FAH re downloads the workload and runs it again with the same result, after a few of these cycles stops and says that the GPU Failed.
Output of clinfo (using the opencl-amd driver)
Number of platforms 1
Platform Name AMD Accelerated Parallel Processing
Platform Vendor Advanced Micro Devices, Inc.
Platform Version OpenCL 2.1 AMD-APP (3581.0)
Platform Profile FULL_PROFILE
Platform Extensions cl_khr_icd cl_amd_event_callback
Platform Extensions function suffix AMD
Platform Host timer resolution 1ns
Platform Name AMD Accelerated Parallel Processing
Number of devices 1
Device Name gfx1030
Device Vendor Advanced Micro Devices, Inc.
Device Vendor ID 0x1002
Device Version OpenCL 2.0
Driver Version 3581.0 (HSA1.1,LC)
Device OpenCL C Version OpenCL C 2.0
Device Type GPU
Device Board Name (AMD) AMD Radeon RX 6600
Device PCI-e ID (AMD) 0x73ff
Device Topology (AMD) PCI-E, 0000:0b:00.0
Device Profile FULL_PROFILE
Device Available Yes
Compiler Available Yes
Linker Available Yes
Max compute units 14
SIMD per compute unit (AMD) 4
SIMD width (AMD) 32
SIMD instruction width (AMD) 1
Max clock frequency 2750MHz
Graphics IP (AMD) 10.3
Device Partition (core)
Max number of sub-devices 14
Supported partition types None
Supported affinity domains (n/a)
Max work item dimensions 3
Max work item sizes 1024x1024x1024
Max work group size 256
Preferred work group size (AMD) 256
Max work group size (AMD) 1024
Preferred work group size multiple (kernel) 32
Wavefront width (AMD) 32
Preferred / native vector sizes
char 4 / 4
short 2 / 2
int 1 / 1
long 1 / 1
half 1 / 1 (cl_khr_fp16)
float 1 / 1
double 1 / 1 (cl_khr_fp64)
Half-precision Floating-point support (cl_khr_fp16)
Denormals No
Infinity and NANs No
Round to nearest No
Round to zero No
Round to infinity No
IEEE754-2008 fused multiply-add No
Support is emulated in software No
Single-precision Floating-point support (core)
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
Correctly-rounded divide and sqrt operations Yes
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 8573157376 (7.984GiB)
Global free memory (AMD) 8183808 (7.805GiB) 8183808 (7.805GiB)
Global memory channels (AMD) 4
Global memory banks per channel (AMD) 4
Global memory bank width (AMD) 256 bytes
Error Correction support No
Max memory allocation 7287183768 (6.787GiB)
Unified memory for Host and Device No
Shared Virtual Memory (SVM) capabilities (core)
Coarse-grained buffer sharing Yes
Fine-grained buffer sharing Yes
Fine-grained system sharing No
Atomics No
Minimum alignment for any data type 128 bytes
Alignment of base address 1024 bits (128 bytes)
Preferred alignment for atomics
SVM 0 bytes
Global 0 bytes
Local 0 bytes
Max size for global variable 7287183768 (6.787GiB)
Preferred total size of global vars 8573157376 (7.984GiB)
Global Memory cache type Read/Write
Global Memory cache size 16384 (16KiB)
Global Memory cache line size 64 bytes
Image support Yes
Max number of samplers per kernel 29695
Max size for 1D images from buffer 134217728 pixels
Max 1D or 2D image array size 8192 images
Base address alignment for 2D image buffers 256 bytes
Pitch alignment for 2D image buffers 256 pixels
Max 2D image size 16384x16384 pixels
Max 3D image size 16384x16384x8192 pixels
Max number of read image args 128
Max number of write image args 8
Max number of read/write image args 64
Max number of pipe args 16
Max active pipe reservations 16
Max pipe packet size 2992216472 (2.787GiB)
Local memory type Local
Local memory size 65536 (64KiB)
Local memory size per CU (AMD) 65536 (64KiB)
Local memory banks (AMD) 32
Max number of constant args 8
Max constant buffer size 7287183768 (6.787GiB)
Preferred constant buffer size (AMD) 16384 (16KiB)
Max size of kernel argument 1024
Queue properties (on host)
Out-of-order execution No
Profiling Yes
Queue properties (on device)
Out-of-order execution Yes
Profiling Yes
Preferred size 262144 (256KiB)
Max size 8388608 (8MiB)
Max queues on device 1
Max events on device 1024
Prefer user sync for interop Yes
Number of P2P devices (AMD) 0
Profiling timer resolution 1ns
Profiling timer offset since Epoch (AMD) 0ns (Thu Jan 1 01:00:00 1970)
Execution capabilities
Run OpenCL kernels Yes
Run native kernels No
Thread trace supported (AMD) No
Number of async queues (AMD) 8
Max real-time compute queues (AMD) 8
Max real-time compute units (AMD) 14
printf() buffer size 4194304 (4MiB)
Built-in kernels (n/a)
Device Extensions cl_khr_fp64 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_3d_image_writes cl_khr_byte_addressable_store cl_khr_fp16 cl_khr_gl_sharing cl_amd_device_attribute_query cl_amd_media_ops cl_amd_media_ops2 cl_khr_image2d_from_buffer cl_khr_subgroups cl_khr_depth_images cl_amd_copy_buffer_p2p cl_amd_assembly_program
NULL platform behavior
clGetPlatformInfo(NULL, CL_PLATFORM_NAME, ...) No platform
clGetDeviceIDs(NULL, CL_DEVICE_TYPE_ALL, ...) No platform
clCreateContext(NULL, ...) [default] No platform
clCreateContext(NULL, ...) [other] Success [AMD]
clCreateContextFromType(NULL, CL_DEVICE_TYPE_DEFAULT) Success (1)
Platform Name AMD Accelerated Parallel Processing
Device Name gfx1030
clCreateContextFromType(NULL, CL_DEVICE_TYPE_CPU) No devices found in platform
clCreateContextFromType(NULL, CL_DEVICE_TYPE_GPU) Success (1)
Platform Name AMD Accelerated Parallel Processing
Device Name gfx1030
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 AMD Accelerated Parallel Processing
Device Name gfx1030
clinfo output using the rocm-opencl-runtime driver
Number of platforms 1
Platform Name AMD Accelerated Parallel Processing
Platform Vendor Advanced Micro Devices, Inc.
Platform Version OpenCL 2.1 AMD-APP.dbg (3570.0)
Platform Profile FULL_PROFILE
Platform Extensions cl_khr_icd cl_amd_event_callback
Platform Extensions function suffix AMD
Platform Host timer resolution 1ns
Platform Name AMD Accelerated Parallel Processing
Number of devices 1
Device Name gfx1030
Device Vendor Advanced Micro Devices, Inc.
Device Vendor ID 0x1002
Device Version OpenCL 2.0
Driver Version 3570.0 (HSA1.1,LC)
Device OpenCL C Version OpenCL C 2.0
Device Type GPU
Device Board Name (AMD) AMD Radeon RX 6600
Device PCI-e ID (AMD) 0x73ff
Device Topology (AMD) PCI-E, 0000:0b:00.0
Device Profile FULL_PROFILE
Device Available Yes
Compiler Available Yes
Linker Available Yes
Max compute units 14
SIMD per compute unit (AMD) 4
SIMD width (AMD) 32
SIMD instruction width (AMD) 1
Max clock frequency 2750MHz
Graphics IP (AMD) 10.3
Device Partition (core)
Max number of sub-devices 14
Supported partition types None
Supported affinity domains (n/a)
Max work item dimensions 3
Max work item sizes 1024x1024x1024
Max work group size 256
Preferred work group size (AMD) 256
Max work group size (AMD) 1024
Preferred work group size multiple (kernel) 32
Wavefront width (AMD) 32
Preferred / native vector sizes
char 4 / 4
short 2 / 2
int 1 / 1
long 1 / 1
half 1 / 1 (cl_khr_fp16)
float 1 / 1
double 1 / 1 (cl_khr_fp64)
Half-precision Floating-point support (cl_khr_fp16)
Denormals No
Infinity and NANs No
Round to nearest No
Round to zero No
Round to infinity No
IEEE754-2008 fused multiply-add No
Support is emulated in software No
Single-precision Floating-point support (core)
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
Correctly-rounded divide and sqrt operations Yes
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 8573157376 (7.984GiB)
Global free memory (AMD) 8183808 (7.805GiB) 8183808 (7.805GiB)
Global memory channels (AMD) 4
Global memory banks per channel (AMD) 4
Global memory bank width (AMD) 256 bytes
Error Correction support No
Max memory allocation 7287183768 (6.787GiB)
Unified memory for Host and Device No
Shared Virtual Memory (SVM) capabilities (core)
Coarse-grained buffer sharing Yes
Fine-grained buffer sharing Yes
Fine-grained system sharing No
Atomics No
Minimum alignment for any data type 128 bytes
Alignment of base address 1024 bits (128 bytes)
Preferred alignment for atomics
SVM 0 bytes
Global 0 bytes
Local 0 bytes
Max size for global variable 7287183768 (6.787GiB)
Preferred total size of global vars 8573157376 (7.984GiB)
Global Memory cache type Read/Write
Global Memory cache size 16384 (16KiB)
Global Memory cache line size 64 bytes
Image support Yes
Max number of samplers per kernel 29695
Max size for 1D images from buffer 134217728 pixels
Max 1D or 2D image array size 8192 images
Base address alignment for 2D image buffers 256 bytes
Pitch alignment for 2D image buffers 256 pixels
Max 2D image size 16384x16384 pixels
Max 3D image size 16384x16384x8192 pixels
Max number of read image args 128
Max number of write image args 8
Max number of read/write image args 64
Max number of pipe args 16
Max active pipe reservations 16
Max pipe packet size 2992216472 (2.787GiB)
Local memory type Local
Local memory size 65536 (64KiB)
Local memory size per CU (AMD) 65536 (64KiB)
Local memory banks (AMD) 32
Max number of constant args 8
Max constant buffer size 7287183768 (6.787GiB)
Preferred constant buffer size (AMD) 16384 (16KiB)
Max size of kernel argument 1024
Queue properties (on host)
Out-of-order execution No
Profiling Yes
Queue properties (on device)
Out-of-order execution Yes
Profiling Yes
Preferred size 262144 (256KiB)
Max size 8388608 (8MiB)
Max queues on device 1
Max events on device 1024
Prefer user sync for interop Yes
Number of P2P devices (AMD) 0
Profiling timer resolution 1ns
Profiling timer offset since Epoch (AMD) 0ns (Thu Jan 1 01:00:00 1970)
Execution capabilities
Run OpenCL kernels Yes
Run native kernels No
Thread trace supported (AMD) No
Number of async queues (AMD) 8
Max real-time compute queues (AMD) 8
Max real-time compute units (AMD) 14
printf() buffer size 4194304 (4MiB)
Built-in kernels (n/a)
Device Extensions cl_khr_fp64 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_3d_image_writes cl_khr_byte_addressable_store cl_khr_fp16 cl_khr_gl_sharing cl_amd_device_attribute_query cl_amd_media_ops cl_amd_media_ops2 cl_khr_image2d_from_buffer cl_khr_subgroups cl_khr_depth_images cl_amd_copy_buffer_p2p cl_amd_assembly_program
NULL platform behavior
clGetPlatformInfo(NULL, CL_PLATFORM_NAME, ...) No platform
clGetDeviceIDs(NULL, CL_DEVICE_TYPE_ALL, ...) No platform
clCreateContext(NULL, ...) [default] No platform
clCreateContext(NULL, ...) [other] Success [AMD]
clCreateContextFromType(NULL, CL_DEVICE_TYPE_DEFAULT) Success (1)
Platform Name AMD Accelerated Parallel Processing
Device Name gfx1030
clCreateContextFromType(NULL, CL_DEVICE_TYPE_CPU) No devices found in platform
clCreateContextFromType(NULL, CL_DEVICE_TYPE_GPU) Success (1)
Platform Name AMD Accelerated Parallel Processing
Device Name gfx1030
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 AMD Accelerated Parallel Processing
Device Name gfx1030
FAH log (With opencl-clover-mesa driver):
*********************** Log Started 2023-07-31T23:10:24Z ***********************
23:10:24:******************************* libFAH ********************************
23:10:24: Date: Oct 20 2020
23:10:24: Time: 20:36:39
23:10:24: Revision: 5ca109d295a6245e2a2f590b3d0085ad5e567aeb
23:10:24: Branch: master
23:10:24: Compiler: GNU 8.3.0
23:10:24: Options: -faligned-new -std=c++11 -fsigned-char -ffunction-sections
23:10:24: -fdata-sections -O3 -funroll-loops -fno-pie
23:10:24: Platform: linux2 5.8.0-1-amd64
23:10:24: Bits: 64
23:10:24: Mode: Release
23:10:24:****************************** FAHClient ******************************
23:10:24: Version: 7.6.21
23:10:24: Author: Joseph Coffland <joseph@cauldrondevelopment.com>
23:10:24: Copyright: 2020 foldingathome.org
23:10:24: Homepage: https://foldingathome.org/
23:10:24: Date: Oct 20 2020
23:10:24: Time: 20:39:00
23:10:24: Revision: 6efbf0e138e22d3963e6a291f78dcb9c6422a278
23:10:24: Branch: master
23:10:24: Compiler: GNU 8.3.0
23:10:24: Options: -faligned-new -std=c++11 -fsigned-char -ffunction-sections
23:10:24: -fdata-sections -O3 -funroll-loops -fno-pie
23:10:24: Platform: linux2 5.8.0-1-amd64
23:10:24: Bits: 64
23:10:24: Mode: Release
23:10:24: Args: --config /etc/foldingathome/config.xml --log
23:10:24: /var/log/foldingathome/log.txt --log-rotate-dir
23:10:24: /var/log/foldingathome
23:10:24: Config: /etc/foldingathome/config.xml
23:10:24:******************************** CBang ********************************
23:10:24: Date: Oct 20 2020
23:10:24: Time: 18:37:59
23:10:24: Revision: 7e4ce85225d7eaeb775e87c31740181ca603de60
23:10:24: Branch: master
23:10:24: Compiler: GNU 8.3.0
23:10:24: Options: -faligned-new -std=c++11 -fsigned-char -ffunction-sections
23:10:24: -fdata-sections -O3 -funroll-loops -fno-pie -fPIC
23:10:24: Platform: linux2 5.8.0-1-amd64
23:10:24: Bits: 64
23:10:24: Mode: Release
23:10:24:******************************* System ********************************
23:10:24: CPU: AMD Ryzen 5 5600 6-Core Processor
23:10:24: CPU ID: AuthenticAMD Family 25 Model 33 Stepping 0
23:10:24: CPUs: 12
23:10:24: Memory: 15.53GiB
23:10:24: Free Memory: 11.36GiB
23:10:24: Threads: POSIX_THREADS
23:10:24: OS Version: 6.4
23:10:24: Has Battery: false
23:10:24: On Battery: false
23:10:24: UTC Offset: 2
23:10:24: PID: 3586
23:10:24: CWD: /var/lib/private/fah
23:10:24: OS: Linux 6.4.7-arch1-1 x86_64
23:10:24: OS Arch: AMD64
23:10:24: GPUs: 1
23:10:24: GPU 0: Bus:11 Slot:0 Func:0 AMD:5 Navi 23 XT-XL [Radeon RX 6600/6600
23:10:24: XT/6600M]
23:10:24: CUDA: Not detected: Failed to open dynamic library 'libcuda.so':
23:10:24: libcuda.so: cannot open shared object file: No such file or
23:10:24: directory
23:10:24:OpenCL Device 0: Platform:0 Device:0 Bus:NA Slot:NA Compute:1.1 Driver:23.1
23:10:24:***********************************************************************
23:10:24:<config>
23:10:24: <!-- Network -->
23:10:24: <proxy v=':8080'/>
23:10:24:
23:10:24: <!-- User Information -->
23:10:24: <team v='45032'/>
23:10:24:
23:10:24: <!-- Folding Slots -->
23:10:24: <slot id='0' type='CPU'/>
23:10:24: <slot id='1' type='GPU'>
23:10:24: <pci-bus v='11'/>
23:10:24: <pci-slot v='0'/>
23:10:24: </slot>
23:10:24:</config>
23:10:24:Trying to access database...
23:10:24:Successfully acquired database lock
23:10:24:FS00:Initialized folding slot 00: cpu:10
23:10:24:WARNING:FS01:Guessing ambiguous GPU to OpenCL device mapping for 01: gpu:11:0 Navi 23 XT-XL [Radeon RX 6600/6600 XT/6600M]. Consider upgrading your graphics driver or manually setting ``opencl-index`` in this slot's configuration.
23:10:24:WARNING:FS01:No CUDA or OpenCL 1.2+ support detected for GPU slot 01: gpu:11:0 Navi 23 XT-XL [Radeon RX 6600/6600 XT/6600M]. Disabling.
clinfo output (opencl-clover-mesa driver)
Number of platforms 1
Platform Name Clover
Platform Vendor Mesa
Platform Version OpenCL 1.1 Mesa 23.1.4
Platform Profile FULL_PROFILE
Platform Extensions cl_khr_icd
Platform Extensions function suffix MESA
Platform Name Clover
Number of devices 1
Device Name AMD Radeon RX 6600 (navi23, LLVM 15.0.7, DRM 3.52, 6.4.7-arch1-1)
Device Vendor AMD
Device Vendor ID 0x1002
Device Version OpenCL 1.1 Mesa 23.1.4
Device Numeric Version 0x401000 (1.1.0)
Driver Version 23.1.4
Device OpenCL C Version OpenCL C 1.1
Device Type GPU
Device Profile FULL_PROFILE
Device Available Yes
Compiler Available Yes
Max compute units 28
Max clock frequency 2750MHz
Max work item dimensions 3
Max work item sizes 256x256x256
Max work group size 256
=== CL_PROGRAM_BUILD_LOG ===
fatal error: cannot open file '/usr/share/clc/gfx1032-amdgcn-mesa-mesa3d.bc': No such file or directory
Preferred work group size multiple (kernel) <getWGsizes:1504: 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 8589934592 (8GiB)
Error Correction support No
Max memory allocation 2147483648 (2GiB)
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 SPIR-V 0x400000 (1.0.0)
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)
NULL platform behavior
clGetPlatformInfo(NULL, CL_PLATFORM_NAME, ...) Clover
clGetDeviceIDs(NULL, CL_DEVICE_TYPE_ALL, ...) Success [MESA]
clCreateContext(NULL, ...) [default] Success [MESA]
clCreateContextFromType(NULL, CL_DEVICE_TYPE_DEFAULT) Success (1)
Platform Name Clover
Device Name AMD Radeon RX 6600 (navi23, LLVM 15.0.7, DRM 3.52, 6.4.7-arch1-1)
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 RX 6600 (navi23, LLVM 15.0.7, DRM 3.52, 6.4.7-arch1-1)
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 RX 6600 (navi23, LLVM 15.0.7, DRM 3.52, 6.4.7-arch1-1)
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
FAH log with the opencl-rusticl-mesa driver
*********************** Log Started 2023-07-31T23:23:27Z ***********************
23:23:27:******************************* libFAH ********************************
23:23:27: Date: Oct 20 2020
23:23:27: Time: 20:36:39
23:23:27: Revision: 5ca109d295a6245e2a2f590b3d0085ad5e567aeb
23:23:27: Branch: master
23:23:27: Compiler: GNU 8.3.0
23:23:27: Options: -faligned-new -std=c++11 -fsigned-char -ffunction-sections
23:23:27: -fdata-sections -O3 -funroll-loops -fno-pie
23:23:27: Platform: linux2 5.8.0-1-amd64
23:23:27: Bits: 64
23:23:27: Mode: Release
23:23:27:****************************** FAHClient ******************************
23:23:27: Version: 7.6.21
23:23:27: Author: Joseph Coffland <joseph@cauldrondevelopment.com>
23:23:27: Copyright: 2020 foldingathome.org
23:23:27: Homepage: https://foldingathome.org/
23:23:27: Date: Oct 20 2020
23:23:27: Time: 20:39:00
23:23:27: Revision: 6efbf0e138e22d3963e6a291f78dcb9c6422a278
23:23:27: Branch: master
23:23:27: Compiler: GNU 8.3.0
23:23:27: Options: -faligned-new -std=c++11 -fsigned-char -ffunction-sections
23:23:27: -fdata-sections -O3 -funroll-loops -fno-pie
23:23:27: Platform: linux2 5.8.0-1-amd64
23:23:27: Bits: 64
23:23:27: Mode: Release
23:23:27: Args: --config /etc/foldingathome/config.xml --log
23:23:27: /var/log/foldingathome/log.txt --log-rotate-dir
23:23:27: /var/log/foldingathome
23:23:27: Config: /etc/foldingathome/config.xml
23:23:27:******************************** CBang ********************************
23:23:27: Date: Oct 20 2020
23:23:27: Time: 18:37:59
23:23:27: Revision: 7e4ce85225d7eaeb775e87c31740181ca603de60
23:23:27: Branch: master
23:23:27: Compiler: GNU 8.3.0
23:23:27: Options: -faligned-new -std=c++11 -fsigned-char -ffunction-sections
23:23:27: -fdata-sections -O3 -funroll-loops -fno-pie -fPIC
23:23:27: Platform: linux2 5.8.0-1-amd64
23:23:27: Bits: 64
23:23:27: Mode: Release
23:23:27:******************************* System ********************************
23:23:27: CPU: AMD Ryzen 5 5600 6-Core Processor
23:23:27: CPU ID: AuthenticAMD Family 25 Model 33 Stepping 0
23:23:27: CPUs: 12
23:23:27: Memory: 15.53GiB
23:23:27:Free Memory: 11.29GiB
23:23:27: Threads: POSIX_THREADS
23:23:27: OS Version: 6.4
23:23:27:Has Battery: false
23:23:27: On Battery: false
23:23:27: UTC Offset: 2
23:23:27: PID: 4130
23:23:27: CWD: /var/lib/private/fah
23:23:27: OS: Linux 6.4.7-arch1-1 x86_64
23:23:27: OS Arch: AMD64
23:23:27: GPUs: 1
23:23:27: GPU 0: Bus:11 Slot:0 Func:0 AMD:5 Navi 23 XT-XL [Radeon RX 6600/6600
23:23:27: XT/6600M]
23:23:27: CUDA: Not detected: Failed to open dynamic library 'libcuda.so':
23:23:27: libcuda.so: cannot open shared object file: No such file or
23:23:27: directory
23:23:27:***********************************************************************
23:23:27:<config>
23:23:27: <!-- Network -->
23:23:27: <proxy v=':8080'/>
23:23:27:
23:23:27: <!-- User Information -->
23:23:27: <team v='45032'/>
23:23:27:
23:23:27: <!-- Folding Slots -->
23:23:27: <slot id='0' type='CPU'/>
23:23:27: <slot id='1' type='GPU'>
23:23:27: <pci-bus v='11'/>
23:23:27: <pci-slot v='0'/>
23:23:27: </slot>
23:23:27:</config>
23:23:27:Trying to access database...
23:23:27:Successfully acquired database lock
23:23:27:FS00:Initialized folding slot 00: cpu:10
23:23:27:WARNING:FS01:No CUDA or OpenCL 1.2+ support detected for GPU slot 01: gpu:11:0 Navi 23 XT-XL [Radeon RX 6600/6600 XT/6600M]. Disabling.
clinfo output with opencl-rusticl-mesa driver
Number of platforms 1
Platform Name rusticl
Platform Vendor Mesa/X.org
Platform Version OpenCL 3.0
Platform Profile FULL_PROFILE
Platform Extensions cl_khr_icd cl_khr_il_program
Platform Extensions with Version cl_khr_icd 0x400000 (1.0.0)
cl_khr_il_program 0x400000 (1.0.0)
Platform Numeric Version 0xc00000 (3.0.0)
Platform Extensions function suffix MESA
Platform Host timer resolution 0ns
Platform Name rusticl
Number of devices 0
NULL platform behavior
clGetPlatformInfo(NULL, CL_PLATFORM_NAME, ...) rusticl
clGetDeviceIDs(NULL, CL_DEVICE_TYPE_ALL, ...) No devices found in platform [rusticl?]
clCreateContext(NULL, ...) [default] No devices found in platform
clCreateContextFromType(NULL, CL_DEVICE_TYPE_DEFAULT) No devices found in platform
clCreateContextFromType(NULL, CL_DEVICE_TYPE_CPU) No devices found in platform
clCreateContextFromType(NULL, CL_DEVICE_TYPE_GPU) No devices found in platform
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) No devices found in platform
ICD loader properties
ICD loader Name OpenCL ICD Loaderns
ICD loader Vendor OCL Icd free softwarens
ICD loader Version 2.3.2ns
ICD loader Profile OpenCL 3.0ns
FAH log with the opencl-legacy-amdgpu-pro driver
*********************** Log Started 2023-07-31T23:39:16Z ***********************
23:39:16:******************************* libFAH ********************************
23:39:16: Date: Oct 20 2020
23:39:16: Time: 20:36:39
23:39:16: Revision: 5ca109d295a6245e2a2f590b3d0085ad5e567aeb
23:39:16: Branch: master
23:39:16: Compiler: GNU 8.3.0
23:39:16: Options: -faligned-new -std=c++11 -fsigned-char -ffunction-sections
23:39:16: -fdata-sections -O3 -funroll-loops -fno-pie
23:39:16: Platform: linux2 5.8.0-1-amd64
23:39:16: Bits: 64
23:39:16: Mode: Release
23:39:16:****************************** FAHClient ******************************
23:39:16: Version: 7.6.21
23:39:16: Author: Joseph Coffland <joseph@cauldrondevelopment.com>
23:39:16: Copyright: 2020 foldingathome.org
23:39:16: Homepage: https://foldingathome.org/
23:39:16: Date: Oct 20 2020
23:39:16: Time: 20:39:00
23:39:16: Revision: 6efbf0e138e22d3963e6a291f78dcb9c6422a278
23:39:16: Branch: master
23:39:16: Compiler: GNU 8.3.0
23:39:16: Options: -faligned-new -std=c++11 -fsigned-char -ffunction-sections
23:39:16: -fdata-sections -O3 -funroll-loops -fno-pie
23:39:16: Platform: linux2 5.8.0-1-amd64
23:39:16: Bits: 64
23:39:16: Mode: Release
23:39:16: Args: --config /etc/foldingathome/config.xml --log
23:39:16: /var/log/foldingathome/log.txt --log-rotate-dir
23:39:16: /var/log/foldingathome
23:39:16: Config: /etc/foldingathome/config.xml
23:39:16:******************************** CBang ********************************
23:39:16: Date: Oct 20 2020
23:39:16: Time: 18:37:59
23:39:16: Revision: 7e4ce85225d7eaeb775e87c31740181ca603de60
23:39:16: Branch: master
23:39:16: Compiler: GNU 8.3.0
23:39:16: Options: -faligned-new -std=c++11 -fsigned-char -ffunction-sections
23:39:16: -fdata-sections -O3 -funroll-loops -fno-pie -fPIC
23:39:16: Platform: linux2 5.8.0-1-amd64
23:39:16: Bits: 64
23:39:16: Mode: Release
23:39:16:******************************* System ********************************
23:39:16: CPU: AMD Ryzen 5 5600 6-Core Processor
23:39:16: CPU ID: AuthenticAMD Family 25 Model 33 Stepping 0
23:39:16: CPUs: 12
23:39:16: Memory: 15.53GiB
23:39:16:Free Memory: 10.87GiB
23:39:16: Threads: POSIX_THREADS
23:39:16: OS Version: 6.4
23:39:16:Has Battery: false
23:39:16: On Battery: false
23:39:16: UTC Offset: 2
23:39:16: PID: 9256
23:39:16: CWD: /var/lib/private/fah
23:39:16: OS: Linux 6.4.7-arch1-1 x86_64
23:39:16: OS Arch: AMD64
23:39:16: GPUs: 1
23:39:16: GPU 0: Bus:11 Slot:0 Func:0 AMD:5 Navi 23 XT-XL [Radeon RX 6600/6600
23:39:16: XT/6600M]
23:39:16: CUDA: Not detected: Failed to open dynamic library 'libcuda.so':
23:39:16: libcuda.so: cannot open shared object file: No such file or
23:39:16: directory
23:39:16:***********************************************************************
23:39:16:<config>
23:39:16: <!-- Network -->
23:39:16: <proxy v=':8080'/>
23:39:16:
23:39:16: <!-- User Information -->
23:39:16: <team v='45032'/>
23:39:16:
23:39:16: <!-- Folding Slots -->
23:39:16: <slot id='0' type='CPU'/>
23:39:16: <slot id='1' type='GPU'>
23:39:16: <pci-bus v='11'/>
23:39:16: <pci-slot v='0'/>
23:39:16: </slot>
23:39:16:</config>
23:39:16:Trying to access database...
23:39:16:Successfully acquired database lock
23:39:16:FS00:Initialized folding slot 00: cpu:10
23:39:16:WARNING:FS01:No CUDA or OpenCL 1.2+ support detected for GPU slot 01: gpu:11:0 Navi 23 XT-XL [Radeon RX 6600/6600 XT/6600M]. Disabling.
clinfo output with the opencl-legacy-amdgpu-pro driver
Number of platforms 3
Platform Name AMD Accelerated Parallel Processing
Platform Vendor Advanced Micro Devices, Inc.
Platform Version OpenCL 2.1 AMD-APP (3380.4)
Platform Profile FULL_PROFILE
Platform Extensions cl_khr_icd cl_amd_event_callback cl_amd_offline_devices
Platform Extensions function suffix AMD
Platform Host timer resolution 1ns
Platform Name AMD Accelerated Parallel Processing
Platform Vendor Advanced Micro Devices, Inc.
Platform Version OpenCL 2.1 AMD-APP (3380.4)
Platform Profile FULL_PROFILE
Platform Extensions cl_khr_icd cl_amd_event_callback cl_amd_offline_devices
Platform Extensions function suffix AMD
Platform Host timer resolution 1ns
Platform Name AMD Accelerated Parallel Processing
Platform Vendor Advanced Micro Devices, Inc.
Platform Version OpenCL 2.1 AMD-APP (3380.4)
Platform Profile FULL_PROFILE
Platform Extensions cl_khr_icd cl_amd_event_callback cl_amd_offline_devices
Platform Extensions function suffix AMD
Platform Host timer resolution 1ns
Platform Name AMD Accelerated Parallel Processing
Number of devices 0
Platform Name AMD Accelerated Parallel Processing
Number of devices 0
Platform Name AMD Accelerated Parallel Processing
Number of devices 0
NULL platform behavior
clGetPlatformInfo(NULL, CL_PLATFORM_NAME, ...) AMD Accelerated Parallel Processing
clGetDeviceIDs(NULL, CL_DEVICE_TYPE_ALL, ...) <error: 0 devices, multiple matching platforms!>
clCreateContext(NULL, ...) [default] No devices found in platform
clCreateContext(NULL, ...) [other]
clCreateContextFromType(NULL, CL_DEVICE_TYPE_DEFAULT) No devices found in platform
clCreateContextFromType(NULL, CL_DEVICE_TYPE_CPU) No devices found in platform
clCreateContextFromType(NULL, CL_DEVICE_TYPE_GPU) No devices found in platform
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) No devices found in platform
ICD loader properties
ICD loader Name OpenCL ICD Loaderns
ICD loader Vendor OCL Icd free softwarens
ICD loader Version 2.3.2ns
ICD loader Profile OpenCL 3.0ns
System Information:
CPU: Ryzen 5600
GPU: Radeon RX 6600
Motherboard: ASUS Prime B450M-A II
RAM: 16GB DDR4-3200MHz (2x8GB)
Kernel: linux 6.4.7-arch1-1
Last edited by nicholaxe (2024-03-21 17:29:54)
Offline
I am wrapped around the same swirl of drivers. At one time, after a variety of attempts, the dang integrated Radeon iGPU began folding but shortly after stopped with a global update. My clinfo's parallel yours, with minor differences. ROCm version 6.0.x was installed at the folding interval if I remember right.
Ryzen 7900 / AsRock B650E Taichi
Currently, with ROCm, the last six lines of clCreateContextFromType(NULL all show no devices, with exception of
CL_DEVICE_TYPE_CUSTOM) Invalid device type for platform
Wonder if you have made progress in the past eight months.
Offline
Eenie meenie, chili beanie, the spirits are about to speak -- Bullwinkle J. Moose
It's a big club...and you ain't in it -- George Carlin
Registered Linux user #149839
perl -e 'print$i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10); '
Offline
After giving up on this for a few months I have again tried to get it running on my PC. In the meantime new information has been added to the arch wiki article on FAH specifying a solution to my problem. I had to replace the included version of libstdc++.so.6 with the system version as the included version apparently causes problems with ROCm. After doing that folding on the GPU is working.
Offline