Page 1 of 1

Radeon 590 stuck on "Version 0.0.2"

PostPosted: Mon Mar 23, 2020 4:07 pm
by braiam
I've configure my desktop to use FAH with this guide /viewtopic.php?f=106&t=33090, I'm capable of using the GPU for mining, clinfo returns what it should, but no work gets done in the client. I don't know what's going wrong with it.

Code: Select all
*********************** Log Started 2020-03-23T15:03:17Z ***********************
15:03:17:WU01:FS01:Starting
15:03:17:WU01:FS01:Running FahCore: /usr/bin/FAHCoreWrapper /var/lib/fahclient/cores/cores.foldingathome.org/v7/lin/64bit/Core_22.fah/FahCore_22 -dir 01 -suffix 01 -version 705 -lifeline 3954558 -checkpoint 3 -gpu-vendor amd -opencl-platform 0 -opencl-device 0 -gpu 0
15:03:17:WU01:FS01:Started FahCore on PID 3954567
15:03:17:WU01:FS01:Core PID:3954571
15:03:17:WU01:FS01:FahCore 0x22 started
15:03:18:WU01:FS01:0x22:*********************** Log Started 2020-03-23T15:03:17Z ***********************
15:03:18:WU01:FS01:0x22:*************************** Core22 Folding@home Core ***************************
15:03:18:WU01:FS01:0x22:       Type: 0x22
15:03:18:WU01:FS01:0x22:       Core: Core22
15:03:18:WU01:FS01:0x22:    Website: https://foldingathome.org/
15:03:18:WU01:FS01:0x22:  Copyright: (c) 2009-2018 foldingathome.org
15:03:18:WU01:FS01:0x22:     Author: John Chodera <john.chodera@choderalab.org> and Rafal Wiewiora
15:03:18:WU01:FS01:0x22:             <rafal.wiewiora@choderalab.org>
15:03:18:WU01:FS01:0x22:       Args: -dir 01 -suffix 01 -version 705 -lifeline 3954567 -checkpoint 3
15:03:18:WU01:FS01:0x22:             -gpu-vendor amd -opencl-platform 0 -opencl-device 0 -gpu 0
15:03:18:WU01:FS01:0x22:     Config: <none>
15:03:18:WU01:FS01:0x22:************************************ Build *************************************
15:03:18:WU01:FS01:0x22:    Version: 0.0.2
15:03:18:WU01:FS01:0x22:       Date: Dec 6 2019
15:03:18:WU01:FS01:0x22:       Time: 21:20:17
15:03:18:WU01:FS01:0x22: Repository: Git
15:03:18:WU01:FS01:0x22:   Revision: f87d92b58abdf7e6bf2e173cfbc4dc3e837c7042
15:03:18:WU01:FS01:0x22:     Branch: core22
15:03:18:WU01:FS01:0x22:   Compiler: GNU 4.8.2 20140120 (Red Hat 4.8.2-15)
15:03:18:WU01:FS01:0x22:    Options: -std=gnu++98 -O3 -funroll-loops
15:03:18:WU01:FS01:0x22:   Platform: linux2 4.9.87-linuxkit-aufs
15:03:18:WU01:FS01:0x22:       Bits: 64
15:03:18:WU01:FS01:0x22:       Mode: Release
15:03:18:WU01:FS01:0x22:************************************ System ************************************
15:03:18:WU01:FS01:0x22:        CPU: AMD Ryzen 5 2600 Six-Core Processor
15:03:18:WU01:FS01:0x22:     CPU ID: AuthenticAMD Family 23 Model 8 Stepping 2
15:03:18:WU01:FS01:0x22:       CPUs: 12
15:03:18:WU01:FS01:0x22:     Memory: 31.38GiB
15:03:18:WU01:FS01:0x22:Free Memory: 2.17GiB
15:03:18:WU01:FS01:0x22:    Threads: POSIX_THREADS
15:03:18:WU01:FS01:0x22: OS Version: 5.5
15:03:18:WU01:FS01:0x22:Has Battery: false
15:03:18:WU01:FS01:0x22: On Battery: false
15:03:18:WU01:FS01:0x22: UTC Offset: -4
15:03:18:WU01:FS01:0x22:        PID: 3954571
15:03:18:WU01:FS01:0x22:        CWD: /var/lib/fahclient/work
15:03:18:WU01:FS01:0x22:         OS: Linux 5.5.7 x86_64
15:03:18:WU01:FS01:0x22:    OS Arch: AMD64
15:03:18:WU01:FS01:0x22:********************************************************************************
15:03:18:WU01:FS01:0x22:Project: 11777 (Run 0, Clone 22434, Gen 0)
15:03:18:WU01:FS01:0x22:Unit: 0x00000000287234c95e774a181e4aeed5
15:03:18:WU01:FS01:0x22:Reading tar file core.xml
15:03:18:WU01:FS01:0x22:Reading tar file integrator.xml
15:03:18:WU01:FS01:0x22:Reading tar file state.xml
15:03:18:WU01:FS01:0x22:Reading tar file system.xml
15:03:18:WU01:FS01:0x22:Digital signatures verified
15:03:18:WU01:FS01:0x22:Folding@home GPU Core22 Folding@home Core
15:03:18:WU01:FS01:0x22:Version 0.0.2


