7.6.13, Win 10, 2080Ti, failed to create CUDA context

Driver issues associated with the Windows 10 roll-out

Moderators: Site Moderators, FAHC Science Team

Post Reply
DocktorsOarders
Posts: 5
Joined: Wed Oct 07, 2020 1:16 am
Location: Detroit, MI

7.6.13, Win 10, 2080Ti, failed to create CUDA context

Post by DocktorsOarders »

Hey all.

Having trouble getting CUDA to work with my setup, for whatever reason. 2080Ti with most updated Studio and Game Ready drivers. FAH client 7.6.13 installed. Everytime it gets a new WU it will attempt CUDA then I get two lines of errors before it tries OpenCL.

"Failed to create CUDA context:"
"Illegal value for DeviceIndex: 1"

OpenCL is working great and I am generating anywhere from 3-3.5m PPD. Obviously if I could get an increase in PPD with CUDA working successfully then I would love to get it fixed!

First time posting on the boards so bear with me. Hope I have all the necessary information attached.

Thanks in advance!

Code: Select all

*********************** Log Started 2020-10-07T01:14:07Z ***********************
01:14:07:Trying to access database...
01:14:07:Successfully acquired database lock
01:14:07:Read GPUs.txt
01:14:08:Enabled folding slot 01: PAUSED gpu:0:TU102 [GeForce RTX 2080 Ti Rev. A] M 13448 (by user)
01:14:08:****************************** FAHClient ******************************
01:14:08:        Version: 7.6.13
01:14:08:         Author: Joseph Coffland <joseph@cauldrondevelopment.com>
01:14:08:      Copyright: 2020 foldingathome.org
01:14:08:       Homepage: https://foldingathome.org/
01:14:08:           Date: Apr 27 2020
01:14:08:           Time: 21:21:01
01:14:08:       Revision: 5a652817f46116b6e135503af97f18e094414e3b
01:14:08:         Branch: master
01:14:08:       Compiler: Visual C++ 2008
01:14:08:        Options: /TP /nologo /EHa /wd4297 /wd4103 /Ox /MT
01:14:08:       Platform: win32 10
01:14:08:           Bits: 32
01:14:08:           Mode: Release
01:14:08:           Args: --open-web-control
01:14:08:         Config: C:\Users\Smurf\AppData\Roaming\FAHClient\config.xml
01:14:08:******************************** CBang ********************************
01:14:08:           Date: Apr 24 2020
01:14:08:           Time: 17:07:55
01:14:08:       Revision: ea081a3b3b0f4a37c4d0440b4f1bc184197c7797
01:14:08:         Branch: master
01:14:08:       Compiler: Visual C++ 2008
01:14:08:        Options: /TP /nologo /EHa /wd4297 /wd4103 /Ox /MT
01:14:08:       Platform: win32 10
01:14:08:           Bits: 32
01:14:08:           Mode: Release
01:14:08:******************************* System ********************************
01:14:08:            CPU: Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz
01:14:08:         CPU ID: GenuineIntel Family 6 Model 94 Stepping 3
01:14:08:           CPUs: 8
01:14:08:         Memory: 15.90GiB
01:14:08:    Free Memory: 10.14GiB
01:14:08:        Threads: WINDOWS_THREADS
01:14:08:     OS Version: 6.2
01:14:08:    Has Battery: false
01:14:08:     On Battery: false
01:14:08:     UTC Offset: -4
01:14:08:            PID: 8852
01:14:08:            CWD: C:\Users\Smurf\AppData\Roaming\FAHClient
01:14:08:  Win32 Service: false
01:14:08:             OS: Windows 10 Home
01:14:08:        OS Arch: AMD64
01:14:08:           GPUs: 2
01:14:08:          GPU 0: Bus:1 Slot:0 Func:0 NVIDIA:8 TU102 [GeForce RTX 2080 Ti Rev. A]
01:14:08:                 M 13448
01:14:08:          GPU 1: Bus:0 Slot:2 Func:0 INTEL:1 Gen9/GT2 [HD Graphics 530]
01:14:08:  CUDA Device 0: Platform:0 Device:0 Bus:1 Slot:0 Compute:7.5 Driver:11.1
01:14:08:OpenCL Device 0: Platform:0 Device:0 Bus:1 Slot:0 Compute:1.2 Driver:456.55
01:14:08:OpenCL Device 1: Platform:1 Device:0 Bus:NA Slot:NA Compute:2.1 Driver:26.20
01:14:08:******************************* libFAH ********************************
01:14:08:           Date: Apr 15 2020
01:14:08:           Time: 14:53:14
01:14:08:       Revision: 216968bc7025029c841ed6e36e81a03a316890d3
01:14:08:         Branch: master
01:14:08:       Compiler: Visual C++ 2008
01:14:08:        Options: /TP /nologo /EHa /wd4297 /wd4103 /Ox /MT
01:14:08:       Platform: win32 10
01:14:08:           Bits: 32
01:14:08:           Mode: Release
01:14:08:***********************************************************************
01:14:08:<config>
01:14:08:  <!-- Network -->
01:14:08:  <proxy v=':8080'/>
01:14:08:
01:14:08:  <!-- Slot Control -->
01:14:08:  <power v='full'/>
01:14:08:
01:14:08:  <!-- User Information -->
01:14:08:  <passkey v='*****'/>
01:14:08:  <team v='248603'/>
01:14:08:  <user v='DocktorsOarders'/>
01:14:08:
01:14:08:  <!-- Folding Slots -->
01:14:08:  <slot id='1' type='GPU'>
01:14:08:    <client-type v='beta'/>
01:14:08:    <cuda-index v='1'/>
01:14:08:    <paused v='true'/>
01:14:08:  </slot>
01:14:08:</config>
01:14:09:12:127.0.0.1:New Web session
01:14:47:FS01:Unpaused
01:14:47:WU00:FS01:Starting
01:14:47:WU00:FS01:Running FahCore: "C:\Program Files (x86)\FAHClient/FAHCoreWrapper.exe" C:\Users\Smurf\AppData\Roaming\FAHClient\cores/cores.foldingathome.org/win/64bit/22-0.0.13/Core_22.fah/FahCore_22.exe -dir 00 -suffix 01 -version 706 -lifeline 8852 -checkpoint 15 -gpu-vendor nvidia -opencl-platform 0 -opencl-device 0 -cuda-device 1 -gpu 0
01:14:47:WU00:FS01:Started FahCore on PID 26028
01:14:47:WU00:FS01:Core PID:27252
01:14:47:WU00:FS01:FahCore 0x22 started
01:14:48:WU00:FS01:0x22:*********************** Log Started 2020-10-07T01:14:47Z ***********************
01:14:48:WU00:FS01:0x22:*************************** Core22 Folding@home Core ***************************
01:14:48:WU00:FS01:0x22:       Core: Core22
01:14:48:WU00:FS01:0x22:       Type: 0x22
01:14:48:WU00:FS01:0x22:    Version: 0.0.13
01:14:48:WU00:FS01:0x22:     Author: Joseph Coffland <joseph@cauldrondevelopment.com>
01:14:48:WU00:FS01:0x22:  Copyright: 2020 foldingathome.org
01:14:48:WU00:FS01:0x22:   Homepage: https://foldingathome.org/
01:14:48:WU00:FS01:0x22:       Date: Sep 19 2020
01:14:48:WU00:FS01:0x22:       Time: 02:35:58
01:14:48:WU00:FS01:0x22:   Revision: 571cf95de6de2c592c7c3ed48fcfb2e33e9ea7d3
01:14:48:WU00:FS01:0x22:     Branch: core22-0.0.13
01:14:48:WU00:FS01:0x22:   Compiler: Visual C++ 2015
01:14:48:WU00:FS01:0x22:    Options: /TP /nologo /EHa /wd4297 /wd4103 /O2 /Ob3 /Zc:throwingNew /MT
01:14:48:WU00:FS01:0x22:             -DOPENMM_GIT_HASH="\"189320d0\""
01:14:48:WU00:FS01:0x22:   Platform: win32 10
01:14:48:WU00:FS01:0x22:       Bits: 64
01:14:48:WU00:FS01:0x22:       Mode: Release
01:14:48:WU00:FS01:0x22:Maintainers: John Chodera <john.chodera@choderalab.org> and Peter Eastman
01:14:48:WU00:FS01:0x22:             <peastman@stanford.edu>
01:14:48:WU00:FS01:0x22:       Args: -dir 00 -suffix 01 -version 706 -lifeline 26028 -checkpoint 15
01:14:48:WU00:FS01:0x22:             -gpu-vendor nvidia -opencl-platform 0 -opencl-device 0 -cuda-device
01:14:48:WU00:FS01:0x22:             1 -gpu 0
01:14:48:WU00:FS01:0x22:************************************ libFAH ************************************
01:14:48:WU00:FS01:0x22:       Date: Sep 7 2020
01:14:48:WU00:FS01:0x22:       Time: 19:09:56
01:14:48:WU00:FS01:0x22:   Revision: 44301ed97b996b63fe736bb8073f22209cb2b603
01:14:48:WU00:FS01:0x22:     Branch: HEAD
01:14:48:WU00:FS01:0x22:   Compiler: Visual C++ 2015
01:14:48:WU00:FS01:0x22:    Options: /TP /nologo /EHa /wd4297 /wd4103 /O2 /Ob3 /Zc:throwingNew /MT
01:14:48:WU00:FS01:0x22:   Platform: win32 10
01:14:48:WU00:FS01:0x22:       Bits: 64
01:14:48:WU00:FS01:0x22:       Mode: Release
01:14:48:WU00:FS01:0x22:************************************ CBang *************************************
01:14:48:WU00:FS01:0x22:       Date: Sep 7 2020
01:14:48:WU00:FS01:0x22:       Time: 19:08:30
01:14:48:WU00:FS01:0x22:   Revision: 33fcfc2b3ed2195a423606a264718e31e6b3903f
01:14:48:WU00:FS01:0x22:     Branch: HEAD
01:14:48:WU00:FS01:0x22:   Compiler: Visual C++ 2015
01:14:48:WU00:FS01:0x22:    Options: /TP /nologo /EHa /wd4297 /wd4103 /O2 /Ob3 /Zc:throwingNew /MT
01:14:48:WU00:FS01:0x22:   Platform: win32 10
01:14:48:WU00:FS01:0x22:       Bits: 64
01:14:48:WU00:FS01:0x22:       Mode: Release
01:14:48:WU00:FS01:0x22:************************************ System ************************************
01:14:48:WU00:FS01:0x22:        CPU: Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz
01:14:48:WU00:FS01:0x22:     CPU ID: GenuineIntel Family 6 Model 94 Stepping 3
01:14:48:WU00:FS01:0x22:       CPUs: 8
01:14:48:WU00:FS01:0x22:     Memory: 15.90GiB
01:14:48:WU00:FS01:0x22:Free Memory: 9.94GiB
01:14:48:WU00:FS01:0x22:    Threads: WINDOWS_THREADS
01:14:48:WU00:FS01:0x22: OS Version: 6.2
01:14:48:WU00:FS01:0x22:Has Battery: false
01:14:48:WU00:FS01:0x22: On Battery: false
01:14:48:WU00:FS01:0x22: UTC Offset: -4
01:14:48:WU00:FS01:0x22:        PID: 27252
01:14:48:WU00:FS01:0x22:        CWD: C:\Users\Smurf\AppData\Roaming\FAHClient\work
01:14:48:WU00:FS01:0x22:************************************ OpenMM ************************************
01:14:48:WU00:FS01:0x22:   Revision: 189320d0
01:14:48:WU00:FS01:0x22:********************************************************************************
01:14:48:WU00:FS01:0x22:Project: 17306 (Run 0, Clone 286, Gen 8)
01:14:48:WU00:FS01:0x22:Unit: 0x000000088ca304c85f7b7b6d324458d5
01:14:48:WU00:FS01:0x22:Digital signatures verified
01:14:48:WU00:FS01:0x22:Folding@home GPU Core22 Folding@home Core
01:14:48:WU00:FS01:0x22:Version 0.0.13
01:14:48:WU00:FS01:0x22:  Checkpoint write interval: 62500 steps (5%) [20 total]
01:14:48:WU00:FS01:0x22:  JSON viewer frame write interval: 12500 steps (1%) [100 total]
01:14:48:WU00:FS01:0x22:  XTC frame write interval: 125000 steps (10%) [10 total]
01:14:48:WU00:FS01:0x22:  Global context and integrator variables write interval: disabled
01:14:48:WU00:FS01:0x22:There are 4 platforms available.
01:14:48:WU00:FS01:0x22:Platform 0: Reference
01:14:48:WU00:FS01:0x22:Platform 1: CPU
01:14:48:WU00:FS01:0x22:Platform 2: OpenCL
01:14:48:WU00:FS01:0x22:  opencl-device 0 specified
01:14:48:WU00:FS01:0x22:Platform 3: CUDA
01:14:48:WU00:FS01:0x22:  cuda-device 1 specified
01:15:01:WU00:FS01:0x22:Attempting to create CUDA context:
01:15:01:WU00:FS01:0x22:  Configuring platform CUDA
01:15:01:WU00:FS01:0x22:Failed to create CUDA context:
01:15:01:WU00:FS01:0x22:Illegal value for DeviceIndex: 1
01:15:01:WU00:FS01:0x22:Attempting to create OpenCL context:
01:15:01:WU00:FS01:0x22:  Configuring platform OpenCL
01:15:08:Removing old file 'configs/config-20200517-012252.xml'
01:15:08:Saving configuration to config.xml
01:15:08:<config>
01:15:08:  <!-- Network -->
01:15:08:  <proxy v=':8080'/>
01:15:08:
01:15:08:  <!-- Slot Control -->
01:15:08:  <power v='full'/>
01:15:08:
01:15:08:  <!-- User Information -->
01:15:08:  <passkey v='*****'/>
01:15:08:  <team v='248603'/>
01:15:08:  <user v='DocktorsOarders'/>
01:15:08:
01:15:08:  <!-- Folding Slots -->
01:15:08:  <slot id='1' type='GPU'>
01:15:08:    <client-type v='beta'/>
01:15:08:    <cuda-index v='1'/>
01:15:08:  </slot>
01:15:08:</config>
01:15:12:WU00:FS01:0x22:  Using OpenCL on platformId 0 and gpu 0
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: 7.6.13, Win 10, 2080Ti, failed to create CUDA context

