1 of 2 GPU does not run: BAD_WORK_UNIT

If you're new to FAH and need help getting started or you have very basic questions, start here.

Moderators: Site Moderators, FAHC Science Team

Post Reply
ktan112
Posts: 4
Joined: Mon Sep 19, 2022 8:53 pm

1 of 2 GPU does not run: BAD_WORK_UNIT

Post by ktan112 »

I started folding last night on my PC running Windows 11 home version 21H2
One of the 5500xt works but the other one keeps throwing an error,
- they are both using the same drivers
- one is PCI-bus 3 and the other is PCI-bus 6
- they both use PCI-slot 0 even if I modify/add a new value in Advanced Control > configure
- I restarted my computer / uninstalled the latest stable release of Radeon Adrenaline drivers

below is the log attached for the problematic gpu in PCI-bus 3

Code: Select all

*********************** Log Started 2022-09-19T20:57:29Z ***********************
*************************** Core22 Folding@home Core ***************************
       Core: Core22
       Type: 0x22
    Version: 0.0.20
     Author: Joseph Coffland <joseph@cauldrondevelopment.com>
  Copyright: 2020 foldingathome.org
   Homepage: https://foldingathome.org/
       Date: Jan 20 2022
       Time: 01:15:36
   Revision: 3f211b8a4346514edbff34e3cb1c0e0ec951373c
     Branch: HEAD
   Compiler: Visual C++
    Options: /TP /nologo /EHa /wd4297 /wd4103 /O2 /Zc:throwingNew /MT
             -DOPENMM_VERSION="\"7.7.0\""
   Platform: win32 10
       Bits: 64
       Mode: Release
Maintainers: John Chodera <john.chodera@choderalab.org> and Peter Eastman
             <peastman@stanford.edu>
       Args: -dir 02 -suffix 01 -version 706 -lifeline 5724 -checkpoint 15
             -opencl-platform 1 -opencl-device 1 -gpu-vendor amd -gpu 1
             -gpu-usage 100
************************************ libFAH ************************************
       Date: Jan 20 2022
       Time: 01:14:17
   Revision: 9f4ad694e75c2350d4bb6b8b5b769ba27e483a2f
     Branch: HEAD
   Compiler: Visual C++
    Options: /TP /nologo /EHa /wd4297 /wd4103 /O2 /Zc:throwingNew /MT
   Platform: win32 10
       Bits: 64
       Mode: Release
************************************ CBang *************************************
       Date: Jan 20 2022
       Time: 01:13:20
   Revision: ab023d155b446906d55b0f6c9a1eedeea04f7a1a
     Branch: HEAD
   Compiler: Visual C++
    Options: /TP /nologo /EHa /wd4297 /wd4103 /O2 /Zc:throwingNew /MT
   Platform: win32 10
       Bits: 64
       Mode: Release
************************************ System ************************************
        CPU: Intel(R) Pentium(R) Gold G6400 CPU @ 4.00GHz
     CPU ID: GenuineIntel Family 6 Model 165 Stepping 3
       CPUs: 4
     Memory: 15.85GiB
Free Memory: 11.61GiB
    Threads: WINDOWS_THREADS
 OS Version: 6.2
Has Battery: false
 On Battery: false
 UTC Offset: 12
        PID: 6788
        CWD: C:\Users\Krazi\Documents\work
************************************ OpenMM ************************************
    Version: 7.7.0
********************************************************************************
Project: 18706 (Run 0, Clone 2481, Gen 39)
Reading tar file core.xml
Reading tar file integrator.xml.bz2
Reading tar file state.xml.bz2
Reading tar file system.xml.bz2
Digital signatures verified
Folding@home GPU Core22 Folding@home Core
Version 0.0.20
  Checkpoint write interval: 125000 steps (5%) [20 total]
  JSON viewer frame write interval: 25000 steps (1%) [100 total]
  XTC frame write interval: 25000 steps (1%) [100 total]
  Global context and integrator variables write interval: disabled
There are 3 platforms available.
Platform 0: Reference
Platform 1: CPU
Platform 2: OpenCL
  opencl-device 1 specified
Attempting to create OpenCL context:
  Configuring platform OpenCL
Failed to create OpenCL context:
Illegal value for DeviceIndex: 1
ERROR:125: Failed to create a GPU-enabled OpenMM Context.
Saving result file ..\logfile_01.txt
Saving result file science.log
Folding@home Core Shutdown: BAD_WORK_UNIT
Last edited by Joe_H on Mon Sep 19, 2022 9:59 pm, edited 1 time in total.
Reason: added code tags to log
JimboPalmer
Posts: 2573
Joined: Mon Feb 16, 2009 4:12 am
Location: Greenwood MS USA

Re: 1 of 2 GPU does not run: BAD_WORK_UNIT

Post by JimboPalmer »

Welcome to Folding@Home!

May I ask you to give us the first 100 lines of the log where it gives your configuration?
Tsar of all the Rushers
I tried to remain childlike, all I achieved was childish.
A friend to those who want no friends
ktan112
Posts: 4
Joined: Mon Sep 19, 2022 8:53 pm

Re: 1 of 2 GPU does not run: BAD_WORK_UNIT

Post by ktan112 »

Code: Select all

