folding@home not starting (windows 10)

Moderators: Site Moderators, FAHC Science Team

Post Reply
Error1234
Posts: 7
Joined: Tue May 02, 2023 11:05 am

folding@home not starting (windows 10)

Post by Error1234 »

OS: Microsoft Windows 10 Home
CPU: 11th Gen Intel(R) Core(TM) i5-11300H @ 3.10GHz 3.11 GHz
GPU0: Intel(R) Iris(R) Xe Graphics
GPU1: NVIDIA GeForce RTX 3050 Ti Laptop GPU
GPU1 Drivers: 31.0.15.3168 (2023-04-13)
Folding@home version: 7.6.21

A few days ago i installed folding@home, for the first few days there were no problems at all.
Today i started folding@home and noticed that gpu1 had no activity in task manager however gpu folding progress still went up, so i attempted to pause folding (with no success, it said it was stopping however the progress did not stop going up).
I attempted to start blender to see if i could get task manager to see gpu activity (i had done this many times in the past with other applications) however blender refused to start with an error saying the opengl version on my computer was too old (my graphics drivers are quite up to date and this has happened before so i believe blender did not find the gpu)
This seemed like a graphics driver issue so i attempted to restart windows.
While the computer was shutting down windows crashed (don't remember the error but it looked something like video_tdm_failure)
When i started the computer folding@home did not start.
i attempted to open the folding@home shortcut several times with no success (all it did was open the web control, which never connected.)
i tried opening C:\Program Files (x86)\FAHClient in cmd and running FAHClient.exe which worked at first (see log 1) but only worked once. (see log 2)
i have tried restarting, uninstalling and reinstalling, and nothing has worked.

LOG 1

Code: Select all

*********************** Log Started 2023-05-02T10:39:45Z ***********************
10:39:45:******************************* libFAH ********************************
10:39:45:           Date: Oct 20 2020
10:39:45:           Time: 13:36:55
10:39:45:       Revision: 5ca109d295a6245e2a2f590b3d0085ad5e567aeb
10:39:45:         Branch: master
10:39:45:       Compiler: Visual C++ 2015
10:39:45:        Options: /TP /nologo /EHa /wd4297 /wd4103 /O2 /Zc:throwingNew /MT
10:39:45:       Platform: win32 10
10:39:45:           Bits: 32
10:39:45:           Mode: Release
10:39:45:****************************** FAHClient ******************************
10:39:45:        Version: 7.6.21
10:39:45:         Author: Joseph Coffland <[email protected]>
10:39:45:      Copyright: 2020 foldingathome.org
10:39:45:       Homepage: https://foldingathome.org/
10:39:45:           Date: Oct 20 2020
10:39:45:           Time: 13:41:04
10:39:45:       Revision: 6efbf0e138e22d3963e6a291f78dcb9c6422a278
10:39:45:         Branch: master
10:39:45:       Compiler: Visual C++ 2015
10:39:45:        Options: /TP /nologo /EHa /wd4297 /wd4103 /O2 /Zc:throwingNew /MT
10:39:45:       Platform: win32 10
10:39:45:           Bits: 32
10:39:45:           Mode: Release
10:39:45:         Config: C:\ProgramData\FAHClient\config.xml
10:39:45:******************************** CBang ********************************
10:39:45:           Date: Oct 20 2020
10:39:45:           Time: 11:36:18
10:39:45:       Revision: 7e4ce85225d7eaeb775e87c31740181ca603de60
10:39:45:         Branch: master
10:39:45:       Compiler: Visual C++ 2015
10:39:45:        Options: /TP /nologo /EHa /wd4297 /wd4103 /O2 /Zc:throwingNew /MT
10:39:45:       Platform: win32 10
10:39:45:           Bits: 32
10:39:45:           Mode: Release
10:39:45:******************************* System ********************************
10:39:45:            CPU: 11th Gen Intel(R) Core(TM) i5-11300H @ 3.10GHz
10:39:45:         CPU ID: GenuineIntel Family 6 Model 140 Stepping 1
10:39:45:           CPUs: 8
10:39:45:         Memory: 7.69GiB
10:39:45:    Free Memory: 3.36GiB
10:39:45:        Threads: WINDOWS_THREADS
10:39:45:     OS Version: 6.2
10:39:45:    Has Battery: true
10:39:45:     On Battery: true
10:39:45:     UTC Offset: 2
10:39:45:            PID: 2832
10:39:45:            CWD: C:\ProgramData\FAHClient
10:39:45:  Win32 Service: false
10:39:45:             OS: Windows 10 Home
10:39:45:        OS Arch: AMD64
10:39:45:           GPUs: 1
10:39:45:          GPU 0: Bus:1 Slot:0 Func:0 NVIDIA:7 GA107M [GeForce RTX 3050 Ti
10:39:45:                 Mobile]
10:39:45:  CUDA Device 0: Platform:0 Device:0 Bus:1 Slot:0 Compute:8.6 Driver:12.1
10:39:45:OpenCL Device 0: Platform:0 Device:0 Bus:1 Slot:0 Compute:3.0 Driver:531.68
10:39:45:OpenCL Device 1: Platform:1 Device:0 Bus:NA Slot:NA Compute:3.0 Driver:30.0
10:39:45:***********************************************************************
10:39:45:<config>
10:39:45:  <!-- Slot Control -->
10:39:45:  <power v='medium'/>
10:39:45:
10:39:45:  <!-- User Information -->
10:39:45:  <passkey v='*****'/>
10:39:45:  <user v='Error1234'/>
10:39:45:
10:39:45:  <!-- Folding Slots -->
10:39:45:  <slot id='0' type='CPU'>
10:39:45:    <paused v='true'/>
10:39:45:  </slot>
10:39:45:  <slot id='1' type='GPU'>
10:39:45:    <paused v='true'/>
10:39:45:    <pci-bus v='1'/>
10:39:45:    <pci-slot v='0'/>
10:39:45:  </slot>
10:39:45:</config>
10:39:45:Trying to access database...
10:39:45:Successfully acquired database lock
10:39:45:FS00:Initialized folding slot 00: cpu:6
10:39:45:FS01:Initialized folding slot 01: gpu:1:0 GA107M [GeForce RTX 3050 Ti Mobile]
10:39:51:16:127.0.0.1:New Web session
10:39:59:FS00:Unpaused
10:39:59:FS01:Unpaused
10:40:13:FS00:Paused
10:40:23:WU01:FS01:Starting
10:40:23:WU01:FS01:Running FahCore: "C:\Program Files (x86)\FAHClient/FAHCoreWrapper.exe" C:\ProgramData\FAHClient\cores/cores.foldingathome.org/win/64bit/22-0.0.20/Core_22.fah/FahCore_22.exe -dir 01 -suffix 01 -version 706 -lifeline 2832 -checkpoint 15 -opencl-platform 0 -opencl-device 0 -cuda-device 0 -gpu-vendor nvidia -gpu 0 -gpu-usage 100
10:40:23:WU01:FS01:Started FahCore on PID 12164
10:40:23:WU01:FS01:Core PID:5644
10:40:23:WU01:FS01:FahCore 0x22 started
10:40:23:WU01:FS01:0x22:*********************** Log Started 2023-05-02T10:40:23Z ***********************
10:40:23:WU01:FS01:0x22:*************************** Core22 Folding@home Core ***************************
10:40:23:WU01:FS01:0x22:       Core: Core22
10:40:23:WU01:FS01:0x22:       Type: 0x22
10:40:23:WU01:FS01:0x22:    Version: 0.0.20
10:40:23:WU01:FS01:0x22:     Author: Joseph Coffland <[email protected]>
10:40:23:WU01:FS01:0x22:  Copyright: 2020 foldingathome.org
10:40:23:WU01:FS01:0x22:   Homepage: https://foldingathome.org/
10:40:23:WU01:FS01:0x22:       Date: Jan 20 2022
10:40:23:WU01:FS01:0x22:       Time: 01:15:36
10:40:23:WU01:FS01:0x22:   Revision: 3f211b8a4346514edbff34e3cb1c0e0ec951373c
10:40:23:WU01:FS01:0x22:     Branch: HEAD
10:40:23:WU01:FS01:0x22:   Compiler: Visual C++
10:40:23:WU01:FS01:0x22:    Options: /TP /nologo /EHa /wd4297 /wd4103 /O2 /Zc:throwingNew /MT
10:40:23:WU01:FS01:0x22:             -DOPENMM_VERSION="\"7.7.0\""
10:40:23:WU01:FS01:0x22:   Platform: win32 10
10:40:23:WU01:FS01:0x22:       Bits: 64
10:40:23:WU01:FS01:0x22:       Mode: Release
10:40:23:WU01:FS01:0x22:Maintainers: John Chodera <[email protected]> and Peter Eastman
10:40:23:WU01:FS01:0x22:             <[email protected]>
10:40:23:WU01:FS01:0x22:       Args: -dir 01 -suffix 01 -version 706 -lifeline 12164 -checkpoint 15
10:40:23:WU01:FS01:0x22:             -opencl-platform 0 -opencl-device 0 -cuda-device 0 -gpu-vendor
10:40:23:WU01:FS01:0x22:             nvidia -gpu 0 -gpu-usage 100
10:40:23:WU01:FS01:0x22:************************************ libFAH ************************************
10:40:23:WU01:FS01:0x22:       Date: Jan 20 2022
10:40:23:WU01:FS01:0x22:       Time: 01:14:17
10:40:23:WU01:FS01:0x22:   Revision: 9f4ad694e75c2350d4bb6b8b5b769ba27e483a2f
10:40:23:WU01:FS01:0x22:     Branch: HEAD
10:40:23:WU01:FS01:0x22:   Compiler: Visual C++
10:40:23:WU01:FS01:0x22:    Options: /TP /nologo /EHa /wd4297 /wd4103 /O2 /Zc:throwingNew /MT
10:40:23:WU01:FS01:0x22:   Platform: win32 10
10:40:23:WU01:FS01:0x22:       Bits: 64
10:40:23:WU01:FS01:0x22:       Mode: Release
10:40:23:WU01:FS01:0x22:************************************ CBang *************************************
10:40:23:WU01:FS01:0x22:       Date: Jan 20 2022
10:40:23:WU01:FS01:0x22:       Time: 01:13:20
10:40:23:WU01:FS01:0x22:   Revision: ab023d155b446906d55b0f6c9a1eedeea04f7a1a
10:40:23:WU01:FS01:0x22:     Branch: HEAD
10:40:23:WU01:FS01:0x22:   Compiler: Visual C++
10:40:23:WU01:FS01:0x22:    Options: /TP /nologo /EHa /wd4297 /wd4103 /O2 /Zc:throwingNew /MT
10:40:23:WU01:FS01:0x22:   Platform: win32 10
10:40:23:WU01:FS01:0x22:       Bits: 64
10:40:23:WU01:FS01:0x22:       Mode: Release
10:40:23:WU01:FS01:0x22:************************************ System ************************************
10:40:23:WU01:FS01:0x22:        CPU: 11th Gen Intel(R) Core(TM) i5-11300H @ 3.10GHz
10:40:23:WU01:FS01:0x22:     CPU ID: GenuineIntel Family 6 Model 140 Stepping 1
10:40:23:WU01:FS01:0x22:       CPUs: 8
10:40:23:WU01:FS01:0x22:     Memory: 7.69GiB
10:40:23:WU01:FS01:0x22:Free Memory: 2.46GiB
10:40:23:WU01:FS01:0x22:    Threads: WINDOWS_THREADS
10:40:23:WU01:FS01:0x22: OS Version: 6.2
10:40:23:WU01:FS01:0x22:Has Battery: true
10:40:23:WU01:FS01:0x22: On Battery: false
10:40:23:WU01:FS01:0x22: UTC Offset: 2
10:40:23:WU01:FS01:0x22:        PID: 5644
10:40:23:WU01:FS01:0x22:        CWD: C:\ProgramData\FAHClient\work
10:40:23:WU01:FS01:0x22:************************************ OpenMM ************************************
10:40:23:WU01:FS01:0x22:    Version: 7.7.0
10:40:23:WU01:FS01:0x22:********************************************************************************
10:40:23:WU01:FS01:0x22:Project: 18717 (Run 16, Clone 63, Gen 216)
10:40:23:WU01:FS01:0x22:Digital signatures verified
10:40:23:WU01:FS01:0x22:Folding@home GPU Core22 Folding@home Core
10:40:23:WU01:FS01:0x22:Version 0.0.20
10:40:23:WU01:FS01:0x22:  Checkpoint write interval: 250000 steps (5%) [20 total]
10:40:23:WU01:FS01:0x22:  JSON viewer frame write interval: 50000 steps (1%) [100 total]
10:40:23:WU01:FS01:0x22:  XTC frame write interval: 50000 steps (1%) [100 total]
10:40:23:WU01:FS01:0x22:  Global context and integrator variables write interval: disabled
10:40:24:WU01:FS01:0x22:There are 4 platforms available.
10:40:24:WU01:FS01:0x22:Platform 0: Reference
10:40:24:WU01:FS01:0x22:Platform 1: CPU
10:40:24:WU01:FS01:0x22:Platform 2: OpenCL
10:40:24:WU01:FS01:0x22:  opencl-device 0 specified
10:40:24:WU01:FS01:0x22:Platform 3: CUDA
10:40:24:WU01:FS01:0x22:  cuda-device 0 specified
10:40:30:WU01:FS01:0x22:Attempting to create CUDA context:
10:40:30:WU01:FS01:0x22:  Configuring platform CUDA
10:40:33:WU01:FS01:0x22:  Using CUDA and gpu 0
10:40:33:WU01:FS01:0x22:Completed 3000000 out of 5000000 steps (60%)
10:40:46:Removing old file 'configs/config-20230430-221415.xml'
10:40:46:Saving configuration to config.xml
10:40:46:<config>
10:40:46:  <!-- Slot Control -->
10:40:46:  <power v='medium'/>
10:40:46:
10:40:46:  <!-- User Information -->
10:40:46:  <passkey v='*****'/>
10:40:46:  <user v='Error1234'/>
10:40:46:
10:40:46:  <!-- Folding Slots -->
10:40:46:  <slot id='0' type='CPU'>
10:40:46:    <paused v='true'/>
10:40:46:  </slot>
10:40:46:  <slot id='1' type='GPU'>
10:40:46:    <pci-bus v='1'/>
10:40:46:    <pci-slot v='0'/>
10:40:46:  </slot>
10:40:46:</config>
10:43:15:ERROR:Receive error: 10054: En befintlig anslutning tvingades att stänga av fjärrvärddatorn.
10:46:07:FS01:Paused
10:46:07:FS01:Shutting core down
10:46:07:WU01:FS01:0x22:WARNING:Console control signal 1 on PID 5644
10:46:07:WU01:FS01:0x22:Exiting, please wait. . .
LOG 2

Code: Select all

C:\Program Files (x86)\FAHClient>FAHClient.exe
11:41:41:Read GPUs.txt
11:41:42:ERROR:Exception: Failed to rename 'log.txt' to 'logs\log-20230502-114142.txt': Det g├Ñr inte att hitta s├Âkv├ñgen.

C:\Program Files (x86)\FAHClient>
Error1234
Posts: 7
Joined: Tue May 02, 2023 11:05 am

Re: folding@home not starting (windows 10)

Post by Error1234 »

Translation for second log:
11:41:42:ERROR:Exception: Failed to rename 'log.txt' to 'logs\log-20230502-114142.txt': Can't find search path.
Error1234
Posts: 7
Joined: Tue May 02, 2023 11:05 am

Re: folding@home not starting (windows 10)

Post by Error1234 »

UPDATE: apparently the config.xml file was full of null bytes, fixed it by copying over the sample config, however i lost a halfway done work unit that i spent about 4 hours of gpu time on :(. oh well.
Error1234
Posts: 7
Joined: Tue May 02, 2023 11:05 am

Re: folding@home not starting (windows 10)

Post by Error1234 »

it happened again, video_tdr_failure or video_tdm_failure don't remember which one.
Error1234
Posts: 7
Joined: Tue May 02, 2023 11:05 am

Re: folding@home not starting (windows 10)

Post by Error1234 »

if this happens to you:
make a backup of your work units before starting folding@home (otherwise it could discard work)
after copying config but before starting folding@home make sure to set the option to autoconfigure gpus in the config to true

these steps should help prevent lost work units.
toTOW
Site Moderator
Posts: 6373
Joined: Sun Dec 02, 2007 10:38 am
Location: Bordeaux, France
Contact:

Re: folding@home not starting (windows 10)

Post by toTOW »

First, don't start the client from command line as show in log 2, always use the shortcut.

Then, check your system for stability, you shouldn't get file corruption or TDR resets. Start with some CPU stresstests, then Memtest86+ for the memory, Furmark or OCCT for the GPU, ... and don't forget to check your HDD/SSD too ...
Image

Folding@Home beta tester since 2002. Folding Forum moderator since July 2008.
Error1234
Posts: 7
Joined: Tue May 02, 2023 11:05 am

Re: folding@home not starting (windows 10)

Post by Error1234 »

I'm now pretty sure the crashing is just normal nvidia optimus problems. (happens on my computer all the time)

The log file getting replaced with 0x00 bytes is just what windows does when an application crashes the computer. (would send link to a youtube video showing a shortcut that crashes windows and gets replaced with 0x00 bytes when windows has started, but new members cannot post links)

The lost work unit was because i forgot to enable autoconfiguring gpus in the config file and it threw out the (perfectly fine) work unit for the gpu when starting folding@home because there was no gpu configured, this was solved by backing up the work units (just in case) and making sure to enable autoconfiguring gpus on startup of folding@home. (i did lose the previous work unit due to not doing this)

i'm not sure how i managed to open folding@home with cmd that one time, my current theory is that my brain is not doing brain things correctly and misremembered something. (i'm still not sure how i did it, the log shows "WARNING:Console control signal 1 on PID 5644" and i remember that i did manage to open it with cmd very clearly and that it took a few seconds to exit)
Joe_H
Site Admin
Posts: 7951
Joined: Tue Apr 21, 2009 4:41 pm
Hardware configuration: Mac Pro 2.8 quad 12 GB smp4
MacBook Pro 2.9 i7 8 GB smp2
Location: W. MA

Re: folding@home not starting (windows 10)

Post by Joe_H »

If running on a laptop with Nvidia Optimus, set it to just use the high performance GPU while running folding. This is a known problem, basically the folding process is crashing because to it the hardware has disappeared. There have ben a fair number of posts here about that problem and the only cure.
Image

iMac 2.8 i7 12 GB smp8, Mac Pro 2.8 quad 12 GB smp6
MacBook Pro 2.9 i7 8 GB smp3
Error1234
Posts: 7
Joined: Tue May 02, 2023 11:05 am

Re: folding@home not starting (windows 10)

Post by Error1234 »

Joe_H wrote: Tue May 02, 2023 7:38 pm set it to just use the high performance GPU while running folding.
How do i do that? do i set FAHclient.exe to use high performance gpu in windows gpu settings?
Do i set FahCore_22 to high performance?
What process should i set to high performance or should i use some other setting?
I did some quick searching for optimus on this forum and didn't find anywhere where it said exactly where the setting is (only control panel or bios, which does not narrow it down that much considering settings in control panel are constantly moving to settings and control panel could mean regular control panel or nvidia control panel.)

(Sorry if this post sounds rude, i'm just mad because i lost a work unit at 60% that i was constantly monitoring specifically to prevent something like this.)
Joe_H
Site Admin
Posts: 7951
Joined: Tue Apr 21, 2009 4:41 pm
Hardware configuration: Mac Pro 2.8 quad 12 GB smp4
MacBook Pro 2.9 i7 8 GB smp2
Location: W. MA

Re: folding@home not starting (windows 10)

Post by Joe_H »

Depends on your particular laptop. Some with Optimus you set that in the BIOS, others through a control panel for the video drivers. It is not a setting within the F@h client. It is difficult to provide specific instructions as Nvidia and the laptop manufacturers have implemented Optimus in a number of different ways over the years.

Someone at one point mentioned they found a way to set their laptop to utilize the high performance GPU exclusively for specific applications running. In this case I don't know if it would have to be both FAHClient.exe and FAHCore_22.
Image

iMac 2.8 i7 12 GB smp8, Mac Pro 2.8 quad 12 GB smp6
MacBook Pro 2.9 i7 8 GB smp3
Post Reply