Failed to create OpenCL context

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

Moderators: Site Moderators, FAHC Science Team

jchang6
Posts: 65
Joined: Sat May 09, 2020 2:13 pm
Hardware configuration: Intel Xeon E3/E5, various generations from Westmere to Skylake. AMD Radeon RX5x00 and nVidia RTX 2080 Super.
Location: Boston
Contact:

Failed to create OpenCL context

Post by jchang6 »

Intel 11th Gen Core i7=11700K, Windows 11
gpu:3:0 Navi 10 [Radeon RX 5600 OEM/5600 XT/5700/5700 XT]
folding on the CPU works fine
for GPU, fah downloads a work unit, generates error below, retries several times, then marks the GPU as failed
any ideas ?

opencl-device 0 specified
19:17:30:WU02:FS01:0x22:Attempting to create OpenCL context:
19:17:30:WU02:FS01:0x22: Configuring platform OpenCL
19:17:30:WU02:FS01:0x22:Failed to create OpenCL context:
19:17:30:WU02:FS01:0x22:No compatible OpenCL platform is available
19:17:30:WU02:FS01:0x22:ERROR:125: Failed to create a GPU-enabled OpenMM Context.
19:17:30:WU02:FS01:0x22:Saving result file ..\logfile_01.txt
19:17:30:WU02:FS01:0x22:Saving result file science.log
19:17:30:WU02:FS01:0x22:Folding@home Core Shutdown: BAD_WORK_UNIT
19:17:30:WARNING:WU02:FS01:FahCore returned: BAD_WORK_UNIT (114 = 0x72)
19:17:30:WU02:FS01:Sending unit results: id:02 state:SEND error:FAULTY project:18019 run:72 clone:12 gen:0 core:0

ps,
I am in close competition for the 34 or 35th monthly spot, this extra video card could push me to 33,
btw, the RTX 3080 Ti is fabulous, between 4-8M PPD depending on workload - can't wait to get another
Image
psaam0001
Posts: 377
Joined: Mon May 18, 2020 2:02 am
Location: Ruckersville, Virginia, USA

Re: Failed to create OpenCL context

Post by psaam0001 »

Would you mind posting the most recent 200 lines of your F@H log, starting at the point where it looks something like this:

Code: Select all