Post by PantherX »

Welcome to the F@H Forum DocktorsOarders,

Please note that as per the Forum policy, you will need to remove this since you're not (yet) part of the Beta team:
<client-type v='beta'/>

I would think that this is causing the CUDA platform to fail so I would suggest that you remove it and see what happens:
<cuda-index v='1'/>

BTW, if you were to do it mid-WU, the WU would restart since the checkpoint is currently incompatible between OpenCL and CUDA. You may either set the Slot to Finish and then change the GPU configuration or if the WU is in early stages, can afford to restart it from 0%
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
DocktorsOarders
Posts: 5
Joined: Wed Oct 07, 2020 1:16 am
Location: Detroit, MI

Re: 7.6.13, Win 10, 2080Ti, failed to create CUDA context

Post by DocktorsOarders »

Ah, yes. I totally forgot about the Beta. The only reason I added that was several months back I was struggling to get any WU, for days. I added Beta to see if the client would start receiving WU and it did, then I guess I never removed it. I will delete the beta profile tonight, finish the WU and see what happens. Will report back.
DocktorsOarders
Posts: 5
Joined: Wed Oct 07, 2020 1:16 am
Location: Detroit, MI

Re: 7.6.13, Win 10, 2080Ti, failed to create CUDA context

Post by DocktorsOarders »

