FAH client 7.6.21 starts OpenCL on the wrong OpenCL platform

Moderators: Site Moderators, FAHC Science Team

Post Reply
FalconFour
Posts: 29
Joined: Fri Sep 05, 2008 11:57 am

FAH client 7.6.21 starts OpenCL on the wrong OpenCL platform

Post by FalconFour »

Log snip:

Code: Select all

*********************** Log Started 2021-02-17T05:03:33Z ***********************
05:03:33:******************************* libFAH ********************************
05:03:33:           Date: Oct 20 2020
05:03:33:           Time: 13:36:55
05:03:33:       Revision: 5ca109d295a6245e2a2f590b3d0085ad5e567aeb
05:03:33:         Branch: master
05:03:33:       Compiler: Visual C++ 2015
05:03:33:        Options: /TP /nologo /EHa /wd4297 /wd4103 /O2 /Zc:throwingNew /MT
05:03:33:       Platform: win32 10
05:03:33:           Bits: 32
05:03:33:           Mode: Release
05:03:33:****************************** FAHClient ******************************
05:03:33:        Version: 7.6.21
05:03:33:         Author: Joseph Coffland <joseph@cauldrondevelopment.com>
05:03:33:      Copyright: 2020 foldingathome.org
05:03:33:       Homepage: https://foldingathome.org/
05:03:33:           Date: Oct 20 2020
05:03:33:           Time: 13:41:04
05:03:33:       Revision: 6efbf0e138e22d3963e6a291f78dcb9c6422a278
05:03:33:         Branch: master
05:03:33:       Compiler: Visual C++ 2015
05:03:33:        Options: /TP /nologo /EHa /wd4297 /wd4103 /O2 /Zc:throwingNew /MT
05:03:33:       Platform: win32 10
05:03:33:           Bits: 32
05:03:33:           Mode: Release
05:03:33:         Config: C:\Users\Falcon\AppData\Roaming\FAHClient\config.xml
05:03:33:******************************** CBang ********************************
05:03:33:           Date: Oct 20 2020
05:03:33:           Time: 11:36:18
05:03:33:       Revision: 7e4ce85225d7eaeb775e87c31740181ca603de60
05:03:33:         Branch: master
05:03:33:       Compiler: Visual C++ 2015
05:03:33:        Options: /TP /nologo /EHa /wd4297 /wd4103 /O2 /Zc:throwingNew /MT
05:03:33:       Platform: win32 10
05:03:33:           Bits: 32
05:03:33:           Mode: Release
05:03:33:******************************* System ********************************
05:03:33:            CPU: Intel(R) Core(TM) i7-7820HQ CPU @ 2.90GHz
05:03:33:         CPU ID: GenuineIntel Family 6 Model 158 Stepping 9
05:03:33:           CPUs: 8
05:03:33:         Memory: 15.88GiB
05:03:33:    Free Memory: 8.66GiB
05:03:33:        Threads: WINDOWS_THREADS
05:03:33:     OS Version: 6.2
05:03:33:    Has Battery: true
05:03:33:     On Battery: false
05:03:33:     UTC Offset: -8
05:03:33:            PID: 20800
05:03:33:            CWD: C:\Users\Falcon\AppData\Roaming\FAHClient
05:03:33:  Win32 Service: false
05:03:33:             OS: Windows 10 Enterprise
05:03:33:        OS Arch: AMD64
05:03:33:           GPUs: 3
05:03:33:          GPU 0: Bus:1 Slot:0 Func:0 NVIDIA:4 GM108 [GeForce 940MX]
05:03:33:          GPU 1: Bus:0 Slot:2 Func:0 INTEL:1 KBL GT2 [HD Graphics 630]
05:03:33:          GPU 2: Bus:9 Slot:0 Func:0 AMD:5 Fiji XT [Radeon R9 Fury X]
05:03:33:  CUDA Device 0: Platform:0 Device:0 Bus:1 Slot:0 Compute:5.0 Driver:11.0
05:03:33:OpenCL Device 0: Platform:0 Device:0 Bus:1 Slot:0 Compute:1.2 Driver:452.66
05:03:33:OpenCL Device 1: Platform:1 Device:0 Bus:9 Slot:0 Compute:1.2 Driver:3075.13
05:03:33:OpenCL Device 2: Platform:2 Device:0 Bus:NA Slot:NA Compute:2.1 Driver:26.20
05:03:33:***********************************************************************
05:03:33:<config>
05:03:33:  <!-- Folding Core -->
05:03:33:  <core-priority v='low'/>
05:03:33:
05:03:33:  <!-- Folding Slot Configuration -->
05:03:33:  <gpu v='false'/>
05:03:33:
05:03:33:  <!-- HTTP Server -->
05:03:33:  <allow v='127.0.0.1 192.168.86.0/24 10.0.0.0/8'/>
05:03:33:
05:03:33:  <!-- Network -->
05:03:33:  <proxy v=':8080'/>
05:03:33:
05:03:33:  <!-- Remote Command Server -->
05:03:33:  <command-allow-no-pass v='127.0.0.1 192.168.86.0/24 10.0.0.0/8'/>
05:03:33:
05:03:33:  <!-- Slot Control -->
05:03:33:  <pause-on-battery v='false'/>
05:03:33:  <power v='full'/>
05:03:33:
05:03:33:  <!-- User Information -->
05:03:33:  <passkey v='*****'/>
05:03:33:  <team v='245782'/>
05:03:33:  <user v='FalconFour'/>
05:03:33:
05:03:33:  <!-- Folding Slots -->
05:03:33:  <slot id='3' type='CPU'/>
05:03:33:  <slot id='0' type='GPU'>
05:03:33:    <pci-bus v='9'/>
05:03:33:    <pci-slot v='0'/>
05:03:33:  </slot>
05:03:33:</config>
05:03:33:Trying to access database...
05:03:33:Successfully acquired database lock
05:03:33:FS03:Initialized folding slot 03: cpu:7
05:03:33:FS00:Initialized folding slot 00: gpu:9:0 Fiji XT [Radeon R9 Fury X]
05:03:33:WU01:FS03:Starting
05:03:33:WU01:FS03:Running FahCore: "C:\Program Files (x86)\FAHClient/FAHCoreWrapper.exe" C:\Users\Falcon\AppData\Roaming\FAHClient\cores/cores.foldingathome.org/win/64bit-avx2-256/a8-0.0.12/Core_a8.fah/FahCore_a8.exe -dir 01 -suffix 01 -version 706 -lifeline 20800 -checkpoint 15 -np 7
05:03:33:WU01:FS03:Started FahCore on PID 14984
05:03:33:WU01:FS03:Core PID:20796
05:03:33:WU01:FS03:FahCore 0xa8 started
05:03:34:WU02:FS00:Starting
05:03:34:WU02:FS00:Running FahCore: "C:\Program Files (x86)\FAHClient/FAHCoreWrapper.exe" C:\Users\Falcon\AppData\Roaming\FAHClient\cores/cores.foldingathome.org/win/64bit/22-0.0.13/Core_22.fah/FahCore_22.exe -dir 02 -suffix 01 -version 706 -lifeline 20800 -checkpoint 15 -opencl-platform 1 -opencl-device 0 -gpu-vendor amd -gpu 0 -gpu-usage 100
05:03:34:WU02:FS00:Started FahCore on PID 17816
05:03:34:WU02:FS00:Core PID:20856
05:03:34:WU02:FS00:FahCore 0x22 started
05:03:34:WU01:FS03:0xa8:*********************** Log Started 2021-02-17T05:03:34Z ***********************
05:03:34:WU02:FS00:0x22:*********************** Log Started 2021-02-17T05:03:34Z ***********************
05:03:34:WU01:FS03:0xa8:************************** Gromacs Folding@home Core ***************************
05:03:35:WU02:FS00:0x22:*************************** Core22 Folding@home Core ***************************
05:03:35:WU01:FS03:0xa8:       Core: Gromacs
05:03:35:WU02:FS00:0x22:       Core: Core22
05:03:35:WU01:FS03:0xa8:       Type: 0xa8
05:03:35:WU02:FS00:0x22:       Type: 0x22
05:03:35:WU01:FS03:0xa8:    Version: 0.0.12
05:03:35:WU02:FS00:0x22:    Version: 0.0.13
05:03:35:WU01:FS03:0xa8:     Author: Joseph Coffland <joseph@cauldrondevelopment.com>
05:03:35:WU02:FS00:0x22:     Author: Joseph Coffland <joseph@cauldrondevelopment.com>
05:03:35:WU01:FS03:0xa8:  Copyright: 2020 foldingathome.org
05:03:35:WU02:FS00:0x22:  Copyright: 2020 foldingathome.org
05:03:35:WU01:FS03:0xa8:   Homepage: https://foldingathome.org/
05:03:35:WU02:FS00:0x22:   Homepage: https://foldingathome.org/
05:03:35:WU01:FS03:0xa8:       Date: Jan 16 2021
05:03:35:WU02:FS00:0x22:       Date: Sep 19 2020
05:03:35:WU01:FS03:0xa8:       Time: 12:29:40
05:03:35:WU02:FS00:0x22:       Time: 02:35:58
05:03:35:WU01:FS03:0xa8:   Revision: c5816759c404e4b65f9f364c3d1ef554a67c4225
05:03:35:WU02:FS00:0x22:   Revision: 571cf95de6de2c592c7c3ed48fcfb2e33e9ea7d3
05:03:35:WU01:FS03:0xa8:     Branch: master
05:03:35:WU02:FS00:0x22:     Branch: core22-0.0.13
05:03:35:WU01:FS03:0xa8:   Compiler: Visual C++ 2019 16.7
05:03:35:WU02:FS00:0x22:   Compiler: Visual C++ 2015
05:03:35:WU01:FS03:0xa8:    Options: /TP /std:c++14 /nologo /EHa /wd4297 /wd4103 /O2 /Zc:throwingNew /MT
05:03:35:WU02:FS00:0x22:    Options: /TP /nologo /EHa /wd4297 /wd4103 /O2 /Ob3 /Zc:throwingNew /MT
05:03:35:WU01:FS03:0xa8:   Platform: win32 10
05:03:35:WU02:FS00:0x22:             -DOPENMM_GIT_HASH="\"189320d0\""
05:03:35:WU01:FS03:0xa8:       Bits: 64
05:03:35:WU02:FS00:0x22:   Platform: win32 10
05:03:35:WU01:FS03:0xa8:       Mode: Release
05:03:35:WU02:FS00:0x22:       Bits: 64
05:03:35:WU01:FS03:0xa8:       SIMD: avx2_256
05:03:35:WU02:FS00:0x22:       Mode: Release
05:03:35:WU01:FS03:0xa8:     OpenMP: ON
05:03:35:WU02:FS00:0x22:Maintainers: John Chodera <john.chodera@choderalab.org> and Peter Eastman
05:03:35:WU01:FS03:0xa8:       CUDA: OFF
05:03:35:WU02:FS00:0x22:             <peastman@stanford.edu>
05:03:35:WU01:FS03:0xa8:       Args: -dir 01 -suffix 01 -version 706 -lifeline 14984 -checkpoint 15 -np
05:03:35:WU02:FS00:0x22:       Args: -dir 02 -suffix 01 -version 706 -lifeline 17816 -checkpoint 15
05:03:35:WU01:FS03:0xa8:             7
05:03:35:WU02:FS00:0x22:             -opencl-platform 1 -opencl-device 0 -gpu-vendor amd -gpu 0
05:03:35:WU01:FS03:0xa8:************************************ libFAH ************************************
05:03:35:WU02:FS00:0x22:             -gpu-usage 100
05:03:35:WU01:FS03:0xa8:       Date: Jan 16 2021
05:03:35:WU02:FS00:0x22:************************************ libFAH ************************************
05:03:35:WU01:FS03:0xa8:       Time: 11:24:13
05:03:35:WU02:FS00:0x22:       Date: Sep 7 2020
05:03:35:WU01:FS03:0xa8:   Revision: c5816759c404e4b65f9f364c3d1ef554a67c4225
05:03:35:WU02:FS00:0x22:       Time: 19:09:56
05:03:35:WU01:FS03:0xa8:     Branch: master
05:03:35:WU02:FS00:0x22:   Revision: 44301ed97b996b63fe736bb8073f22209cb2b603
05:03:35:WU01:FS03:0xa8:   Compiler: Visual C++ 2019 16.7
05:03:35:WU02:FS00:0x22:     Branch: HEAD
05:03:35:WU01:FS03:0xa8:    Options: /TP /std:c++14 /nologo /EHa /wd4297 /wd4103 /O2 /Zc:throwingNew /MT
05:03:35:WU02:FS00:0x22:   Compiler: Visual C++ 2015
05:03:35:WU01:FS03:0xa8:   Platform: win32 10
05:03:35:WU02:FS00:0x22:    Options: /TP /nologo /EHa /wd4297 /wd4103 /O2 /Ob3 /Zc:throwingNew /MT
05:03:35:WU01:FS03:0xa8:       Bits: 64
05:03:35:WU02:FS00:0x22:   Platform: win32 10
05:03:35:WU01:FS03:0xa8:       Mode: Release
05:03:35:WU02:FS00:0x22:       Bits: 64
05:03:35:WU01:FS03:0xa8:************************************ CBang *************************************
05:03:35:WU02:FS00:0x22:       Mode: Release
05:03:35:WU01:FS03:0xa8:       Date: Jan 16 2021
05:03:35:WU02:FS00:0x22:************************************ CBang *************************************
05:03:35:WU01:FS03:0xa8:       Time: 11:23:53
05:03:35:WU02:FS00:0x22:       Date: Sep 7 2020
05:03:35:WU01:FS03:0xa8:   Revision: c5816759c404e4b65f9f364c3d1ef554a67c4225
05:03:35:WU02:FS00:0x22:       Time: 19:08:30
05:03:35:WU01:FS03:0xa8:     Branch: master
05:03:35:WU02:FS00:0x22:   Revision: 33fcfc2b3ed2195a423606a264718e31e6b3903f
05:03:35:WU01:FS03:0xa8:   Compiler: Visual C++ 2019 16.7
05:03:35:WU02:FS00:0x22:     Branch: HEAD
05:03:35:WU01:FS03:0xa8:    Options: /TP /std:c++14 /nologo /EHa /wd4297 /wd4103 /O2 /Zc:throwingNew /MT
05:03:35:WU02:FS00:0x22:   Compiler: Visual C++ 2015
05:03:35:WU01:FS03:0xa8:   Platform: win32 10
05:03:35:WU02:FS00:0x22:    Options: /TP /nologo /EHa /wd4297 /wd4103 /O2 /Ob3 /Zc:throwingNew /MT
05:03:35:WU01:FS03:0xa8:       Bits: 64
05:03:35:WU02:FS00:0x22:   Platform: win32 10
05:03:35:WU01:FS03:0xa8:       Mode: Release
05:03:35:WU02:FS00:0x22:       Bits: 64
05:03:35:WU01:FS03:0xa8:************************************ System ************************************
05:03:35:WU02:FS00:0x22:       Mode: Release
05:03:35:WU01:FS03:0xa8:        CPU: Intel(R) Core(TM) i7-7820HQ CPU @ 2.90GHz
05:03:35:WU02:FS00:0x22:************************************ System ************************************
05:03:35:WU01:FS03:0xa8:     CPU ID: GenuineIntel Family 6 Model 158 Stepping 9
05:03:35:WU02:FS00:0x22:        CPU: Intel(R) Core(TM) i7-7820HQ CPU @ 2.90GHz
05:03:35:WU01:FS03:0xa8:       CPUs: 8
05:03:35:WU02:FS00:0x22:     CPU ID: GenuineIntel Family 6 Model 158 Stepping 9
05:03:35:WU01:FS03:0xa8:     Memory: 15.88GiB
05:03:35:WU02:FS00:0x22:       CPUs: 8
05:03:35:WU01:FS03:0xa8:Free Memory: 8.78GiB
05:03:35:WU02:FS00:0x22:     Memory: 15.88GiB
05:03:35:WU01:FS03:0xa8:    Threads: WINDOWS_THREADS
05:03:35:WU02:FS00:0x22:Free Memory: 8.76GiB
05:03:35:WU01:FS03:0xa8: OS Version: 6.2
05:03:35:WU02:FS00:0x22:    Threads: WINDOWS_THREADS
05:03:35:WU01:FS03:0xa8:Has Battery: true
05:03:35:WU02:FS00:0x22: OS Version: 6.2
05:03:35:WU01:FS03:0xa8: On Battery: false
05:03:35:WU02:FS00:0x22:Has Battery: true
05:03:35:WU01:FS03:0xa8: UTC Offset: -8
05:03:35:WU02:FS00:0x22: On Battery: false
05:03:35:WU01:FS03:0xa8:        PID: 20796
05:03:35:WU02:FS00:0x22: UTC Offset: -8
05:03:35:WU01:FS03:0xa8:        CWD: C:\Users\Falcon\AppData\Roaming\FAHClient\work
05:03:35:WU02:FS00:0x22:        PID: 20856
05:03:35:WU01:FS03:0xa8:********************************************************************************
05:03:35:WU02:FS00:0x22:        CWD: C:\Users\Falcon\AppData\Roaming\FAHClient\work
05:03:35:WU01:FS03:0xa8:Project: 16950 (Run 6, Clone 2, Gen 52)
05:03:35:WU02:FS00:0x22:************************************ OpenMM ************************************
05:03:35:WU01:FS03:0xa8:Unit: 0x00000000000000000000000000000000
05:03:35:WU02:FS00:0x22:   Revision: 189320d0
05:03:35:WU01:FS03:0xa8:Digital signatures verified
05:03:35:WU02:FS00:0x22:********************************************************************************
05:03:35:WU01:FS03:0xa8:Calling: mdrun -c frame52.gro -s frame52.tpr -x frame52.xtc -cpi state.cpt -cpt 15 -nt 7 -ntmpi 1
05:03:35:WU02:FS00:0x22:Project: 17433 (Run 0, Clone 484, Gen 39)
05:03:35:WU01:FS03:0xa8:Steps: first=260000000 total=265000000
05:03:35:WU02:FS00:0x22:Unit: 0x00000000000000000000000000000000
05:03:35:WU02:FS00:0x22:Digital signatures verified
05:03:35:WU02:FS00:0x22:Folding@home GPU Core22 Folding@home Core
05:03:35:WU02:FS00:0x22:Version 0.0.13
05:03:35:WU02:FS00:0x22:  Checkpoint write interval: 25000 steps (2%) [50 total]
05:03:35:WU02:FS00:0x22:  JSON viewer frame write interval: 12500 steps (1%) [100 total]
05:03:35:WU02:FS00:0x22:  XTC frame write interval: 10000 steps (0.8%) [125 total]
05:03:35:WU02:FS00:0x22:  Global context and integrator variables write interval: disabled
05:03:35:WU02:FS00:0x22:There are 3 platforms available.
05:03:35:WU02:FS00:0x22:Platform 0: Reference
05:03:35:WU02:FS00:0x22:Platform 1: CPU
05:03:35:WU02:FS00:0x22:Platform 2: OpenCL
05:03:35:WU02:FS00:0x22:  opencl-device 0 specified
05:03:39:WU01:FS03:0xa8:Completed 1740892 out of 5000000 steps (34%)
05:04:16:WU02:FS00:0x22:Attempting to create OpenCL context:
05:04:16:WU02:FS00:0x22:  Configuring platform OpenCL
05:04:57:WU02:FS00:0x22:  Using OpenCL on platformId 1 and gpu 0
05:04:58:WU02:FS00:0x22:Completed 850000 out of 1250000 steps (68%)
05:06:39:WU01:FS03:0xa8:Completed 1750000 out of 5000000 steps (35%)
Looks fine and dandy, no? Take a look at the "3 platforms available", and then look at the "Using OpenCL on platformId" line.

