v8.3.xx not starting on reboot (Win11)

Moderators: Site Moderators, FAHC Science Team

Post Reply
DougTheSlug
Posts: 3
Joined: Sun Sep 01, 2024 6:06 pm

v8.3.xx not starting on reboot (Win11)

Post by DougTheSlug »

I am setting up my first win11 machine, and with that my first 8.x client. All my other current clients are win10 + v7 client.

Specs - Win11, Ryzen 9900x + 4080 super
- Logging in as domain user which has admin permissions in the OS

I am unsure where the failure is happening but here are my repro steps:
1. Download 8.3.18 amd64 exe
2. Run and go through steps, leaving all defaults (including the checked start at launch)
3. Install completes
4. Firefox opens and shows unconfigured UI
5. Hit Gear, punch in username, team, passkey and click GPU checkbox
6. CPU and GPU begin folding
7. Restart Win11
8. Upon re-logging into windows, FAH does not start up
9. Go to https://v8-3.foldingathome.org/machines which states

Code: Select all

No folding machines found.  Login or install...
At this point, FAH doesn't start up even if I manually try launching it.
-> Start Menu -> type folding -> installed app shows up -> click -> nothing happens
-> Desktop shortcut -> double click -> nothing happens
-> Desktop shortcut -> right click -> Open -> nothing happens

Verifications
Is it installed?
- Go to settings -> apps -> Installed apps -> "FAHClient" exists, v8.3.18
Is it configured to launch at Startup?
- Go to settings -> apps -> Startup -> "HideConsole.exe" exists and is "On"
- Go to Task Manager -> Startup apps-> "HideConsole.exe (4)" exists with status "Enabled" -> expand and it shows "Conhost", "FAHClient.exe", "HideConsole.exe" and "WerFault.exe"

At this time, the only way I can get FAHClient to start following a reboot is to reinstall the entire client.
calxalot
Site Moderator
Posts: 1115
Joined: Sat Dec 08, 2007 1:33 am
Location: San Francisco, CA
Contact:

Re: v8.3.xx not starting on reboot (Win11)

Post by calxalot »

Please try logout before restart.
And manually quitting fah from sys tray before restart.

I’m wondering if windows abruptly kills the client on restart, leaving something locked.
DougTheSlug
Posts: 3
Joined: Sun Sep 01, 2024 6:06 pm

Re: v8.3.xx not starting on reboot (Win11)

Post by DougTheSlug »

No change after stopping FAH manually
- click "^" in taskbar -> right click FAH icon -> Quit
- reboot -> login -> FAH not launched