*********************** Log Started 2022-09-19T22:50:14Z ***********************
22:50:14:FS01:Initialized folding slot 01: gpu:3:0 Navi 14 [Radeon RX 5500/5500M / Pro 5500M]
22:52:12:FS01:Unpaused
22:52:12:WU00:FS01:Connecting to assign1.foldingathome.org:80
22:52:13:WU00:FS01:Assigned to work server 34.72.228.44
22:52:13:WU00:FS01:Requesting new work unit for slot 01: gpu:3:0 Navi 14 [Radeon RX 5500/5500M / Pro 5500M] from 34.72.228.44
22:52:13:WU00:FS01:Connecting to 34.72.228.44:8080
22:52:13:WU00:FS01:Downloading 15.44MiB
22:52:19:WU00:FS01:Download complete
22:52:19:WU00:FS01:Received Unit: id:00 state:DOWNLOAD error:NO_ERROR project:18706 run:0 clone:760 gen:129 core:0x22 unit:0x000002f8000000810000491200000000
22:52:19:WU00:FS01:Starting
22:52:19:WU00:FS01:Running FahCore: "C:\Program Files (x86)\FAHClient/FAHCoreWrapper.exe" C:\Users\Krazi\Documents\cores/cores.foldingathome.org/win/64bit/22-0.0.20/Core_22.fah/FahCore_22.exe -dir 00 -suffix 01 -version 706 -lifeline 5864 -checkpoint 15 -opencl-platform 1 -opencl-device 1 -gpu-vendor amd -gpu 1 -gpu-usage 100
22:52:19:WU00:FS01:Started FahCore on PID 10924
22:52:19:WU00:FS01:Core PID:5460
22:52:19:WU00:FS01:FahCore 0x22 started
22:52:19:WU00:FS01:0x22:*********************** Log Started 2022-09-19T22:52:19Z ***********************
22:52:19:WU00:FS01:0x22:*************************** Core22 Folding@home Core ***************************
22:52:19:WU00:FS01:0x22:       Core: Core22
22:52:19:WU00:FS01:0x22:       Type: 0x22
22:52:19:WU00:FS01:0x22:    Version: 0.0.20
22:52:19:WU00:FS01:0x22:     Author: Joseph Coffland <joseph@cauldrondevelopment.com>
22:52:19:WU00:FS01:0x22:  Copyright: 2020 foldingathome.org
22:52:19:WU00:FS01:0x22:   Homepage: https://foldingathome.org/
22:52:19:WU00:FS01:0x22:       Date: Jan 20 2022
22:52:19:WU00:FS01:0x22:       Time: 01:15:36
22:52:19:WU00:FS01:0x22:   Revision: 3f211b8a4346514edbff34e3cb1c0e0ec951373c
22:52:19:WU00:FS01:0x22:     Branch: HEAD
22:52:19:WU00:FS01:0x22:   Compiler: Visual C++
22:52:19:WU00:FS01:0x22:    Options: /TP /nologo /EHa /wd4297 /wd4103 /O2 /Zc:throwingNew /MT
22:52:19:WU00:FS01:0x22:             -DOPENMM_VERSION="\"7.7.0\""
22:52:19:WU00:FS01:0x22:   Platform: win32 10
22:52:19:WU00:FS01:0x22:       Bits: 64
22:52:19:WU00:FS01:0x22:       Mode: Release
22:52:19:WU00:FS01:0x22:Maintainers: John Chodera <john.chodera@choderalab.org> and Peter Eastman
22:52:19:WU00:FS01:0x22:             <peastman@stanford.edu>
22:52:19:WU00:FS01:0x22:       Args: -dir 00 -suffix 01 -version 706 -lifeline 10924 -checkpoint 15
22:52:19:WU00:FS01:0x22:             -opencl-platform 1 -opencl-device 1 -gpu-vendor amd -gpu 1
22:52:19:WU00:FS01:0x22:             -gpu-usage 100
22:52:19:WU00:FS01:0x22:************************************ libFAH ************************************
22:52:19:WU00:FS01:0x22:       Date: Jan 20 2022
22:52:19:WU00:FS01:0x22:       Time: 01:14:17
22:52:19:WU00:FS01:0x22:   Revision: 9f4ad694e75c2350d4bb6b8b5b769ba27e483a2f
22:52:19:WU00:FS01:0x22:     Branch: HEAD
22:52:19:WU00:FS01:0x22:   Compiler: Visual C++
22:52:19:WU00:FS01:0x22:    Options: /TP /nologo /EHa /wd4297 /wd4103 /O2 /Zc:throwingNew /MT
22:52:19:WU00:FS01:0x22:   Platform: win32 10
22:52:19:WU00:FS01:0x22:       Bits: 64
22:52:19:WU00:FS01:0x22:       Mode: Release
22:52:19:WU00:FS01:0x22:************************************ CBang *************************************
22:52:19:WU00:FS01:0x22:       Date: Jan 20 2022
22:52:19:WU00:FS01:0x22:       Time: 01:13:20
22:52:19:WU00:FS01:0x22:   Revision: ab023d155b446906d55b0f6c9a1eedeea04f7a1a
22:52:19:WU00:FS01:0x22:     Branch: HEAD
22:52:19:WU00:FS01:0x22:   Compiler: Visual C++
22:52:19:WU00:FS01:0x22:    Options: /TP /nologo /EHa /wd4297 /wd4103 /O2 /Zc:throwingNew /MT
22:52:19:WU00:FS01:0x22:   Platform: win32 10
22:52:19:WU00:FS01:0x22:       Bits: 64
22:52:19:WU00:FS01:0x22:       Mode: Release
22:52:19:WU00:FS01:0x22:************************************ System ************************************
22:52:19:WU00:FS01:0x22:        CPU: Intel(R) Pentium(R) Gold G6400 CPU @ 4.00GHz
22:52:19:WU00:FS01:0x22:     CPU ID: GenuineIntel Family 6 Model 165 Stepping 3
22:52:19:WU00:FS01:0x22:       CPUs: 4
22:52:19:WU00:FS01:0x22:     Memory: 15.85GiB
22:52:19:WU00:FS01:0x22:Free Memory: 12.49GiB
22:52:19:WU00:FS01:0x22:    Threads: WINDOWS_THREADS
22:52:19:WU00:FS01:0x22: OS Version: 6.2
22:52:19:WU00:FS01:0x22:Has Battery: false
22:52:19:WU00:FS01:0x22: On Battery: false
22:52:19:WU00:FS01:0x22: UTC Offset: 12
22:52:19:WU00:FS01:0x22:        PID: 5460
22:52:19:WU00:FS01:0x22:        CWD: C:\Users\Krazi\Documents\work
22:52:19:WU00:FS01:0x22:************************************ OpenMM ************************************
22:52:19:WU00:FS01:0x22:    Version: 7.7.0
22:52:19:WU00:FS01:0x22:********************************************************************************
22:52:19:WU00:FS01:0x22:Project: 18706 (Run 0, Clone 760, Gen 129)
22:52:19:WU00:FS01:0x22:Reading tar file core.xml
22:52:19:WU00:FS01:0x22:Reading tar file integrator.xml.bz2
22:52:19:WU00:FS01:0x22:Reading tar file state.xml.bz2
22:52:19:WU00:FS01:0x22:Reading tar file system.xml.bz2
22:52:20:WU00:FS01:0x22:Digital signatures verified
22:52:20:WU00:FS01:0x22:Folding@home GPU Core22 Folding@home Core
22:52:20:WU00:FS01:0x22:Version 0.0.20
22:52:20:WU00:FS01:0x22:  Checkpoint write interval: 125000 steps (5%) [20 total]
22:52:20:WU00:FS01:0x22:  JSON viewer frame write interval: 25000 steps (1%) [100 total]
22:52:20:WU00:FS01:0x22:  XTC frame write interval: 25000 steps (1%) [100 total]
22:52:20:WU00:FS01:0x22:  Global context and integrator variables write interval: disabled
22:52:20:WU00:FS01:0x22:There are 3 platforms available.
22:52:20:WU00:FS01:0x22:Platform 0: Reference
22:52:20:WU00:FS01:0x22:Platform 1: CPU
22:52:20:WU00:FS01:0x22:Platform 2: OpenCL
22:52:20:WU00:FS01:0x22:  opencl-device 1 specified
22:52:34:WU00:FS01:0x22:Attempting to create OpenCL context:
22:52:34:WU00:FS01:0x22:  Configuring platform OpenCL
22:52:34:WU00:FS01:0x22:Failed to create OpenCL context:
22:52:34:WU00:FS01:0x22:Illegal value for DeviceIndex: 1
22:52:34:WU00:FS01:0x22:ERROR:125: Failed to create a GPU-enabled OpenMM Context.
22:52:35:WU00:FS01:0x22:Saving result file ..\logfile_01.txt
22:52:35:WU00:FS01:0x22:Saving result file science.log
22:52:35:WU00:FS01:0x22:Folding@home Core Shutdown: BAD_WORK_UNIT
22:52:35:WARNING:WU00:FS01:FahCore returned: BAD_WORK_UNIT (114 = 0x72)
22:52:35:WU00:FS01:Sending unit results: id:00 state:SEND error:FAULTY project:18706 run:0 clone:760 gen:129 core:0x22 unit:0x000002f8000000810000491200000000
22:52:35:WU00:FS01:Uploading 12.00KiB to 34.72.228.44
22:52:35:WU00:FS01:Connecting to 34.72.228.44:8080
22:52:35:WU00:FS01:Upload complete
22:52:35:WU02:FS01:Connecting to assign1.foldingathome.org:80
22:52:35:WU00:FS01:Server responded WORK_ACK (400)
22:52:35:WU00:FS01:Cleaning up
22:52:36:WU02:FS01:Assigned to work server 34.72.228.44
22:52:36:WU02:FS01:Requesting new work unit for slot 01: gpu:3:0 Navi 14 [Radeon RX 5500/5500M / Pro 5500M] from 34.72.228.44
22:52:36:WU02:FS01:Connecting to 34.72.228.44:8080
22:52:37:WU02:FS01:Downloading 16.21MiB
22:52:42:WU02:FS01:Download complete
22:52:43:WU02:FS01:Received Unit: id:02 state:DOWNLOAD error:NO_ERROR project:18707 run:0 clone:33 gen:92 core:0x22 unit:0x000000210000005c0000491300000000
22:52:43:WU02:FS01:Starting
22:52:43:WU02:FS01:Running FahCore: "C:\Program Files (x86)\FAHClient/FAHCoreWrapper.exe" C:\Users\Krazi\Documents\cores/cores.foldingathome.org/win/64bit/22-0.0.20/Core_22.fah/FahCore_22.exe -dir 02 -suffix 01 -version 706 -lifeline 5864 -checkpoint 15 -opencl-platform 1 -opencl-device 1 -gpu-vendor amd -gpu 1 -gpu-usage 100
22:52:43:WU02:FS01:Started FahCore on PID 1956
22:52:43:WU02:FS01:Core PID:5296
22:52:43:WU02:FS01:FahCore 0x22 started
22:52:43:WU02:FS01:0x22:*********************** Log Started 2022-09-19T22:52:43Z ***********************
22:52:43:WU02:FS01:0x22:*************************** Core22 Folding@home Core ***************************
22:52:43:WU02:FS01:0x22:       Core: Core22
22:52:43:WU02:FS01:0x22:       Type: 0x22
22:52:43:WU02:FS01:0x22:    Version: 0.0.20
22:52:43:WU02:FS01:0x22:     Author: Joseph Coffland <joseph@cauldrondevelopment.com>
22:52:43:WU02:FS01:0x22:  Copyright: 2020 foldingathome.org
22:52:43:WU02:FS01:0x22:   Homepage: https://foldingathome.org/
22:52:43:WU02:FS01:0x22:       Date: Jan 20 2022
22:52:43:WU02:FS01:0x22:       Time: 01:15:36
22:52:43:WU02:FS01:0x22:   Revision: 3f211b8a4346514edbff34e3cb1c0e0ec951373c
22:52:43:WU02:FS01:0x22:     Branch: HEAD
22:52:43:WU02:FS01:0x22:   Compiler: Visual C++
22:52:43:WU02:FS01:0x22:    Options: /TP /nologo /EHa /wd4297 /wd4103 /O2 /Zc:throwingNew /MT
22:52:43:WU02:FS01:0x22:             -DOPENMM_VERSION="\"7.7.0\""
22:52:43:WU02:FS01:0x22:   Platform: win32 10
22:52:43:WU02:FS01:0x22:       Bits: 64
22:52:43:WU02:FS01:0x22:       Mode: Release
22:52:43:WU02:FS01:0x22:Maintainers: John Chodera <john.chodera@choderalab.org> and Peter Eastman
22:52:43:WU02:FS01:0x22:             <peastman@stanford.edu>
22:52:43:WU02:FS01:0x22:       Args: -dir 02 -suffix 01 -version 706 -lifeline 1956 -checkpoint 15
22:52:43:WU02:FS01:0x22:             -opencl-platform 1 -opencl-device 1 -gpu-vendor amd -gpu 1
22:52:43:WU02:FS01:0x22:             -gpu-usage 100
22:52:43:WU02:FS01:0x22:************************************ libFAH ************************************
22:52:43:WU02:FS01:0x22:       Date: Jan 20 2022
22:52:43:WU02:FS01:0x22:       Time: 01:14:17
22:52:43:WU02:FS01:0x22:   Revision: 9f4ad694e75c2350d4bb6b8b5b769ba27e483a2f
22:52:43:WU02:FS01:0x22:     Branch: HEAD
22:52:43:WU02:FS01:0x22:   Compiler: Visual C++
22:52:43:WU02:FS01:0x22:    Options: /TP /nologo /EHa /wd4297 /wd4103 /O2 /Zc:throwingNew /MT
22:52:43:WU02:FS01:0x22:   Platform: win32 10
22:52:43:WU02:FS01:0x22:       Bits: 64
22:52:43:WU02:FS01:0x22:       Mode: Release
22:52:43:WU02:FS01:0x22:************************************ CBang *************************************
22:52:43:WU02:FS01:0x22:       Date: Jan 20 2022
22:52:43:WU02:FS01:0x22:       Time: 01:13:20
22:52:43:WU02:FS01:0x22:   Revision: ab023d155b446906d55b0f6c9a1eedeea04f7a1a
22:52:43:WU02:FS01:0x22:     Branch: HEAD
22:52:43:WU02:FS01:0x22:   Compiler: Visual C++
22:52:43:WU02:FS01:0x22:    Options: /TP /nologo /EHa /wd4297 /wd4103 /O2 /Zc:throwingNew /MT
22:52:43:WU02:FS01:0x22:   Platform: win32 10
22:52:43:WU02:FS01:0x22:       Bits: 64
22:52:43:WU02:FS01:0x22:       Mode: Release
22:52:43:WU02:FS01:0x22:************************************ System ************************************
22:52:43:WU02:FS01:0x22:        CPU: Intel(R) Pentium(R) Gold G6400 CPU @ 4.00GHz
22:52:43:WU02:FS01:0x22:     CPU ID: GenuineIntel Family 6 Model 165 Stepping 3
22:52:43:WU02:FS01:0x22:       CPUs: 4
22:52:43:WU02:FS01:0x22:     Memory: 15.85GiB
22:52:43:WU02:FS01:0x22:Free Memory: 12.37GiB
22:52:43:WU02:FS01:0x22:    Threads: WINDOWS_THREADS
22:52:43:WU02:FS01:0x22: OS Version: 6.2
22:52:43:WU02:FS01:0x22:Has Battery: false
22:52:43:WU02:FS01:0x22: On Battery: false
22:52:43:WU02:FS01:0x22: UTC Offset: 12
22:52:43:WU02:FS01:0x22:        PID: 5296
22:52:43:WU02:FS01:0x22:        CWD: C:\Users\Krazi\Documents\work
22:52:43:WU02:FS01:0x22:************************************ OpenMM ************************************
22:52:43:WU02:FS01:0x22:    Version: 7.7.0
22:52:43:WU02:FS01:0x22:********************************************************************************
22:52:43:WU02:FS01:0x22:Project: 18707 (Run 0, Clone 33, Gen 92)
22:52:43:WU02:FS01:0x22:Reading tar file core.xml
22:52:43:WU02:FS01:0x22:Reading tar file integrator.xml.bz2
22:52:43:WU02:FS01:0x22:Reading tar file state.xml.bz2
22:52:43:WU02:FS01:0x22:Reading tar file system.xml.bz2
22:52:43:WU02:FS01:0x22:Digital signatures verified
22:52:43:WU02:FS01:0x22:Folding@home GPU Core22 Folding@home Core
22:52:43:WU02:FS01:0x22:Version 0.0.20
22:52:43:WU02:FS01:0x22:  Checkpoint write interval: 125000 steps (5%) [20 total]
22:52:43:WU02:FS01:0x22:  JSON viewer frame write interval: 25000 steps (1%) [100 total]
22:52:43:WU02:FS01:0x22:  XTC frame write interval: 25000 steps (1%) [100 total]
22:52:43:WU02:FS01:0x22:  Global context and integrator variables write interval: disabled
22:52:43:WU02:FS01:0x22:There are 3 platforms available.
22:52:43:WU02:FS01:0x22:Platform 0: Reference
22:52:43:WU02:FS01:0x22:Platform 1: CPU
22:52:43:WU02:FS01:0x22:Platform 2: OpenCL
22:52:43:WU02:FS01:0x22:  opencl-device 1 specified
22:53:01:WU02:FS01:0x22:Attempting to create OpenCL context:
22:53:01:WU02:FS01:0x22:  Configuring platform OpenCL
22:53:01:WU02:FS01:0x22:Failed to create OpenCL context:
22:53:01:WU02:FS01:0x22:Illegal value for DeviceIndex: 1
22:53:01:WU02:FS01:0x22:ERROR:125: Failed to create a GPU-enabled OpenMM Context.
22:53:01:WU02:FS01:0x22:Saving result file ..\logfile_01.txt
22:53:01:WU02:FS01:0x22:Saving result file science.log
22:53:01:WU02:FS01:0x22:Folding@home Core Shutdown: BAD_WORK_UNIT
22:53:02:WARNING:WU02:FS01:FahCore returned: BAD_WORK_UNIT (114 = 0x72)
22:53:02:WU02:FS01:Sending unit results: id:02 state:SEND error:FAULTY project:18707 run:0 clone:33 gen:92 core:0x22 unit:0x000000210000005c0000491300000000
22:53:02:WU02:FS01:Uploading 12.00KiB to 34.72.228.44
22:53:02:WU02:FS01:Connecting to 34.72.228.44:8080
22:53:03:WU00:FS01:Connecting to assign1.foldingathome.org:80
22:53:03:WU02:FS01:Upload complete
22:53:03:WU02:FS01:Server responded WORK_ACK (400)
22:53:03:WU02:FS01:Cleaning up
22:53:03:WU00:FS01:Assigned to work server 34.72.228.44
22:53:03:WU00:FS01:Requesting new work unit for slot 01: gpu:3:0 Navi 14 [Radeon RX 5500/5500M / Pro 5500M] from 34.72.228.44
22:53:03:WU00:FS01:Connecting to 34.72.228.44:8080
22:53:04:WU00:FS01:Downloading 13.87MiB
22:53:09:WU00:FS01:Download complete
22:53:09:WU00:FS01:Received Unit: id:00 state:DOWNLOAD error:NO_ERROR project:18706 run:0 clone:1234 gen:74 core:0x22 unit:0x000004d20000004a0000491200000000
22:53:09:WU00:FS01:Starting
22:53:09:WU00:FS01:Running FahCore: "C:\Program Files (x86)\FAHClient/FAHCoreWrapper.exe" C:\Users\Krazi\Documents\cores/cores.foldingathome.org/win/64bit/22-0.0.20/Core_22.fah/FahCore_22.exe -dir 00 -suffix 01 -version 706 -lifeline 5864 -checkpoint 15 -opencl-platform 1 -opencl-device 1 -gpu-vendor amd -gpu 1 -gpu-usage 100
22:53:09:WU00:FS01:Started FahCore on PID 5324
22:53:09:WU00:FS01:Core PID:8748
22:53:09:WU00:FS01:FahCore 0x22 started
22:53:10:WU00:FS01:0x22:*********************** Log Started 2022-09-19T22:53:09Z ***********************
22:53:10:WU00:FS01:0x22:*************************** Core22 Folding@home Core ***************************
22:53:10:WU00:FS01:0x22:       Core: Core22
22:53:10:WU00:FS01:0x22:       Type: 0x22
22:53:10:WU00:FS01:0x22:    Version: 0.0.20
22:53:10:WU00:FS01:0x22:     Author: Joseph Coffland <joseph@cauldrondevelopment.com>
22:53:10:WU00:FS01:0x22:  Copyright: 2020 foldingathome.org
22:53:10:WU00:FS01:0x22:   Homepage: https://foldingathome.org/
22:53:10:WU00:FS01:0x22:       Date: Jan 20 2022
22:53:10:WU00:FS01:0x22:       Time: 01:15:36
22:53:10:WU00:FS01:0x22:   Revision: 3f211b8a4346514edbff34e3cb1c0e0ec951373c
22:53:10:WU00:FS01:0x22:     Branch: HEAD
22:53:10:WU00:FS01:0x22:   Compiler: Visual C++
22:53:10:WU00:FS01:0x22:    Options: /TP /nologo /EHa /wd4297 /wd4103 /O2 /Zc:throwingNew /MT
22:53:10:WU00:FS01:0x22:             -DOPENMM_VERSION="\"7.7.0\""
22:53:10:WU00:FS01:0x22:   Platform: win32 10
22:53:10:WU00:FS01:0x22:       Bits: 64
22:53:10:WU00:FS01:0x22:       Mode: Release
22:53:10:WU00:FS01:0x22:Maintainers: John Chodera <john.chodera@choderalab.org> and Peter Eastman
22:53:10:WU00:FS01:0x22:             <peastman@stanford.edu>
22:53:10:WU00:FS01:0x22:       Args: -dir 00 -suffix 01 -version 706 -lifeline 5324 -checkpoint 15
22:53:10:WU00:FS01:0x22:             -opencl-platform 1 -opencl-device 1 -gpu-vendor amd -gpu 1
22:53:10:WU00:FS01:0x22:             -gpu-usage 100
22:53:10:WU00:FS01:0x22:************************************ libFAH ************************************
22:53:10:WU00:FS01:0x22:       Date: Jan 20 2022
22:53:10:WU00:FS01:0x22:       Time: 01:14:17
22:53:10:WU00:FS01:0x22:   Revision: 9f4ad694e75c2350d4bb6b8b5b769ba27e483a2f
22:53:10:WU00:FS01:0x22:     Branch: HEAD
22:53:10:WU00:FS01:0x22:   Compiler: Visual C++
22:53:10:WU00:FS01:0x22:    Options: /TP /nologo /EHa /wd4297 /wd4103 /O2 /Zc:throwingNew /MT
22:53:10:WU00:FS01:0x22:   Platform: win32 10
22:53:10:WU00:FS01:0x22:       Bits: 64
22:53:10:WU00:FS01:0x22:       Mode: Release
22:53:10:WU00:FS01:0x22:************************************ CBang *************************************
22:53:10:WU00:FS01:0x22:       Date: Jan 20 2022
22:53:10:WU00:FS01:0x22:       Time: 01:13:20
22:53:10:WU00:FS01:0x22:   Revision: ab023d155b446906d55b0f6c9a1eedeea04f7a1a
22:53:10:WU00:FS01:0x22:     Branch: HEAD
22:53:10:WU00:FS01:0x22:   Compiler: Visual C++
22:53:10:WU00:FS01:0x22:    Options: /TP /nologo /EHa /wd4297 /wd4103 /O2 /Zc:throwingNew /MT
22:53:10:WU00:FS01:0x22:   Platform: win32 10
22:53:10:WU00:FS01:0x22:       Bits: 64
22:53:10:WU00:FS01:0x22:       Mode: Release
22:53:10:WU00:FS01:0x22:************************************ System ************************************
22:53:10:WU00:FS01:0x22:        CPU: Intel(R) Pentium(R) Gold G6400 CPU @ 4.00GHz
22:53:10:WU00:FS01:0x22:     CPU ID: GenuineIntel Family 6 Model 165 Stepping 3
22:53:10:WU00:FS01:0x22:       CPUs: 4
22:53:10:WU00:FS01:0x22:     Memory: 15.85GiB
22:53:10:WU00:FS01:0x22:Free Memory: 12.39GiB
22:53:10:WU00:FS01:0x22:    Threads: WINDOWS_THREADS
22:53:10:WU00:FS01:0x22: OS Version: 6.2
22:53:10:WU00:FS01:0x22:Has Battery: false
22:53:10:WU00:FS01:0x22: On Battery: false
22:53:10:WU00:FS01:0x22: UTC Offset: 12
22:53:10:WU00:FS01:0x22:        PID: 8748
22:53:10:WU00:FS01:0x22:        CWD: C:\Users\Krazi\Documents\work
22:53:10:WU00:FS01:0x22:************************************ OpenMM ************************************
22:53:10:WU00:FS01:0x22:    Version: 7.7.0
22:53:10:WU00:FS01:0x22:********************************************************************************
22:53:10:WU00:FS01:0x22:Project: 18706 (Run 0, Clone 1234, Gen 74)
22:53:10:WU00:FS01:0x22:Reading tar file core.xml
22:53:10:WU00:FS01:0x22:Reading tar file integrator.xml.bz2
22:53:10:WU00:FS01:0x22:Reading tar file state.xml.bz2
22:53:10:WU00:FS01:0x22:Reading tar file system.xml.bz2
22:53:10:WU00:FS01:0x22:Digital signatures verified
22:53:10:WU00:FS01:0x22:Folding@home GPU Core22 Folding@home Core
22:53:10:WU00:FS01:0x22:Version 0.0.20
22:53:10:WU00:FS01:0x22:  Checkpoint write interval: 125000 steps (5%) [20 total]
22:53:10:WU00:FS01:0x22:  JSON viewer frame write interval: 25000 steps (1%) [100 total]
22:53:10:WU00:FS01:0x22:  XTC frame write interval: 25000 steps (1%) [100 total]
22:53:10:WU00:FS01:0x22:  Global context and integrator variables write interval: disabled
22:53:10:WU00:FS01:0x22:There are 3 platforms available.
22:53:10:WU00:FS01:0x22:Platform 0: Reference
22:53:10:WU00:FS01:0x22:Platform 1: CPU
22:53:10:WU00:FS01:0x22:Platform 2: OpenCL
22:53:10:WU00:FS01:0x22:  opencl-device 1 specified
22:53:24:WU00:FS01:0x22:Attempting to create OpenCL context:
22:53:24:WU00:FS01:0x22:  Configuring platform OpenCL
22:53:24:WU00:FS01:0x22:Failed to create OpenCL context:
22:53:24:WU00:FS01:0x22:Illegal value for DeviceIndex: 1
22:53:24:WU00:FS01:0x22:ERROR:125: Failed to create a GPU-enabled OpenMM Context.
22:53:24:WU00:FS01:0x22:Saving result file ..\logfile_01.txt
22:53:24:WU00:FS01:0x22:Saving result file science.log
22:53:24:WU00:FS01:0x22:Folding@home Core Shutdown: BAD_WORK_UNIT
22:53:25:WARNING:WU00:FS01:FahCore returned: BAD_WORK_UNIT (114 = 0x72)
22:53:25:WU00:FS01:Sending unit results: id:00 state:SEND error:FAULTY project:18706 run:0 clone:1234 gen:74 core:0x22 unit:0x000004d20000004a0000491200000000
22:53:25:WU00:FS01:Uploading 12.00KiB to 34.72.228.44
22:53:25:WU00:FS01:Connecting to 34.72.228.44:8080
22:53:25:WU00:FS01:Upload complete
22:53:25:WU00:FS01:Server responded WORK_ACK (400)
22:53:25:WU00:FS01:Cleaning up
22:53:25:WU02:FS01:Connecting to assign1.foldingathome.org:80
22:53:26:WU02:FS01:Assigned to work server 34.72.228.44
22:53:26:WU02:FS01:Requesting new work unit for slot 01: gpu:3:0 Navi 14 [Radeon RX 5500/5500M / Pro 5500M] from 34.72.228.44
22:53:26:WU02:FS01:Connecting to 34.72.228.44:8080
22:53:27:ERROR:WU02:FS01:Exception: Server did not assign work unit
22:53:27:WU02:FS01:Connecting to assign1.foldingathome.org:80
22:53:28:WU02:FS01:Assigned to work server 34.72.228.44
22:53:28:WU02:FS01:Requesting new work unit for slot 01: gpu:3:0 Navi 14 [Radeon RX 5500/5500M / Pro 5500M] from 34.72.228.44
22:53:28:WU02:FS01:Connecting to 34.72.228.44:8080
22:53:29:ERROR:WU02:FS01:Exception: Server did not assign work unit
Last edited by Joe_H on Mon Sep 19, 2022 11:30 pm, edited 1 time in total.
Reason: added code tags to log - please use them
Joe_H
Site Admin
Posts: 7856
Joined: Tue Apr 21, 2009 4:41 pm
Hardware configuration: Mac Pro 2.8 quad 12 GB smp4
MacBook Pro 2.9 i7 8 GB smp2
Location: W. MA