Yes, it started using the CPU platform. :x

I only noticed this because my eGPU has activity indicators on it, and there was no activity on it after several minutes... while my laptop CPU fan started roaring up. I checked Task Manager and found that the eGPU is indeed idle, but my GPU 0: Intel HD Graphics was pegged at 100% usage. And the WU was estimated to take 1.2 days. :roll:

This is a completely unmodified configuration since it last worked fine, same Windows session and all. Basically, F@H is failing to associate the PCI bus/slot ID to the correct platform/device. I kinda wish it would still just let me pick slot/device, as that worked at least somewhat reliably... but this bus/slot thing seems to just have a lot of issues.

update: after rebooting, no change. after "updating" the AMD driver with itself (update driver -> select the same driver that it already had -> continue), it re-registered itself and again installed AMD's corrupt "Pci Bus" driver (note the capitalization) over the MS standard "PCI Express Root Complex" device, which messes up my touchpad/keyboard... so I reverted that and disabled the "AMD External Events Utility" service which is responsible for installing that bad driver... (ugh, I utterly hate how AMD takes it upon themselves to install these bad drivers on a laptop!)... aaaand guess what? Works great again.

Code: Select all

*********************** Log Started 2021-02-17T05:21:38Z ***********************
05:21:38:******************************* libFAH ********************************
05:21:38:           Date: Oct 20 2020
05:21:38:           Time: 13:36:55
05:21:38:       Revision: 5ca109d295a6245e2a2f590b3d0085ad5e567aeb
05:21:38:         Branch: master
05:21:38:       Compiler: Visual C++ 2015
05:21:38:        Options: /TP /nologo /EHa /wd4297 /wd4103 /O2 /Zc:throwingNew /MT
05:21:38:       Platform: win32 10
05:21:38:           Bits: 32
05:21:38:           Mode: Release
05:21:38:****************************** FAHClient ******************************
05:21:38:        Version: 7.6.21
05:21:38:         Author: Joseph Coffland <joseph@cauldrondevelopment.com>
05:21:38:      Copyright: 2020 foldingathome.org
05:21:38:       Homepage: https://foldingathome.org/
05:21:38:           Date: Oct 20 2020
05:21:38:           Time: 13:41:04
05:21:38:       Revision: 6efbf0e138e22d3963e6a291f78dcb9c6422a278
05:21:38:         Branch: master
05:21:38:       Compiler: Visual C++ 2015
05:21:38:        Options: /TP /nologo /EHa /wd4297 /wd4103 /O2 /Zc:throwingNew /MT
05:21:38:       Platform: win32 10
05:21:38:           Bits: 32
05:21:38:           Mode: Release
05:21:38:         Config: C:\Users\Falcon\AppData\Roaming\FAHClient\config.xml
05:21:38:******************************** CBang ********************************
05:21:38:           Date: Oct 20 2020
05:21:38:           Time: 11:36:18
05:21:38:       Revision: 7e4ce85225d7eaeb775e87c31740181ca603de60
05:21:38:         Branch: master
05:21:38:       Compiler: Visual C++ 2015
05:21:38:        Options: /TP /nologo /EHa /wd4297 /wd4103 /O2 /Zc:throwingNew /MT
05:21:38:       Platform: win32 10
05:21:38:           Bits: 32
05:21:38:           Mode: Release
05:21:38:******************************* System ********************************
05:21:38:            CPU: Intel(R) Core(TM) i7-7820HQ CPU @ 2.90GHz
05:21:38:         CPU ID: GenuineIntel Family 6 Model 158 Stepping 9
05:21:38:           CPUs: 8
05:21:38:         Memory: 15.88GiB
05:21:38:    Free Memory: 11.56GiB
05:21:38:        Threads: WINDOWS_THREADS
05:21:38:     OS Version: 6.2
05:21:38:    Has Battery: true
05:21:38:     On Battery: false
05:21:38:     UTC Offset: -8
05:21:38:            PID: 6280
05:21:38:            CWD: C:\Users\Falcon\AppData\Roaming\FAHClient
05:21:38:  Win32 Service: false
05:21:38:             OS: Windows 10 Enterprise
05:21:38:        OS Arch: AMD64
05:21:38:           GPUs: 3
05:21:38:          GPU 0: Bus:1 Slot:0 Func:0 NVIDIA:4 GM108 [GeForce 940MX]
05:21:38:          GPU 1: Bus:0 Slot:2 Func:0 INTEL:1 KBL GT2 [HD Graphics 630]
05:21:38:          GPU 2: Bus:9 Slot:0 Func:0 AMD:5 Fiji XT [Radeon R9 Fury X]
05:21:38:  CUDA Device 0: Platform:0 Device:0 Bus:1 Slot:0 Compute:5.0 Driver:11.0
05:21:38:OpenCL Device 0: Platform:0 Device:0 Bus:9 Slot:0 Compute:1.2 Driver:3075.13
05:21:38:OpenCL Device 1: Platform:1 Device:0 Bus:NA Slot:NA Compute:2.1 Driver:26.20
05:21:38:OpenCL Device 2: Platform:2 Device:0 Bus:1 Slot:0 Compute:1.2 Driver:452.66
05:21:38:***********************************************************************
05:21:38:<config>
05:21:38:  <!-- Folding Core -->
05:21:38:  <core-priority v='low'/>
05:21:38:
05:21:38:  <!-- Folding Slot Configuration -->
05:21:38:  <gpu v='false'/>
05:21:38:
05:21:38:  <!-- HTTP Server -->
05:21:38:  <allow v='127.0.0.1 192.168.86.0/24 10.0.0.0/8'/>
05:21:38:
05:21:38:  <!-- Network -->
05:21:38:  <proxy v=':8080'/>
05:21:38:
05:21:38:  <!-- Remote Command Server -->
05:21:38:  <command-allow-no-pass v='127.0.0.1 192.168.86.0/24 10.0.0.0/8'/>
05:21:38:
05:21:38:  <!-- Slot Control -->
05:21:38:  <pause-on-battery v='false'/>
05:21:38:  <power v='full'/>
05:21:38:
05:21:38:  <!-- User Information -->
05:21:38:  <passkey v='*****'/>
05:21:38:  <team v='245782'/>
05:21:38:  <user v='FalconFour'/>
05:21:38:
05:21:38:  <!-- Folding Slots -->
05:21:38:  <slot id='3' type='CPU'/>
05:21:38:  <slot id='0' type='GPU'>
05:21:38:    <pci-bus v='9'/>
05:21:38:    <pci-slot v='0'/>
05:21:38:  </slot>
05:21:38:</config>
05:21:38:Trying to access database...
05:21:38:Successfully acquired database lock
05:21:38:FS03:Initialized folding slot 03: cpu:7
05:21:38:FS00:Initialized folding slot 00: gpu:9:0 Fiji XT [Radeon R9 Fury X]
05:21:38:WU02:FS00:Starting
05:21:38:WU02:FS00:Running FahCore: "C:\Program Files (x86)\FAHClient/FAHCoreWrapper.exe" C:\Users\Falcon\AppData\Roaming\FAHClient\cores/cores.foldingathome.org/win/64bit/22-0.0.13/Core_22.fah/FahCore_22.exe -dir 02 -suffix 01 -version 706 -lifeline 6280 -checkpoint 15 -opencl-platform 0 -opencl-device 0 -gpu-vendor amd -gpu 0 -gpu-usage 100
05:21:38:WU02:FS00:Started FahCore on PID 11688
05:21:38:WU02:FS00:Core PID:11700
05:21:38:WU02:FS00:FahCore 0x22 started
05:21:39:WU01:FS03:Starting
05:21:39:WU01:FS03:Running FahCore: "C:\Program Files (x86)\FAHClient/FAHCoreWrapper.exe" C:\Users\Falcon\AppData\Roaming\FAHClient\cores/cores.foldingathome.org/win/64bit-avx2-256/a8-0.0.12/Core_a8.fah/FahCore_a8.exe -dir 01 -suffix 01 -version 706 -lifeline 6280 -checkpoint 15 -np 7
05:21:39:WU01:FS03:Started FahCore on PID 16192
05:21:39:WU01:FS03:Core PID:3700
05:21:39:WU01:FS03:FahCore 0xa8 started
05:21:39:WU02:FS00:0x22:*********************** Log Started 2021-02-17T05:21:38Z ***********************
05:21:39:WU02:FS00:0x22:*************************** Core22 Folding@home Core ***************************
05:21:39:WU02:FS00:0x22:       Core: Core22
05:21:39:WU02:FS00:0x22:       Type: 0x22
05:21:39:WU02:FS00:0x22:    Version: 0.0.13
05:21:39:WU02:FS00:0x22:     Author: Joseph Coffland <joseph@cauldrondevelopment.com>
05:21:39:WU02:FS00:0x22:  Copyright: 2020 foldingathome.org
05:21:39:WU02:FS00:0x22:   Homepage: https://foldingathome.org/
05:21:39:WU02:FS00:0x22:       Date: Sep 19 2020
05:21:39:WU02:FS00:0x22:       Time: 02:35:58
05:21:39:WU02:FS00:0x22:   Revision: 571cf95de6de2c592c7c3ed48fcfb2e33e9ea7d3
05:21:39:WU02:FS00:0x22:     Branch: core22-0.0.13
05:21:39:WU02:FS00:0x22:   Compiler: Visual C++ 2015
05:21:39:WU02:FS00:0x22:    Options: /TP /nologo /EHa /wd4297 /wd4103 /O2 /Ob3 /Zc:throwingNew /MT
05:21:39:WU02:FS00:0x22:             -DOPENMM_GIT_HASH="\"189320d0\""
05:21:39:WU02:FS00:0x22:   Platform: win32 10
05:21:39:WU02:FS00:0x22:       Bits: 64
05:21:39:WU02:FS00:0x22:       Mode: Release
05:21:39:WU02:FS00:0x22:Maintainers: John Chodera <john.chodera@choderalab.org> and Peter Eastman
05:21:39:WU02:FS00:0x22:             <peastman@stanford.edu>
05:21:39:WU02:FS00:0x22:       Args: -dir 02 -suffix 01 -version 706 -lifeline 11688 -checkpoint 15
05:21:39:WU02:FS00:0x22:             -opencl-platform 0 -opencl-device 0 -gpu-vendor amd -gpu 0
05:21:39:WU02:FS00:0x22:             -gpu-usage 100
05:21:39:WU02:FS00:0x22:************************************ libFAH ************************************
05:21:39:WU02:FS00:0x22:       Date: Sep 7 2020
05:21:39:WU02:FS00:0x22:       Time: 19:09:56
05:21:39:WU02:FS00:0x22:   Revision: 44301ed97b996b63fe736bb8073f22209cb2b603
05:21:39:WU02:FS00:0x22:     Branch: HEAD
05:21:39:WU02:FS00:0x22:   Compiler: Visual C++ 2015
05:21:39:WU02:FS00:0x22:    Options: /TP /nologo /EHa /wd4297 /wd4103 /O2 /Ob3 /Zc:throwingNew /MT
05:21:39:WU02:FS00:0x22:   Platform: win32 10
05:21:39:WU02:FS00:0x22:       Bits: 64
05:21:39:WU02:FS00:0x22:       Mode: Release
05:21:39:WU02:FS00:0x22:************************************ CBang *************************************
05:21:39:WU02:FS00:0x22:       Date: Sep 7 2020
05:21:39:WU02:FS00:0x22:       Time: 19:08:30
05:21:39:WU02:FS00:0x22:   Revision: 33fcfc2b3ed2195a423606a264718e31e6b3903f
05:21:39:WU02:FS00:0x22:     Branch: HEAD
05:21:39:WU02:FS00:0x22:   Compiler: Visual C++ 2015
05:21:39:WU02:FS00:0x22:    Options: /TP /nologo /EHa /wd4297 /wd4103 /O2 /Ob3 /Zc:throwingNew /MT
05:21:39:WU02:FS00:0x22:   Platform: win32 10
05:21:39:WU02:FS00:0x22:       Bits: 64
05:21:39:WU02:FS00:0x22:       Mode: Release
05:21:39:WU02:FS00:0x22:************************************ System ************************************
05:21:39:WU02:FS00:0x22:        CPU: Intel(R) Core(TM) i7-7820HQ CPU @ 2.90GHz
05:21:39:WU02:FS00:0x22:     CPU ID: GenuineIntel Family 6 Model 158 Stepping 9
05:21:39:WU02:FS00:0x22:       CPUs: 8
05:21:39:WU02:FS00:0x22:     Memory: 15.88GiB
05:21:39:WU02:FS00:0x22:Free Memory: 11.50GiB
05:21:39:WU02:FS00:0x22:    Threads: WINDOWS_THREADS
05:21:39:WU02:FS00:0x22: OS Version: 6.2
05:21:39:WU02:FS00:0x22:Has Battery: true
05:21:39:WU02:FS00:0x22: On Battery: false
05:21:39:WU02:FS00:0x22: UTC Offset: -8
05:21:39:WU02:FS00:0x22:        PID: 11700
05:21:39:WU02:FS00:0x22:        CWD: C:\Users\Falcon\AppData\Roaming\FAHClient\work
05:21:39:WU02:FS00:0x22:************************************ OpenMM ************************************
05:21:39:WU02:FS00:0x22:   Revision: 189320d0
05:21:39:WU02:FS00:0x22:********************************************************************************
05:21:39:WU02:FS00:0x22:Project: 17433 (Run 0, Clone 484, Gen 39)
05:21:39:WU02:FS00:0x22:Unit: 0x00000000000000000000000000000000
05:21:39:WU02:FS00:0x22:Digital signatures verified
05:21:39:WU02:FS00:0x22:Folding@home GPU Core22 Folding@home Core
05:21:39:WU02:FS00:0x22:Version 0.0.13
05:21:39:WU01:FS03:0xa8:*********************** Log Started 2021-02-17T05:21:39Z ***********************
05:21:39:WU01:FS03:0xa8:************************** Gromacs Folding@home Core ***************************
05:21:39:WU01:FS03:0xa8:       Core: Gromacs
05:21:39:WU01:FS03:0xa8:       Type: 0xa8
05:21:39:WU01:FS03:0xa8:    Version: 0.0.12
05:21:39:WU01:FS03:0xa8:     Author: Joseph Coffland <joseph@cauldrondevelopment.com>
05:21:39:WU01:FS03:0xa8:  Copyright: 2020 foldingathome.org
05:21:39:WU01:FS03:0xa8:   Homepage: https://foldingathome.org/
05:21:39:WU01:FS03:0xa8:       Date: Jan 16 2021
05:21:39:WU01:FS03:0xa8:       Time: 12:29:40
05:21:39:WU01:FS03:0xa8:   Revision: c5816759c404e4b65f9f364c3d1ef554a67c4225
05:21:39:WU01:FS03:0xa8:     Branch: master
05:21:39:WU01:FS03:0xa8:   Compiler: Visual C++ 2019 16.7
05:21:39:WU01:FS03:0xa8:    Options: /TP /std:c++14 /nologo /EHa /wd4297 /wd4103 /O2 /Zc:throwingNew /MT
05:21:39:WU01:FS03:0xa8:   Platform: win32 10
05:21:39:WU01:FS03:0xa8:       Bits: 64
05:21:39:WU01:FS03:0xa8:       Mode: Release
05:21:39:WU01:FS03:0xa8:       SIMD: avx2_256
05:21:39:WU01:FS03:0xa8:     OpenMP: ON
05:21:39:WU01:FS03:0xa8:       CUDA: OFF
05:21:39:WU01:FS03:0xa8:       Args: -dir 01 -suffix 01 -version 706 -lifeline 16192 -checkpoint 15 -np
05:21:39:WU01:FS03:0xa8:             7
05:21:39:WU01:FS03:0xa8:************************************ libFAH ************************************
05:21:39:WU01:FS03:0xa8:       Date: Jan 16 2021
05:21:39:WU01:FS03:0xa8:       Time: 11:24:13
05:21:39:WU01:FS03:0xa8:   Revision: c5816759c404e4b65f9f364c3d1ef554a67c4225
05:21:39:WU01:FS03:0xa8:     Branch: master
05:21:39:WU01:FS03:0xa8:   Compiler: Visual C++ 2019 16.7
05:21:39:WU01:FS03:0xa8:    Options: /TP /std:c++14 /nologo /EHa /wd4297 /wd4103 /O2 /Zc:throwingNew /MT
05:21:39:WU01:FS03:0xa8:   Platform: win32 10
05:21:39:WU01:FS03:0xa8:       Bits: 64
05:21:39:WU01:FS03:0xa8:       Mode: Release
05:21:39:WU01:FS03:0xa8:************************************ CBang *************************************
05:21:39:WU01:FS03:0xa8:       Date: Jan 16 2021
05:21:39:WU01:FS03:0xa8:       Time: 11:23:53
05:21:39:WU01:FS03:0xa8:   Revision: c5816759c404e4b65f9f364c3d1ef554a67c4225
05:21:39:WU01:FS03:0xa8:     Branch: master
05:21:39:WU01:FS03:0xa8:   Compiler: Visual C++ 2019 16.7
05:21:39:WU01:FS03:0xa8:    Options: /TP /std:c++14 /nologo /EHa /wd4297 /wd4103 /O2 /Zc:throwingNew /MT
05:21:39:WU01:FS03:0xa8:   Platform: win32 10
05:21:39:WU01:FS03:0xa8:       Bits: 64
05:21:39:WU01:FS03:0xa8:       Mode: Release
05:21:39:WU01:FS03:0xa8:************************************ System ************************************
05:21:39:WU01:FS03:0xa8:        CPU: Intel(R) Core(TM) i7-7820HQ CPU @ 2.90GHz
05:21:39:WU01:FS03:0xa8:     CPU ID: GenuineIntel Family 6 Model 158 Stepping 9
05:21:39:WU01:FS03:0xa8:       CPUs: 8
05:21:39:WU01:FS03:0xa8:     Memory: 15.88GiB
05:21:39:WU01:FS03:0xa8:Free Memory: 11.49GiB
05:21:39:WU01:FS03:0xa8:    Threads: WINDOWS_THREADS
05:21:39:WU01:FS03:0xa8: OS Version: 6.2
05:21:39:WU01:FS03:0xa8:Has Battery: true
05:21:39:WU01:FS03:0xa8: On Battery: false
05:21:39:WU01:FS03:0xa8: UTC Offset: -8
05:21:39:WU01:FS03:0xa8:        PID: 3700
05:21:39:WU01:FS03:0xa8:        CWD: C:\Users\Falcon\AppData\Roaming\FAHClient\work
05:21:39:WU01:FS03:0xa8:********************************************************************************
05:21:39:WU01:FS03:0xa8:Project: 16950 (Run 6, Clone 2, Gen 52)
05:21:39:WU01:FS03:0xa8:Unit: 0x00000000000000000000000000000000
05:21:39:WU01:FS03:0xa8:Digital signatures verified
05:21:39:WU01:FS03:0xa8:Calling: mdrun -c frame52.gro -s frame52.tpr -x frame52.xtc -cpi state.cpt -cpt 15 -nt 7 -ntmpi 1
05:21:39:WU01:FS03:0xa8:Steps: first=260000000 total=265000000
05:21:39:WU02:FS00:0x22:  Checkpoint write interval: 25000 steps (2%) [50 total]
05:21:39:WU02:FS00:0x22:  JSON viewer frame write interval: 12500 steps (1%) [100 total]
05:21:39:WU02:FS00:0x22:  XTC frame write interval: 10000 steps (0.8%) [125 total]
05:21:39:WU02:FS00:0x22:  Global context and integrator variables write interval: disabled
05:21:39:WU02:FS00:0x22:There are 3 platforms available.
05:21:39:WU02:FS00:0x22:Platform 0: Reference
05:21:39:WU02:FS00:0x22:Platform 1: CPU
05:21:39:WU02:FS00:0x22:Platform 2: OpenCL
05:21:39:WU02:FS00:0x22:  opencl-device 0 specified
05:21:41:WU01:FS03:0xa8:Completed 1779901 out of 5000000 steps (35%)
05:22:18:WU02:FS00:0x22:Attempting to create OpenCL context:
05:22:18:WU02:FS00:0x22:  Configuring platform OpenCL
05:22:36:WU02:FS00:0x22:  Using OpenCL on platformId 0 and gpu 0
05:22:37:WU02:FS00:0x22:Completed 850000 out of 1250000 steps (68%)
So, something gets messed up, evidently where there are multiple OpenCL vendors installed (I have Intel, nVidia, and AMD all co-existing on here). It gets untangled when I reinstall the platform I intend to use. Something worth looking into?
ajm
Posts: 754
Joined: Sat Mar 21, 2020 5:22 am
Location: Lucerne, Switzerland