PantherX wrote:Welcome to the F@H Forum DocktorsOarders,

Please note that as per the Forum policy, you will need to remove this since you're not (yet) part of the Beta team:
<client-type v='beta'/>

I would think that this is causing the CUDA platform to fail so I would suggest that you remove it and see what happens:
<cuda-index v='1'/>

BTW, if you were to do it mid-WU, the WU would restart since the checkpoint is currently incompatible between OpenCL and CUDA. You may either set the Slot to Finish and then change the GPU configuration or if the WU is in early stages, can afford to restart it from 0%

Alright, I gave that a try. I finished the current WU, removed the Beta profile, restarted the client and the error still persists with the following 5 WUs. New Log attached.

Code: Select all

*********************** Log Started 2020-10-07T20:50:15Z ***********************
20:50:15:Trying to access database...
20:50:15:Successfully acquired database lock
20:50:15:Read GPUs.txt
20:50:15:Enabled folding slot 01: READY gpu:0:TU102 [GeForce RTX 2080 Ti Rev. A] M 13448
20:50:15:****************************** FAHClient ******************************
20:50:15:        Version: 7.6.13
20:50:15:         Author: Joseph Coffland <joseph@cauldrondevelopment.com>
20:50:15:      Copyright: 2020 foldingathome.org
20:50:15:       Homepage: https://foldingathome.org/
20:50:15:           Date: Apr 27 2020
20:50:15:           Time: 21:21:01
20:50:15:       Revision: 5a652817f46116b6e135503af97f18e094414e3b
20:50:15:         Branch: master
20:50:15:       Compiler: Visual C++ 2008
20:50:15:        Options: /TP /nologo /EHa /wd4297 /wd4103 /Ox /MT
20:50:15:       Platform: win32 10
20:50:15:           Bits: 32
20:50:15:           Mode: Release
20:50:15:           Args: --open-web-control
20:50:15:         Config: C:\Users\Smurf\AppData\Roaming\FAHClient\config.xml
20:50:15:******************************** CBang ********************************
20:50:15:           Date: Apr 24 2020
20:50:15:           Time: 17:07:55
20:50:15:       Revision: ea081a3b3b0f4a37c4d0440b4f1bc184197c7797
20:50:15:         Branch: master
20:50:15:       Compiler: Visual C++ 2008
20:50:15:        Options: /TP /nologo /EHa /wd4297 /wd4103 /Ox /MT
20:50:15:       Platform: win32 10
20:50:15:           Bits: 32
20:50:15:           Mode: Release
20:50:15:******************************* System ********************************
20:50:15:            CPU: Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz
20:50:15:         CPU ID: GenuineIntel Family 6 Model 94 Stepping 3
20:50:15:           CPUs: 8
20:50:15:         Memory: 15.90GiB
20:50:15:    Free Memory: 9.10GiB
20:50:15:        Threads: WINDOWS_THREADS
20:50:15:     OS Version: 6.2
20:50:15:    Has Battery: false
20:50:15:     On Battery: false
20:50:15:     UTC Offset: -4
20:50:15:            PID: 31084
20:50:15:            CWD: C:\Users\Smurf\AppData\Roaming\FAHClient
20:50:15:  Win32 Service: false
20:50:15:             OS: Windows 10 Home
20:50:15:        OS Arch: AMD64
20:50:15:           GPUs: 2
20:50:15:          GPU 0: Bus:1 Slot:0 Func:0 NVIDIA:8 TU102 [GeForce RTX 2080 Ti Rev. A]
20:50:15:                 M 13448
20:50:15:          GPU 1: Bus:0 Slot:2 Func:0 INTEL:1 Gen9/GT2 [HD Graphics 530]
20:50:15:  CUDA Device 0: Platform:0 Device:0 Bus:1 Slot:0 Compute:7.5 Driver:11.1
20:50:15:OpenCL Device 0: Platform:0 Device:0 Bus:1 Slot:0 Compute:1.2 Driver:456.55
20:50:15:OpenCL Device 1: Platform:1 Device:0 Bus:NA Slot:NA Compute:2.1 Driver:26.20
20:50:15:******************************* libFAH ********************************
20:50:15:           Date: Apr 15 2020
20:50:15:           Time: 14:53:14
20:50:15:       Revision: 216968bc7025029c841ed6e36e81a03a316890d3
20:50:15:         Branch: master
20:50:15:       Compiler: Visual C++ 2008
20:50:15:        Options: /TP /nologo /EHa /wd4297 /wd4103 /Ox /MT
20:50:15:       Platform: win32 10
20:50:15:           Bits: 32
20:50:15:           Mode: Release
20:50:15:***********************************************************************
20:50:15:<config>
20:50:15:  <!-- Network -->
20:50:15:  <proxy v=':8080'/>
20:50:15:
20:50:15:  <!-- Slot Control -->
20:50:15:  <power v='full'/>
20:50:15:
20:50:15:  <!-- User Information -->
20:50:15:  <passkey v='*****'/>
20:50:15:  <team v='248603'/>
20:50:15:  <user v='DocktorsOarders'/>
20:50:15:
20:50:15:  <!-- Folding Slots -->
20:50:15:  <slot id='1' type='GPU'>
20:50:15:    <cuda-index v='1'/>
20:50:15:  </slot>
20:50:15:</config>
20:50:15:WU01:FS01:Starting
20:50:15:WU01:FS01:Running FahCore: "C:\Program Files (x86)\FAHClient/FAHCoreWrapper.exe" C:\Users\Smurf\AppData\Roaming\FAHClient\cores/cores.foldingathome.org/win/64bit/22-0.0.13/Core_22.fah/FahCore_22.exe -dir 01 -suffix 01 -version 706 -lifeline 31084 -checkpoint 15 -gpu-vendor nvidia -opencl-platform 0 -opencl-device 0 -cuda-device 1 -gpu 0
20:50:15:WU01:FS01:Started FahCore on PID 28676
20:50:15:WU01:FS01:Core PID:31692
20:50:15:WU01:FS01:FahCore 0x22 started
20:50:16:WU01:FS01:0x22:*********************** Log Started 2020-10-07T20:50:15Z ***********************
20:50:16:WU01:FS01:0x22:*************************** Core22 Folding@home Core ***************************
20:50:16:WU01:FS01:0x22:       Core: Core22
20:50:16:WU01:FS01:0x22:       Type: 0x22
20:50:16:WU01:FS01:0x22:    Version: 0.0.13
20:50:16:WU01:FS01:0x22:     Author: Joseph Coffland <joseph@cauldrondevelopment.com>
20:50:16:WU01:FS01:0x22:  Copyright: 2020 foldingathome.org
20:50:16:WU01:FS01:0x22:   Homepage: https://foldingathome.org/
20:50:16:WU01:FS01:0x22:       Date: Sep 19 2020
20:50:16:WU01:FS01:0x22:       Time: 02:35:58
20:50:16:WU01:FS01:0x22:   Revision: 571cf95de6de2c592c7c3ed48fcfb2e33e9ea7d3
20:50:16:WU01:FS01:0x22:     Branch: core22-0.0.13
20:50:16:WU01:FS01:0x22:   Compiler: Visual C++ 2015
20:50:16:WU01:FS01:0x22:    Options: /TP /nologo /EHa /wd4297 /wd4103 /O2 /Ob3 /Zc:throwingNew /MT
20:50:16:WU01:FS01:0x22:             -DOPENMM_GIT_HASH="\"189320d0\""
20:50:16:WU01:FS01:0x22:   Platform: win32 10
20:50:16:WU01:FS01:0x22:       Bits: 64
20:50:16:WU01:FS01:0x22:       Mode: Release
20:50:16:WU01:FS01:0x22:Maintainers: John Chodera <john.chodera@choderalab.org> and Peter Eastman
20:50:16:WU01:FS01:0x22:             <peastman@stanford.edu>
20:50:16:WU01:FS01:0x22:       Args: -dir 01 -suffix 01 -version 706 -lifeline 28676 -checkpoint 15
20:50:16:WU01:FS01:0x22:             -gpu-vendor nvidia -opencl-platform 0 -opencl-device 0 -cuda-device
20:50:16:WU01:FS01:0x22:             1 -gpu 0
20:50:16:WU01:FS01:0x22:************************************ libFAH ************************************
20:50:16:WU01:FS01:0x22:       Date: Sep 7 2020
20:50:16:WU01:FS01:0x22:       Time: 19:09:56
20:50:16:WU01:FS01:0x22:   Revision: 44301ed97b996b63fe736bb8073f22209cb2b603
20:50:16:WU01:FS01:0x22:     Branch: HEAD
20:50:16:WU01:FS01:0x22:   Compiler: Visual C++ 2015
20:50:16:WU01:FS01:0x22:    Options: /TP /nologo /EHa /wd4297 /wd4103 /O2 /Ob3 /Zc:throwingNew /MT
20:50:16:WU01:FS01:0x22:   Platform: win32 10
20:50:16:WU01:FS01:0x22:       Bits: 64
20:50:16:WU01:FS01:0x22:       Mode: Release
20:50:16:WU01:FS01:0x22:************************************ CBang *************************************
20:50:16:WU01:FS01:0x22:       Date: Sep 7 2020
20:50:16:WU01:FS01:0x22:       Time: 19:08:30
20:50:16:WU01:FS01:0x22:   Revision: 33fcfc2b3ed2195a423606a264718e31e6b3903f
20:50:16:WU01:FS01:0x22:     Branch: HEAD
20:50:16:WU01:FS01:0x22:   Compiler: Visual C++ 2015
20:50:16:WU01:FS01:0x22:    Options: /TP /nologo /EHa /wd4297 /wd4103 /O2 /Ob3 /Zc:throwingNew /MT
20:50:16:WU01:FS01:0x22:   Platform: win32 10
20:50:16:WU01:FS01:0x22:       Bits: 64
20:50:16:WU01:FS01:0x22:       Mode: Release
20:50:16:WU01:FS01:0x22:************************************ System ************************************
20:50:16:WU01:FS01:0x22:        CPU: Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz
20:50:16:WU01:FS01:0x22:     CPU ID: GenuineIntel Family 6 Model 94 Stepping 3
20:50:16:WU01:FS01:0x22:       CPUs: 8
20:50:16:WU01:FS01:0x22:     Memory: 15.90GiB
20:50:16:WU01:FS01:0x22:Free Memory: 9.03GiB
20:50:16:WU01:FS01:0x22:    Threads: WINDOWS_THREADS
20:50:16:WU01:FS01:0x22: OS Version: 6.2
20:50:16:WU01:FS01:0x22:Has Battery: false
20:50:16:WU01:FS01:0x22: On Battery: false
20:50:16:WU01:FS01:0x22: UTC Offset: -4
20:50:16:WU01:FS01:0x22:        PID: 31692
20:50:16:WU01:FS01:0x22:        CWD: C:\Users\Smurf\AppData\Roaming\FAHClient\work
20:50:16:WU01:FS01:0x22:************************************ OpenMM ************************************
20:50:16:WU01:FS01:0x22:   Revision: 189320d0
20:50:16:WU01:FS01:0x22:********************************************************************************
20:50:16:WU01:FS01:0x22:Project: 17306 (Run 0, Clone 42, Gen 43)
20:50:16:WU01:FS01:0x22:Unit: 0x0000002b8ca304c85f6c22eb2b06825e
20:50:16:WU01:FS01:0x22:Digital signatures verified
20:50:16:WU01:FS01:0x22:Folding@home GPU Core22 Folding@home Core
20:50:16:WU01:FS01:0x22:Version 0.0.13
20:50:16:WU01:FS01:0x22:  Checkpoint write interval: 62500 steps (5%) [20 total]
20:50:16:WU01:FS01:0x22:  JSON viewer frame write interval: 12500 steps (1%) [100 total]
20:50:16:WU01:FS01:0x22:  XTC frame write interval: 125000 steps (10%) [10 total]
20:50:16:WU01:FS01:0x22:  Global context and integrator variables write interval: disabled
20:50:16:WU01:FS01:0x22:There are 4 platforms available.
20:50:16:WU01:FS01:0x22:Platform 0: Reference
20:50:16:WU01:FS01:0x22:Platform 1: CPU
20:50:16:WU01:FS01:0x22:Platform 2: OpenCL
20:50:16:WU01:FS01:0x22:  opencl-device 0 specified
20:50:16:WU01:FS01:0x22:Platform 3: CUDA
20:50:16:WU01:FS01:0x22:  cuda-device 1 specified
20:50:17:12:127.0.0.1:New Web session
20:50:29:WU01:FS01:0x22:Attempting to create CUDA context:
20:50:29:WU01:FS01:0x22:  Configuring platform CUDA
20:50:29:WU01:FS01:0x22:Failed to create CUDA context:
20:50:29:WU01:FS01:0x22:Illegal value for DeviceIndex: 1
20:50:29:WU01:FS01:0x22:Attempting to create OpenCL context:
20:50:29:WU01:FS01:0x22:  Configuring platform OpenCL
20:50:34:WU01:FS01:0x22:  Using OpenCL on platformId 0 and gpu 0
20:50:34:WU01:FS01:0x22:Completed 0 out of 1250000 steps (0%)
20:50:35:WU01:FS01:0x22:Checkpoint completed at step 0
20:51:38:WU01:FS01:0x22:Completed 12500 out of 1250000 steps (1%)
20:52:39:WU01:FS01:0x22:Completed 25000 out of 1250000 steps (2%)
20:53:43:WU01:FS01:0x22:Completed 37500 out of 1250000 steps (3%)
20:54:46:WU01:FS01:0x22:Completed 50000 out of 1250000 steps (4%)
20:55:49:WU01:FS01:0x22:Completed 62500 out of 1250000 steps (5%)
20:55:51:WU01:FS01:0x22:Checkpoint completed at step 62500
20:56:54:WU01:FS01:0x22:Completed 75000 out of 1250000 steps (6%)
20:57:54:WU01:FS01:0x22:Completed 87500 out of 1250000 steps (7%)
20:58:55:WU01:FS01:0x22:Completed 100000 out of 1250000 steps (8%)
20:59:56:WU01:FS01:0x22:Completed 112500 out of 1250000 steps (9%)
21:00:56:WU01:FS01:0x22:Completed 125000 out of 1250000 steps (10%)
21:00:58:WU01:FS01:0x22:Checkpoint completed at step 125000
21:01:58:WU01:FS01:0x22:Completed 137500 out of 1250000 steps (11%)
21:03:00:WU01:FS01:0x22:Completed 150000 out of 1250000 steps (12%)
21:04:01:WU01:FS01:0x22:Completed 162500 out of 1250000 steps (13%)
21:05:01:WU01:FS01:0x22:Completed 175000 out of 1250000 steps (14%)
DocktorsOarders
Posts: 5
Joined: Wed Oct 07, 2020 1:16 am
Location: Detroit, MI