Re: 1 of 2 GPU does not run: BAD_WORK_UNIT

Post by Joe_H »

The first 100 lines would start something like this:

Code: Select all

*********************** Log Started 2022-09-16T06:14:44Z ***********************
06:14:44:******************************* libFAH ********************************
06:14:44:       Date: Oct 20 2020
06:14:44:       Time: 13:36:42
06:14:44:   Revision: 5ca109d295a6245e2a2f590b3d0085ad5e567aeb
06:14:44:     Branch: master
06:14:44:   Compiler: GNU 4.2.1 Compatible Apple LLVM 11.0.0 (clang-1100.0.33.8)
06:14:44:    Options: -std=c++11 -fsigned-char -O3 -funroll-loops
06:14:44:             -mmacosx-version-min=10.7 -Wno-unused-local-typedefs -stdlib=libc++
06:14:44:   Platform: darwin 19.2.0
06:14:44:       Bits: 64
06:14:44:       Mode: Release
06:14:44:****************************** FAHClient ******************************
06:14:44:    Version: 7.6.21
06:14:44:     Author: Joseph Coffland <joseph@cauldrondevelopment.com>
06:14:44:  Copyright: 2020 foldingathome.org
If copying from the log window of FAHControl you may need to hit Refresh first.
Image

iMac 2.8 i7 12 GB smp8, Mac Pro 2.8 quad 12 GB smp6
MacBook Pro 2.9 i7 8 GB smp3
ktan112
Posts: 4
Joined: Mon Sep 19, 2022 8:53 pm