Re: FAH client 7.6.21 starts OpenCL on the wrong OpenCL plat

Post by ajm »

I notice that both logs have that line:

Code: Select all

05:03:33:  <!-- Folding Slot Configuration -->
05:03:33:  <gpu v='false'/>

Code: Select all

05:21:38:  <!-- Folding Slot Configuration -->
05:21:38:  <gpu v='false'/>
bruce
Posts: 20910
Joined: Thu Nov 29, 2007 10:13 pm
Location: So. Cal.

Re: FAH client 7.6.21 starts OpenCL on the wrong OpenCL plat

Post by bruce »

Your hardware detection log segment says it has discovered the following GPUs:

Code: Select all

05:03:33:           GPUs: 3
05:03:33:          GPU 0: Bus:1 Slot:0 Func:0 NVIDIA:4 GM108 [GeForce 940MX]
05:03:33:          GPU 1: Bus:0 Slot:2 Func:0 INTEL:1 KBL GT2 [HD Graphics 630]
05:03:33:          GPU 2: Bus:9 Slot:0 Func:0 AMD:5 Fiji XT [Radeon R9 Fury X]
05:03:33:  CUDA Device 0: Platform:0 Device:0 Bus:1 Slot:0 Compute:5.0 Driver:11.0
05:03:33:OpenCL Device 0: Platform:0 Device:0 Bus:1 Slot:0 Compute:1.2 Driver:452.66
05:03:33:OpenCL Device 1: Platform:1 Device:0 Bus:9 Slot:0 Compute:1.2 Driver:3075.13
05:03:33:OpenCL Device 2: Platform:2 Device:0 Bus:NA Slot:NA Compute:2.1 Driver:26.20
That is UNUSUAL. If that's not accurate, remove the gpu=false setting and restart FAHClient so the hardware detection is reprocessed and post the new results. You may have to do that when you install new drivers but having multiple OpenCL vendors installed (I have Intel, nVidia, and AMD all co-existing on here) is complex.
Getting it untangled when I reinstall the platform I intend to use. Something worth looking into?
Probably, but i need better documentation. I expect to find the INTEL device as device 0. Each device will use only the device driver associated with that particular hardware so the driver revision numbers matter.