18:44:21:WU00:FS03:Started FahCore on PID 9740
18:44:21:WU00:FS03:Core PID:9744
18:44:21:WU00:FS03:FahCore 0x22 started
18:44:21:WU00:FS03:0x22:*********************** Log Started 2021-09-09T18:44:21Z ***********************
18:44:21:WU00:FS03:0x22:*************************** Core22 Folding@home Core ***************************
18:44:21:WU00:FS03:0x22:       Core: Core22
18:44:21:WU00:FS03:0x22:       Type: 0x22
18:44:21:WU00:FS03:0x22:    Version: 0.0.13
18:44:21:WU00:FS03:0x22:     Author: Joseph Coffland <[email protected]>
18:44:21:WU00:FS03:0x22:  Copyright: 2020 foldingathome.org
18:44:21:WU00:FS03:0x22:   Homepage: https://foldingathome.org/
18:44:21:WU00:FS03:0x22:       Date: Sep 19 2020
18:44:21:WU00:FS03:0x22:       Time: 01:10:35
18:44:21:WU00:FS03:0x22:   Revision: 571cf95de6de2c592c7c3ed48fcfb2e33e9ea7d3
18:44:21:WU00:FS03:0x22:     Branch: core22-0.0.13
18:44:21:WU00:FS03:0x22:   Compiler: GNU 4.8.2 20140120 (Red Hat 4.8.2-15)
18:44:21:WU00:FS03:0x22:    Options: -std=c++11 -fsigned-char -ffunction-sections -fdata-sections -O3
18:44:21:WU00:FS03:0x22:             -funroll-loops -DOPENMM_GIT_HASH="\"189320d0\""
18:44:21:WU00:FS03:0x22:   Platform: linux2 4.19.76-linuxkit
18:44:21:WU00:FS03:0x22:       Bits: 64
18:44:21:WU00:FS03:0x22:       Mode: Release
18:44:21:WU00:FS03:0x22:Maintainers: John Chodera <[email protected]> and Peter Eastman
18:44:21:WU00:FS03:0x22:             <[email protected]>
18:44:21:WU00:FS03:0x22:       Args: -dir 00 -suffix 01 -version 706 -lifeline 9740 -checkpoint 30
18:44:21:WU00:FS03:0x22:             -opencl-platform 0 -opencl-device 0 -cuda-device 0 -gpu-vendor
18:44:21:WU00:FS03:0x22:             nvidia -gpu 0 -gpu-usage 100
18:44:21:WU00:FS03:0x22:************************************ libFAH ************************************
18:44:21:WU00:FS03:0x22:       Date: Sep 15 2020
18:44:21:WU00:FS03:0x22:       Time: 05:14:43
18:44:21:WU00:FS03:0x22:   Revision: 44301ed97b996b63fe736bb8073f22209cb2b603
18:44:21:WU00:FS03:0x22:     Branch: HEAD
18:44:21:WU00:FS03:0x22:   Compiler: GNU 4.8.2 20140120 (Red Hat 4.8.2-15)
18:44:21:WU00:FS03:0x22:    Options: -std=c++11 -fsigned-char -ffunction-sections -fdata-sections -O3
18:44:21:WU00:FS03:0x22:             -funroll-loops
18:44:21:WU00:FS03:0x22:   Platform: linux2 4.19.76-linuxkit
18:44:21:WU00:FS03:0x22:       Bits: 64
18:44:21:WU00:FS03:0x22:       Mode: Release
18:44:21:WU00:FS03:0x22:************************************ CBang *************************************
18:44:21:WU00:FS03:0x22:       Date: Sep 15 2020
18:44:21:WU00:FS03:0x22:       Time: 05:11:04
18:44:21:WU00:FS03:0x22:   Revision: 33fcfc2b3ed2195a423606a264718e31e6b3903f
18:44:21:WU00:FS03:0x22:     Branch: HEAD
18:44:21:WU00:FS03:0x22:   Compiler: GNU 4.8.2 20140120 (Red Hat 4.8.2-15)
18:44:21:WU00:FS03:0x22:    Options: -std=c++11 -fsigned-char -ffunction-sections -fdata-sections -O3
18:44:21:WU00:FS03:0x22:             -funroll-loops -fPIC
18:44:21:WU00:FS03:0x22:   Platform: linux2 4.19.76-linuxkit
18:44:21:WU00:FS03:0x22:       Bits: 64
18:44:21:WU00:FS03:0x22:       Mode: Release
18:44:21:WU00:FS03:0x22:************************************ System ************************************
18:44:21:WU00:FS03:0x22:        CPU: AMD Ryzen 9 3950X 16-Core Processor
18:44:21:WU00:FS03:0x22:     CPU ID: AuthenticAMD Family 23 Model 113 Stepping 0
18:44:21:WU00:FS03:0x22:       CPUs: 32
18:44:21:WU00:FS03:0x22:     Memory: 62.72GiB
18:44:21:WU00:FS03:0x22:Free Memory: 52.56GiB
18:44:21:WU00:FS03:0x22:    Threads: POSIX_THREADS
18:44:21:WU00:FS03:0x22: OS Version: 5.13
18:44:21:WU00:FS03:0x22:Has Battery: false
18:44:21:WU00:FS03:0x22: On Battery: false
18:44:21:WU00:FS03:0x22: UTC Offset: -4
18:44:21:WU00:FS03:0x22:        PID: 9744
18:44:21:WU00:FS03:0x22:        CWD: /var/lib/fahclient/work
18:44:21:WU00:FS03:0x22:************************************ OpenMM ************************************
18:44:21:WU00:FS03:0x22:   Revision: 189320d0
18:44:21:WU00:FS03:0x22:********************************************************************************
18:44:21:WU00:FS03:0x22:Project: 16476 (Run 0, Clone 165, Gen 24)
18:44:21:WU00:FS03:0x22:Unit: 0x00000000000000000000000000000000
18:44:21:WU00:FS03:0x22:Reading tar file core.xml
18:44:21:WU00:FS03:0x22:Reading tar file integrator.xml.bz2
18:44:21:WU00:FS03:0x22:Reading tar file state.xml.bz2
18:44:21:WU00:FS03:0x22:Reading tar file system.xml.bz2
18:44:21:WU00:FS03:0x22:Digital signatures verified
18:44:21:WU00:FS03:0x22:Folding@home GPU Core22 Folding@home Core
18:44:21:WU00:FS03:0x22:Version 0.0.13
18:44:21:WU00:FS03:0x22:  Checkpoint write interval: 125000 steps (5%) [20 total]
18:44:21:WU00:FS03:0x22:  JSON viewer frame write interval: 25000 steps (1%) [100 total]
18:44:21:WU00:FS03:0x22:  XTC frame write interval: 250000 steps (10%) [10 total]
18:44:21:WU00:FS03:0x22:  Global context and integrator variables write interval: disabled
18:44:21:WU00:FS03:0x22:There are 4 platforms available.
18:44:21:WU00:FS03:0x22:Platform 0: Reference
18:44:21:WU00:FS03:0x22:Platform 1: CPU
18:44:21:WU00:FS03:0x22:Platform 2: OpenCL
18:44:21:WU00:FS03:0x22:  opencl-device 0 specified
18:44:21:WU00:FS03:0x22:Platform 3: CUDA
18:44:21:WU00:FS03:0x22:  cuda-device 0 specified
18:44:23:WU03:FS03:Upload complete
18:44:23:WU03:FS03:Server responded WORK_ACK (400)
18:44:23:WU03:FS03:Final credit estimate, 76655.00 points
18:44:24:WU03:FS03:Cleaning up
18:44:35:WU00:FS03:0x22:Attempting to create CUDA context:
18:44:35:WU00:FS03:0x22:  Configuring platform CUDA
18:44:42:WU04:FS00:0xa8:Completed 90000 out of 125000 steps (72%)
18:44:46:WU00:FS03:0x22:  Using CUDA and gpu 0
18:44:46:WU00:FS03:0x22:Completed 0 out of 2500000 steps (0%)
18:44:47:WU00:FS03:0x22:Checkpoint completed at step 0
18:45:58:WU04:FS00:0xa8:Completed 91250 out of 125000 steps (73%)
18:47:16:WU04:FS00:0xa8:Completed 92500 out of 125000 steps (74%)
18:48:44:WU04:FS00:0xa8:Completed 93750 out of 125000 steps (75%)
18:49:34:WU02:FS02:0x22:Completed 475000 out of 2500000 steps (19%)
18:50:04:WU04:FS00:0xa8:Completed 95000 out of 125000 steps (76%)
18:51:20:WU04:FS00:0xa8:Completed 96250 out of 125000 steps (77%)
18:52:02:WU00:FS03:0x22:Completed 25000 out of 2500000 steps (1%)
18:52:40:WU04:FS00:0xa8:Completed 97500 out of 125000 steps (78%)
18:53:59:WU04:FS00:0xa8:Completed 98750 out of 125000 steps (79%)
18:55:17:WU04:FS00:0xa8:Completed 100000 out of 125000 steps (80%)
18:56:43:WU04:FS00:0xa8:Completed 101250 out of 125000 steps (81%)
18:57:59:WU04:FS00:0xa8:Completed 102500 out of 125000 steps (82%)
18:59:18:WU00:FS03:0x22:Completed 50000 out of 2500000 steps (2%)
18:59:21:WU04:FS00:0xa8:Completed 103750 out of 125000 steps (83%)
19:00:40:WU04:FS00:0xa8:Completed 105000 out of 125000 steps (84%)
19:02:05:WU04:FS00:0xa8:Completed 106250 out of 125000 steps (85%)
19:03:28:WU04:FS00:0xa8:Completed 107500 out of 125000 steps (86%)
19:04:45:WU04:FS00:0xa8:Completed 108750 out of 125000 steps (87%)
19:06:05:WU04:FS00:0xa8:Completed 110000 out of 125000 steps (88%)
19:06:26:WU02:FS02:0x22:Completed 500000 out of 2500000 steps (20%)
19:06:27:WU02:FS02:0x22:Checkpoint completed at step 500000
19:06:32:WU00:FS03:0x22:Completed 75000 out of 2500000 steps (3%)
19:07:31:WU04:FS00:0xa8:Completed 111250 out of 125000 steps (89%)
19:09:01:WU04:FS00:0xa8:Completed 112500 out of 125000 steps (90%)
19:10:22:WU04:FS00:0xa8:Completed 113750 out of 125000 steps (91%)
19:11:42:WU04:FS00:0xa8:Completed 115000 out of 125000 steps (92%)
19:12:53:WU04:FS00:0xa8:Completed 116250 out of 125000 steps (93%)
19:13:46:WU00:FS03:0x22:Completed 100000 out of 2500000 steps (4%)
19:14:12:WU04:FS00:0xa8:Completed 117500 out of 125000 steps (94%)
19:15:36:WU04:FS00:0xa8:Completed 118750 out of 125000 steps (95%)
19:16:53:WU04:FS00:0xa8:Completed 120000 out of 125000 steps (96%)
19:18:08:WU04:FS00:0xa8:Completed 121250 out of 125000 steps (97%)
19:19:20:87:127.0.0.1:New Web session
19:19:41:WU04:FS00:0xa8:Completed 122500 out of 125000 steps (98%)
19:20:57:WU00:FS03:0x22:Completed 125000 out of 2500000 steps (5%)
19:20:59:WU00:FS03:0x22:Checkpoint completed at step 125000
19:21:22:WU04:FS00:0xa8:Completed 123750 out of 125000 steps (99%)
19:22:48:WU04:FS00:0xa8:Completed 125000 out of 125000 steps (100%)
19:22:49:WU03:FS00:Connecting to assign1.foldingathome.org:80
19:22:50:WU03:FS00:Assigned to work server 128.252.203.2
19:22:50:WU03:FS00:Requesting new work unit for slot 00: cpu:29 from 128.252.203.2
19:22:50:WU03:FS00:Connecting to 128.252.203.2:8080
19:22:50:ERROR:WU03:FS00:Exception: Server did not assign work unit
19:22:50:WU03:FS00:Connecting to assign1.foldingathome.org:80
19:22:50:WU04:FS00:0xa8:Saving result file ../logfile_01.txt
19:22:50:WU04:FS00:0xa8:Saving result file frame4.gro
19:22:50:WU04:FS00:0xa8:Saving result file frame4.xtc
19:22:50:WU04:FS00:0xa8:Saving result file md.log
19:22:50:WU04:FS00:0xa8:Saving result file science.log
19:22:50:WU04:FS00:0xa8:Saving result file state.cpt
19:22:50:WU04:FS00:0xa8:Folding@home Core Shutdown: FINISHED_UNIT
19:22:50:WU04:FS00:FahCore returned: FINISHED_UNIT (100 = 0x64)
19:22:51:WU04:FS00:Sending unit results: id:04 state:SEND error:NO_ERROR project:18206 run:104 clone:4 gen:4 core:0xa8 unit:0x00000004000000040000471e00000068
19:22:51:WU04:FS00:Uploading 27.81MiB to 128.252.203.11
19:22:51:WU04:FS00:Connecting to 128.252.203.11:8080
19:22:51:WU03:FS00:Assigned to work server 128.252.203.12
19:22:51:WU03:FS00:Requesting new work unit for slot 00: cpu:29 from 128.252.203.12
19:22:51:WU03:FS00:Connecting to 128.252.203.12:8080
19:22:51:WU03:FS00:Downloading 8.35MiB
19:22:53:WU03:FS00:Download complete
19:22:53:WU03:FS00:Received Unit: id:03 state:DOWNLOAD error:NO_ERROR project:18212 run:376 clone:2 gen:50 core:0xa8 unit:0x00000002000000320000472400000178
19:22:53:WU03:FS00:Starting
19:22:53:WU03:FS00:Running FahCore: /usr/bin/FAHCoreWrapper /var/lib/fahclient/cores/cores.foldingathome.org/lin/64bit-avx2-256/a8-0.0.12/Core_a8.fah/FahCore_a8 -dir 03 -suffix 01 -version 706 -lifeline 1673 -checkpoint 30 -np 29
19:22:53:WU03:FS00:Started FahCore on PID 10372
This way, either I, or another volunteer can take a better look to see what we can suggest for a remedy to help you.