Code: Select all
➜  /tmp clinfo
Number of platforms                               1
  Platform Name                                   AMD Accelerated Parallel Processing
  Platform Vendor                                 Advanced Micro Devices, Inc.
  Platform Version                                OpenCL 2.1 AMD-APP (3004.6)
  Platform Profile                                FULL_PROFILE
  Platform Extensions                             cl_khr_icd cl_amd_event_callback cl_amd_offline_devices
  Platform Host timer resolution                  1ns
  Platform Extensions function suffix             AMD

  Platform Name                                   AMD Accelerated Parallel Processing
Number of devices                                 1
  Device Name                                     Ellesmere
  Device Vendor                                   Advanced Micro Devices, Inc.
  Device Vendor ID                                0x1002
  Device Version                                  OpenCL 1.2 AMD-APP (3004.6)
  Driver Version                                  3004.6
  Device OpenCL C Version                         OpenCL C 1.2
  Device Type                                     GPU
  Device Board Name (AMD)                         Radeon RX 590 Series
  Device Topology (AMD)                           PCI-E, 09:00.0
  Device Profile                                  FULL_PROFILE
  Device Available                                Yes
  Compiler Available                              Yes
  Linker Available                                Yes
  Max compute units                               36
  SIMD per compute unit (AMD)                     4
  SIMD width (AMD)                                16
  SIMD instruction width (AMD)                    1
  Max clock frequency                             1545MHz
  Graphics IP (AMD)                               8.0
  Device Partition                                (core)
    Max number of sub-devices                     36
    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              64
  Wavefront width (AMD)                           64
  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                                     No
    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                              6220161024 (5.793GiB)
  Global free memory (AMD)                        6055820 (5.775GiB)
  Global memory channels (AMD)                    8
  Global memory banks per channel (AMD)           16
  Global memory bank width (AMD)                  256 bytes
  Error Correction support                        No
  Max memory allocation                           4244635648 (3.953GiB)
  Unified memory for Host and Device              No
  Minimum alignment for any data type             128 bytes
  Alignment of base address                       2048 bits (256 bytes)
  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             16
    Max size for 1D images from buffer            134217728 pixels
    Max 1D or 2D image array size                 2048 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                             2048x2048x2048 pixels
    Max number of read image args                 128
    Max number of write image args                8
  Local memory type                               Local
  Local memory size                               32768 (32KiB)
  Local memory syze per CU (AMD)                  65536 (64KiB)
  Local memory banks (AMD)                        32
  Max number of constant args                     8
  Max constant buffer size                        4244635648 (3.953GiB)
  Preferred constant buffer size (AMD)            16384 (16KiB)
  Max size of kernel argument                     1024
  Queue properties                               
    Out-of-order execution                        No
    Profiling                                     Yes
  Prefer user sync for interop                    Yes
  Profiling timer resolution                      1ns
  Profiling timer offset since Epoch (AMD)        1584060080925523643ns (Thu Mar 12 20:41:20 2020)
  Execution capabilities                         
    Run OpenCL kernels                            Yes
    Run native kernels                            No
    Thread trace supported (AMD)                  Yes
    Number of async queues (AMD)                  2
    Max real-time compute queues (AMD)            0
    Max real-time compute units (AMD)             1345589896
    SPIR versions                                 1.2
  printf() buffer size                            4194304 (4MiB)
  Built-in kernels                                (n/a)
  Device Extensions                               cl_khr_fp64 cl_amd_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_vec3 cl_amd_printf cl_amd_media_ops cl_amd_media_ops2 cl_amd_popcnt cl_khr_image2d_from_buffer cl_amd_bus_addressable_memory cl_khr_spir cl_khr_gl_event

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                                   Ellesmere
  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                                   Ellesmere
  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                                   Ellesmere