Each device is associated with a software slot. Each slot may be enabled, disabled, or busy. When an idle slot is detected, it will attempt to download a new WU, starting by reporting the hardware to the server and a WU will be assigned that can be run on that hardware. The slot is chosen first, not the hardware or the WU.

Assuming all slots are idle (empty) AND all slots are paused, you can unpause each one selectively.

If device 0 is downloading a new WU, it will configure either Cuda-device 0 or OpenCL-device 0 since the nVidia 940Mx can use either one.
If device 1 is downloading a new WU, it will confiugre Opencl-device 1 since that's the only WUs that can be assigned to the Intel device.
If device 2 is downloading a new WU, your AMD device will configure opencl-device 2.

Please post a segment of the log showing individual devices downloading and starting WUs where you see the wrong one getting an assignment. You haven't really demonstrated the issues of the bus/slot system.
FalconFour
Posts: 29
Joined: Fri Sep 05, 2008 11:57 am

Re: FAH client 7.6.21 starts OpenCL on the wrong OpenCL plat

Post by FalconFour »

Note the config:

Code: Select all

05:21:38:  <slot id='0' type='GPU'>
05:21:38:    <pci-bus v='9'/>
05:21:38:    <pci-slot v='0'/>
05:21:38:  </slot>
This corresponds to GPU:

