OpenCL not starting on AMD iGPU

It seems that a lot of GPU problems revolve around specific versions of drivers. Though AMD has their own support structure, you can often learn from information reported by others who fold.

Moderators: Site Moderators, FAHC Science Team

Post Reply
UdoA
Posts: 12
Joined: Sun Feb 07, 2021 10:26 am

OpenCL not starting on AMD iGPU

Post by UdoA »

Hello,

I had to do a new fresh install of Ubuntu Server 20.04.3 LTS on my AMD Ryzen 7 4750G Pro. To enable the utilization of the iGPU I chose to install the ROCm packages which were recommended in another post of this forum. The install went well and after some reboots the output of

Code: Select all

rocminfo
clinfo
showed that the GPU was correctly identified as opencl work unit.
The fahclient now also shows the GPU and a Project but the WU does not start and remains at 0.00%.
The output of the log-file shows:

Code: Select all

16:14:04:WU01:FS01:FahCore 0x22 started
16:14:04:WU01:FS01:0x22:*********************** Log Started 2021-10-07T16:14:04Z ***********************
16:14:04:WU01:FS01:0x22:*************************** Core22 Folding@home Core ***************************
16:14:04:WU01:FS01:0x22:       Core: Core22
16:14:04:WU01:FS01:0x22:       Type: 0x22
16:14:04:WU01:FS01:0x22:    Version: 0.0.13
16:14:04:WU01:FS01:0x22:     Author: Joseph Coffland <[email protected]>
16:14:04:WU01:FS01:0x22:  Copyright: 2020 foldingathome.org
16:14:04:WU01:FS01:0x22:   Homepage: https://foldingathome.org/
16:14:04:WU01:FS01:0x22:       Date: Sep 19 2020
16:14:04:WU01:FS01:0x22:       Time: 01:10:35
16:14:04:WU01:FS01:0x22:   Revision: 571cf95de6de2c592c7c3ed48fcfb2e33e9ea7d3
16:14:04:WU01:FS01:0x22:     Branch: core22-0.0.13
16:14:04:WU01:FS01:0x22:   Compiler: GNU 4.8.2 20140120 (Red Hat 4.8.2-15)
16:14:04:WU01:FS01:0x22:    Options: -std=c++11 -fsigned-char -ffunction-sections -fdata-sections -O3
16:14:04:WU01:FS01:0x22:             -funroll-loops -DOPENMM_GIT_HASH="\"189320d0\""
16:14:04:WU01:FS01:0x22:   Platform: linux2 4.19.76-linuxkit
16:14:04:WU01:FS01:0x22:       Bits: 64
16:14:04:WU01:FS01:0x22:       Mode: Release
16:14:04:WU01:FS01:0x22:Maintainers: John Chodera <[email protected]> and Peter Eastman
16:14:04:WU01:FS01:0x22:             <[email protected]>
16:14:04:WU01:FS01:0x22:       Args: -dir 01 -suffix 01 -version 706 -lifeline 787 -checkpoint 15
16:14:04:WU01:FS01:0x22:             -opencl-platform 0 -opencl-device 0 -gpu-vendor amd -gpu 0
16:14:04:WU01:FS01:0x22:             -gpu-usage 100
16:14:04:WU01:FS01:0x22:************************************ libFAH ************************************
16:14:04:WU01:FS01:0x22:       Date: Sep 15 2020
16:14:04:WU01:FS01:0x22:       Time: 05:14:43
16:14:04:WU01:FS01:0x22:   Revision: 44301ed97b996b63fe736bb8073f22209cb2b603
16:14:04:WU01:FS01:0x22:     Branch: HEAD
16:14:04:WU01:FS01:0x22:   Compiler: GNU 4.8.2 20140120 (Red Hat 4.8.2-15)
16:14:04:WU01:FS01:0x22:    Options: -std=c++11 -fsigned-char -ffunction-sections -fdata-sections -O3
16:14:04:WU01:FS01:0x22:             -funroll-loops
16:14:04:WU01:FS01:0x22:   Platform: linux2 4.19.76-linuxkit
16:14:04:WU01:FS01:0x22:       Bits: 64
16:14:04:WU01:FS01:0x22:       Mode: Release
16:14:04:WU01:FS01:0x22:************************************ CBang *************************************
16:14:04:WU01:FS01:0x22:       Date: Sep 15 2020
16:14:04:WU01:FS01:0x22:       Time: 05:11:04
16:14:04:WU01:FS01:0x22:   Revision: 33fcfc2b3ed2195a423606a264718e31e6b3903f
16:14:04:WU01:FS01:0x22:     Branch: HEAD
16:14:04:WU01:FS01:0x22:   Compiler: GNU 4.8.2 20140120 (Red Hat 4.8.2-15)
16:14:04:WU01:FS01:0x22:    Options: -std=c++11 -fsigned-char -ffunction-sections -fdata-sections -O3
16:14:04:WU01:FS01:0x22:             -funroll-loops -fPIC
16:14:04:WU01:FS01:0x22:   Platform: linux2 4.19.76-linuxkit
16:14:04:WU01:FS01:0x22:       Bits: 64
16:14:04:WU01:FS01:0x22:       Mode: Release
16:14:04:WU01:FS01:0x22:************************************ System ************************************
16:14:04:WU01:FS01:0x22:        CPU: AMD Ryzen 7 PRO 4750G with Radeon Graphics
16:14:04:WU01:FS01:0x22:     CPU ID: AuthenticAMD Family 23 Model 96 Stepping 1
16:14:04:WU01:FS01:0x22:       CPUs: 16
16:14:04:WU01:FS01:0x22:     Memory: 27.37GiB
16:14:04:WU01:FS01:0x22:Free Memory: 26.90GiB
16:14:04:WU01:FS01:0x22:    Threads: POSIX_THREADS
16:14:04:WU01:FS01:0x22: OS Version: 5.4
16:14:04:WU01:FS01:0x22:Has Battery: false
16:14:04:WU01:FS01:0x22: On Battery: false
16:14:04:WU01:FS01:0x22: UTC Offset: 2
16:14:04:WU01:FS01:0x22:        PID: 791
16:14:04:WU01:FS01:0x22:        CWD: /var/lib/fahclient/work
16:14:04:WU01:FS01:0x22:************************************ OpenMM ************************************
16:14:04:WU01:FS01:0x22:   Revision: 189320d0
16:14:04:WU01:FS01:0x22:********************************************************************************
16:14:04:WU01:FS01:0x22:Project: 18201 (Run 3599, Clone 2, Gen 4)
16:14:04:WU01:FS01:0x22:Unit: 0x00000000000000000000000000000000
16:14:04:WU01:FS01:0x22:Digital signatures verified
16:14:04:WU01:FS01:0x22:Folding@home GPU Core22 Folding@home Core
16:14:04:WU01:FS01:0x22:Version 0.0.13
16:14:04:WU01:FS01:0x22:  Checkpoint write interval: 25000 steps (2%) [50 total]
16:14:04:WU01:FS01:0x22:  JSON viewer frame write interval: 12500 steps (1%) [100 total]
16:14:04:WU01:FS01:0x22:  XTC frame write interval: 20000 steps (1.6%) [62 total]
16:14:04:WU01:FS01:0x22:  Global context and integrator variables write interval: disabled
16:14:04:WU01:FS01:0x22:There are 3 platforms available.
16:14:04:WU01:FS01:0x22:Platform 0: Reference
16:14:04:WU01:FS01:0x22:Platform 1: CPU
16:14:04:WU01:FS01:0x22:Platform 2: OpenCL
16:14:04:WU01:FS01:0x22:  opencl-device 0 specified
16:14:13:WU01:FS01:0x22:Attempting to create OpenCL context:
16:14:13:WU01:FS01:0x22:  Configuring platform OpenCL
Is that a normal behaviour and I only have to wait or is something wrong?