Re: 1 of 2 GPU does not run: BAD_WORK_UNIT

Post by ktan112 »

Sorry for the delay, hope this is the right log:

Code: Select all

*********************** Log Started 2022-09-20T08:45:01Z ***********************
08:45:01:******************************* libFAH ********************************
08:45:01:           Date: Oct 20 2020
08:45:01:           Time: 13:36:55
08:45:01:       Revision: 5ca109d295a6245e2a2f590b3d0085ad5e567aeb
08:45:01:         Branch: master
08:45:01:       Compiler: Visual C++ 2015
08:45:01:        Options: /TP /nologo /EHa /wd4297 /wd4103 /O2 /Zc:throwingNew /MT
08:45:01:       Platform: win32 10
08:45:01:           Bits: 32
08:45:01:           Mode: Release
08:45:01:****************************** FAHClient ******************************
08:45:01:        Version: 7.6.21
08:45:01:         Author: Joseph Coffland <joseph@cauldrondevelopment.com>
08:45:01:      Copyright: 2020 foldingathome.org
08:45:01:       Homepage: https://foldingathome.org/
08:45:01:           Date: Oct 20 2020
08:45:01:           Time: 13:41:04
08:45:01:       Revision: 6efbf0e138e22d3963e6a291f78dcb9c6422a278
08:45:01:         Branch: master
08:45:01:       Compiler: Visual C++ 2015
08:45:01:        Options: /TP /nologo /EHa /wd4297 /wd4103 /O2 /Zc:throwingNew /MT
08:45:01:       Platform: win32 10
08:45:01:           Bits: 32
08:45:01:           Mode: Release
08:45:01:         Config: C:\Users\Krazi\Documents\config.xml
08:45:01:******************************** CBang ********************************
08:45:01:           Date: Oct 20 2020
08:45:01:           Time: 11:36:18
08:45:01:       Revision: 7e4ce85225d7eaeb775e87c31740181ca603de60
08:45:01:         Branch: master
08:45:01:       Compiler: Visual C++ 2015
08:45:01:        Options: /TP /nologo /EHa /wd4297 /wd4103 /O2 /Zc:throwingNew /MT
08:45:01:       Platform: win32 10
08:45:01:           Bits: 32
08:45:01:           Mode: Release
08:45:01:******************************* System ********************************
08:45:01:            CPU: Intel(R) Pentium(R) Gold G6400 CPU @ 4.00GHz
08:45:01:         CPU ID: GenuineIntel Family 6 Model 165 Stepping 3
08:45:01:           CPUs: 4
08:45:01:         Memory: 15.85GiB
08:45:01:    Free Memory: 13.39GiB
08:45:01:        Threads: WINDOWS_THREADS
08:45:01:     OS Version: 6.2
08:45:01:    Has Battery: false
08:45:01:     On Battery: false
08:45:01:     UTC Offset: 12
08:45:01:            PID: 7988
08:45:01:            CWD: C:\Users\Krazi\Documents
08:45:01:  Win32 Service: false
08:45:01:             OS: Windows 10 Home
08:45:01:        OS Arch: AMD64
08:45:01:           GPUs: 3
08:45:01:          GPU 0: Bus:3 Slot:0 Func:0 AMD:6 Navi 14 [Radeon RX 5500/5500M / Pro
08:45:01:                 5500M]
08:45:01:          GPU 1: Bus:6 Slot:0 Func:0 AMD:6 Navi 14 [Radeon RX 5500/5500M / Pro
08:45:01:                 5500M]
08:45:01:          GPU 2: Bus:0 Slot:2 Func:0 INTEL:1 CML GT1 [UHD Graphics 610]
08:45:01:           CUDA: Not detected: Failed to open dynamic library 'nvcuda.dll': The
08:45:01:                 specified module could not be found.
08:45:01:
08:45:01:OpenCL Device 0: Platform:0 Device:0 Bus:NA Slot:NA Compute:3.0 Driver:30.0
08:45:01:OpenCL Device 1: Platform:1 Device:0 Bus:6 Slot:0 Compute:1.2 Driver:3417.0
08:45:01:OpenCL Device 2: Platform:1 Device:1 Bus:3 Slot:0 Compute:1.2 Driver:3417.0
08:45:01:***********************************************************************
08:45:02:<config>
08:45:02:  <!-- Folding Slot Configuration -->
08:45:02:  <cause v='CANCER'/>
08:45:02:
08:45:02:  <!-- Network -->
08:45:02:  <proxy v=':8080'/>
08:45:02:
08:45:02:  <!-- Slot Control -->
08:45:02:  <pause-on-battery v='false'/>
08:45:02:
08:45:02:  <!-- Folding Slots -->
08:45:02:  <slot id='0' type='GPU'>
08:45:02:    <paused v='true'/>
08:45:02:    <pci-bus v='6'/>
08:45:02:    <pci-slot v='0'/>
08:45:02:  </slot>
08:45:02:  <slot id='2' type='GPU'>
08:45:02:    <pci-bus v='0'/>
08:45:02:    <pci-slot v='2'/>
08:45:02:  </slot>
08:45:02:</config>
08:45:02:Trying to access database...
08:45:02:Successfully acquired database lock
08:45:02:FS00:Initialized folding slot 00: gpu:6:0 Navi 14 [Radeon RX 5500/5500M / Pro 5500M]
08:45:02:WARNING:FS02:Guessing ambiguous GPU to OpenCL device mapping for 02: gpu:0:2 CML GT1 [UHD Graphics 610].  Consider upgrading your graphics driver or manually setting ``opencl-index`` in this slot's configuration.
08:45:02:WARNING:FS02:Disabling beta GPU slot 02: gpu:0:2 CML GT1 [UHD Graphics 610].  Beta GPUs can be tested for no points by setting ``gpu-beta=true`` in the configuration.
08:45:02:FS01:Initialized folding slot 01: gpu:3:0 Navi 14 [Radeon RX 5500/5500M / Pro 5500M]
08:45:02:WU00:FS01:Connecting to assign1.foldingathome.org:80
08:45:03:WU00:FS01:Assigned to work server 34.72.228.44
08:45:03:WU00:FS01:Requesting new work unit for slot 01: gpu:3:0 Navi 14 [Radeon RX 5500/5500M / Pro 5500M] from 34.72.228.44
08:45:03:WU00:FS01:Connecting to 34.72.228.44:8080
08:45:04:WU00:FS01:Downloading 15.44MiB
08:45:10:WU00:FS01:Download 88.67%
08:45:10:WU00:FS01:Download complete
08:45:10:WU00:FS01:Received Unit: id:00 state:DOWNLOAD error:NO_ERROR project:18706 run:0 clone:513 gen:97 core:0x22 unit:0x00000201000000610000491200000000
08:45:10:WU00:FS01:Starting
08:45:10:WU00:FS01:Running FahCore: "C:\Program Files (x86)\FAHClient/FAHCoreWrapper.exe" C:\Users\Krazi\Documents\cores/cores.foldingathome.org/win/64bit/22-0.0.20/Core_22.fah/FahCore_22.exe -dir 00 -suffix 01 -version 706 -lifeline 7988 -checkpoint 15 -opencl-platform 1 -opencl-device 1 -gpu-vendor amd -gpu 1 -gpu-usage 100
08:45:10:WU00:FS01:Started FahCore on PID 9480
08:45:10:WU00:FS01:Core PID:9504
08:45:10:WU00:FS01:FahCore 0x22 started
JimboPalmer
Posts: 2573
Joined: Mon Feb 16, 2009 4:12 am
Location: Greenwood MS USA