Code: Select all

05:03:33:          GPU 2: Bus:9 Slot:0 Func:0 AMD:5 Fiji XT [Radeon R9 Fury X]
That's the only GPU I want folding. Due to issues with the auto-detection, the gpu=false flag had to be added as a workaround to keep it from constantly cranking through failed WUs on the nVidia GPU, which also keeps having its own faults in this multi-vendor config. To keep it from constantly re-adding slots I remove, I added gpu=false per this thread: viewtopic.php?f=108&t=36781

Anyway, note that even though that is the GPU that's selected, it flops on its face and initializes the wrong one:

Code: Select all

05:03:34:WU02:FS00:Running FahCore: "C:\Program Files (x86)\FAHClient/FAHCoreWrapper.exe" C:\Users\Falcon\AppData\Roaming\FAHClient\cores/cores.foldingathome.org/win/64bit/22-0.0.13/Core_22.fah/FahCore_22.exe -dir 02 -suffix 01 -version 706 -lifeline 20800 -checkpoint 15 -opencl-platform 1 -opencl-device 0 -gpu-vendor amd -gpu 0 -gpu-usage 100
Note how it says "-gpu-vendor amd"? It thinks it's calling up the AMD GPU (as intended). Later in the pipeline, it seems to select the wrong platform:

Code: Select all