I know it's doing nothing because radeontop reports ~10% which is more or less what it uses when I'm using the system.

Re: Radeon 590 stuck on "Version 0.0.2"

PostPosted: Mon Mar 23, 2020 8:42 pm
by muziqaz
Hm, I have seen 11777 folding successfully on other AMD GPU, though not in Linux. Have you tried restarting the slot? Also during the wait period, have you noticed if fahcore_22 is using 1.5/2 threads of CPU?

Re: Radeon 590 stuck on "Version 0.0.2"

PostPosted: Tue Mar 24, 2020 10:17 pm
by braiam
muziqaz wrote:Hm, I have seen 11777 folding successfully on other AMD GPU, though not in Linux. Have you tried restarting the slot? Also during the wait period, have you noticed if fahcore_22 is using 1.5/2 threads of CPU?

I've tried removing the work unit from the /work directory, still the same. I scrapped everything and used mesa, boinc projects seems to play easily with that setup. Meanwhile if I use -pro not even those work correctly.

Right now I tried again, will report back if I get a WU.

Re: Radeon 590 stuck on "Version 0.0.2"

PostPosted: Tue Mar 24, 2020 10:27 pm
by braiam
Well, found some but ended with BAD_WORK_UNIT: Bad platformId size

Code: Select all
21:25:32:WU01:FS00:Download complete
21:25:32:WU01:FS00:Received Unit: id:01 state:DOWNLOAD error:NO_ERROR project:11776 run:0 clone:33079 gen:0 core:0x22 unit:0x00000000287234c95e7931379a1cd6d4
21:25:32:WU01:FS00:Starting
21:25:32:WU01:FS00:Running FahCore: /usr/bin/FAHCoreWrapper /var/lib/fahclient/cores/cores.foldingathome.org/v7/lin/64bit/Core_22.fah/FahCore_22 -dir 01 -suffix 01 -version 705 -lifeline 294064 -checkpoint 3 -gpu-vendor amd -opencl-platform 0 -opencl-device 0 -gpu 0
21:25:32:WU01:FS00:Started FahCore on PID 294979
21:25:32:Started thread 12 on PID 294064
21:25:32:WU01:FS00:Core PID:294983
21:25:32:WU01:FS00:FahCore 0x22 started
21:25:33:WU01:FS00:0x22:*********************** Log Started 2020-03-24T21:25:32Z ***********************
21:25:33:WU01:FS00:0x22:*************************** Core22 Folding@home Core ***************************
21:25:33:WU01:FS00:0x22:       Type: 0x22
21:25:33:WU01:FS00:0x22:       Core: Core22
21:25:33:WU01:FS00:0x22:    Website: https://foldingathome.org/
21:25:33:WU01:FS00:0x22:  Copyright: (c) 2009-2018 foldingathome.org
21:25:33:WU01:FS00:0x22:     Author: John Chodera <john.chodera@choderalab.org> and Rafal Wiewiora
21:25:33:WU01:FS00:0x22:             <rafal.wiewiora@choderalab.org>
21:25:33:WU01:FS00:0x22:       Args: -dir 01 -suffix 01 -version 705 -lifeline 294979 -checkpoint 3
21:25:33:WU01:FS00:0x22:             -gpu-vendor amd -opencl-platform 0 -opencl-device 0 -gpu 0
21:25:33:WU01:FS00:0x22:     Config: <none>
21:25:33:WU01:FS00:0x22:************************************ Build *************************************
21:25:33:WU01:FS00:0x22:    Version: 0.0.2
21:25:33:WU01:FS00:0x22:       Date: Dec 6 2019
21:25:33:WU01:FS00:0x22:       Time: 21:20:17
21:25:33:WU01:FS00:0x22: Repository: Git
21:25:33:WU01:FS00:0x22:   Revision: f87d92b58abdf7e6bf2e173cfbc4dc3e837c7042
21:25:33:WU01:FS00:0x22:     Branch: core22
21:25:33:WU01:FS00:0x22:   Compiler: GNU 4.8.2 20140120 (Red Hat 4.8.2-15)
21:25:33:WU01:FS00:0x22:    Options: -std=gnu++98 -O3 -funroll-loops
21:25:33:WU01:FS00:0x22:   Platform: linux2 4.9.87-linuxkit-aufs
21:25:33:WU01:FS00:0x22:       Bits: 64
21:25:33:WU01:FS00:0x22:       Mode: Release
21:25:33:WU01:FS00:0x22:************************************ System ************************************
21:25:33:WU01:FS00:0x22:        CPU: AMD Ryzen 5 2600 Six-Core Processor
21:25:33:WU01:FS00:0x22:     CPU ID: AuthenticAMD Family 23 Model 8 Stepping 2
21:25:33:WU01:FS00:0x22:       CPUs: 12
21:25:33:WU01:FS00:0x22:     Memory: 31.38GiB
21:25:33:WU01:FS00:0x22:Free Memory: 253.66MiB
21:25:33:WU01:FS00:0x22:    Threads: POSIX_THREADS
21:25:33:WU01:FS00:0x22: OS Version: 5.5
21:25:33:WU01:FS00:0x22:Has Battery: false
21:25:33:WU01:FS00:0x22: On Battery: false
21:25:33:WU01:FS00:0x22: UTC Offset: -4
21:25:33:WU01:FS00:0x22:        PID: 294983
21:25:33:WU01:FS00:0x22:        CWD: /var/lib/fahclient/work
21:25:33:WU01:FS00:0x22:         OS: Linux 5.5.7 x86_64
21:25:33:WU01:FS00:0x22:    OS Arch: AMD64
21:25:33:WU01:FS00:0x22:********************************************************************************
21:25:33:WU01:FS00:0x22:Project: 11776 (Run 0, Clone 33079, Gen 0)
21:25:33:WU01:FS00:0x22:Unit: 0x00000000287234c95e7931379a1cd6d4
21:25:33:WU01:FS00:0x22:Reading tar file core.xml
21:25:33:WU01:FS00:0x22:Reading tar file integrator.xml
21:25:33:WU01:FS00:0x22:Reading tar file state.xml
21:25:33:WU01:FS00:0x22:Reading tar file system.xml
21:25:33:WU01:FS00:0x22:Digital signatures verified
21:25:33:WU01:FS00:0x22:Folding@home GPU Core22 Folding@home Core
21:25:33:WU01:FS00:0x22:Version 0.0.2
21:25:33:WU01:FS00:0x22:ERROR:126: Bad platformId size.
21:25:33:WU01:FS00:0x22:Saving result file ../logfile_01.txt
21:25:33:WU01:FS00:0x22:Saving result file science.log
21:25:33:WU01:FS00:0x22:Folding@home Core Shutdown: BAD_WORK_UNIT
21:25:33:WARNING:WU01:FS00:FahCore returned: BAD_WORK_UNIT (114 = 0x72)
21:25:33:WU01:FS00:Sending unit results: id:01 state:SEND error:FAULTY project:11776 run:0 clone:33079 gen:0 core:0x22 unit:0x00000000287234c95e7931379a1cd6d4
21:25:33:WU01:FS00:Uploading 7.00KiB to 40.114.52.201
21:25:33:WU01:FS00:Connecting to 40.114.52.201:8080
21:25:34:WU00:FS00:Connecting to 65.254.110.245:8080
21:25:34:WARNING:WU00:FS00:Failed to get assignment from '65.254.110.245:8080': No WUs available for this configuration