Re: 7.6.13, Win 10, 2080Ti, failed to create CUDA context

Post by DocktorsOarders »

I believe I figured it out, changed the CUDA index to 0 instead of 1 and CUDA seems to now be operational. PPD projection has increased to 4.6m as of now!
bruce
Posts: 20910
Joined: Thu Nov 29, 2007 10:13 pm
Location: So. Cal.

Re: 7.6.13, Win 10, 2080Ti, failed to create CUDA context

Post by bruce »

When you only have one GPU, its index has to be zero. How did it happen to get set to 1?
DocktorsOarders
Posts: 5
Joined: Wed Oct 07, 2020 1:16 am
Location: Detroit, MI

Re: 7.6.13, Win 10, 2080Ti, failed to create CUDA context

Post by DocktorsOarders »

bruce wrote:When you only have one GPU, its index has to be zero. How did it happen to get set to 1?
I checked my other machine and it is exactly the same configuration and for whatever reason, it operates normally on that machine. Q9950 with RTX 2060 XC Ultra on Win 7. Pulling 1.5-1.8m PPD

GPU Index = -1

GPU core indices:
opencl-index = -1
cuda-index = 1

My machine with the issue was setup identically but keep giving me the error "Illegal value for DeviceIndex: 1" So I changed the Cuda value to 0, left opencl at -1 and restarted the Client and WU and it picked up CUDA on the first shot. I am unsure how it was ever set to that but both my clients have the same exact configuration and the Win 7 machine operates normally with the 2060 but the Win 10 and 2080Ti would not operate Cuda.

Weird.
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: 7.6.13, Win 10, 2080Ti, failed to create CUDA context

Post by PantherX »

Generally speaking, the GPU index values and opencl/cuda don't need to be set on most machines. They are helpful if you have a non-standard setup, i.e. Nvidia dGPU with AMD dGPU on an Intel iGPU all running for various reasons and then you want to use a specific GPU to fold.

BTW, in the next release, those values will be removed and a different system will be used. Thus, it would be nice to remove them if you only have GPUs from a single vendor in your system.
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
Post Reply