Paul
jchang6
Posts: 65
Joined: Sat May 09, 2020 2:13 pm
Hardware configuration: Intel Xeon E3/E5, various generations from Westmere to Skylake. AMD Radeon RX5x00 and nVidia RTX 2080 Super.
Location: Boston
Contact:

Re: Failed to create OpenCL context

Post by jchang6 »

Code: Select all

19:16:53:WU02:FS01:Started FahCore on PID 16340
19:16:53:WU02:FS01:Core PID:16376
19:16:53:WU02:FS01:FahCore 0x22 started
19:16:54:WU02:FS01:0x22:*********************** Log Started 2021-09-09T19:16:53Z ***********************
19:16:54:WU02:FS01:0x22:*************************** Core22 Folding@home Core ***************************
19:16:54:WU02:FS01:0x22:       Core: Core22
19:16:54:WU02:FS01:0x22:       Type: 0x22
19:16:54:WU02:FS01:0x22:    Version: 0.0.13
19:16:54:WU02:FS01:0x22:     Author: Joseph Coffland <[email protected]>
19:16:54:WU02:FS01:0x22:  Copyright: 2020 foldingathome.org
19:16:54:WU02:FS01:0x22:   Homepage: https://foldingathome.org/
19:16:54:WU02:FS01:0x22:       Date: Sep 19 2020
19:16:54:WU02:FS01:0x22:       Time: 02:35:58
19:16:54:WU02:FS01:0x22:   Revision: 571cf95de6de2c592c7c3ed48fcfb2e33e9ea7d3
19:16:54:WU02:FS01:0x22:     Branch: core22-0.0.13
19:16:54:WU02:FS01:0x22:   Compiler: Visual C++ 2015
19:16:54:WU02:FS01:0x22:    Options: /TP /nologo /EHa /wd4297 /wd4103 /O2 /Ob3 /Zc:throwingNew /MT
19:16:54:WU02:FS01:0x22:             -DOPENMM_GIT_HASH="\"189320d0\""
19:16:54:WU02:FS01:0x22:   Platform: win32 10
19:16:54:WU02:FS01:0x22:       Bits: 64
19:16:54:WU02:FS01:0x22:       Mode: Release
19:16:54:WU02:FS01:0x22:Maintainers: John Chodera <[email protected]> and Peter Eastman
19:16:54:WU02:FS01:0x22:             <[email protected]>
19:16:54:WU02:FS01:0x22:       Args: -dir 02 -suffix 01 -version 706 -lifeline 16340 -checkpoint 15
19:16:54:WU02:FS01:0x22:             -opencl-platform 1 -opencl-device 0 -gpu-vendor amd -gpu 0
19:16:54:WU02:FS01:0x22:             -gpu-usage 100
19:16:54:WU02:FS01:0x22:************************************ libFAH ************************************
19:16:54:WU02:FS01:0x22:       Date: Sep 7 2020
19:16:54:WU02:FS01:0x22:       Time: 19:09:56
19:16:54:WU02:FS01:0x22:   Revision: 44301ed97b996b63fe736bb8073f22209cb2b603
19:16:54:WU02:FS01:0x22:     Branch: HEAD
19:16:54:WU02:FS01:0x22:   Compiler: Visual C++ 2015
19:16:54:WU02:FS01:0x22:    Options: /TP /nologo /EHa /wd4297 /wd4103 /O2 /Ob3 /Zc:throwingNew /MT
19:16:54:WU02:FS01:0x22:   Platform: win32 10
19:16:54:WU02:FS01:0x22:       Bits: 64
19:16:54:WU02:FS01:0x22:       Mode: Release
19:16:54:WU02:FS01:0x22:************************************ CBang *************************************
19:16:54:WU02:FS01:0x22:       Date: Sep 7 2020
19:16:54:WU02:FS01:0x22:       Time: 19:08:30
19:16:54:WU02:FS01:0x22:   Revision: 33fcfc2b3ed2195a423606a264718e31e6b3903f
19:16:54:WU02:FS01:0x22:     Branch: HEAD
19:16:54:WU02:FS01:0x22:   Compiler: Visual C++ 2015
19:16:54:WU02:FS01:0x22:    Options: /TP /nologo /EHa /wd4297 /wd4103 /O2 /Ob3 /Zc:throwingNew /MT
19:16:54:WU02:FS01:0x22:   Platform: win32 10
19:16:54:WU02:FS01:0x22:       Bits: 64
19:16:54:WU02:FS01:0x22:       Mode: Release
19:16:54:WU02:FS01:0x22:************************************ System ************************************
19:16:54:WU02:FS01:0x22:        CPU: 11th Gen Intel(R) Core(TM) i7-11700K @ 3.60GHz
19:16:54:WU02:FS01:0x22:     CPU ID: GenuineIntel Family 6 Model 167 Stepping 1
19:16:54:WU02:FS01:0x22:       CPUs: 16
19:16:54:WU02:FS01:0x22:     Memory: 15.76GiB
19:16:54:WU02:FS01:0x22:Free Memory: 9.93GiB
19:16:54:WU02:FS01:0x22:    Threads: WINDOWS_THREADS
19:16:54:WU02:FS01:0x22: OS Version: 6.2
19:16:54:WU02:FS01:0x22:Has Battery: false
19:16:54:WU02:FS01:0x22: On Battery: false
19:16:54:WU02:FS01:0x22: UTC Offset: -4
19:16:54:WU02:FS01:0x22:        PID: 16376
19:16:54:WU02:FS01:0x22:        CWD: C:\ProgramData\FAHClient\work
19:16:54:WU02:FS01:0x22:************************************ OpenMM ************************************
19:16:54:WU02:FS01:0x22:   Revision: 189320d0
19:16:54:WU02:FS01:0x22:********************************************************************************
19:16:54:WU02:FS01:0x22:Project: 18019 (Run 72, Clone 12, Gen 0)
19:16:54:WU02:FS01:0x22:Unit: 0x00000000000000000000000000000000
19:16:54:WU02:FS01:0x22:Reading tar file core.xml
19:16:54:WU02:FS01:0x22:Reading tar file integrator.xml.bz2
19:16:54:WU02:FS01:0x22:Reading tar file state.xml.bz2
19:16:54:WU02:FS01:0x22:Reading tar file system.xml.bz2
19:16:54:WU02:FS01:0x22:Digital signatures verified
19:16:54:WU02:FS01:0x22:Folding@home GPU Core22 Folding@home Core
19:16:54:WU02:FS01:0x22:Version 0.0.13
19:16:54:WU02:FS01:0x22:  Checkpoint write interval: 50000 steps (5%) [20 total]
19:16:54:WU02:FS01:0x22:  JSON viewer frame write interval: 10000 steps (1%) [100 total]
19:16:54:WU02:FS01:0x22:  XTC frame write interval: 50000 steps (5%) [20 total]
19:16:54:WU02:FS01:0x22:  Global context and integrator variables write interval: disabled
19:16:54:WU02:FS01:0x22:There are 3 platforms available.
19:16:54:WU02:FS01:0x22:Platform 0: Reference
19:16:54:WU02:FS01:0x22:Platform 1: CPU
19:16:54:WU02:FS01:0x22:Platform 2: OpenCL
19:16:54:WU02:FS01:0x22:  opencl-device 0 specified
19:17:30:WU02:FS01:0x22:Attempting to create OpenCL context:
19:17:30:WU02:FS01:0x22:  Configuring platform OpenCL
19:17:30:WU02:FS01:0x22:Failed to create OpenCL context:
19:17:30:WU02:FS01:0x22:No compatible OpenCL platform is available
19:17:30:WU02:FS01:0x22:ERROR:125: Failed to create a GPU-enabled OpenMM Context.
19:17:30:WU02:FS01:0x22:Saving result file ..\logfile_01.txt
19:17:30:WU02:FS01:0x22:Saving result file science.log
19:17:30:WU02:FS01:0x22:Folding@home Core Shutdown: BAD_WORK_UNIT
19:17:30:WARNING:WU02:FS01:FahCore returned: BAD_WORK_UNIT (114 = 0x72)
19:17:30:WU02:FS01:Sending unit results: id:02 state:SEND error:FAULTY project:18019 run:72 clone:12 gen:0 core:0x22 unit:0x0000000c000000000000466300000048
19:17:30:WU02:FS01:Uploading 11.50KiB to 34.72.228.44
19:17:30:WU02:FS01:Connecting to 34.72.228.44:8080
19:17:31:WU02:FS01:Upload complete
19:17:31:WU02:FS01:Server responded WORK_ACK (400)
19:17:31:WU02:FS01:Cleaning up
Image
psaam0001
Posts: 377
Joined: Mon May 18, 2020 2:02 am
Location: Ruckersville, Virginia, USA