Re: Radeon 590 stuck on "Version 0.0.2"

PostPosted: Tue Mar 24, 2020 10:52 pm
by bruce
I've seen several issues that MIGHT be associated with AMD GPU drivers but no proof.

Just on a lark, go to /var/lib/fahclient/work and confirm that the account that's running FAHCore_22 has r/w permissions. What files being created there?

This log is showing WU01 is active so the files should be in a subdirecory named 01.

Re: Radeon 590 stuck on "Version 0.0.2"

PostPosted: Tue Mar 24, 2020 10:59 pm
by muziqaz
I'm being told, it might be drivers or opencl not fully installed. As I fold on windows, I cannot help further :(
but maybe Bruce will manage to get it back to life :)

Re: Radeon 590 stuck on "Version 0.0.2"

PostPosted: Thu Mar 26, 2020 12:38 am
by braiam
bruce wrote:I've seen several issues that MIGHT be associated with AMD GPU drivers but no proof.

Just on a lark, go to /var/lib/fahclient/work and confirm that the account that's running FAHCore_22 has r/w permissions. What files being created there?

This log is showing WU01 is active so the files should be in a subdirecory named 01.


Yes, I'm running it with the root account, since I've seen reports that that could be a problem to access the kdf driver. Sadly, as it's configured right now, it clears out the directory that creates. I've changed the the configuration so there's only one WU running, only for the GPU. The log isn't very helpful either.
Code: Select all
23:22:44:WU01:FS00:Received Unit: id:01 state:DOWNLOAD error:NO_ERROR project:11779 run:0 clone:2539 gen:8 core:0x22 unit:0x0000000b0d5a98395e73c5bc7fa48ea6
23:22:44:WU01:FS00:Starting
23:22:44:WU01:FS00:Running FahCore: /usr/bin/FAHCoreWrapper /var/lib/fahclient/cores/cores.foldingathome.org/v7/lin/64bit/Core_22.fah/FahCore_22 -dir 01 -suffix 01 -version 705 -lifeline 2129100 -checkpoint 3 -gpu-vendor amd -opencl-platform 0 -opencl-device 0 -gpu 0
23:22:44:WU01:FS00:Started FahCore on PID 2347906
23:22:44:Started thread 12 on PID 2129100
23:22:44:WU01:FS00:Core PID:2347911
23:22:44:WU01:FS00:FahCore 0x22 started
23:22:45:WU01:FS00:0x22:*********************** Log Started 2020-03-25T23:22:44Z ***********************
23:22:45:WU01:FS00:0x22:*************************** Core22 Folding@home Core ***************************
23:22:45:WU01:FS00:0x22:       Type: 0x22
23:22:45:WU01:FS00:0x22:       Core: Core22
23:22:45:WU01:FS00:0x22:    Website: https://foldingathome.org/
23:22:45:WU01:FS00:0x22:  Copyright: (c) 2009-2018 foldingathome.org
23:22:45:WU01:FS00:0x22:     Author: John Chodera <john.chodera@choderalab.org> and Rafal Wiewiora
23:22:45:WU01:FS00:0x22:             <rafal.wiewiora@choderalab.org>
23:22:45:WU01:FS00:0x22:       Args: -dir 01 -suffix 01 -version 705 -lifeline 2347906 -checkpoint 3
23:22:45:WU01:FS00:0x22:             -gpu-vendor amd -opencl-platform 0 -opencl-device 0 -gpu 0
23:22:45:WU01:FS00:0x22:     Config: <none>
23:22:45:WU01:FS00:0x22:************************************ Build *************************************
23:22:45:WU01:FS00:0x22:    Version: 0.0.2
23:22:45:WU01:FS00:0x22:       Date: Dec 6 2019
23:22:45:WU01:FS00:0x22:       Time: 21:20:17
23:22:45:WU01:FS00:0x22: Repository: Git
23:22:45:WU01:FS00:0x22:   Revision: f87d92b58abdf7e6bf2e173cfbc4dc3e837c7042
23:22:45:WU01:FS00:0x22:     Branch: core22
23:22:45:WU01:FS00:0x22:   Compiler: GNU 4.8.2 20140120 (Red Hat 4.8.2-15)
23:22:45:WU01:FS00:0x22:    Options: -std=gnu++98 -O3 -funroll-loops
23:22:45:WU01:FS00:0x22:   Platform: linux2 4.9.87-linuxkit-aufs
23:22:45:WU01:FS00:0x22:       Bits: 64
23:22:45:WU01:FS00:0x22:       Mode: Release
23:22:45:WU01:FS00:0x22:************************************ System ************************************
23:22:45:WU01:FS00:0x22:        CPU: AMD Ryzen 5 2600 Six-Core Processor
23:22:45:WU01:FS00:0x22:     CPU ID: AuthenticAMD Family 23 Model 8 Stepping 2
23:22:45:WU01:FS00:0x22:       CPUs: 12
23:22:45:WU01:FS00:0x22:     Memory: 31.38GiB
23:22:45:WU01:FS00:0x22:Free Memory: 612.60MiB
23:22:45:WU01:FS00:0x22:    Threads: POSIX_THREADS
23:22:45:WU01:FS00:0x22: OS Version: 5.5
23:22:45:WU01:FS00:0x22:Has Battery: false
23:22:45:WU01:FS00:0x22: On Battery: false
23:22:45:WU01:FS00:0x22: UTC Offset: -4
23:22:45:WU01:FS00:0x22:        PID: 2347911
23:22:45:WU01:FS00:0x22:        CWD: /var/lib/fahclient/work
23:22:45:WU01:FS00:0x22:         OS: Linux 5.5.7 x86_64
23:22:45:WU01:FS00:0x22:    OS Arch: AMD64
23:22:45:WU01:FS00:0x22:********************************************************************************
23:22:45:WU01:FS00:0x22:Project: 11779 (Run 0, Clone 2539, Gen 8)
23:22:45:WU01:FS00:0x22:Unit: 0x0000000b0d5a98395e73c5bc7fa48ea6
23:22:45:WU01:FS00:0x22:Reading tar file core.xml
23:22:45:WU01:FS00:0x22:Reading tar file integrator.xml
23:22:45:WU01:FS00:0x22:Reading tar file state.xml
23:22:45:WU01:FS00:0x22:Reading tar file system.xml
23:22:45:WU01:FS00:0x22:Digital signatures verified
23:22:45:WU01:FS00:0x22:Folding@home GPU Core22 Folding@home Core
23:22:45:WU01:FS00:0x22:Version 0.0.2
23:22:45:WU01:FS00:0x22:ERROR:126: Bad platformId size.
23:22:45:WU01:FS00:0x22:Saving result file ../logfile_01.txt
23:22:45:WU01:FS00:0x22:Saving result file science.log
23:22:45:WU01:FS00:0x22:Folding@home Core Shutdown: BAD_WORK_UNIT
23:22:45:WARNING:WU01:FS00:FahCore returned: BAD_WORK_UNIT (114 = 0x72)
23:22:45:WU01:FS00:Sending unit results: id:01 state:SEND error:FAULTY project:11779 run:0 clone:2539 gen:8 core:0x22 unit:0x0000000b0d5a98395e73c5bc7fa48ea6