Thanks in advance for your help!
gunnarre
Posts: 559
Joined: Sun May 24, 2020 7:23 pm
Location: Norway

Re: OpenCL not starting on AMD iGPU

Post by gunnarre »

Can you show the start of the log, where it shows GPUs installed your system, like this?

Code: Select all

17:44:03:******************************* System ********************************
17:44:03:            CPU: AMD Ryzen 5 3600 6-Core Processor
17:44:03:         CPU ID: AuthenticAMD Family 23 Model 113 Stepping 0
17:44:03:           CPUs: 12
17:44:03:         Memory: 15.55GiB
17:44:03:    Free Memory: 3.41GiB
17:44:03:        Threads: POSIX_THREADS
17:44:03:     OS Version: 5.11
17:44:03:    Has Battery: false
17:44:03:     On Battery: false
17:44:03:     UTC Offset: 2
17:44:03:            PID: 784090
17:44:03:            CWD: /var/lib/fahclient
17:44:03:             OS: Linux 5.11.0-37-generic x86_64
17:44:03:        OS Arch: AMD64
17:44:03:           GPUs: 1
17:44:03:          GPU 0: Bus:8 Slot:0 Func:0 NVIDIA:7 TU116 [GeForce GTX 1660 SUPER]
17:44:03:  CUDA Device 0: Platform:0 Device:0 Bus:8 Slot:0 Compute:7.5 Driver:11.4
17:44:03:OpenCL Device 0: Platform:0 Device:0 Bus:8 Slot:0 Compute:3.0 Driver:470.63
17:44:03:***********************************************************************
Edit: You have to restart FAH to get this to show, or search for "GPUs" in the log.
Image
Online: GTX 1660 Super + occasional CPU folding in the cold.
Offline: Radeon HD 7770, GTX 1050 Ti 4G OC, RX580
UdoA
Posts: 12
Joined: Sun Feb 07, 2021 10:26 am