Re: 1 of 2 GPU does not run: BAD_WORK_UNIT

Post by JimboPalmer »

This is what I see:
You have an Intel GT1 in bus 0, slot 2 as GPU 0
You have an AMD Navi 14 in bus 3, slot 0 as GPU 1
You have a other AMD Navi 14 in bus 6, slot 0 as GPU 2

And your config assigns them to OpenCL in that order.

But you are also asking to use slot 00 as one of the AMDs on bus 6, slot 0, and it fails because it finds the Intel there. (Perhaps this should be slot 01)
Then you assign gpu 02 to be the Intel at bus 0, slot 2, which fails. (Either assign to slot 00 or delete)
Finally, it finds the unassigned AMD in bus 3, slot 0 and automatically configures it to gpu 1 which is actually the 'wrong' AMD, but they are identical so it works.

I would remove your assignments, and show us a log where the software chose those slots. (A uninstall including data, then reinstall would do that. You need to have your user name, team number, (if any) and passcode (if any))
Last edited by JimboPalmer on Tue Sep 20, 2022 1:13 pm, edited 1 time in total.
Tsar of all the Rushers
I tried to remain childlike, all I achieved was childish.
A friend to those who want no friends
JimboPalmer
Posts: 2573
Joined: Mon Feb 16, 2009 4:12 am
Location: Greenwood MS USA