Re: Failed to create OpenCL context

Post by psaam0001 »

If you were attempting to fold with the CPU's integrated graphics processor, you can download the latest drivers from Intel here:

https://ark.intel.com/content/www/us/en ... 0-ghz.html

Look for v30.0.100.9805, which is the most recent stable version available. And note that it is also for Windows 11.

Let me know if this helps.

Paul
jchang6
Posts: 65
Joined: Sat May 09, 2020 2:13 pm
Hardware configuration: Intel Xeon E3/E5, various generations from Westmere to Skylake. AMD Radeon RX5x00 and nVidia RTX 2080 Super.
Location: Boston
Contact:

Re: Failed to create OpenCL context

Post by jchang6 »

folding does not recognize the 11th gen Intel GPU, but it does clearly see the AMD gpu:3:0 Navi 10 [Radeon RX 5600 OEM/5600 XT/5700/5700 XT]
I have tried various combinations, using the intel GPU for display, nothing connected to the RX 5600, and also display connected to RX 5600.
the intel gpu is UHD Graphics 750
the RX5600 should be on 28.2, which seeems to work for Folding on some older AMD gpu's

unrelated, I have a couple of 10th gen Intel CPUs with iGPU, but in gaming motherboards which do no have display ports. so apparently the iGPU is not detected? is this disabled by the BIOS/UEFI? it would be nice if it could be activated for folding, even though no video connections exist
Image
psaam0001
Posts: 377
Joined: Mon May 18, 2020 2:02 am
Location: Ruckersville, Virginia, USA