Re: OpenCL not starting on AMD iGPU

Post by UdoA »

I meanwhile tried with the AMD ROCr drivers but this shows the same:
Below is the complete log for now:

Code: Select all


*********************** Log Started 2021-10-07T18:29:25Z ***********************
18:29:25:******************************* libFAH ********************************
18:29:25:           Date: Oct 20 2020
18:29:25:           Time: 20:36:39
18:29:25:       Revision: 5ca109d295a6245e2a2f590b3d0085ad5e567aeb
18:29:25:         Branch: master
18:29:25:       Compiler: GNU 8.3.0
18:29:25:        Options: -faligned-new -std=c++11 -fsigned-char -ffunction-sections
18:29:25:                 -fdata-sections -O3 -funroll-loops -fno-pie
18:29:25:       Platform: linux2 5.8.0-1-amd64
18:29:25:           Bits: 64
18:29:25:           Mode: Release
18:29:25:****************************** FAHClient ******************************
18:29:25:        Version: 7.6.21
18:29:25:         Author: Joseph Coffland <[email protected]>
18:29:25:      Copyright: 2020 foldingathome.org
18:29:25:       Homepage: https://foldingathome.org/
18:29:25:           Date: Oct 20 2020
18:29:25:           Time: 20:39:00
18:29:25:       Revision: 6efbf0e138e22d3963e6a291f78dcb9c6422a278
18:29:25:         Branch: master
18:29:25:       Compiler: GNU 8.3.0
18:29:25:        Options: -faligned-new -std=c++11 -fsigned-char -ffunction-sections
18:29:25:                 -fdata-sections -O3 -funroll-loops -fno-pie
18:29:25:       Platform: linux2 5.8.0-1-amd64
18:29:25:           Bits: 64
18:29:25:           Mode: Release
18:29:25:           Args: --child /etc/fahclient/config.xml --run-as fahclient
18:29:25:                 --pid-file=/var/run/fahclient.pid --daemon
18:29:25:         Config: /etc/fahclient/config.xml
18:29:25:******************************** CBang ********************************
18:29:25:           Date: Oct 20 2020
18:29:25:           Time: 18:37:59
18:29:25:       Revision: 7e4ce85225d7eaeb775e87c31740181ca603de60
18:29:25:         Branch: master
18:29:25:       Compiler: GNU 8.3.0
18:29:25:        Options: -faligned-new -std=c++11 -fsigned-char -ffunction-sections
18:29:25:                 -fdata-sections -O3 -funroll-loops -fno-pie -fPIC
18:29:25:       Platform: linux2 5.8.0-1-amd64
18:29:25:           Bits: 64
18:29:25:           Mode: Release
18:29:25:******************************* System ********************************
18:29:25:            CPU: AMD Ryzen 7 PRO 4750G with Radeon Graphics
18:29:25:         CPU ID: AuthenticAMD Family 23 Model 96 Stepping 1
18:29:25:           CPUs: 16
18:29:25:         Memory: 27.37GiB
18:29:25:    Free Memory: 26.92GiB
18:29:25:        Threads: POSIX_THREADS
18:29:25:     OS Version: 5.4
18:29:25:    Has Battery: false
18:29:25:     On Battery: false
18:29:25:     UTC Offset: 2
18:29:25:            PID: 794
18:29:25:            CWD: /var/lib/fahclient
18:29:25:             OS: Linux 5.4.0-88-generic x86_64
18:29:25:        OS Arch: AMD64
18:29:25:           GPUs: 1
18:29:25:          GPU 0: Bus:3 Slot:0 Func:0 AMD:5 Renoir [Ryzen 4900HS mobile]
18:29:25:           CUDA: Not detected: Failed to open dynamic library 'libcuda.so':
18:29:25:                 libcuda.so: cannot open shared object file: No such file or
18:29:25:                 directory
18:29:25:OpenCL Device 0: Platform:0 Device:0 Bus:3 Slot:0 Compute:2.0 Driver:3314.0
18:29:25:***********************************************************************
18:29:25:<config>
18:29:25:  <!-- Client Control -->
18:29:25:  <fold-anon v='true'/>
18:29:25:
18:29:25:  <!-- HTTP Server -->
18:29:25:  <allow v='127.0.0.1 192.168.100.0/24'/>
18:29:25:
18:29:25:  <!-- Remote Command Server -->
18:29:25:  <command-allow-no-pass v='127.0.0.1 192.168.100.0/24'/>
18:29:25:  <password v='*****'/>
18:29:25:
18:29:25:  <!-- Slot Control -->
18:29:25:  <power v='full'/>
18:29:25:
18:29:25:  <!-- User Information -->
18:29:25:  <team v='251999'/>
18:29:25:  <user v='UdoA'/>
18:29:25:
18:29:25:  <!-- Web Server -->
18:29:25:  <web-allow v='127.0.0.1 192.168.100.0/24'/>
18:29:25:
18:29:25:  <!-- Folding Slots -->
18:29:25:  <slot id='0' type='CPU'/>
18:29:25:  <slot id='1' type='GPU'>
18:29:25:    <pci-bus v='3'/>
18:29:25:    <pci-slot v='0'/>
18:29:25:  </slot>
18:29:25:</config>
18:29:25:Trying to access database...
18:29:25:Successfully acquired database lock
18:29:25:FS00:Initialized folding slot 00: cpu:15
18:29:25:FS01:Initialized folding slot 01: gpu:3:0 Renoir [Ryzen 4900HS mobile]
18:29:25:WU00:FS01:Starting
18:29:25:WU00:FS01:Running FahCore: /usr/bin/FAHCoreWrapper /var/lib/fahclient/cores/cores.foldingathome.org/lin/64bit/22-0.0.13/Core_22.fah/FahCore_22 -dir 00 -suffix 01 -version 706 -lifeline 794 -checkpoint 15 -opencl-platform 0 -opencl-device 0 -gpu-vendor amd -gpu 0 -gpu-usage 100
18:29:25:WU00:FS01:Started FahCore on PID 807
18:29:25:WU00:FS01:Core PID:811
18:29:25:WU00:FS01:FahCore 0x22 started
18:29:25:WU02:FS00:Starting
18:29:25:WU02:FS00:Running FahCore: /usr/bin/FAHCoreWrapper /var/lib/fahclient/cores/cores.foldingathome.org/lin/64bit-avx2-256/a8-0.0.12/Core_a8.fah/FahCore_a8 -dir 02 -suffix 01 -version 706 -lifeline 794 -checkpoint 15 -np 15
18:29:25:WU02:FS00:Started FahCore on PID 812
18:29:25:WU02:FS00:Core PID:816
18:29:25:WU02:FS00:FahCore 0xa8 started
18:29:26:WU00:FS01:0x22:*********************** Log Started 2021-10-07T18:29:25Z ***********************
18:29:26:WU00:FS01:0x22:*************************** Core22 Folding@home Core ***************************
18:29:26:WU00:FS01:0x22:       Core: Core22
18:29:26:WU00:FS01:0x22:       Type: 0x22
18:29:26:WU00:FS01:0x22:    Version: 0.0.13
18:29:26:WU00:FS01:0x22:     Author: Joseph Coffland <[email protected]>
18:29:26:WU00:FS01:0x22:  Copyright: 2020 foldingathome.org
18:29:26:WU00:FS01:0x22:   Homepage: https://foldingathome.org/
18:29:26:WU00:FS01:0x22:       Date: Sep 19 2020
18:29:26:WU00:FS01:0x22:       Time: 01:10:35
18:29:26:WU00:FS01:0x22:   Revision: 571cf95de6de2c592c7c3ed48fcfb2e33e9ea7d3
18:29:26:WU00:FS01:0x22:     Branch: core22-0.0.13
18:29:26:WU00:FS01:0x22:   Compiler: GNU 4.8.2 20140120 (Red Hat 4.8.2-15)
18:29:26:WU00:FS01:0x22:    Options: -std=c++11 -fsigned-char -ffunction-sections -fdata-sections -O3
18:29:26:WU00:FS01:0x22:             -funroll-loops -DOPENMM_GIT_HASH="\"189320d0\""
18:29:26:WU00:FS01:0x22:   Platform: linux2 4.19.76-linuxkit
18:29:26:WU00:FS01:0x22:       Bits: 64
18:29:26:WU00:FS01:0x22:       Mode: Release
18:29:26:WU00:FS01:0x22:Maintainers: John Chodera <[email protected]> and Peter Eastman
18:29:26:WU00:FS01:0x22:             <[email protected]>
18:29:26:WU00:FS01:0x22:       Args: -dir 00 -suffix 01 -version 706 -lifeline 807 -checkpoint 15
18:29:26:WU00:FS01:0x22:             -opencl-platform 0 -opencl-device 0 -gpu-vendor amd -gpu 0
18:29:26:WU00:FS01:0x22:             -gpu-usage 100
18:29:26:WU00:FS01:0x22:************************************ libFAH ************************************
18:29:26:WU00:FS01:0x22:       Date: Sep 15 2020
18:29:26:WU00:FS01:0x22:       Time: 05:14:43
18:29:26:WU00:FS01:0x22:   Revision: 44301ed97b996b63fe736bb8073f22209cb2b603
18:29:26:WU00:FS01:0x22:     Branch: HEAD
18:29:26:WU00:FS01:0x22:   Compiler: GNU 4.8.2 20140120 (Red Hat 4.8.2-15)
18:29:26:WU00:FS01:0x22:    Options: -std=c++11 -fsigned-char -ffunction-sections -fdata-sections -O3
18:29:26:WU00:FS01:0x22:             -funroll-loops
18:29:26:WU00:FS01:0x22:   Platform: linux2 4.19.76-linuxkit
18:29:26:WU00:FS01:0x22:       Bits: 64
18:29:26:WU00:FS01:0x22:       Mode: Release
18:29:26:WU00:FS01:0x22:************************************ CBang *************************************
18:29:26:WU00:FS01:0x22:       Date: Sep 15 2020
18:29:26:WU00:FS01:0x22:       Time: 05:11:04
18:29:26:WU00:FS01:0x22:   Revision: 33fcfc2b3ed2195a423606a264718e31e6b3903f
18:29:26:WU00:FS01:0x22:     Branch: HEAD
18:29:26:WU00:FS01:0x22:   Compiler: GNU 4.8.2 20140120 (Red Hat 4.8.2-15)
18:29:26:WU00:FS01:0x22:    Options: -std=c++11 -fsigned-char -ffunction-sections -fdata-sections -O3
18:29:26:WU00:FS01:0x22:             -funroll-loops -fPIC
18:29:26:WU00:FS01:0x22:   Platform: linux2 4.19.76-linuxkit
18:29:26:WU00:FS01:0x22:       Bits: 64
18:29:26:WU00:FS01:0x22:       Mode: Release
18:29:26:WU00:FS01:0x22:************************************ System ************************************
18:29:26:WU00:FS01:0x22:        CPU: AMD Ryzen 7 PRO 4750G with Radeon Graphics
18:29:26:WU00:FS01:0x22:     CPU ID: AuthenticAMD Family 23 Model 96 Stepping 1
18:29:26:WU00:FS01:0x22:       CPUs: 16
18:29:26:WU00:FS01:0x22:     Memory: 27.37GiB
18:29:26:WU00:FS01:0x22:Free Memory: 26.91GiB
18:29:26:WU00:FS01:0x22:    Threads: POSIX_THREADS
18:29:26:WU00:FS01:0x22: OS Version: 5.4
18:29:26:WU00:FS01:0x22:Has Battery: false
18:29:26:WU00:FS01:0x22: On Battery: false
18:29:26:WU00:FS01:0x22: UTC Offset: 2
18:29:26:WU00:FS01:0x22:        PID: 811
18:29:26:WU00:FS01:0x22:        CWD: /var/lib/fahclient/work
18:29:26:WU00:FS01:0x22:************************************ OpenMM ************************************
18:29:26:WU00:FS01:0x22:   Revision: 189320d0
18:29:26:WU00:FS01:0x22:********************************************************************************
18:29:26:WU00:FS01:0x22:Project: 18201 (Run 1224, Clone 1, Gen 39)
18:29:26:WU00:FS01:0x22:Unit: 0x00000000000000000000000000000000
18:29:26:WU00:FS01:0x22:Digital signatures verified
18:29:26:WU00:FS01:0x22:Folding@home GPU Core22 Folding@home Core
18:29:26:WU00:FS01:0x22:Version 0.0.13
18:29:26:WU00:FS01:0x22:  Checkpoint write interval: 25000 steps (2%) [50 total]
18:29:26:WU00:FS01:0x22:  JSON viewer frame write interval: 12500 steps (1%) [100 total]
18:29:26:WU00:FS01:0x22:  XTC frame write interval: 20000 steps (1.6%) [62 total]
18:29:26:WU00:FS01:0x22:  Global context and integrator variables write interval: disabled
18:29:26:WU00:FS01:0x22:There are 3 platforms available.
18:29:26:WU00:FS01:0x22:Platform 0: Reference
18:29:26:WU00:FS01:0x22:Platform 1: CPU
18:29:26:WU00:FS01:0x22:Platform 2: OpenCL
18:29:26:WU00:FS01:0x22:  opencl-device 0 specified
18:29:26:WU02:FS00:0xa8:*********************** Log Started 2021-10-07T18:29:25Z ***********************
18:29:26:WU02:FS00:0xa8:************************** Gromacs Folding@home Core ***************************
18:29:26:WU02:FS00:0xa8:       Core: Gromacs
18:29:26:WU02:FS00:0xa8:       Type: 0xa8
18:29:26:WU02:FS00:0xa8:    Version: 0.0.12
18:29:26:WU02:FS00:0xa8:     Author: Joseph Coffland <[email protected]>
18:29:26:WU02:FS00:0xa8:  Copyright: 2020 foldingathome.org
18:29:26:WU02:FS00:0xa8:   Homepage: https://foldingathome.org/
18:29:26:WU02:FS00:0xa8:       Date: Jan 16 2021
18:29:26:WU02:FS00:0xa8:       Time: 19:24:44
18:29:26:WU02:FS00:0xa8:   Compiler: GNU 8.3.0
18:29:26:WU02:FS00:0xa8:    Options: -faligned-new -std=c++14 -fsigned-char -ffunction-sections
18:29:26:WU02:FS00:0xa8:             -fdata-sections -O3 -funroll-loops -fno-pie
18:29:26:WU02:FS00:0xa8:   Platform: linux2 4.15.0-128-generic
18:29:26:WU02:FS00:0xa8:       Bits: 64
18:29:26:WU02:FS00:0xa8:       Mode: Release
18:29:26:WU02:FS00:0xa8:       SIMD: avx2_256
18:29:26:WU02:FS00:0xa8:     OpenMP: ON
18:29:26:WU02:FS00:0xa8:       CUDA: OFF
18:29:26:WU02:FS00:0xa8:       Args: -dir 02 -suffix 01 -version 706 -lifeline 812 -checkpoint 15 -np 15
18:29:26:WU02:FS00:0xa8:************************************ libFAH ************************************
18:29:26:WU02:FS00:0xa8:       Date: Jan 16 2021
18:29:26:WU02:FS00:0xa8:       Time: 19:21:38
18:29:26:WU02:FS00:0xa8:   Compiler: GNU 8.3.0
18:29:26:WU02:FS00:0xa8:    Options: -faligned-new -std=c++14 -fsigned-char -ffunction-sections
18:29:26:WU02:FS00:0xa8:             -fdata-sections -O3 -funroll-loops -fno-pie
18:29:26:WU02:FS00:0xa8:   Platform: linux2 4.15.0-128-generic
18:29:26:WU02:FS00:0xa8:       Bits: 64
18:29:26:WU02:FS00:0xa8:       Mode: Release
18:29:26:WU02:FS00:0xa8:************************************ CBang *************************************
18:29:26:WU02:FS00:0xa8:       Date: Jan 16 2021
18:29:26:WU02:FS00:0xa8:       Time: 19:21:24
18:29:26:WU02:FS00:0xa8:   Compiler: GNU 8.3.0
18:29:26:WU02:FS00:0xa8:    Options: -faligned-new -std=c++14 -fsigned-char -ffunction-sections
18:29:26:WU02:FS00:0xa8:             -fdata-sections -O3 -funroll-loops -fno-pie -fPIC
18:29:26:WU02:FS00:0xa8:   Platform: linux2 4.15.0-128-generic
18:29:26:WU02:FS00:0xa8:       Bits: 64
18:29:26:WU02:FS00:0xa8:       Mode: Release
18:29:26:WU02:FS00:0xa8:************************************ System ************************************
18:29:26:WU02:FS00:0xa8:        CPU: AMD Ryzen 7 PRO 4750G with Radeon Graphics
18:29:26:WU02:FS00:0xa8:     CPU ID: AuthenticAMD Family 23 Model 96 Stepping 1
18:29:26:WU02:FS00:0xa8:       CPUs: 16
18:29:26:WU02:FS00:0xa8:     Memory: 27.37GiB
18:29:26:WU02:FS00:0xa8:Free Memory: 26.90GiB
18:29:26:WU02:FS00:0xa8:    Threads: POSIX_THREADS
18:29:26:WU02:FS00:0xa8: OS Version: 5.4
18:29:26:WU02:FS00:0xa8:Has Battery: false
18:29:26:WU02:FS00:0xa8: On Battery: false
18:29:26:WU02:FS00:0xa8: UTC Offset: 2
18:29:26:WU02:FS00:0xa8:        PID: 816
18:29:26:WU02:FS00:0xa8:        CWD: /var/lib/fahclient/work
18:29:26:WU02:FS00:0xa8:********************************************************************************
18:29:26:WU02:FS00:0xa8:Project: 18206 (Run 450, Clone 4, Gen 40)
18:29:26:WU02:FS00:0xa8:Unit: 0x00000000000000000000000000000000
18:29:26:WU02:FS00:0xa8:Digital signatures verified
18:29:26:WU02:FS00:0xa8:Calling: mdrun -c frame40.gro -s frame40.tpr -x frame40.xtc -cpi state.cpt -cpt 15 -nt 15 -ntmpi 1
18:29:26:WU02:FS00:0xa8:ERROR:Guru Meditation #388a88ff54d52451.9815ad6e9f23565e (65842.66164) '02/01/md.log'
18:29:26:WARNING:WU02:FS00:FahCore returned: BAD_FRAME_CHECKSUM (112 = 0x70)
18:29:26:WARNING:WU02:FS00:Fatal error, dumping
18:29:26:WU02:FS00:Sending unit results: id:02 state:SEND error:DUMPED project:18206 run:450 clone:4 gen:40 core:0xa8 unit:0x00000004000000280000471e000001c2
18:29:26:WU02:FS00:Connecting to 128.252.203.11:8080
18:29:27:WU01:FS00:Connecting to assign1.foldingathome.org:80
18:29:27:WU02:FS00:Server responded WORK_ACK (400)
18:29:27:WU02:FS00:Cleaning up
18:29:28:WU01:FS00:Assigned to work server 129.32.209.204
18:29:28:WU01:FS00:Requesting new work unit for slot 00: cpu:15 from 129.32.209.204
18:29:28:WU01:FS00:Connecting to 129.32.209.204:8080
18:29:29:WU01:FS00:Downloading 341.50KiB
18:29:29:WU01:FS00:Download complete
18:29:30:WU01:FS00:Received Unit: id:01 state:DOWNLOAD error:NO_ERROR project:16958 run:8 clone:21 gen:68 core:0xa8 unit:0x00000015000000440000423e00000008
18:29:30:WU01:FS00:Starting
18:29:30:WU01:FS00:Running FahCore: /usr/bin/FAHCoreWrapper /var/lib/fahclient/cores/cores.foldingathome.org/lin/64bit-avx2-256/a8-0.0.12/Core_a8.fah/FahCore_a8 -dir 01 -suffix 01 -version 706 -lifeline 794 -checkpoint 15 -np 15
18:29:30:WU01:FS00:Started FahCore on PID 855
18:29:30:WU01:FS00:Core PID:859
18:29:30:WU01:FS00:FahCore 0xa8 started
18:29:30:WU01:FS00:0xa8:*********************** Log Started 2021-10-07T18:29:30Z ***********************
18:29:30:WU01:FS00:0xa8:************************** Gromacs Folding@home Core ***************************
18:29:30:WU01:FS00:0xa8:       Core: Gromacs
18:29:30:WU01:FS00:0xa8:       Type: 0xa8
18:29:30:WU01:FS00:0xa8:    Version: 0.0.12
18:29:30:WU01:FS00:0xa8:     Author: Joseph Coffland <[email protected]>
18:29:30:WU01:FS00:0xa8:  Copyright: 2020 foldingathome.org
18:29:30:WU01:FS00:0xa8:   Homepage: https://foldingathome.org/
18:29:30:WU01:FS00:0xa8:       Date: Jan 16 2021
18:29:30:WU01:FS00:0xa8:       Time: 19:24:44
18:29:30:WU01:FS00:0xa8:   Compiler: GNU 8.3.0
18:29:30:WU01:FS00:0xa8:    Options: -faligned-new -std=c++14 -fsigned-char -ffunction-sections
18:29:30:WU01:FS00:0xa8:             -fdata-sections -O3 -funroll-loops -fno-pie
18:29:30:WU01:FS00:0xa8:   Platform: linux2 4.15.0-128-generic
18:29:30:WU01:FS00:0xa8:       Bits: 64
18:29:30:WU01:FS00:0xa8:       Mode: Release
18:29:30:WU01:FS00:0xa8:       SIMD: avx2_256
18:29:30:WU01:FS00:0xa8:     OpenMP: ON
18:29:30:WU01:FS00:0xa8:       CUDA: OFF
18:29:30:WU01:FS00:0xa8:       Args: -dir 01 -suffix 01 -version 706 -lifeline 855 -checkpoint 15 -np 15
18:29:30:WU01:FS00:0xa8:************************************ libFAH ************************************
18:29:30:WU01:FS00:0xa8:       Date: Jan 16 2021
18:29:30:WU01:FS00:0xa8:       Time: 19:21:38
18:29:30:WU01:FS00:0xa8:   Compiler: GNU 8.3.0
18:29:30:WU01:FS00:0xa8:    Options: -faligned-new -std=c++14 -fsigned-char -ffunction-sections
18:29:30:WU01:FS00:0xa8:             -fdata-sections -O3 -funroll-loops -fno-pie
18:29:30:WU01:FS00:0xa8:   Platform: linux2 4.15.0-128-generic
18:29:30:WU01:FS00:0xa8:       Bits: 64
18:29:30:WU01:FS00:0xa8:       Mode: Release
18:29:30:WU01:FS00:0xa8:************************************ CBang *************************************
18:29:30:WU01:FS00:0xa8:       Date: Jan 16 2021
18:29:30:WU01:FS00:0xa8:       Time: 19:21:24
18:29:30:WU01:FS00:0xa8:   Compiler: GNU 8.3.0
18:29:30:WU01:FS00:0xa8:    Options: -faligned-new -std=c++14 -fsigned-char -ffunction-sections
18:29:30:WU01:FS00:0xa8:             -fdata-sections -O3 -funroll-loops -fno-pie -fPIC
18:29:30:WU01:FS00:0xa8:   Platform: linux2 4.15.0-128-generic
18:29:30:WU01:FS00:0xa8:       Bits: 64
18:29:30:WU01:FS00:0xa8:       Mode: Release
18:29:30:WU01:FS00:0xa8:************************************ System ************************************
18:29:30:WU01:FS00:0xa8:        CPU: AMD Ryzen 7 PRO 4750G with Radeon Graphics
18:29:30:WU01:FS00:0xa8:     CPU ID: AuthenticAMD Family 23 Model 96 Stepping 1
18:29:30:WU01:FS00:0xa8:       CPUs: 16
18:29:30:WU01:FS00:0xa8:     Memory: 27.37GiB
18:29:30:WU01:FS00:0xa8:Free Memory: 26.06GiB
18:29:30:WU01:FS00:0xa8:    Threads: POSIX_THREADS
18:29:30:WU01:FS00:0xa8: OS Version: 5.4
18:29:30:WU01:FS00:0xa8:Has Battery: false
18:29:30:WU01:FS00:0xa8: On Battery: false
18:29:30:WU01:FS00:0xa8: UTC Offset: 2
18:29:30:WU01:FS00:0xa8:        PID: 859
18:29:30:WU01:FS00:0xa8:        CWD: /var/lib/fahclient/work
18:29:30:WU01:FS00:0xa8:********************************************************************************
18:29:30:WU01:FS00:0xa8:Project: 16958 (Run 8, Clone 21, Gen 68)
18:29:30:WU01:FS00:0xa8:Unit: 0x00000000000000000000000000000000
18:29:30:WU01:FS00:0xa8:Reading tar file core.xml
18:29:30:WU01:FS00:0xa8:Reading tar file frame68.tpr
18:29:30:WU01:FS00:0xa8:Digital signatures verified
18:29:30:WU01:FS00:0xa8:Calling: mdrun -c frame68.gro -s frame68.tpr -x frame68.xtc -cpt 15 -nt 15 -ntmpi 1
18:29:30:WU01:FS00:0xa8:Steps: first=0 total=5000000
18:29:30:WU01:FS00:0xa8:Completed 1 out of 5000000 steps (0%)
18:29:33:WU00:FS01:0x22:Attempting to create OpenCL context:
18:29:33:WU00:FS01:0x22:  Configuring platform OpenCL
18:30:21:WU01:FS00:0xa8:Completed 50000 out of 5000000 steps (1%)
18:31:12:WU01:FS00:0xa8:Completed 100000 out of 5000000 steps (2%)
18:32:03:WU01:FS00:0xa8:Completed 150000 out of 5000000 steps (3%)
18:32:54:WU01:FS00:0xa8:Completed 200000 out of 5000000 steps (4%)
18:33:45:WU01:FS00:0xa8:Completed 250000 out of 5000000 steps (5%)
18:34:37:WU01:FS00:0xa8:Completed 300000 out of 5000000 steps (6%)
18:35:29:WU01:FS00:0xa8:Completed 350000 out of 5000000 steps (7%)
18:36:21:WU01:FS00:0xa8:Completed 400000 out of 5000000 steps (8%)
18:37:13:WU01:FS00:0xa8:Completed 450000 out of 5000000 steps (9%)
18:38:05:WU01:FS00:0xa8:Completed 500000 out of 5000000 steps (10%)
18:38:57:WU01:FS00:0xa8:Completed 550000 out of 5000000 steps (11%)
18:39:49:WU01:FS00:0xa8:Completed 600000 out of 5000000 steps (12%)
18:40:41:WU01:FS00:0xa8:Completed 650000 out of 5000000 steps (13%)
18:41:33:WU01:FS00:0xa8:Completed 700000 out of 5000000 steps (14%)
18:42:25:WU01:FS00:0xa8:Completed 750000 out of 5000000 steps (15%)
18:43:17:WU01:FS00:0xa8:Completed 800000 out of 5000000 steps (16%)
UdoA
Posts: 12
Joined: Sun Feb 07, 2021 10:26 am