I didn't find the logfile_01.txt it makes reference either.

Re: Radeon 590 stuck on "Version 0.0.2"

PostPosted: Thu Mar 26, 2020 2:19 am
by braiam
bruce wrote:I've seen several issues that MIGHT be associated with AMD GPU drivers but no proof.

Just on a lark, go to /var/lib/fahclient/work and confirm that the account that's running FAHCore_22 has r/w permissions. What files being created there?

This log is showing WU01 is active so the files should be in a subdirecory named 01.


I nucked the system again, to give the amd installation another try. Used viewtopic.php?f=106&t=33090 to set up the system, these are the files that were created:
Code: Select all
➜  work tree
.
├── 00
│   ├── 01
│   │   ├── core.xml
│   │   ├── integrator.xml
│   │   ├── science.log
│   │   ├── state.xml
│   │   └── system.xml
│   ├── logfile_01.txt
│   ├── wudata_01.dat
│   └── wudata_01.lock
├── client.db
└── client.db-journal

2 directories, 10 files


Process are being run as root:

Code: Select all
➜  work ps axug | grep FAH
root       57657  0.0  0.0 319540 32364 ?        Ssl  20:55   0:00 /usr/bin/FAHClient /etc/fahclient/config.xml --run-as root --pid-file=/var/run/fahclient.pid --daemon
root       57659  0.1  0.2 838384 95360 ?        Sl   20:55   0:01 /usr/bin/FAHClient --child --lifeline 57657 /etc/fahclient/config.xml --run-as root --pid-file=/var/run/fahclient.pid --daemon
root       58599  0.0  0.0  80756  4520 ?        SNl  21:08   0:00 /usr/bin/FAHCoreWrapper /var/lib/fahclient/cores/cores.foldingathome.org/v7/lin/64bit/Core_22.fah/FahCore_22 -dir 00 -suffix 01 -version 705 -lifeline 57659 -checkpoint 3 -gpu-vendor amd -opencl-platform 0 -opencl-device 0 -gpu 0


