Page 4 of 4

Re: RDT - Logging out of Remote Desktop blocks GPU startup

Posted: Thu Jul 23, 2020 6:16 pm
by bruce
It blocks access to new assignments for the GPU.

...Probasbly because the Windows user who owns the GPU is not logged. Windows refuses to allow the GPU to function if you're the owner of the desktop a|ADN you are logged on. The GPU simply does not function in the bsckground.

Re: RDP - Logging out of Remote Desktop blocks GPU startup

Posted: Thu Jul 23, 2020 6:26 pm
by ajm
IF you sign out, it closes everything, including here GPU-Z, HWMonitor, and of course FAH. Then if you go in local, you find the lock-screen and if you enter your pw, you find the machine just like after startup.

I understand that it may not be ideal for some use cases, but to say that RDP blocks access for the GPU is misleading, in my opinion. Because as a matter of facts, many if not most users of Windows folding rigs can use it without GPU issue whatsoever. And it's really convenient. To just advise against it wholesale is more a loss than a useful precaution.

Re: RDP - Windows 10 FAH Client Crash/Freeze/Stops Running

Posted: Thu Jul 23, 2020 8:33 pm
by bruce
If you're operating within your LAN, VNC (TightVNC) is great but since it's not secure over the Internet, TeamViewer is better for this case. On Linux, SSH is good.
None of them cause FAHClient to hang.

Re: RDP - Windows 10 FAH Client Crash/Freeze/Stops Running

Posted: Fri Jul 24, 2020 12:31 am
by gunnarre
Yes, I'll probably use VNC over an SSH tunnel.

I think some who think Remote Desktop work fine have misunderstood what's happening here. If I disconnect the RDP connection then all applications including web browser, office, and FAHClient will keep running, and CPU folding continues, but when the GPU slot finishes with the current Work Unit, it will download but not start on the next one.

I'm using Microsoft's MacOS Remote Desktop client to connect to a Windows 10 Enterprise (Pro) machine.

Logs, with CPU slot omitted:

Code: Select all