05:03:35:WU02:FS00:0x22:There are 3 platforms available.
05:03:35:WU02:FS00:0x22:Platform 0: Reference
05:03:35:WU02:FS00:0x22:Platform 1: CPU
05:03:35:WU02:FS00:0x22:Platform 2: OpenCL
...
05:04:57:WU02:FS00:0x22:  Using OpenCL on platformId 1 and gpu 0
(that corresponds to Platform 1: CPU).

End result: it downloads a WU for the AMD GPU, but ends up running it on the Intel GPU by mistake.
bruce
Posts: 20910
Joined: Thu Nov 29, 2007 10:13 pm
Location: So. Cal.

Re: FAH client 7.6.21 starts OpenCL on the wrong OpenCL plat

Post by bruce »

In your case, Adding pause-on-start is probably a more useful setting than gpu=false. By setting GPU=false, you're guaranteeing that the bus/slot numbers will be wrong as well as the device numbers.

The discussion here will probably be helpful
Subject: Granular control of GPU slots

See you tomorrow. It's late here.
FalconFour
Posts: 29
Joined: Fri Sep 05, 2008 11:57 am

Re: FAH client 7.6.21 starts OpenCL on the wrong OpenCL plat

Post by FalconFour »

Nope, see the thread (again). This is a long spent detour that doesn't address the problem. Look at the config. The flag is in there for a reason, and the GPU slot is configured correctly for slot/bus (that's what I went through above! It's configured correctly and the client even "thinks" it sees it). I think you're not reading what I'm writing. See thread: viewtopic.php?f=108&t=36781