Re: OpenCL not starting on AMD iGPU

Post by UdoA »

I digged into it a bit deeper and it seems that the new opencl driver on ROCr and ROCm do not work with folding@home.
I installed an older version 20.40 with pal as mode for opencl and the old kernel 5.4.0-54 and this works perfectly with opencl.

Lets see what the AMD guys say.
UdoA
Posts: 12
Joined: Sun Feb 07, 2021 10:26 am

Re: OpenCL not starting on AMD iGPU

Post by UdoA »

But I also confirmed now that the old kernel is unstable for the computations with the latest version of fah or the distribution of Ubuntu.

So, any ideas to get Ubuntu working with fah with GPU support on the current kernel?

Many thanks!
Whompithian
Posts: 39
Joined: Thu Jun 25, 2020 12:40 am

Re: OpenCL not starting on AMD iGPU

Post by Whompithian »

I am running `rocm-opencl4.1.0` directly without the AMDGPU-Pro drivers (CentOS 8.3). Not sure if that version will be stable with your kernel, but, if you decide to try it, here are the relevant CentOS packages I have installed:

* comgr4.1.0.x86_64
* hsa-rocr-dev4.1.0.x86_64
* hsakmt-roct.x86_64
* rock-dkms.noarch
* rock-dkms-firmware.noarch
* rocm-opencl-devel4.1.0.x86_64
* rocm-opencl4.1.0.x86_64
* rocminfo4.1.0.x86_64
Post Reply