Re: 1 of 2 GPU does not run: BAD_WORK_UNIT

Post by JimboPalmer »

The Intel GPU is embedded in the Pentium gold g6400 CPU
https://ark.intel.com/content/www/us/en ... 0-ghz.html

Just in case you were wondering where it is.
Tsar of all the Rushers
I tried to remain childlike, all I achieved was childish.
A friend to those who want no friends
ktan112
Posts: 4
Joined: Mon Sep 19, 2022 8:53 pm

Re: 1 of 2 GPU does not run: BAD_WORK_UNIT

Post by ktan112 »

I uninstalled FAH from my PC, reinstalled it
I physically swapped the two GPUs around on the motherboard and the PCI-bus just doesn't work on slot 3

In another post I saw the Intel G6400 maybe a bit underpowered to run two rx 5500 xt's could that be the case?
BobWilliams757
Posts: 493
Joined: Fri Apr 03, 2020 2:22 pm
Hardware configuration: ASRock X370M PRO4
Ryzen 2400G APU
16 GB DDR4-3200
MSI GTX 1660 Super Gaming X

Re: 1 of 2 GPU does not run: BAD_WORK_UNIT

Post by BobWilliams757 »

ktan112 wrote: Wed Sep 21, 2022 12:18 am I uninstalled FAH from my PC, reinstalled it
I physically swapped the two GPUs around on the motherboard and the PCI-bus just doesn't work on slot 3

In another post I saw the Intel G6400 maybe a bit underpowered to run two rx 5500 xt's could that be the case?
In terms of CPU power, it should be more than enough for two GPU's.

I would look into your motherboard and BIOS settings since you've confirmed that a specific PCI bus doesn't work with either GPU. You could have a conflict with PCIE lanes or something, even more possible if you have any other PCIE devices on the system. There are only certain combinations that work, and motherboards are notorious for making it more difficult than it should be. It might simply be a matter of BIOS settings in regards to which slots get what resources.

Some MB/chipset combinations will disable any onboard graphics with the addition of a standalone GPU, others require you to do it in BIOS. If you are really lucky something as simple as that might be the cause.

Either way, let us know what else you find.
Fold them if you get them!
Post Reply