Ubuntu 22.04 LTS failed GPU folding [SOLVED]
Posted: Tue Aug 23, 2022 6:35 am
My AMD Radeon RX560 stopped folding after I upgraded to Ubuntu 22.04 LTS from 20.04 LTS. The driver is proprietary version 22.20 installed using:
Here is a sample log file:
This happens to all Core22 work units after the upgrade to Ubuntu 22.04 LTS.
Could someone please point me in the right direction to solve this error?
SOLUTION
Put option on the GPU slot:
This option passes the argument "-opencl-platform 0" to the Core.
Code: Select all
sudo amdgpu-install --no-32 --usecase=workstation --accept-eula --vulkan=pro --opencl=rocr,legacy --no-dkms
Code: Select all
06:09:30:FS01:Unpaused
06:09:33:WU00:FS01:Connecting to assign1.foldingathome.org:80
06:09:34:WU00:FS01:Assigned to work server 128.252.203.11
06:09:34:WU00:FS01:Requesting new work unit for slot 01: gpu:1:0 Baffin [Polaris11] from 128.252.203.11
06:09:34:WU00:FS01:Connecting to 128.252.203.11:8080
06:09:44:WU00:FS01:Downloading 26.51MiB
06:09:50:WU00:FS01:Download 23.11%
06:09:56:WU00:FS01:Download 51.17%
06:10:02:WU00:FS01:Download 80.88%
06:10:06:WU00:FS01:Download complete
06:10:06:WU00:FS01:Received Unit: id:00 state:DOWNLOAD error:NO_ERROR project:18202 run:6772 clone:1 gen:37 core:0x22 unit:0x00000001000000250000471a00001a74
06:10:06:WU00:FS01:Starting
06:10:06:WU00:FS01:Running FahCore: /usr/bin/FAHCoreWrapper /var/lib/fahclient/cores/cores.foldingathome.org/lin/64bit/22-0.0.20/Core_22.fah/FahCore_22 -dir 00 -suffix 01 -version 706 -lifeline 34975 -checkpoint 15 -opencl-platform 1 -opencl-device 0 -gpu-vendor amd -gpu 0 -gpu-usage 100
06:10:06:WU00:FS01:Started FahCore on PID 132048
06:10:06:WU00:FS01:Core PID:132052
06:10:06:WU00:FS01:FahCore 0x22 started
06:10:07:WU00:FS01:0x22:*********************** Log Started 2022-08-23T06:10:06Z ***********************
06:10:07:WU00:FS01:0x22:*************************** Core22 Folding@home Core ***************************
06:10:07:WU00:FS01:0x22: Core: Core22
06:10:07:WU00:FS01:0x22: Type: 0x22
06:10:07:WU00:FS01:0x22: Version: 0.0.20
06:10:07:WU00:FS01:0x22: Author: Joseph Coffland <joseph@cauldrondevelopment.com>
06:10:07:WU00:FS01:0x22: Copyright: 2020 foldingathome.org
06:10:07:WU00:FS01:0x22: Homepage: https://foldingathome.org/
06:10:07:WU00:FS01:0x22: Date: Jan 20 2022
06:10:07:WU00:FS01:0x22: Time: 00:57:52
06:10:07:WU00:FS01:0x22: Revision: 3f211b8a4346514edbff34e3cb1c0e0ec951373c
06:10:07:WU00:FS01:0x22: Branch: HEAD
06:10:07:WU00:FS01:0x22: Compiler: GNU 9.4.0
06:10:07:WU00:FS01:0x22: Options: -faligned-new -std=c++11 -fsigned-char -ffunction-sections
06:10:07:WU00:FS01:0x22: -fdata-sections -O3 -funroll-loops -fno-pie
06:10:07:WU00:FS01:0x22: -DOPENMM_VERSION="\"7.7.0\""
06:10:07:WU00:FS01:0x22: Platform: linux 5.11.0-1025-azure
06:10:07:WU00:FS01:0x22: Bits: 64
06:10:07:WU00:FS01:0x22: Mode: Release
06:10:07:WU00:FS01:0x22:Maintainers: John Chodera <john.chodera@choderalab.org> and Peter Eastman
06:10:07:WU00:FS01:0x22: <peastman@stanford.edu>
06:10:07:WU00:FS01:0x22: Args: -dir 00 -suffix 01 -version 706 -lifeline 132048 -checkpoint 15
06:10:07:WU00:FS01:0x22: -opencl-platform 1 -opencl-device 0 -gpu-vendor amd -gpu 0
06:10:07:WU00:FS01:0x22: -gpu-usage 100
06:10:07:WU00:FS01:0x22:************************************ libFAH ************************************
06:10:07:WU00:FS01:0x22: Date: Jan 20 2022
06:10:07:WU00:FS01:0x22: Time: 00:57:22
06:10:07:WU00:FS01:0x22: Revision: 9f4ad694e75c2350d4bb6b8b5b769ba27e483a2f
06:10:07:WU00:FS01:0x22: Branch: HEAD
06:10:07:WU00:FS01:0x22: Compiler: GNU 9.4.0
06:10:07:WU00:FS01:0x22: Options: -faligned-new -std=c++11 -fsigned-char -ffunction-sections
06:10:07:WU00:FS01:0x22: -fdata-sections -O3 -funroll-loops -fno-pie
06:10:07:WU00:FS01:0x22: Platform: linux 5.11.0-1025-azure
06:10:07:WU00:FS01:0x22: Bits: 64
06:10:07:WU00:FS01:0x22: Mode: Release
06:10:07:WU00:FS01:0x22:************************************ CBang *************************************
06:10:07:WU00:FS01:0x22: Date: Jan 20 2022
06:10:07:WU00:FS01:0x22: Time: 00:57:00
06:10:07:WU00:FS01:0x22: Revision: ab023d155b446906d55b0f6c9a1eedeea04f7a1a
06:10:07:WU00:FS01:0x22: Branch: HEAD
06:10:07:WU00:FS01:0x22: Compiler: GNU 9.4.0
06:10:07:WU00:FS01:0x22: Options: -faligned-new -std=c++11 -fsigned-char -ffunction-sections
06:10:07:WU00:FS01:0x22: -fdata-sections -O3 -funroll-loops -fno-pie -fPIC
06:10:07:WU00:FS01:0x22: Platform: linux 5.11.0-1025-azure
06:10:07:WU00:FS01:0x22: Bits: 64
06:10:07:WU00:FS01:0x22: Mode: Release
06:10:07:WU00:FS01:0x22:************************************ System ************************************
06:10:07:WU00:FS01:0x22: CPU: Intel(R) Core(TM) i7-9700F CPU @ 3.00GHz
06:10:07:WU00:FS01:0x22: CPU ID: GenuineIntel Family 6 Model 158 Stepping 13
06:10:07:WU00:FS01:0x22: CPUs: 8
06:10:07:WU00:FS01:0x22: Memory: 15.56GiB
06:10:07:WU00:FS01:0x22:Free Memory: 2.87GiB
06:10:07:WU00:FS01:0x22: Threads: POSIX_THREADS
06:10:07:WU00:FS01:0x22: OS Version: 5.15
06:10:07:WU00:FS01:0x22:Has Battery: false
06:10:07:WU00:FS01:0x22: On Battery: false
06:10:07:WU00:FS01:0x22: UTC Offset: 7
06:10:07:WU00:FS01:0x22: PID: 132052
06:10:07:WU00:FS01:0x22: CWD: /var/lib/fahclient/work
06:10:07:WU00:FS01:0x22:************************************ OpenMM ************************************
06:10:07:WU00:FS01:0x22: Version: 7.7.0
06:10:07:WU00:FS01:0x22:********************************************************************************
06:10:07:WU00:FS01:0x22:Project: 18202 (Run 6772, Clone 1, Gen 37)
06:10:07:WU00:FS01:0x22:Reading tar file core.xml
06:10:07:WU00:FS01:0x22:Reading tar file integrator.xml
06:10:07:WU00:FS01:0x22:Reading tar file state.xml
06:10:07:WU00:FS01:0x22:Reading tar file system.xml
06:10:07:WU00:FS01:0x22:Digital signatures verified
06:10:07:WU00:FS01:0x22:Folding@home GPU Core22 Folding@home Core
06:10:07:WU00:FS01:0x22:Version 0.0.20
06:10:07:WU00:FS01:0x22: Checkpoint write interval: 25000 steps (2%) [50 total]
06:10:07:WU00:FS01:0x22: JSON viewer frame write interval: 12500 steps (1%) [100 total]
06:10:07:WU00:FS01:0x22: XTC frame write interval: 20000 steps (1.6%) [62 total]
06:10:07:WU00:FS01:0x22: Global context and integrator variables write interval: disabled
06:10:07:WU00:FS01:0x22:There are 3 platforms available.
06:10:07:WU00:FS01:0x22:Platform 0: Reference
06:10:07:WU00:FS01:0x22:Platform 1: CPU
06:10:07:WU00:FS01:0x22:Platform 2: OpenCL
06:10:07:WU00:FS01:0x22: opencl-device 0 specified
06:10:12:WU00:FS01:0x22:Attempting to create OpenCL context:
06:10:12:WU00:FS01:0x22: Configuring platform OpenCL
06:10:12:WU00:FS01:0x22:Failed to create OpenCL context:
06:10:12:WU00:FS01:0x22:Illegal value for OpenCLPlatformIndex: 1
06:10:12:WU00:FS01:0x22:ERROR:125: Failed to create a GPU-enabled OpenMM Context.
06:10:12:WU00:FS01:0x22:Saving result file ../logfile_01.txt
06:10:12:WU00:FS01:0x22:Saving result file science.log
06:10:12:WU00:FS01:0x22:Folding@home Core Shutdown: BAD_WORK_UNIT
06:10:12:WARNING:WU00:FS01:FahCore returned: BAD_WORK_UNIT (114 = 0x72)
06:10:12:WU00:FS01:Sending unit results: id:00 state:SEND error:FAULTY project:18202 run:6772 clone:1 gen:37 core:0x22 unit:0x00000001000000250000471a00001a74
06:10:12:WU00:FS01:Uploading 2.53KiB to 128.252.203.11
06:10:12:WU00:FS01:Connecting to 128.252.203.11:8080
06:10:13:WU00:FS01:Upload complete
06:10:13:WU01:FS01:Connecting to assign1.foldingathome.org:80
06:10:13:WU00:FS01:Server responded WORK_ACK (400)
06:10:13:WU00:FS01:Cleaning up
Could someone please point me in the right direction to solve this error?
SOLUTION
Put option on the GPU slot:
Code: Select all
extra-core-args = '-opencl-platform 0'