Original problem still persist. I see no GPU utilization.

Code: Select all
01:08:40:WU00:FS00:Download complete
01:08:40:WU00:FS00:Received Unit: id:00 state:DOWNLOAD error:NO_ERROR project:11762 run:0 clone:1033 gen:10 core:0x22 unit:0x0000001280fccb0a5e6d80cd74bc9966
01:08:40:WU00:FS00:Starting
01:08:40:WU00:FS00:Running FahCore: /usr/bin/FAHCoreWrapper /var/lib/fahclient/cores/cores.foldingathome.org/v7/lin/64bit/Core_22.fah/FahCore_22 -dir 00 -suffix 01 -version 705 -lifeline 57659 -checkpoint 3 -gpu-vendor amd -opencl-platform 0 -opencl-device 0 -gpu 0
01:08:40:WU00:FS00:Started FahCore on PID 58599
01:08:40:Started thread 11 on PID 57659
01:08:40:WU00:FS00:Core PID:58603
01:08:40:WU00:FS00:FahCore 0x22 started
01:08:41:WU00:FS00:0x22:*********************** Log Started 2020-03-26T01:08:40Z ***********************
01:08:41:WU00:FS00:0x22:*************************** Core22 Folding@home Core ***************************
01:08:41:WU00:FS00:0x22:       Type: 0x22
01:08:41:WU00:FS00:0x22:       Core: Core22
01:08:41:WU00:FS00:0x22:    Website: https://foldingathome.org/
01:08:41:WU00:FS00:0x22:  Copyright: (c) 2009-2018 foldingathome.org
01:08:41:WU00:FS00:0x22:     Author: John Chodera <john.chodera@choderalab.org> and Rafal Wiewiora
01:08:41:WU00:FS00:0x22:             <rafal.wiewiora@choderalab.org>
01:08:41:WU00:FS00:0x22:       Args: -dir 00 -suffix 01 -version 705 -lifeline 58599 -checkpoint 3
01:08:41:WU00:FS00:0x22:             -gpu-vendor amd -opencl-platform 0 -opencl-device 0 -gpu 0
01:08:41:WU00:FS00:0x22:     Config: <none>
01:08:41:WU00:FS00:0x22:************************************ Build *************************************
01:08:41:WU00:FS00:0x22:    Version: 0.0.2
01:08:41:WU00:FS00:0x22:       Date: Dec 6 2019
01:08:41:WU00:FS00:0x22:       Time: 21:20:17
01:08:41:WU00:FS00:0x22: Repository: Git
01:08:41:WU00:FS00:0x22:   Revision: f87d92b58abdf7e6bf2e173cfbc4dc3e837c7042
01:08:41:WU00:FS00:0x22:     Branch: core22
01:08:41:WU00:FS00:0x22:   Compiler: GNU 4.8.2 20140120 (Red Hat 4.8.2-15)
01:08:41:WU00:FS00:0x22:    Options: -std=gnu++98 -O3 -funroll-loops
01:08:41:WU00:FS00:0x22:   Platform: linux2 4.9.87-linuxkit-aufs
01:08:41:WU00:FS00:0x22:       Bits: 64
01:08:41:WU00:FS00:0x22:       Mode: Release
01:08:41:WU00:FS00:0x22:************************************ System ************************************
01:08:41:WU00:FS00:0x22:        CPU: AMD Ryzen 5 2600 Six-Core Processor
01:08:41:WU00:FS00:0x22:     CPU ID: AuthenticAMD Family 23 Model 8 Stepping 2
01:08:41:WU00:FS00:0x22:       CPUs: 12
01:08:41:WU00:FS00:0x22:     Memory: 31.38GiB
01:08:41:WU00:FS00:0x22:Free Memory: 2.49GiB
01:08:41:WU00:FS00:0x22:    Threads: POSIX_THREADS
01:08:41:WU00:FS00:0x22: OS Version: 5.5
01:08:41:WU00:FS00:0x22:Has Battery: false
01:08:41:WU00:FS00:0x22: On Battery: false
01:08:41:WU00:FS00:0x22: UTC Offset: -4
01:08:41:WU00:FS00:0x22:        PID: 58603
01:08:41:WU00:FS00:0x22:        CWD: /var/lib/fahclient/work
01:08:41:WU00:FS00:0x22:         OS: Linux 5.5.7 x86_64
01:08:41:WU00:FS00:0x22:    OS Arch: AMD64
01:08:41:WU00:FS00:0x22:********************************************************************************
01:08:41:WU00:FS00:0x22:Project: 11762 (Run 0, Clone 1033, Gen 10)
01:08:41:WU00:FS00:0x22:Unit: 0x0000001280fccb0a5e6d80cd74bc9966
01:08:41:WU00:FS00:0x22:Reading tar file core.xml
01:08:41:WU00:FS00:0x22:Reading tar file integrator.xml
01:08:41:WU00:FS00:0x22:Reading tar file state.xml
01:08:41:WU00:FS00:0x22:Reading tar file system.xml
01:08:41:WU00:FS00:0x22:Digital signatures verified
01:08:41:WU00:FS00:0x22:Folding@home GPU Core22 Folding@home Core
01:08:41:WU00:FS00:0x22:Version 0.0.2


I'm not sure what to try anymore. Primegrid and amicable numbers are using the GPU just fine right now.

Re: Radeon 590 stuck on "Version 0.0.2"

PostPosted: Fri Mar 27, 2020 1:40 pm
by Ant59
Created an account to say that I have this exact problem with my 5600XT on Linux. I cannot get past "Version 0.0.2" no matter how long I leave it. No errors, just no progress.

Re: Radeon 590 stuck on "Version 0.0.2"

PostPosted: Fri Apr 10, 2020 10:26 pm
by braiam
I solved this problem installing ROCm libaries as described here viewtopic.php?f=106&t=34231&p=324652#p324652