Setting pause-on-start just pauses the unwanted, faulty slot (which is not the subject of this thread). Using the big fold/pause buttons in the client then causes those unwanted (undesired, wish not to be created) slots to start running again and creating bad WU results.

Can we focus on the issue here - that the slot which has the correct bus/slot number is choosing the wrong OpenCL platform due to a bug?

Ignore that I have gpu=false set here. It has absolutely nothing to do with the content of this thread.
bruce
Posts: 20910
Joined: Thu Nov 29, 2007 10:13 pm
Location: So. Cal.

Re: FAH client 7.6.21 starts OpenCL on the wrong OpenCL plat

Post by bruce »

When you allow FAHClient to configure the GPUS it will no longer look like this.

05:03:33: GPU 0: Bus:1 Slot:0 Func:0 NVIDIA:4 GM108 [GeForce 940MX]
05:03:33: GPU 1: Bus:0 Slot:2 Func:0 INTEL:1 KBL GT2 [HD Graphics 630]
05:03:33: GPU 2: Bus:9 Slot:0 Func:0 AMD:5 Fiji XT [Radeon R9 Fury X]

GPU 0: Bus:1 Slot:0 Func:0 is the NTEL:1 KBL GT2 [HD Graphics 630]
D\leavinb the AMD:5 Fiji XT [Radeon R9 Fury X] and the NVIDIA:4 GM108 [GeForce 940MX]

