Problem with 7900 XTX on Arch
Posted: Fri Jun 09, 2023 1:56 am
Hey,
I wanted to set up folding on my on my Arch (technically Arco) PC. The CPU (Ryzen 7900X3D) part works fine, but I can't get it to use my GPU. In total I have 3 GPUs in this PC: the integrated GPU of the CPU (I'd be fine with just disabling that), a GTX 1050ti that I use for VMs and that therefore has a virtual driver and is unavailable to the host system, and the 7900 XTX that I'd like to use.
FAHControl shows all three GPUs as it should, and shows the 1050Ti as disabled, which makes sense. However, both the iGPU and the 7900 XTX are shown as usable, download work, but then fail. They do that 10 times before they give up.
The log lines that stand out to me are
I have ocl-icd, opencl-mesa and opencl-amd installed. I also tried some other drivers and restarting the PC and the service a bunch, but with no success. I also saw suggestions of using a opencl-device = 1 setting but either I'm doing something wrong or it doesn't change anything at all.
Thanks for any help in advance
Ruby
I wanted to set up folding on my on my Arch (technically Arco) PC. The CPU (Ryzen 7900X3D) part works fine, but I can't get it to use my GPU. In total I have 3 GPUs in this PC: the integrated GPU of the CPU (I'd be fine with just disabling that), a GTX 1050ti that I use for VMs and that therefore has a virtual driver and is unavailable to the host system, and the 7900 XTX that I'd like to use.
FAHControl shows all three GPUs as it should, and shows the 1050Ti as disabled, which makes sense. However, both the iGPU and the 7900 XTX are shown as usable, download work, but then fail. They do that 10 times before they give up.
The log lines that stand out to me are
Code: Select all
20:10:39:WU03:FS01:0x22:opencl-device was set but OpenCL platform could not be found.
20:10:39:WU03:FS01:0x22:ERROR:126: Neither CUDA nor OpenCL is available.
Code: Select all
*********************** Log Started 2023-06-08T20:10:30Z ***********************
20:10:30:WARNING:FS01:Ignored ``opencl-index``, device matched by PCI info
20:10:30:FS01:Initialized folding slot 01: gpu:3:0 Navi 31 [Radeon RX 7900XT/XTX]
20:10:38:FS01:Unpaused
20:10:38:WU03:FS01:Starting
20:10:38:WU03:FS01:Running FahCore: /usr/bin/FAHCoreWrapper /var/lib/private/fah/cores/cores.foldingathome.org/lin/64bit/22-0.0.20/Core_22.fah/FahCore_22 -dir 03 -suffix 01 -version 706 -lifeline 5792 -checkpoint 15 -opencl-platform 0 -opencl-device 0 -gpu-vendor amd -gpu 0 -gpu-usage 100
20:10:38:WU03:FS01:Started FahCore on PID 5869
20:10:38:WU03:FS01:Core PID:5873
20:10:38:WU03:FS01:FahCore 0x22 started
20:10:38:WU03:FS01:0x22:*********************** Log Started 2023-06-08T20:10:38Z ***********************
20:10:38:WU03:FS01:0x22:*************************** Core22 Folding@home Core ***************************
20:10:38:WU03:FS01:0x22: Core: Core22
20:10:38:WU03:FS01:0x22: Type: 0x22
20:10:38:WU03:FS01:0x22: Version: 0.0.20
20:10:38:WU03:FS01:0x22: Author: Joseph Coffland <[email protected]>
20:10:38:WU03:FS01:0x22: Copyright: 2020 foldingathome.org
20:10:38:WU03:FS01:0x22: Homepage: https://foldingathome.org/
20:10:38:WU03:FS01:0x22: Date: Jan 20 2022
20:10:38:WU03:FS01:0x22: Time: 00:57:52
20:10:38:WU03:FS01:0x22: Revision: 3f211b8a4346514edbff34e3cb1c0e0ec951373c
20:10:38:WU03:FS01:0x22: Branch: HEAD
20:10:38:WU03:FS01:0x22: Compiler: GNU 9.4.0
20:10:38:WU03:FS01:0x22: Options: -faligned-new -std=c++11 -fsigned-char -ffunction-sections
20:10:38:WU03:FS01:0x22: -fdata-sections -O3 -funroll-loops -fno-pie
20:10:38:WU03:FS01:0x22: -DOPENMM_VERSION="\"7.7.0\""
20:10:38:WU03:FS01:0x22: Platform: linux 5.11.0-1025-azure
20:10:38:WU03:FS01:0x22: Bits: 64
20:10:38:WU03:FS01:0x22: Mode: Release
20:10:38:WU03:FS01:0x22:Maintainers: John Chodera <[email protected]> and Peter Eastman
20:10:38:WU03:FS01:0x22: <[email protected]>
20:10:38:WU03:FS01:0x22: Args: -dir 03 -suffix 01 -version 706 -lifeline 5869 -checkpoint 15
20:10:38:WU03:FS01:0x22: -opencl-platform 0 -opencl-device 0 -gpu-vendor amd -gpu 0
20:10:38:WU03:FS01:0x22: -gpu-usage 100
20:10:38:WU03:FS01:0x22:************************************ libFAH ************************************
20:10:38:WU03:FS01:0x22: Date: Jan 20 2022
20:10:38:WU03:FS01:0x22: Time: 00:57:22
20:10:38:WU03:FS01:0x22: Revision: 9f4ad694e75c2350d4bb6b8b5b769ba27e483a2f
20:10:38:WU03:FS01:0x22: Branch: HEAD
20:10:38:WU03:FS01:0x22: Compiler: GNU 9.4.0
20:10:38:WU03:FS01:0x22: Options: -faligned-new -std=c++11 -fsigned-char -ffunction-sections
20:10:38:WU03:FS01:0x22: -fdata-sections -O3 -funroll-loops -fno-pie
20:10:38:WU03:FS01:0x22: Platform: linux 5.11.0-1025-azure
20:10:38:WU03:FS01:0x22: Bits: 64
20:10:38:WU03:FS01:0x22: Mode: Release
20:10:38:WU03:FS01:0x22:************************************ CBang *************************************
20:10:38:WU03:FS01:0x22: Date: Jan 20 2022
20:10:38:WU03:FS01:0x22: Time: 00:57:00
20:10:38:WU03:FS01:0x22: Revision: ab023d155b446906d55b0f6c9a1eedeea04f7a1a
20:10:38:WU03:FS01:0x22: Branch: HEAD
20:10:38:WU03:FS01:0x22: Compiler: GNU 9.4.0
20:10:38:WU03:FS01:0x22: Options: -faligned-new -std=c++11 -fsigned-char -ffunction-sections
20:10:38:WU03:FS01:0x22: -fdata-sections -O3 -funroll-loops -fno-pie -fPIC
20:10:38:WU03:FS01:0x22: Platform: linux 5.11.0-1025-azure
20:10:38:WU03:FS01:0x22: Bits: 64
20:10:38:WU03:FS01:0x22: Mode: Release
20:10:38:WU03:FS01:0x22:************************************ System ************************************
20:10:38:WU03:FS01:0x22: CPU: AMD Ryzen 9 7900X3D 12-Core Processor
20:10:38:WU03:FS01:0x22: CPU ID: AuthenticAMD Family 25 Model 97 Stepping 2
20:10:38:WU03:FS01:0x22: CPUs: 24
20:10:38:WU03:FS01:0x22: Memory: 61.93GiB
20:10:38:WU03:FS01:0x22:Free Memory: 53.20GiB
20:10:38:WU03:FS01:0x22: Threads: POSIX_THREADS
20:10:38:WU03:FS01:0x22: OS Version: 6.3
20:10:38:WU03:FS01:0x22:Has Battery: false
20:10:38:WU03:FS01:0x22: On Battery: false
20:10:38:WU03:FS01:0x22: UTC Offset: 2
20:10:38:WU03:FS01:0x22: PID: 5873
20:10:38:WU03:FS01:0x22: CWD: /var/lib/private/fah/work
20:10:38:WU03:FS01:0x22:************************************ OpenMM ************************************
20:10:38:WU03:FS01:0x22: Version: 7.7.0
20:10:38:WU03:FS01:0x22:********************************************************************************
20:10:38:WU03:FS01:0x22:Project: 12424 (Run 3, Clone 380, Gen 1)
20:10:38:WU03:FS01:0x22:Reading tar file core.xml
20:10:38:WU03:FS01:0x22:Reading tar file integrator.xml
20:10:38:WU03:FS01:0x22:Reading tar file state.xml
20:10:39:WU03:FS01:0x22:Reading tar file system.xml
20:10:39:WU03:FS01:0x22:Digital signatures verified
20:10:39:WU03:FS01:0x22:Folding@home GPU Core22 Folding@home Core
20:10:39:WU03:FS01:0x22:Version 0.0.20
20:10:39:WU03:FS01:0x22: Checkpoint write interval: 10000 steps (2%) [50 total]
20:10:39:WU03:FS01:0x22: JSON viewer frame write interval: 5000 steps (1%) [100 total]
20:10:39:WU03:FS01:0x22: XTC frame write interval: 250000 steps (50%) [2 total]
20:10:39:WU03:FS01:0x22: Global context and integrator variables write interval: disabled
20:10:39:WU03:FS01:0x22:There are 2 platforms available.
20:10:39:WU03:FS01:0x22:Platform 0: Reference
20:10:39:WU03:FS01:0x22:Platform 1: CPU
20:10:39:WU03:FS01:0x22:opencl-device was set but OpenCL platform could not be found.
20:10:39:WU03:FS01:0x22:ERROR:126: Neither CUDA nor OpenCL is available.
20:10:39:WU03:FS01:0x22:Saving result file ../logfile_01.txt
20:10:39:WU03:FS01:0x22:Saving result file science.log
20:10:39:WU03:FS01:0x22:Folding@home Core Shutdown: BAD_WORK_UNIT
20:10:39:WARNING:WU03:FS01:FahCore returned: BAD_WORK_UNIT (114 = 0x72)
20:10:39:WU03:FS01:Sending unit results: id:03 state:SEND error:FAULTY project:12424 run:3 clone:380 gen:1 core:0x22 unit:0x0000017c000000010000308800000003
20:10:39:WU03:FS01:Uploading 2.05KiB to 129.32.209.200
20:10:39:WU03:FS01:Connecting to 129.32.209.200:8080
20:10:40:WU03:FS01:Upload complete
20:10:40:WU01:FS01:Connecting to assign1.foldingathome.org:80
20:10:40:WU03:FS01:Server responded WORK_ACK (400)
20:10:40:WU03:FS01:Cleaning up
20:10:40:WU01:FS01:Assigned to work server 66.170.111.50
20:10:40:WU01:FS01:Requesting new work unit for slot 01: gpu:3:0 Navi 31 [Radeon RX 7900XT/XTX] from 66.170.111.50
20:10:40:WU01:FS01:Connecting to 66.170.111.50:8080
20:10:53:WU01:FS01:Downloading 46.34MiB
20:10:57:WU01:FS01:Download complete
20:10:57:WU01:FS01:Received Unit: id:01 state:DOWNLOAD error:NO_ERROR project:16706 run:61 clone:4 gen:144 core:0x22 unit:0x90000000040000003d00000042410000
20:10:57:WU01:FS01:Starting
20:10:57:WU01:FS01:Running FahCore: /usr/bin/FAHCoreWrapper /var/lib/private/fah/cores/cores.foldingathome.org/lin/64bit/22-0.0.20/Core_22.fah/FahCore_22 -dir 01 -suffix 01 -version 706 -lifeline 5792 -checkpoint 15 -opencl-platform 0 -opencl-device 0 -gpu-vendor amd -gpu 0 -gpu-usage 100
20:10:57:WU01:FS01:Started FahCore on PID 6006
20:10:57:WU01:FS01:Core PID:6010
20:10:57:WU01:FS01:FahCore 0x22 started
20:10:58:WU01:FS01:0x22:*********************** Log Started 2023-06-08T20:10:57Z ***********************
20:10:58:WU01:FS01:0x22:*************************** Core22 Folding@home Core ***************************
20:10:58:WU01:FS01:0x22: Core: Core22
20:10:58:WU01:FS01:0x22: Type: 0x22
20:10:58:WU01:FS01:0x22: Version: 0.0.20
20:10:58:WU01:FS01:0x22: Author: Joseph Coffland <[email protected]>
20:10:58:WU01:FS01:0x22: Copyright: 2020 foldingathome.org
20:10:58:WU01:FS01:0x22: Homepage: https://foldingathome.org/
20:10:58:WU01:FS01:0x22: Date: Jan 20 2022
20:10:58:WU01:FS01:0x22: Time: 00:57:52
20:10:58:WU01:FS01:0x22: Revision: 3f211b8a4346514edbff34e3cb1c0e0ec951373c
20:10:58:WU01:FS01:0x22: Branch: HEAD
20:10:58:WU01:FS01:0x22: Compiler: GNU 9.4.0
20:10:58:WU01:FS01:0x22: Options: -faligned-new -std=c++11 -fsigned-char -ffunction-sections
20:10:58:WU01:FS01:0x22: -fdata-sections -O3 -funroll-loops -fno-pie
20:10:58:WU01:FS01:0x22: -DOPENMM_VERSION="\"7.7.0\""
20:10:58:WU01:FS01:0x22: Platform: linux 5.11.0-1025-azure
20:10:58:WU01:FS01:0x22: Bits: 64
20:10:58:WU01:FS01:0x22: Mode: Release
20:10:58:WU01:FS01:0x22:Maintainers: John Chodera <[email protected]> and Peter Eastman
20:10:58:WU01:FS01:0x22: <[email protected]>
20:10:58:WU01:FS01:0x22: Args: -dir 01 -suffix 01 -version 706 -lifeline 6006 -checkpoint 15
20:10:58:WU01:FS01:0x22: -opencl-platform 0 -opencl-device 0 -gpu-vendor amd -gpu 0
20:10:58:WU01:FS01:0x22: -gpu-usage 100
20:10:58:WU01:FS01:0x22:************************************ libFAH ************************************
20:10:58:WU01:FS01:0x22: Date: Jan 20 2022
20:10:58:WU01:FS01:0x22: Time: 00:57:22
20:10:58:WU01:FS01:0x22: Revision: 9f4ad694e75c2350d4bb6b8b5b769ba27e483a2f
20:10:58:WU01:FS01:0x22: Branch: HEAD
20:10:58:WU01:FS01:0x22: Compiler: GNU 9.4.0
20:10:58:WU01:FS01:0x22: Options: -faligned-new -std=c++11 -fsigned-char -ffunction-sections
20:10:58:WU01:FS01:0x22: -fdata-sections -O3 -funroll-loops -fno-pie
20:10:58:WU01:FS01:0x22: Platform: linux 5.11.0-1025-azure
20:10:58:WU01:FS01:0x22: Bits: 64
20:10:58:WU01:FS01:0x22: Mode: Release
20:10:58:WU01:FS01:0x22:************************************ CBang *************************************
20:10:58:WU01:FS01:0x22: Date: Jan 20 2022
20:10:58:WU01:FS01:0x22: Time: 00:57:00
20:10:58:WU01:FS01:0x22: Revision: ab023d155b446906d55b0f6c9a1eedeea04f7a1a
20:10:58:WU01:FS01:0x22: Branch: HEAD
20:10:58:WU01:FS01:0x22: Compiler: GNU 9.4.0
20:10:58:WU01:FS01:0x22: Options: -faligned-new -std=c++11 -fsigned-char -ffunction-sections
20:10:58:WU01:FS01:0x22: -fdata-sections -O3 -funroll-loops -fno-pie -fPIC
20:10:58:WU01:FS01:0x22: Platform: linux 5.11.0-1025-azure
20:10:58:WU01:FS01:0x22: Bits: 64
20:10:58:WU01:FS01:0x22: Mode: Release
20:10:58:WU01:FS01:0x22:************************************ System ************************************
20:10:58:WU01:FS01:0x22: CPU: AMD Ryzen 9 7900X3D 12-Core Processor
20:10:58:WU01:FS01:0x22: CPU ID: AuthenticAMD Family 25 Model 97 Stepping 2
20:10:58:WU01:FS01:0x22: CPUs: 24
20:10:58:WU01:FS01:0x22: Memory: 61.93GiB
20:10:58:WU01:FS01:0x22:Free Memory: 52.93GiB
20:10:58:WU01:FS01:0x22: Threads: POSIX_THREADS
20:10:58:WU01:FS01:0x22: OS Version: 6.3
20:10:58:WU01:FS01:0x22:Has Battery: false
20:10:58:WU01:FS01:0x22: On Battery: false
20:10:58:WU01:FS01:0x22: UTC Offset: 2
20:10:58:WU01:FS01:0x22: PID: 6010
20:10:58:WU01:FS01:0x22: CWD: /var/lib/private/fah/work
20:10:58:WU01:FS01:0x22:************************************ OpenMM ************************************
20:10:58:WU01:FS01:0x22: Version: 7.7.0
20:10:58:WU01:FS01:0x22:********************************************************************************
20:10:58:WU01:FS01:0x22:Project: 16706 (Run 61, Clone 4, Gen 144)
20:10:58:WU01:FS01:0x22:Reading tar file core.xml
20:10:58:WU01:FS01:0x22:Reading tar file integrator.xml
20:10:58:WU01:FS01:0x22:Reading tar file state.xml
20:10:58:WU01:FS01:0x22:Reading tar file system.xml
20:10:58:WU01:FS01:0x22:Digital signatures verified
20:10:58:WU01:FS01:0x22:Folding@home GPU Core22 Folding@home Core
20:10:58:WU01:FS01:0x22:Version 0.0.20
20:10:58:WU01:FS01:0x22: Checkpoint write interval: 62500 steps (5%) [20 total]
20:10:58:WU01:FS01:0x22: JSON viewer frame write interval: 12500 steps (1%) [100 total]
20:10:58:WU01:FS01:0x22: XTC frame write interval: 10000 steps (0.8%) [125 total]
20:10:58:WU01:FS01:0x22: Global context and integrator variables write interval: disabled
20:10:58:WU01:FS01:0x22:There are 2 platforms available.
20:10:58:WU01:FS01:0x22:Platform 0: Reference
20:10:58:WU01:FS01:0x22:Platform 1: CPU
20:10:58:WU01:FS01:0x22:opencl-device was set but OpenCL platform could not be found.
20:10:58:WU01:FS01:0x22:ERROR:126: Neither CUDA nor OpenCL is available.
20:10:58:WU01:FS01:0x22:Saving result file ../logfile_01.txt
20:10:58:WU01:FS01:0x22:Saving result file science.log
20:10:58:WU01:FS01:0x22:Folding@home Core Shutdown: BAD_WORK_UNIT
20:10:59:WARNING:WU01:FS01:FahCore returned: BAD_WORK_UNIT (114 = 0x72)
20:10:59:WU01:FS01:Sending unit results: id:01 state:SEND error:FAULTY project:16706 run:61 clone:4 gen:144 core:0x22 unit:0x90000000040000003d00000042410000
20:10:59:WU01:FS01:Uploading 2.04KiB to 66.170.111.50
20:10:59:WU01:FS01:Connecting to 66.170.111.50:8080
20:10:59:WU03:FS01:Connecting to assign1.foldingathome.org:80
20:10:59:WU01:FS01:Upload complete
20:10:59:WU01:FS01:Server responded WORK_ACK (400)
20:10:59:WU01:FS01:Cleaning up
20:11:00:WU03:FS01:Assigned to work server 129.32.209.202
20:11:00:WU03:FS01:Requesting new work unit for slot 01: gpu:3:0 Navi 31 [Radeon RX 7900XT/XTX] from 129.32.209.202
Ruby