*********************** Log Started 2020-07-20T21:00:51Z ***********************
21:00:51:Trying to access database...
21:00:51:Successfully acquired database lock
21:00:51:Read GPUs.txt
21:00:51:Enabled folding slot 00: PAUSED cpu:3 (by user)
21:00:51:Enabled folding slot 01: PAUSED gpu:0:Ellesmere XT [Radeon RX 470/480/570/580/590] (by user)
21:00:51:****************************** FAHClient ******************************
21:00:51:        Version: 7.6.13
21:00:51:         Author: Joseph Coffland <[email protected]>
21:00:51:      Copyright: 2020 foldingathome.org
21:00:51:       Homepage: https://foldingathome.org/
21:00:51:           Date: Apr 27 2020
21:00:51:           Time: 21:21:01
21:00:51:       Revision: 5a652817f46116b6e135503af97f18e094414e3b
21:00:51:         Branch: master
21:00:51:       Compiler: Visual C++ 2008
21:00:51:        Options: /TP /nologo /EHa /wd4297 /wd4103 /Ox /MT
21:00:51:       Platform: win32 10
21:00:51:           Bits: 32
21:00:51:           Mode: Release
21:00:51:         Config: C:\Users\gunnarre\AppData\Roaming\FAHClient\config.xml
21:00:51:******************************** CBang ********************************
21:00:51:           Date: Apr 24 2020
21:00:51:           Time: 17:07:55
21:00:51:       Revision: ea081a3b3b0f4a37c4d0440b4f1bc184197c7797
21:00:51:         Branch: master
21:00:51:       Compiler: Visual C++ 2008
21:00:51:        Options: /TP /nologo /EHa /wd4297 /wd4103 /Ox /MT
21:00:51:       Platform: win32 10
21:00:51:           Bits: 32
21:00:51:           Mode: Release
21:00:51:******************************* System ********************************
21:00:51:            CPU: AMD FX(tm)-8320 Eight-Core Processor
21:00:51:         CPU ID: AuthenticAMD Family 21 Model 2 Stepping 0
21:00:51:           CPUs: 8
21:00:51:         Memory: 15.90GiB
21:00:51:    Free Memory: 12.70GiB
21:00:51:        Threads: WINDOWS_THREADS
21:00:51:     OS Version: 6.2
21:00:51:    Has Battery: false
21:00:51:     On Battery: false
21:00:51:     UTC Offset: 2
21:00:51:            PID: 12600
21:00:51:            CWD: C:\Users\gunnarre\AppData\Roaming\FAHClient
21:00:51:  Win32 Service: false
21:00:51:             OS: Windows 10 Enterprise
21:00:51:        OS Arch: AMD64
21:00:51:           GPUs: 1
21:00:51:          GPU 0: Bus:1 Slot:0 Func:0 AMD:5 Ellesmere XT [Radeon RX
21:00:51:                 470/480/570/580/590]
21:00:51:           CUDA: Not detected: Failed to open dynamic library 'nvcuda.dll': Den
21:00:51:                 angitte modulen ble ikke funnet.
21:00:51:
21:00:51:OpenCL Device 0: Platform:0 Device:0 Bus:1 Slot:0 Compute:1.2 Driver:3004.8
21:00:51:******************************* libFAH ********************************
21:00:51:           Date: Apr 15 2020
21:00:51:           Time: 14:53:14
21:00:51:       Revision: 216968bc7025029c841ed6e36e81a03a316890d3
21:00:51:         Branch: master
21:00:51:       Compiler: Visual C++ 2008
21:00:51:        Options: /TP /nologo /EHa /wd4297 /wd4103 /Ox /MT
21:00:51:       Platform: win32 10
21:00:51:           Bits: 32
21:00:51:           Mode: Release
21:00:51:***********************************************************************
21:00:52:<config>
21:00:52:  <!-- Folding Core -->
21:00:52:  <checkpoint v='30'/>
21:00:52:
21:00:52:  <!-- HTTP Server -->
21:00:52:  <allow v='************'/>
21:00:52:
21:00:52:  <!-- Network -->
21:00:52:  <proxy v=':8080'/>
21:00:52:
21:00:52:  <!-- Remote Command Server -->
21:00:52:  <password v='*****'/>
21:00:52:
21:00:52:  <!-- Slot Control -->
21:00:52:  <pause-on-start v='true'/>
21:00:52:  <power v='full'/>
21:00:52:
21:00:52:  <!-- User Information -->
21:00:52:  <passkey v='*****'/>
21:00:52:  <team v='238918'/>
21:00:52:  <user v='gr89n'/>
21:00:52:
21:00:52:  <!-- Folding Slots -->
21:00:52:  <slot id='0' type='CPU'>
21:00:52:    <cpus v='3'/>
21:00:52:    <paused v='true'/>
21:00:52:  </slot>
21:00:52:  <slot id='1' type='GPU'>
21:00:52:    <paused v='true'/>
21:00:52:  </slot>
21:00:52:</config>
Getting the work unit and uploading previous GPU work unit:

Code: Select all