one of them will be Bus:0 Slot:2 and one will be Bus:9 Slot:0

Based on the drivers, they will be

nV: Compute:1.2 Driver:452.66
leaving AMD and Intel to be

Compute:1.2 Driver:3075.13
Compute:2.1 Driver:26.20
FalconFour
Posts: 29
Joined: Fri Sep 05, 2008 11:57 am

Re: FAH client 7.6.21 starts OpenCL on the wrong OpenCL plat

Post by FalconFour »

Didn't I say to stop focusing on gpu=false? I said it 3 times now. Stop. Talking. About. That. FLAG.

The only thing the client configures is what bus and slot it assigns to a WU slot. Guess what? Those are configured correctly. Know how I know? IT WORKS NOW, WITHOUT CHANGING THE CONFIG.

You've been wrong this whole time, but you keep beating that drum, without even a shred of "maybe I'm wrong" or humility in your responses, not even taking a single word I said into consideration. That's a very, very bad thing to be doing. Your responses just make me more frustrated with the decayed, broken-down state of the F@H client and wonder how useful my contributions even are (as I have ... *counts*... 7 PCs around the house fitted with GPUs crunching out WUs and poured countless hours into tuning my setup so my home is heated with folding, mostly on Linux for improved speed, working through countless dumb OpenCL and CUDA issues). Is it even doing any good with a client this clunky?

Your analysis of the "gpu" flag is totally wrong (and you've got gibberish in a typo I can't even decipher - "D\leavinb"?). It doesn't work that way. The "gpu" flag just takes the slots you have, matches them with detected GPUs, and creates slots for GPUs that don't have slots. It doesn't change the fact that a bus:slot was internally mapped to the wrong OpenCL platform.

I'm trying to report on a bug here. The issue was resolved (as I said in the very first post, if you ever cared to read it) by reinstalling the AMD GPU driver, which put the OpenCL platform higher in the list, right under the clunky F@H client's nose, so it could see it and use it. That was all it took. No flag change. No slots change. I solved my own problem, but I'm trying to help point out a flaw in the client. You're taking this as some kind of "Help, I'm an idiot that just puts random lines in my config file, kawaii" cry for help. It's not that.

We're done here.
ajm
Posts: 754
Joined: Sat Mar 21, 2020 5:22 am
Location: Lucerne, Switzerland

Re: FAH client 7.6.21 starts OpenCL on the wrong OpenCL plat

Post by ajm »

As I understood, OpenCL is managed by the driver, not by FAH.
PantherX
Site Moderator
Posts: 7020
Joined: Wed Dec 23, 2009 9:33 am
Hardware configuration: V7.6.21 -> Multi-purpose 24/7
Windows 10 64-bit
CPU:2/3/4/6 -> Intel i7-6700K
GPU:1 -> Nvidia GTX 1080 Ti
§
Retired:
2x Nvidia GTX 1070
Nvidia GTX 675M
Nvidia GTX 660 Ti
Nvidia GTX 650 SC
Nvidia GTX 260 896 MB SOC
Nvidia 9600GT 1 GB OC
Nvidia 9500M GS
Nvidia 8800GTS 320 MB

Intel Core i7-860
Intel Core i7-3840QM
Intel i3-3240
Intel Core 2 Duo E8200
Intel Core 2 Duo E6550
Intel Core 2 Duo T8300
Intel Pentium E5500
Intel Pentium E5400
Location: Land Of The Long White Cloud
Contact:

Re: FAH client 7.6.21 starts OpenCL on the wrong OpenCL plat

Post by PantherX »

FalconFour wrote:...after rebooting, no change. after "updating" the AMD driver with itself (update driver -> select the same driver that it already had -> continue), it re-registered itself and again installed AMD's corrupt "Pci Bus" driver (note the capitalization) over the MS standard "PCI Express Root Complex" device, which messes up my touchpad/keyboard... so I reverted that and disabled the "AMD External Events Utility" service which is responsible for installing that bad driver... (ugh, I utterly hate how AMD takes it upon themselves to install these bad drivers on a laptop!)... aaaand guess what? Works great again...

So, something gets messed up, evidently where there are multiple OpenCL vendors installed (I have Intel, nVidia, and AMD all co-existing on here). It gets untangled when I reinstall the platform I intend to use. Something worth looking into?
The trick would be, can you re-create this error on demand? If yes, we can ask you to capture some log files to better understand what's happening. Moreover, this is tricky for the development team since you have all three platforms in a single system while development tends to use systems with a single platform. Nonetheless, I will ask around to see if there's anything that can be done for this edge case :)
ETA:
Now ↞ Very Soon ↔ Soon ↔ Soon-ish ↔ Not Soon ↠ End Of Time

Welcome To The F@H Support Forum Ӂ Troubleshooting Bad WUs Ӂ Troubleshooting Server Connectivity Issues
ph0b
Posts: 6
Joined: Tue Apr 14, 2020 12:23 pm

Re: FAH client 7.6.21 starts OpenCL on the wrong OpenCL plat

Post by ph0b »

When reading your logs, you've mixed up core Platform and OpenCL platform IDs, core Platform 2

Code: Select all

5:03:35:WU02:FS00:0x22:There are 3 platforms available.
05:03:35:WU02:FS00:0x22:Platform 0: Reference
05:03:35:WU02:FS00:0x22:Platform 1: CPU
05:03:35:WU02:FS00:0x22:Platform 2: OpenCL
...
05:04:57:WU02:FS00:0x22:  Using OpenCL on platformId 1 and gpu 0
means it's using OpenCL (Platform 2) on OpenCL platform 1 device 0, ie. "OpenCL Device 1: Platform:1 Device:0 Bus:9 Slot:0 Compute:1.2 Driver:3075.13" driver version corresponds to AMD numbering and its correct bus/slot.

And after your driver updates OpenCL, AMD moved to 0 OpenCL PLatform #0 and F@H used it.
So when I look at the logs, it seems all was fine and intel GPU was never used.

A possible thing: your eGPU wasn't ready to process WU, waiting for OpenCL compilations on your CPU for a few minutes, and you had a CPU slot running that could slow it down.
Less possible thing: your eGPU got plugged in/out and OpenCL index changed while core was starting - that's quite a corner case.
Post Reply