Re: Failed to create OpenCL context

Post by psaam0001 »

Yes. That is something that can be set in the UEFI (as with the AMD Ryzen 3/5 CPU's that have a built in iGPU.

There is also a setting in the UEFI for selecting the discrete GPU (your card) as the primary video output device. Look in your users manual, as the setting location may vary from brand to brand.

Paul
psaam0001
Posts: 377
Joined: Mon May 18, 2020 2:02 am
Location: Ruckersville, Virginia, USA

Re: Failed to create OpenCL context

Post by psaam0001 »

And BTW: F@H on an Intel GPU/iGPU is still undergoing refinements. One of the Moderator's, or Project Managers may be able to help you with this.

Paul
jchang6
Posts: 65
Joined: Sat May 09, 2020 2:13 pm
Hardware configuration: Intel Xeon E3/E5, various generations from Westmere to Skylake. AMD Radeon RX5x00 and nVidia RTX 2080 Super.
Location: Boston
Contact:

Re: Failed to create OpenCL context

Post by jchang6 »

ok, I will look into the BIOS settings, one is a ASUS ROG, another MSI MEG.
but why did you think it was folding on an Intel GPU?
is that what this means?
19:16:54:WU02:FS01:0x22: opencl-device 0 specified
19:17:30:WU02:FS01:0x22:Attempting to create OpenCL context:
19:17:30:WU02:FS01:0x22: Configuring platform OpenCL
19:17:30:WU02:FS01:0x22:Failed to create OpenCL context:
19:17:30:WU02:FS01:0x22:No compatible OpenCL platform is available
19:17:30:WU02:FS01:0x22:ERROR:125: Failed to create a GPU-enabled OpenMM Context.

I will look on one of my working AMD GPU systems to see what the messages are.
how do I get it to fold on the AMD GPU?
Image
jchang6
Posts: 65
Joined: Sat May 09, 2020 2:13 pm
Hardware configuration: Intel Xeon E3/E5, various generations from Westmere to Skylake. AMD Radeon RX5x00 and nVidia RTX 2080 Super.
Location: Boston
Contact:

Re: Failed to create OpenCL context

Post by jchang6 »

also, one of my systems was folding on the intel iGPU, but since then, it said there were no available work units,
Image
psaam0001
Posts: 377
Joined: Mon May 18, 2020 2:02 am
Location: Ruckersville, Virginia, USA

Re: Failed to create OpenCL context

Post by psaam0001 »

jchang6 wrote:ok, I will look into the BIOS settings, one is a ASUS ROG, another MSI MEG.
but why did you think it was folding on an Intel GPU?
is that what this means?
19:16:54:WU02:FS01:0x22: opencl-device 0 specified
19:17:30:WU02:FS01:0x22:Attempting to create OpenCL context:
19:17:30:WU02:FS01:0x22: Configuring platform OpenCL
19:17:30:WU02:FS01:0x22:Failed to create OpenCL context:
19:17:30:WU02:FS01:0x22:No compatible OpenCL platform is available
19:17:30:WU02:FS01:0x22:ERROR:125: Failed to create a GPU-enabled OpenMM Context.

I will look on one of my working AMD GPU systems to see what the messages are.
how do I get it to fold on the AMD GPU?
Have you installed the most current AMD GPU Drivers (from AMD)? If not, then let's go here: https://www.amd.com/en/support to start with.

Paul
psaam0001
Posts: 377
Joined: Mon May 18, 2020 2:02 am
Location: Ruckersville, Virginia, USA

Re: Failed to create OpenCL context

Post by psaam0001 »

Just thought of something, check your UEFI settings to see if there is one that enables discovery of a discrete graphics card in the PCIe Slots....

Paul
jchang6
Posts: 65
Joined: Sat May 09, 2020 2:13 pm
Hardware configuration: Intel Xeon E3/E5, various generations from Westmere to Skylake. AMD Radeon RX5x00 and nVidia RTX 2080 Super.
Location: Boston
Contact:

Re: Failed to create OpenCL context

Post by jchang6 »

yes I am using the latest AMD driver 21.8.2. The RX5600 is properly detected by the system, the driver installs correctly. FaH detects the card correctly, successfully downloads work units,
but this is where the above messages occur
Image
psaam0001
Posts: 377
Joined: Mon May 18, 2020 2:02 am
Location: Ruckersville, Virginia, USA

Re: Failed to create OpenCL context

Post by psaam0001 »

When you attempt to start another WU, try capturing the most recent 200 lines from the log, after unchecking the filter boxes. As I am not seeing the information in the log that is related to the AMD card, and the error messages that are being logged.

Paul
JimboPalmer
Posts: 2522
Joined: Mon Feb 16, 2009 4:12 am
Location: Greenwood MS USA

Re: Failed to create OpenCL context

Post by JimboPalmer »

We are all saying you MUST download the drivers directly form AMD, you are only saying I have a Driver. I would bet we will hound you until you tell us where you got your driver.
Tsar of all the Rushers
I tried to remain childlike, all I achieved was childish.
A friend to those who want no friends
Whompithian
Posts: 39
Joined: Thu Jun 25, 2020 12:40 am

Re: Failed to create OpenCL context

Post by Whompithian »

To elaborate, "19:17:30:WU02:FS01:0x22:No compatible OpenCL platform is available" indicates that your drivers do not include the OpenCL component needed by F@H. The AMD video drivers provided by Microsoft through Windows Update will allow your GPU to render to a display, but they do not include OpenCL. For that, you need to download the video drivers direct from AMD.
Post Reply