00:44:44:WU03:FS01:Connecting to assign1.foldingathome.org:80
00:44:44:WU03:FS01:Assigned to work server 18.188.125.154
00:44:44:WU03:FS01:Requesting new work unit for slot 01: RUNNING gpu:0:Ellesmere XT [Radeon RX 470/480/570/580/590] from 18.188.125.154
00:44:44:WU03:FS01:Connecting to 18.188.125.154:8080
00:44:45:WU03:FS01:Downloading 7.07MiB
00:44:48:WU03:FS01:Download complete
00:44:48:WU03:FS01:Received Unit: id:03 state:DOWNLOAD error:NO_ERROR project:13418 run:8 clone:63 gen:3 core:0x22 unit:0x0000000512bc7d9a5f1282a6e4a4c74a
00:51:05:WU00:FS01:0x21:Completed 25000000 out of 25000000 steps (100%)
00:51:06:WU00:FS01:0x21:Saving result file logfile_01.txt
00:51:06:WU00:FS01:0x21:Saving result file checkpointState.xml
00:51:07:WU00:FS01:0x21:Saving result file checkpt.crc
00:51:07:WU00:FS01:0x21:Saving result file log.txt
00:51:07:WU00:FS01:0x21:Saving result file positions.xtc
00:51:07:WU00:FS01:0x21:Folding@home Core Shutdown: FINISHED_UNIT
00:51:07:WU00:FS01:FahCore returned: FINISHED_UNIT (100 = 0x64)
00:51:07:WU00:FS01:Sending unit results: id:00 state:SEND error:NO_ERROR project:16900 run:2 clone:46 gen:32 core:0x21 unit:0x000000380002894c5ecb32b623f4050c
00:51:07:WU00:FS01:Uploading 9.11MiB to 155.247.166.220
00:51:07:WU03:FS01:Starting
00:51:07:WU00:FS01:Connecting to 155.247.166.220:8080
00:51:07:WU03:FS01:Running FahCore: "C:\Program Files (x86)\FAHClient/FAHCoreWrapper.exe" C:\Users\gunnarre\AppData\Roaming\FAHClient\cores/cores.foldingathome.org/win/64bit/22-0.0.11/Core_22.fah/FahCore_22.exe -dir 03 -suffix 01 -version 706 -lifeline 12600 -checkpoint 30 -gpu-vendor amd -opencl-platform 0 -opencl-device 0 -gpu 0
00:51:07:WU03:FS01:Started FahCore on PID 14000
00:51:07:WU03:FS01:Core PID:9804
00:51:07:WU03:FS01:FahCore 0x22 started
00:51:08:WU03:FS01:0x22:*********************** Log Started 2020-07-21T00:51:07Z ***********************
00:51:08:WU03:FS01:0x22:*************************** Core22 Folding@home Core ***************************
00:51:08:WU03:FS01:0x22:       Core: Core22
00:51:08:WU03:FS01:0x22:       Type: 0x22
00:51:08:WU03:FS01:0x22:    Version: 0.0.11
00:51:08:WU03:FS01:0x22:     Author: Joseph Coffland <[email protected]>
00:51:08:WU03:FS01:0x22:  Copyright: 2020 foldingathome.org
00:51:08:WU03:FS01:0x22:   Homepage: https://foldingathome.org/
00:51:08:WU03:FS01:0x22:       Date: Jun 26 2020
00:51:08:WU03:FS01:0x22:       Time: 19:49:16
00:51:08:WU03:FS01:0x22:   Revision: 22010df8a4db48db1b35d33e666b64d8ce48689d
00:51:08:WU03:FS01:0x22:     Branch: core22-0.0.11
00:51:08:WU03:FS01:0x22:   Compiler: Visual C++ 2015
00:51:08:WU03:FS01:0x22:    Options: /TP /nologo /EHa /wd4297 /wd4103 /O2 /Ob3 /Zc:throwingNew /MT
00:51:08:WU03:FS01:0x22:   Platform: win32 10
00:51:08:WU03:FS01:0x22:       Bits: 64
00:51:08:WU03:FS01:0x22:       Mode: Release
00:51:08:WU03:FS01:0x22:Maintainers: John Chodera <[email protected]> and Peter Eastman
00:51:08:WU03:FS01:0x22:             <[email protected]>
00:51:08:WU03:FS01:0x22:       Args: -dir 03 -suffix 01 -version 706 -lifeline 14000 -checkpoint 30
00:51:08:WU03:FS01:0x22:             -gpu-vendor amd -opencl-platform 0 -opencl-device 0 -gpu 0
00:51:08:WU03:FS01:0x22:************************************ libFAH ************************************
00:51:08:WU03:FS01:0x22:       Date: Jun 26 2020
00:51:08:WU03:FS01:0x22:       Time: 19:47:12
00:51:08:WU03:FS01:0x22:   Revision: 2b383f4f04f38511dff592885d7c0400e72bdf43
00:51:08:WU03:FS01:0x22:     Branch: HEAD
00:51:08:WU03:FS01:0x22:   Compiler: Visual C++ 2015
00:51:08:WU03:FS01:0x22:    Options: /TP /nologo /EHa /wd4297 /wd4103 /O2 /Ob3 /Zc:throwingNew /MT
00:51:08:WU03:FS01:0x22:   Platform: win32 10
00:51:08:WU03:FS01:0x22:       Bits: 64
00:51:08:WU03:FS01:0x22:       Mode: Release
00:51:08:WU03:FS01:0x22:************************************ CBang *************************************
00:51:08:WU03:FS01:0x22:       Date: Jun 26 2020
00:51:08:WU03:FS01:0x22:       Time: 19:46:11
00:51:08:WU03:FS01:0x22:   Revision: f8529962055b0e7bde23e429f5072ff758089dee
00:51:08:WU03:FS01:0x22:     Branch: master
00:51:08:WU03:FS01:0x22:   Compiler: Visual C++ 2015
00:51:08:WU03:FS01:0x22:    Options: /TP /nologo /EHa /wd4297 /wd4103 /O2 /Ob3 /Zc:throwingNew /MT
00:51:08:WU03:FS01:0x22:   Platform: win32 10
00:51:08:WU03:FS01:0x22:       Bits: 64
00:51:08:WU03:FS01:0x22:       Mode: Release
00:51:08:WU03:FS01:0x22:************************************ System ************************************
00:51:08:WU03:FS01:0x22:        CPU: AMD FX(tm)-8320 Eight-Core Processor
00:51:08:WU03:FS01:0x22:     CPU ID: AuthenticAMD Family 21 Model 2 Stepping 0
00:51:08:WU03:FS01:0x22:       CPUs: 8
00:51:08:WU03:FS01:0x22:     Memory: 15.90GiB
00:51:08:WU03:FS01:0x22:Free Memory: 12.72GiB
00:51:08:WU03:FS01:0x22:    Threads: WINDOWS_THREADS
00:51:08:WU03:FS01:0x22: OS Version: 6.2
00:51:08:WU03:FS01:0x22:Has Battery: false
00:51:08:WU03:FS01:0x22: On Battery: false
00:51:08:WU03:FS01:0x22: UTC Offset: 2
00:51:08:WU03:FS01:0x22:        PID: 9804
00:51:08:WU03:FS01:0x22:        CWD: C:\Users\gunnarre\AppData\Roaming\FAHClient\work
00:51:08:WU03:FS01:0x22:********************************************************************************
00:51:08:WU03:FS01:0x22:Project: 13418 (Run 8, Clone 63, Gen 3)
00:51:08:WU03:FS01:0x22:Unit: 0x0000000512bc7d9a5f1282a6e4a4c74a
00:51:08:WU03:FS01:0x22:Reading tar file core.xml
00:51:08:WU03:FS01:0x22:Reading tar file integrator.xml
00:51:08:WU03:FS01:0x22:Reading tar file state.xml.bz2
00:51:08:WU03:FS01:0x22:Reading tar file system.xml.bz2
00:51:08:WU03:FS01:0x22:Digital signatures verified
00:51:08:WU03:FS01:0x22:Folding@home GPU Core22 Folding@home Core
00:51:08:WU03:FS01:0x22:Version 0.0.11
00:51:08:WU03:FS01:0x22:  Checkpoint write interval: 50000 steps (5%) [20 total]
00:51:08:WU03:FS01:0x22:  JSON viewer frame write interval: 10000 steps (1%) [100 total]
00:51:08:WU03:FS01:0x22:  XTC frame write interval: 250000 steps (25%) [4 total]
00:51:08:WU03:FS01:0x22:  Global context and integrator variables write interval: 25000 steps (2.5%) [40 total]
00:51:13:WU00:FS01:Upload 32.23%
00:51:19:WU00:FS01:Upload 69.95%
00:51:24:WU00:FS01:Upload complete
00:51:24:WU00:FS01:Server responded WORK_ACK (400)
00:51:24:WU00:FS01:Final credit estimate, 117858.00 points
00:51:24:WU00:FS01:Cleaning up
Removed lines of the CPU slot folding away happily while I was sleeping, but the GPU slot being stuck before 0%. Then in the morning when I logged in to the machine via RDP:

Code: Select all

06:53:30:WU03:FS01:0x22:Completed 0 out of 1000000 steps (0%)
06:57:21:WU03:FS01:0x22:Completed 10000 out of 1000000 steps (1%)
07:01:10:WU03:FS01:0x22:Completed 20000 out of 1000000 steps (2%)
07:04:59:WU03:FS01:0x22:Completed 30000 out of 1000000 steps (3%)
When I got back to the machine I logged in to a local session, and have stayed off Remote Desktop on this machine - the GPU is folding normally since.