So I tried
-> start menu -> type folding -> right click -> pin to taskbar
Then I opened up Task Manager and spam clicked the FAH taskbar icon (Since Task Manager refreshes on a cycle and isn't a live view)
- I am able to spot FAHClient.exe show up in the Task Manager for one cycle before it just disappears

This tells me it's trying to launch but maybe crashing immediately? Why would the client run OK on first install, but then crash on any subsequent launch? Where are the app logs on the filesystem so we can see any error messages?
calxalot
Site Moderator
Posts: 1115
Joined: Sat Dec 08, 2007 1:33 am
Location: San Francisco, CA
Contact:

Re: v8.3.xx not starting on reboot (Win11)

Post by calxalot »

Maybe you can see errors if you remove HideConsole.exe from the link?
DougTheSlug
Posts: 3
Joined: Sun Sep 01, 2024 6:06 pm

Re: v8.3.xx not starting on reboot (Win11)

Post by DougTheSlug »

Maybe you can see errors if you remove HideConsole.exe from the link?
That actually allowed it to Launch. Not too sure what exactly HideConsole is (other than what it's name implies), but that seems to be part of the issue.

You know, I just had a quick thought, this is a fresh install of Win11 with afaik default security settings across the board.
Upon launching the shortcut without HideConsole, I was presented with a fullscreen UAC prompt.

Code: Select all

Do you want to allow this app from an unknown publisher to make changes to your device
So how do I tell what HideConsole is doing? How do I get logs for hideconsole.exe? And assuming my thought above is correct, how do we get hideconsole/fahclient to not trigger UAC (without turning UAC off)
calxalot
Site Moderator
Posts: 1115
Joined: Sat Dec 08, 2007 1:33 am
Location: San Francisco, CA
Contact:

Re: v8.3.xx not starting on reboot (Win11)

Post by calxalot »

My understanding is that hideconsole is a simple wrapper that allows launching the client without opening a terminal window.

I don’t think it has a log.

https://github.com/FoldingAtHome/fah-cl ... onsole.cpp
Gwalch
Posts: 6
Joined: Wed Aug 31, 2022 9:32 pm

Re: v8.3.xx not starting on reboot (Win11)

Post by Gwalch »

I'm getting the same thing but on Windows 10.. mine is also a clean new install of Windows.
Was working fine before I did that!!!

viewtopic.php?t=41905

As soon as I reboot the PC.. the only way I can get FaH to work again is to reinstall it.
calxalot
Site Moderator
Posts: 1115
Joined: Sat Dec 08, 2007 1:33 am
Location: San Francisco, CA
Contact:

Re: v8.3.xx not starting on reboot (Win11)

Post by calxalot »

Seems like a sledgehammer, but maybe try
right-click shortcut > Properties > Advanced > Run as administrator
Gwalch
Posts: 6
Joined: Wed Aug 31, 2022 9:32 pm

Re: v8.3.xx not starting on reboot (Win11)

Post by Gwalch »

Ok.. I just uninstalled v8.3.xx and put v7.6.21 back on.. rebooted the PC and it worked perfectly.
Started up.. downloaded core.. and started folding away.

Sooo... I just reinstalled v8.3.18 over the top of v7.6.21 (no uninstall) and then rebooted the PC.. and the darn thing works.

I have just rebooted the PC 3 times... each time letting FaH chug away for a few minutes.. and it's still working!!!

I dunno.. this is above my pay grade but hopefully it works for others.
FloGer
Posts: 1
Joined: Tue Oct 29, 2024 7:49 pm

Re: v8.3.xx not starting on reboot (Win11)

Post by FloGer »

Hi,

Just reviving this topic, I just installed V8.3.18, and have gotten the same bug. I managed to solve it when I force to open FAHclient.exe as administrator. The issue is that the log file written by the previous instance was not accessible by the new FAHclient.

This seems to be a simple bug to solve, could someone from FaH have a look at it?

Thanks,
Florian
houstonwb
Posts: 3
Joined: Mon Mar 16, 2020 9:21 pm

Re: v8.3.xx not starting on reboot (Win11)

Post by houstonwb »

I have this same problem. Runs well on an updated older machine with the same AVG antivirus.
On new(ish) machine, looks like it runs for a second and then is stopped. Does run when Running as an Administrator FAHClient.exe. Accept "Do you want to allow this program to make changes..." Then it shows in Task Manager. However subsequently, it does not start (or show in Task Manger) on reboot.
HideConsole.exe appears in Apps>Startup and in Startup Programs in System Information. But will not launch FaH when run, even when Run as an Administrator, run from a cold Start or in a Restart.
FaHclient.exe & .ico & Hideconsole.exe appear in Program Files/FaHClient
Added FaH "Work" folder to AVG exceptions. No luck.

FaH Version: 8.3.18. Windows 11 Home, Version 10.0.22631, Build 22631 x64. Processor 13th Gen Intel(R) Core(TM) i5-1335U, 1300 Mhz, 10 Core(s), 12 Logical Processor(s). New Lenovo bios: LENOVO N3XET56W (1.31 ), 8/20/2024. Other programs running normally. Administrator account although not signed into Microsoft. Longtime individual FaH contributor.

Log when manual Run as an Administrator (but will not run automatically on restart):
21:07:54:I1:*********************** Folding@home Client ***********************
21:07:54:I1: Version: 8.3.18
21:07:54:I1: Author: Joseph Coffland <[email protected]>
21:07:54:I1: Org: foldingathome.org
21:07:54:I1: Copyright: 2023-2024, foldingathome.org
21:07:54:I1: Homepage: https://foldingathome.org/
21:07:54:I1: License: GPL-3.0-or-later
21:07:54:I1: URL: https://v8-3.foldingathome.org/
21:07:54:I1: Date: Jul 12 2024
21:07:54:I1: Time: 13:26:51
21:07:54:I1: Revision: 99ae953ee7b1c0b3070161cfcf9150184f76bd96
21:07:54:I1: Branch: master
21:07:54:I1: Compiler: Visual C++
21:07:54:I1: Options: $( /TP $) /std:c++14 /nologo /EHa /wd4297 /wd4103 /O2
21:07:54:I1: /Zc:throwingNew /MT
21:07:54:I1: Platform: win32 10
21:07:54:I1: Bits: 64
21:07:54:I1: Mode: Release
21:07:54:I1:****************************** CBang ******************************
21:07:54:I1: Version: 1.7.2
21:07:54:I1: Author: Joseph Coffland <[email protected]>
21:07:54:I1: Org: Cauldron Development
21:07:54:I1: Copyright: Cauldron Development, 2003-2024
21:07:54:I1: Homepage: https://cauldrondevelopment.com/
21:07:54:I1: License: LGPL-2.1-or-later
21:07:54:I1: Date: Jun 24 2024
21:07:54:I1: Time: 13:29:54
21:07:54:I1: Revision: 1b05ea96f0ed3043c32b78a66dbf50a9b2002289
21:07:54:I1: Branch: master
21:07:54:I1: Compiler: Visual C++
21:07:54:I1: Options: $( /TP $) /std:c++14 /nologo /EHa /wd4297 /wd4103 /O2
21:07:54:I1: /Zc:throwingNew /MT
21:07:54:I1: Platform: win32 10
21:07:54:I1: Bits: 64
21:07:54:I1: Mode: Release
21:07:54:I1:***************************** System ******************************
21:07:54:I1: CPU: 13th Gen Intel(R) Core(TM) i5-1335U
21:07:54:I1: CPU ID: GenuineIntel Family 6 Model 186 Stepping 3
21:07:54:I1: CPUs: 12
21:07:54:I1: Memory: 15.68GiB
21:07:54:I1:Free Memory: 8.10GiB
21:07:54:I1: OS Version: 6.2
21:07:54:I1:Has Battery: true
21:07:54:I1: On Battery: false
21:07:54:I1: Hostname: Thinkpad09-23
21:07:54:I1: UTC Offset: -6
21:07:54:I1: PID: 1612
21:07:54:I1: CWD: C:\Program Files\FAHClient
21:07:54:I1: Exec: C:\Program Files\FAHClient\FAHClient.exe
21:07:54:I1:*******************************************************************
21:07:54:I2:<config/>
21:07:54:I1:Opening Database
21:07:54:I1:F@H ID = USQ9VrGGLTUwPvvtJttfK9Mvm1whEdjaZeBX425qWb4
21:07:54:I3:Loading default group
21:07:54:I3:Loading default resource group
21:07:54:I1:Listening for HTTP on 127.0.0.1:7396
21:07:54:I3:WU1:Loading work unit 1 with ID rsz6ZFrHEs__2tDVlfG9AobZlTyyHu5FiUjlzGsN9QU
21:07:54:I3:Loaded 1 wus.
21:07:54:I1:Started Windows systray control
21:07:54:W :CUDA not supported: Failed to open dynamic library 'nvcuda.dll': The specified module could not be found.
21:07:54:I3:gpus = {
21:07:54:I3: "gpu:00:02:00": {
21:07:54:I3: "vendor": 32902,
21:07:54:I3: "type": "intel",
21:07:54:I3: "description": "Intel(R) Iris(R) Xe Graphics",
21:07:54:I3: "uuid": "00000000-0000-0200-0000-0004a7a18086",
21:07:54:I3: "opencl": {"platform": 0, "device": 0, "compute": "3.0", "driver": "32.0"},
21:07:54:I3: "device": 42913,
21:07:54:I3: "supported": false
21:07:54:I3: }
21:07:54:I3:}
21:07:54:I1:Loaded cores/gromacs-core-a9/windows-10-64bit/cpu-avx2_256-release/fahcore-a9-windows-10-64bit-cpu-avx2_256-release-0.0.12/FahCore_a9.exe
21:07:54:I3:WU1:Running FahCore: "C:\Program Files\FAHClient\cores/gromacs-core-a9/windows-10-64bit/cpu-avx2_256-release/fahcore-a9-windows-10-64bit-cpu-avx2_256-release-0.0.12/FahCore_a9.exe" -dir rsz6ZFrHEs__2tDVlfG9AobZlTyyHu5FiUjlzGsN9QU -suffix 01 -version 8.3.18 -lifeline 1612 -np 11
21:07:54:I3:WU1:Started FahCore on PID 14652
21:07:55:I1:WU1:*********************** Log Started 2024-11-07T21:07:54Z ***********************
21:07:55:I1:WU1:************************** Gromacs Folding@home Core ***************************
21:07:55:I1:WU1: Core: Gromacs
21:07:55:I1:WU1: Type: 0xa9
21:07:55:I1:WU1: Version: 0.0.12
21:07:55:I1:WU1: Author: Joseph Coffland <[email protected]>
21:07:55:I1:WU1: Copyright: 2022 foldingathome.org
21:07:55:I1:WU1: Homepage: https://foldingathome.org/
21:07:55:I1:WU1: Date: Nov 15 2022
21:07:55:I1:WU1: Time: 13:31:08
21:07:55:I1:WU1: Compiler: Visual C++
21:07:55:I1:WU1: Options: /TP /std:c++17 /nologo /EHa /wd4297 /wd4103 /O2 /Zc:throwingNew /MT
21:07:55:I1:WU1: Platform: win32 10
21:07:55:I1:WU1: Bits: 64
21:07:55:I1:WU1: Mode: Release
21:07:55:I1:WU1: SIMD: avx2_256
21:07:55:I1:WU1: OpenMP: ON
21:07:55:I1:WU1: CUDA: OFF
21:07:55:I1:WU1: OpenCL: OFF
21:07:55:I1:WU1: Args: -dir rsz6ZFrHEs__2tDVlfG9AobZlTyyHu5FiUjlzGsN9QU -suffix 01
21:07:55:I1:WU1: -version 8.3.18 -lifeline 1612 -np 11
21:07:55:I1:WU1:************************************ libFAH ************************************
21:07:55:I1:WU1: Date: Nov 15 2022
21:07:55:I1:WU1: Time: 13:30:33
21:07:55:I1:WU1: Compiler: Visual C++
21:07:55:I1:WU1: Options: /TP /std:c++14 /nologo /EHa /wd4297 /wd4103 /O2 /Zc:throwingNew /MT
21:07:55:I1:WU1: Platform: win32 10
21:07:55:I1:WU1: Bits: 64
21:07:55:I1:WU1: Mode: Release
21:07:55:I1:WU1:************************************ CBang *************************************
21:07:55:I1:WU1: Date: Nov 15 2022
21:07:55:I1:WU1: Time: 13:29:57
21:07:55:I1:WU1: Compiler: Visual C++
21:07:55:I1:WU1: Options: /TP /std:c++14 /nologo /EHa /wd4297 /wd4103 /O2 /Zc:throwingNew /MT
21:07:55:I1:WU1: Platform: win32 10
21:07:55:I1:WU1: Bits: 64
21:07:55:I1:WU1: Mode: Release
21:07:55:I1:WU1:************************************ System ************************************
21:07:55:I1:WU1: CPU: 13th Gen Intel(R) Core(TM) i5-1335U
21:07:55:I1:WU1: CPU ID: GenuineIntel Family 6 Model 186 Stepping 3
21:07:55:I1:WU1: CPUs: 12
21:07:55:I1:WU1: Memory: 15.68GiB
21:07:55:I1:WU1:Free Memory: 8.07GiB
21:07:55:I1:WU1: Threads: WINDOWS_THREADS
21:07:55:I1:WU1: OS Version: 6.2
21:07:55:I1:WU1:Has Battery: true
21:07:55:I1:WU1: On Battery: false
21:07:55:I1:WU1: UTC Offset: -6
21:07:55:I1:WU1: PID: 14652
21:07:55:I1:WU1: CWD: C:\Program Files\FAHClient\work
21:07:55:I1:WU1: Exec: C:\Program
21:07:55:I1:WU1: Files\FAHClient\cores\gromacs-core-a9\windows-10-64bit\cpu-avx2_256-release\fahcore-a9-windows-10-64bit-cpu-avx2_256-release-0.0.12\FahCore_a9.exe
21:07:55:I1:WU1:********************************************************************************
21:07:55:I1:WU1:Project: 18806 (Run 27, Clone 1, Gen 279)
21:07:56:I1:WU1:Digital signatures verified
21:07:56:I1:WU1:Calling: mdrun -c frame279.gro -s frame279.tpr -x frame279.xtc -cpi state.cpt -cpt 5 -nt 11 -ntmpi 1 -update cpu -nb cpu -bonded cpu -pme cpu -pmefft cpu
21:07:56:I1:WU1:Steps: first=69750000 total=70000000
21:08:01:I1:WU1:Completed 4351 out of 250000 steps (1%)
toTOW
Site Moderator
Posts: 6359
Joined: Sun Dec 02, 2007 10:38 am
Location: Bordeaux, France
Contact:

Re: v8.3.xx not starting on reboot (Win11)

Post by toTOW »

The permission issues on Windows should be fixed in the latest alpha release of the client : https://foldingathome.org/alpha/
Image

Folding@Home beta tester since 2002. Folding Forum moderator since July 2008.
houstonwb
Posts: 3
Joined: Mon Mar 16, 2020 9:21 pm

Re: v8.3.xx not starting on reboot (Win11)

Post by houstonwb »

Thanks for the response. Will wait for the final release. I don't want to reinstall a third time. I am running FaH 8.3.18.
Post Reply