Odd GPU behavior - terminal window + FAHClient

Moderators: Site Moderators, FAHC Science Team

SJC_Steve
Posts: 42
Joined: Wed Feb 03, 2021 7:26 pm

Re: Odd GPU behavior - terminal window + FAHClient

Post by SJC_Steve »

bruce wrote: :?: :?:
-----------------------------------------------------------------------
Maybe it's just that FAH rewrites config and discards redundant statements. The default value for 'gpu' is 'true' so changing it to 'true' is logically the same as removing the 'false' modification from the default.
* I Purged the FAHClient and reloaded V7.6.21, filled out the User Name, etc. and then opened FAHControl. It shows only folding on cpu with Configure - Expert showing gpu = false.
* I also looked in config.xml and it shows gpu = false as well.
* Rebooting does not change these values and the machine will not fold on the GPU even though the OpenCL dev files and NVIDIA driver are present.

Are you certain that the gpu default = true? If so, how did the gpu=false occur in start-up process? It would seem that the default is set to false or the Client rewrites gpu=false during start-up. Either way, no gpu folding on my Linux machine.

If I change the value of gpu=true in FAHControl, Save and Reboot the Client simply removes the gpu attribute in Control and config.xml, it will not allow me to change it to true. But at this point it will start folding on the gpu with no gpu attribute.

So at this point, my Guide will include removing the gpu attribute in Control. I'd like to delete this step but at this point I'm at a loss as how to get the Client to come up without intervention for gpu folding on the current LTS version of Ubuntu.

I've included the logs from the start-up immediately following install of the Client.

Any thoughts?
Thanks, Steve

Code: Select all

*********************** Log Started 2021-02-13T20:20:12Z ***********************
20:20:12:******************************* libFAH ********************************
20:20:12:           Date: Oct 20 2020
20:20:12:           Time: 20:36:39
20:20:12:       Revision: 5ca109d295a6245e2a2f590b3d0085ad5e567aeb
20:20:12:         Branch: master
20:20:12:       Compiler: GNU 8.3.0
20:20:12:        Options: -faligned-new -std=c++11 -fsigned-char -ffunction-sections
20:20:12:                 -fdata-sections -O3 -funroll-loops -fno-pie
20:20:12:       Platform: linux2 5.8.0-1-amd64
20:20:12:           Bits: 64
20:20:12:           Mode: Release
20:20:12:****************************** FAHClient ******************************
20:20:12:        Version: 7.6.21
20:20:12:         Author: Joseph Coffland <joseph@cauldrondevelopment.com>
20:20:12:      Copyright: 2020 foldingathome.org
20:20:12:       Homepage: https://foldingathome.org/
20:20:12:           Date: Oct 20 2020
20:20:12:           Time: 20:39:00
20:20:12:       Revision: 6efbf0e138e22d3963e6a291f78dcb9c6422a278
20:20:12:         Branch: master
20:20:12:       Compiler: GNU 8.3.0
20:20:12:        Options: -faligned-new -std=c++11 -fsigned-char -ffunction-sections
20:20:12:                 -fdata-sections -O3 -funroll-loops -fno-pie
20:20:12:       Platform: linux2 5.8.0-1-amd64
20:20:12:           Bits: 64
20:20:12:           Mode: Release
20:20:12:           Args: --child /etc/fahclient/config.xml --run-as fahclient
20:20:12:                 --pid-file=/var/run/fahclient.pid --daemon
20:20:12:         Config: /etc/fahclient/config.xml
20:20:12:******************************** CBang ********************************
20:20:12:           Date: Oct 20 2020
20:20:12:           Time: 18:37:59
20:20:12:       Revision: 7e4ce85225d7eaeb775e87c31740181ca603de60
20:20:12:         Branch: master
20:20:12:       Compiler: GNU 8.3.0
20:20:12:        Options: -faligned-new -std=c++11 -fsigned-char -ffunction-sections
20:20:12:                 -fdata-sections -O3 -funroll-loops -fno-pie -fPIC
20:20:12:       Platform: linux2 5.8.0-1-amd64
20:20:12:           Bits: 64
20:20:12:           Mode: Release
20:20:12:******************************* System ********************************
20:20:12:            CPU: AMD Ryzen 7 3700X 8-Core Processor
20:20:12:         CPU ID: AuthenticAMD Family 23 Model 113 Stepping 0
20:20:12:           CPUs: 8
20:20:12:         Memory: 15.61GiB
20:20:12:    Free Memory: 13.58GiB
20:20:12:        Threads: POSIX_THREADS
20:20:12:     OS Version: 5.8
20:20:12:    Has Battery: false
20:20:12:     On Battery: false
20:20:12:     UTC Offset: -7
20:20:12:            PID: 2081
20:20:12:            CWD: /var/lib/fahclient
20:20:12:             OS: Linux 5.8.0-43-generic x86_64
20:20:12:        OS Arch: AMD64
20:20:12:           GPUs: 1
20:20:12:          GPU 0: Bus:8 Slot:0 Func:0 NVIDIA:7 GP106 [GeForce GTX 1060 3GB] 3935
20:20:12:  CUDA Device 0: Platform:0 Device:0 Bus:8 Slot:0 Compute:6.1 Driver:11.2
20:20:12:OpenCL Device 0: Platform:0 Device:0 Bus:8 Slot:0 Compute:1.2 Driver:460.32
20:20:12:***********************************************************************
20:20:12:<config>
20:20:12:  <!-- Client Control -->
20:20:12:  <fold-anon v='true'/>
20:20:12:
20:20:12:  <!-- Folding Slot Configuration -->
20:20:12:  <gpu v='false'/>
20:20:12:
20:20:12:  <!-- Slot Control -->
20:20:12:  <power v='full'/>
20:20:12:
20:20:12:  <!-- User Information -->
20:20:12:  <user v='SJC_Steve'/>
20:20:12:
20:20:12:  <!-- Folding Slots -->
20:20:12:</config>
Mod Edit: Added Code Tags - PantherX
bruce
Posts: 20824
Joined: Thu Nov 29, 2007 10:13 pm
Location: So. Cal.

Re: Odd GPU behavior - terminal window + FAHClient

Post by bruce »

Note that the following is in your personal config

Code: Select all

20:20:12: <!-- Folding Slot Configuration -->
20:20:12: <gpu v='false'/>
This overrides the default and changes it from true to false.

Having this statement there will prevent the cliet's default behavior of reconfiguring your GPUs. Removing that option will allow the default value of true reconfigure your GPUs when FAHClient restarts.
gunnarre
Posts: 559
Joined: Sun May 24, 2020 7:23 pm
Location: Norway

Re: Odd GPU behavior - terminal window + FAHClient

Post by gunnarre »

You could try taking a backup copy of config.xml, removing the "<gpu v='false'/>" line from config.xml and re-starting with e.g.

Code: Select all

sudo systemctl restart FAHClient.service
There is a risk to breaking the config.xml file, but as long as you have a backup copy of it, it shouldn't be that bad to edit it by hand. Usually you never have to do this.

PS: Remember to register a passkey, and you'll get bonus points for returning work units before timeout: https://apps.foldingathome.org/getpasskey
Image
Online: GTX 1660 Super + occasional CPU folding in the cold.
Offline: Radeon HD 7770, GTX 1050 Ti 4G OC, RX580
SJC_Steve
Posts: 42
Joined: Wed Feb 03, 2021 7:26 pm

Re: Odd GPU behavior - terminal window + FAHClient

Post by SJC_Steve »

bruce wrote:Note that the following is in your personal config

Code: Select all

20:20:12: <!-- Folding Slot Configuration -->
20:20:12: <gpu v='false'/>
This overrides the default and changes it from true to false.

Having this statement there will prevent the cliet's default behavior of reconfiguring your GPUs. Removing that option will allow the default value of true reconfigure your GPUs when FAHClient restarts.
What do you mean by "my personal config"? At this point in the logs, I've done nothing but Purge the Client and reload it so it's a new start-up of the Client with no intervention by me. The new Client put the value of gpu=false in the config.xml file, not me.

That's why I've been asking whether you're certain that the Client default is gpu=true? Why did the Client put that value there when both the Nvidia drivers and OpenCL dev files were present and ready to go?

Thanks,
Steve
SJC_Steve
Posts: 42
Joined: Wed Feb 03, 2021 7:26 pm

Re: Odd GPU behavior - terminal window + FAHClient

Post by SJC_Steve »

gunnarre wrote:You could try taking a backup copy of config.xml, removing the "<gpu v='false'/>" line from config.xml and re-starting with e.g.

Code: Select all

sudo systemctl restart FAHClient.service
There is a risk to breaking the config.xml file, but as long as you have a backup copy of it, it shouldn't be that bad to edit it by hand. Usually you never have to do this.

PS: Remember to register a passkey, and you'll get bonus points for returning work units before timeout: https://apps.foldingathome.org/getpasskey
Good suggestions, thank you. But why do I have to go through this step at all? Why is gpu=false in the config.xml file to begin with? With a supported GPU, Nvidia files loaded and OpenCL files loaded and waiting, the Client starts-up with gpu=false?

I've done the reload of the PC several times and it very consistent, gpu=false always comes up and must be manually removed. Donors shouldn't need to do this step at all if we can figure out why it's happening.

bruce says that the default is gpu=true, so why in mine false? The start-up logs don't show me anything just that the config.xml file shows gpu=false, maybe they say something to you that can help eliminate this step altogether.

Thanks,
Steve
SJC_Steve
Posts: 42
Joined: Wed Feb 03, 2021 7:26 pm

Re: Odd GPU behavior - terminal window + FAHClient

Post by SJC_Steve »

In the log above, there's this entry; 20:20:12: CWD: /var/lib/fahclient

When I looked in this directory, I found another directory named 'configs'

In the 'configs' directory are several .xml documents, so I opened the first one as follows;

/var/lib/fahclient/configs$ nano config-20210213-202113.xml

This is the text within the .xml;

<config>
<!--
This is a sample XML configuration file for the Folding@home
console client. This configuration file format is explained
in detail in the Client User's Guide.

Copy this file to 'config.xml' and edit.

To set your user name, team and passkey just edit the text
in quotes below.
-->

<!-- User Information -->
<user value="SJC_Steve"/> <!-- Enter your user name here -->
<team value="0"/> <!-- Your team number -->
<passkey value=""/> <!-- 32 hexadecimal characters if provided -->

<power value="full"/>
<gpu value="false"/> <!-- If true, attempt to autoconfigure GPUs -->
<fold-anon value="true"/>

As you can see, the notorious <gpu value="false"/> attribute is in this file which I have to assume is what was written to the working config.xml file upon start up of the Client. If the default value for gpu is true, how did mine come to be false?

Thanks, Steve
Joe_H
Site Admin
Posts: 7936
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: Odd GPU behavior - terminal window + FAHClient

Post by Joe_H »

I don't have access to the code for the installer or FAHClient to verify all of this, but my understanding is the installer checks at initial installation time for an usable GPU, and sets the value to false if it does not find one. "Usable" in this case includes being whitelisted in GPUs.txt, driver and proper OpenCL implementation detected, and possibly some additional criteria. If set by the installer, this value is not reset by the automatic GPU detection code run by the client when it starts up.

So just fixing any issues with OpenCL or the driver is not be sufficient to change the value, it has to be done manually instead of by using a restart. I do know that the last time I checked the template config.xml file on my systems, it did not include the "gpu = false" entry.

There is one type of install that will always get the gpu=false setting. The option on Windows to do a Service install precludes the ability to use a GPU for folding. That comes from Windows security requiring the display belong to a logged in user, running as a service FAHClient does not count as being logged in.
Image

iMac 2.8 i7 12 GB smp8, Mac Pro 2.8 quad 12 GB smp6
MacBook Pro 2.9 i7 8 GB smp3
SJC_Steve
Posts: 42
Joined: Wed Feb 03, 2021 7:26 pm

Re: Odd GPU behavior - terminal window + FAHClient

Post by SJC_Steve »

gunnarre wrote:You could try taking a backup copy of config.xml, removing the "<gpu v='false'/>" line from config.xml and re-starting with e.g.

Code: Select all

sudo systemctl restart FAHClient.service
There is a risk to breaking the config.xml file, but as long as you have a backup copy of it, it shouldn't be that bad to edit it by hand. Usually you never have to do this.

PS: Remember to register a passkey, and you'll get bonus points for returning work units before timeout: https://apps.foldingathome.org/getpasskey
I editted the value of gpu from false to true and also added this line under the CPU slot;
<slot id='1' type='GPU'/>

I ran the restart FAHClient command as you suggested but there was no change to GPU Folding, (not Folding) even though the config.xml said that gpu=true.

I had to reboot the PC for the Client to accept the new gpu value. After reboot, Folding started on the GPU.

However, the Client had deleted the gpu = true line in the config.xml file that I had manually added, it was gone.

So I'm still left with the dilemma of why I'm having to edit the config.xml file or change gpu parameters in FAHControl. I can get it to work, that's not an issue anymore but for the Guide I'm working on for newcomers to Folding, I'd like to eliminate that step but so far it requires manual intervention to get GPU Folding to work on my Linux machine.

Thanks,
Steve
Joe_H
Site Admin
Posts: 7936
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: Odd GPU behavior - terminal window + FAHClient

Post by Joe_H »

One note, if you want to see all options, only the ones not set to their default values get saved to the config.xml file, you can do that. Set the logging verbosity to 5 instead of its default value of 3, the next restart of FAHClient will echo all settings to the log file. It is strongly recommended that the verbosity level be returned to the default (3) afterwards, the full dump of option values just gets in the way of troubleshooting.
Image

iMac 2.8 i7 12 GB smp8, Mac Pro 2.8 quad 12 GB smp6
MacBook Pro 2.9 i7 8 GB smp3
SJC_Steve
Posts: 42
Joined: Wed Feb 03, 2021 7:26 pm

Re: Odd GPU behavior - terminal window + FAHClient

Post by SJC_Steve »

Joe_H wrote:One note, if you want to see all options, only the ones not set to their default values get saved to the config.xml file, you can do that. Set the logging verbosity to 5 instead of its default value of 3, the next restart of FAHClient will echo all settings to the log file. It is strongly recommended that the verbosity level be returned to the default afterwards, the full dump of option values just gets in the way of troubleshooting.
What is the command to change the verbosity level, I looked in FAHControl but didn't see anything related to verbose level.

Thanks,
Steve
Joe_H
Site Admin
Posts: 7936
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: Odd GPU behavior - terminal window + FAHClient

Post by Joe_H »

The place to do it was removed from the current FAHControl. You can add the Extra client option 'verbosity' and set the value to 5.
Image

iMac 2.8 i7 12 GB smp8, Mac Pro 2.8 quad 12 GB smp6
MacBook Pro 2.9 i7 8 GB smp3
SJC_Steve
Posts: 42
Joined: Wed Feb 03, 2021 7:26 pm

Re: Odd GPU behavior - terminal window + FAHClient

Post by SJC_Steve »

Joe_H wrote:The place to do it was removed from the current FAHControl. You can add the Extra client option 'verbosity' and set the value to 5.
I added the option and as you said, came up with a much longer log. Here it is, what does it mean?

Code: Select all

*********************** Log Started 2021-02-15T00:31:26Z ***********************
00:31:26:******************************* libFAH ********************************
00:31:26:           Date: Oct 20 2020
00:31:26:           Time: 20:36:39
00:31:26:       Revision: 5ca109d295a6245e2a2f590b3d0085ad5e567aeb
00:31:26:         Branch: master
00:31:26:       Compiler: GNU 8.3.0
00:31:26:        Options: -faligned-new -std=c++11 -fsigned-char -ffunction-sections
00:31:26:                 -fdata-sections -O3 -funroll-loops -fno-pie
00:31:26:       Platform: linux2 5.8.0-1-amd64
00:31:26:           Bits: 64
00:31:26:           Mode: Release
00:31:26:****************************** FAHClient ******************************
00:31:26:        Version: 7.6.21
00:31:26:         Author: Joseph Coffland <joseph@cauldrondevelopment.com>
00:31:26:      Copyright: 2020 foldingathome.org
00:31:26:       Homepage: https://foldingathome.org/
00:31:26:           Date: Oct 20 2020
00:31:26:           Time: 20:39:00
00:31:26:Started thread 1 on PID 1510
00:31:26:       Revision: 6efbf0e138e22d3963e6a291f78dcb9c6422a278
00:31:26:         Branch: master
00:31:26:       Compiler: GNU 8.3.0
00:31:26:        Options: -faligned-new -std=c++11 -fsigned-char -ffunction-sections
00:31:26:                 -fdata-sections -O3 -funroll-loops -fno-pie
00:31:26:       Platform: linux2 5.8.0-1-amd64
00:31:26:           Bits: 64
00:31:26:           Mode: Release
00:31:26:           Args: --child /etc/fahclient/config.xml --run-as fahclient
00:31:26:                 --pid-file=/var/run/fahclient.pid --daemon
00:31:26:         Config: /etc/fahclient/config.xml
00:31:26:******************************** CBang ********************************
00:31:26:           Date: Oct 20 2020
00:31:26:           Time: 18:37:59
00:31:26:       Revision: 7e4ce85225d7eaeb775e87c31740181ca603de60
00:31:26:         Branch: master
00:31:26:       Compiler: GNU 8.3.0
00:31:26:        Options: -faligned-new -std=c++11 -fsigned-char -ffunction-sections
00:31:26:                 -fdata-sections -O3 -funroll-loops -fno-pie -fPIC
00:31:26:       Platform: linux2 5.8.0-1-amd64
00:31:26:           Bits: 64
00:31:26:           Mode: Release
00:31:26:******************************* System ********************************
00:31:26:            CPU: AMD Ryzen 7 3700X 8-Core Processor
00:31:26:         CPU ID: AuthenticAMD Family 23 Model 113 Stepping 0
00:31:26:           CPUs: 8
00:31:26:         Memory: 15.61GiB
00:31:26:    Free Memory: 13.94GiB
00:31:26:        Threads: POSIX_THREADS
00:31:26:     OS Version: 5.8
00:31:26:    Has Battery: false
00:31:26:     On Battery: false
00:31:26:     UTC Offset: -7
00:31:26:            PID: 1510
00:31:26:            CWD: /var/lib/fahclient
00:31:26:             OS: Linux 5.8.0-43-generic x86_64
00:31:26:        OS Arch: AMD64
00:31:26:           GPUs: 1
00:31:26:          GPU 0: Bus:8 Slot:0 Func:0 NVIDIA:7 GP106 [GeForce GTX 1060 3GB] 3935
00:31:26:  CUDA Device 0: Platform:0 Device:0 Bus:8 Slot:0 Compute:6.1 Driver:11.2
00:31:26:OpenCL Device 0: Platform:0 Device:0 Bus:8 Slot:0 Compute:1.2 Driver:460.32
00:31:26:***********************************************************************
00:31:26:<config>
00:31:26:  <!-- Client Control -->
00:31:26:  <client-threads v='6'/>
00:31:26:  <cycle-rate v='4'/>
00:31:26:  <cycles v='-1'/>
00:31:26:  <disable-sleep-when-active v='true'/>
00:31:26:  <exit-when-done v='false'/>
00:31:26:  <fold-anon v='true'/>
00:31:26:  <idle-seconds v='300'/>
00:31:26:  <open-web-control v='false'/>
00:31:26:  <update-gpus-txt v='true'/>
00:31:26:
00:31:26:  <!-- Configuration -->
00:31:26:  <config-rotate v='true'/>
00:31:26:  <config-rotate-dir v='configs'/>
00:31:26:  <config-rotate-max v='16'/>
00:31:26:
00:31:26:  <!-- Debugging -->
00:31:26:  <assignment-servers>
00:31:26:    assign1.foldingathome.org assign2.foldingathome.org assign3.foldingathome.org assign4.foldingathome.org 
00:31:26:  </assignment-servers>
00:31:26:  <auth-as v='true'/>
00:31:26:  <capture-directory v='capture'/>
00:31:26:  <capture-on-error v='false'/>
00:31:26:  <capture-packets v='false'/>
00:31:26:  <capture-requests v='false'/>
00:31:26:  <capture-responses v='false'/>
00:31:26:  <capture-sockets v='false'/>
00:31:26:  <debug-sockets v='false'/>
00:31:26:  <exception-locations v='true'/>
00:31:26:  <stack-traces v='false'/>
00:31:26:
00:31:26:  <!-- Error Handling -->
00:31:26:  <max-slot-errors v='10'/>
00:31:26:  <max-unit-errors v='5'/>
00:31:26:
00:31:26:  <!-- Folding Core -->
00:31:26:  <checkpoint v='15'/>
00:31:26:  <core-priority v='idle'/>
00:31:26:  <cpu-usage v='100'/>
00:31:26:  <gpu-usage v='100'/>
00:31:26:  <no-assembly v='false'/>
00:31:26:
00:31:26:  <!-- Folding Slot Configuration -->
00:31:26:  <cause v='ANY'/>
00:31:26:  <client-subtype v='LINUX'/>
00:31:26:  <client-type v='normal'/>
00:31:26:  <cpu-species v='X86_AMD'/>
00:31:26:  <cpu-type v='AMD64'/>
00:31:26:  <cpus v='-1'/>
00:31:26:  <disable-viz v='false'/>
00:31:26:  <gpu v='false'/>
00:31:26:  <gpu-beta v='false'/>
00:31:26:  <max-packet-size v='normal'/>
00:31:26:  <os-species v='UNKNOWN'/>
00:31:26:  <os-type v='LINUX'/>
00:31:26:  <project-key v='0'/>
00:31:26:  <smp v='true'/>
00:31:26:
00:31:26:  <!-- GUI -->
00:31:26:  <gui-enabled v='true'/>
00:31:26:
00:31:26:  <!-- HTTP Server -->
00:31:26:  <allow v='127.0.0.1'/>
00:31:26:  <connection-timeout v='60'/>
00:31:26:  <deny v='0/0'/>
00:31:26:  <http-addresses v='0:7396'/>
00:31:26:  <https-addresses v=''/>
00:31:26:  <max-connect-time v='900'/>
00:31:26:  <max-connections v='800'/>
00:31:26:  <max-request-length v='52428800'/>
00:31:26:  <min-connect-time v='300'/>
00:31:26:
00:31:26:  <!-- Logging -->
00:31:26:  <log v='log.txt'/>
00:31:26:  <log-color v='true'/>
00:31:26:  <log-crlf v='false'/>
00:31:26:  <log-date v='false'/>
00:31:26:  <log-date-periodically v='21600'/>
00:31:26:  <log-domain v='false'/>
00:31:26:  <log-header v='true'/>
00:31:26:  <log-level v='true'/>
00:31:26:  <log-no-info-header v='true'/>
00:31:26:  <log-redirect v='false'/>
00:31:26:  <log-rotate v='true'/>
00:31:26:  <log-rotate-dir v='logs'/>
00:31:26:  <log-rotate-max v='16'/>
00:31:26:  <log-short-level v='false'/>
00:31:26:  <log-simple-domains v='true'/>
00:31:26:  <log-thread-id v='false'/>
00:31:26:  <log-thread-prefix v='true'/>
00:31:26:  <log-time v='true'/>
00:31:26:  <log-to-screen v='true'/>
00:31:26:  <log-truncate v='false'/>
00:31:26:  <verbosity v='5'/>
00:31:26:
00:31:26:  <!-- Network -->
00:31:26:  <proxy v=':8080'/>
00:31:26:  <proxy-enable v='false'/>
00:31:26:  <proxy-pass v='*****'/>
00:31:26:  <proxy-user v=''/>
00:31:26:
00:31:26:  <!-- Process Control -->
00:31:26:  <child v='true'/>
00:31:26:  <daemon v='true'/>
00:31:26:  <fork v='false'/>
00:31:26:  <pid v='false'/>
00:31:26:  <pid-file v='/var/run/fahclient.pid'/>
00:31:26:  <respawn v='false'/>
00:31:26:  <service v='false'/>
00:31:26:
00:31:26:  <!-- Remote Command Server -->
00:31:26:  <command-address v='0.0.0.0'/>
00:31:26:  <command-allow-no-pass v='127.0.0.1'/>
00:31:26:  <command-deny-no-pass v='0/0'/>
00:31:26:  <command-enable v='true'/>
00:31:26:  <command-port v='36330'/>
00:31:26:
00:31:26:  <!-- Slot Control -->
00:31:26:  <auto-conf v='true'/>
00:31:26:  <idle v='false'/>
00:31:26:  <max-shutdown-wait v='60'/>
00:31:26:  <pause-on-battery v='true'/>
00:31:26:  <pause-on-start v='false'/>
00:31:26:  <paused v='false'/>
00:31:26:  <power v='full'/>
00:31:26:
00:31:26:  <!-- User Information -->
00:31:26:  <machine-id v='0'/>
00:31:26:  <passkey v='*****'/>
00:31:26:  <team v='0'/>
00:31:26:  <user v='SJC_Steve'/>
00:31:26:
00:31:26:  <!-- Web Server -->
00:31:26:  <web-allow v='127.0.0.1'/>
00:31:26:  <web-deny v='0/0'/>
00:31:26:  <web-enable v='true'/>
00:31:26:
00:31:26:  <!-- Web Server Sessions -->
00:31:26:  <session-cookie v='sid'/>
00:31:26:  <session-lifetime v='86400'/>
00:31:26:  <session-timeout v='3600'/>
00:31:26:
00:31:26:  <!-- Work Unit Control -->
00:31:26:  <dump-after-deadline v='true'/>
00:31:26:  <max-queue v='16'/>
00:31:26:  <max-units v='0'/>
00:31:26:  <next-unit-percentage v='99'/>
00:31:26:  <stall-detection-enabled v='false'/>
00:31:26:  <stall-percent v='5'/>
00:31:26:  <stall-timeout v='1800'/>
00:31:26:
00:31:26:  <!-- Folding Slots -->
00:31:26:  <slot id='0' type='CPU'/>
00:31:26:</config>
00:31:26:Trying to access database...
00:31:26:Successfully acquired database lock
00:31:26:FS00:Initialized folding slot 00: cpu:8
00:31:26:Started thread 5 on PID 1510
00:31:26:Started thread 6 on PID 1510
00:31:26:Started thread 7 on PID 1510
00:31:26:Started thread 8 on PID 1510
00:31:26:Started thread 10 on PID 1510
00:31:26:Started thread 9 on PID 1510
00:31:26:WU00:FS00:Starting
00:31:26:WU00:FS00:Running FahCore: /usr/bin/FAHCoreWrapper /var/lib/fahclient/cores/cores.foldingathome.org/lin/64bit-avx-256/a7-0.0.19/Core_a7.fah/FahCore_a7 -dir 00 -suffix 01 -version 706 -lifeline 1510 -checkpoint 15 -np 8
00:31:26:WU00:FS00:Started FahCore on PID 1520
00:31:26:Started thread 11 on PID 1510
00:31:26:WU00:FS00:Core PID:1524
00:31:26:WU00:FS00:FahCore 0xa7 started
00:31:27:WU00:FS00:0xa7:*********************** Log Started 2021-02-15T00:31:26Z ***********************
00:31:27:WU00:FS00:0xa7:************************** Gromacs Folding@home Core ***************************
00:31:27:WU00:FS00:0xa7:       Type: 0xa7
00:31:27:WU00:FS00:0xa7:       Core: Gromacs
00:31:27:WU00:FS00:0xa7:       Args: -dir 00 -suffix 01 -version 706 -lifeline 1520 -checkpoint 15 -np 8
00:31:27:WU00:FS00:0xa7:************************************ CBang *************************************
00:31:27:WU00:FS00:0xa7:       Date: Nov 27 2019
00:31:27:WU00:FS00:0xa7:       Time: 11:26:54
00:31:27:WU00:FS00:0xa7:   Revision: d25803215b59272441049dfa05a0a9bf7a6e3c48
00:31:27:WU00:FS00:0xa7:     Branch: master
00:31:27:WU00:FS00:0xa7:   Compiler: GNU 8.3.0
00:31:27:WU00:FS00:0xa7:    Options: -std=c++11 -ffunction-sections -fdata-sections -O3 -funroll-loops
00:31:27:WU00:FS00:0xa7:             -fno-pie -fPIC
00:31:27:WU00:FS00:0xa7:   Platform: linux2 4.19.0-5-amd64
00:31:27:WU00:FS00:0xa7:       Bits: 64
00:31:27:WU00:FS00:0xa7:       Mode: Release
00:31:27:WU00:FS00:0xa7:************************************ System ************************************
00:31:27:WU00:FS00:0xa7:        CPU: AMD Ryzen 7 3700X 8-Core Processor
00:31:27:WU00:FS00:0xa7:     CPU ID: AuthenticAMD Family 23 Model 113 Stepping 0
00:31:27:WU00:FS00:0xa7:       CPUs: 8
00:31:27:WU00:FS00:0xa7:     Memory: 15.61GiB
00:31:27:WU00:FS00:0xa7:Free Memory: 13.92GiB
00:31:27:WU00:FS00:0xa7:    Threads: POSIX_THREADS
00:31:27:WU00:FS00:0xa7: OS Version: 5.8
00:31:27:WU00:FS00:0xa7:Has Battery: false
00:31:27:WU00:FS00:0xa7: On Battery: false
00:31:27:WU00:FS00:0xa7: UTC Offset: -7
00:31:27:WU00:FS00:0xa7:        PID: 1524
00:31:27:WU00:FS00:0xa7:        CWD: /var/lib/fahclient/work
00:31:27:WU00:FS00:0xa7:******************************** Build - libFAH ********************************
00:31:27:WU00:FS00:0xa7:    Version: 0.0.19
00:31:27:WU00:FS00:0xa7:     Author: Joseph Coffland <joseph@cauldrondevelopment.com>
00:31:27:WU00:FS00:0xa7:  Copyright: 2019 foldingathome.org
00:31:27:WU00:FS00:0xa7:   Homepage: https://foldingathome.org/
00:31:27:WU00:FS00:0xa7:       Date: Nov 26 2019
00:31:27:WU00:FS00:0xa7:       Time: 00:41:42
00:31:27:WU00:FS00:0xa7:   Revision: d5b5c747532224f986b7cd02c968ed9a20c16d6e
00:31:27:WU00:FS00:0xa7:     Branch: master
00:31:27:WU00:FS00:0xa7:   Compiler: GNU 8.3.0
00:31:27:WU00:FS00:0xa7:    Options: -std=c++11 -ffunction-sections -fdata-sections -O3 -funroll-loops
00:31:27:WU00:FS00:0xa7:             -fno-pie
00:31:27:WU00:FS00:0xa7:   Platform: linux2 4.19.0-5-amd64
00:31:27:WU00:FS00:0xa7:       Bits: 64
00:31:27:WU00:FS00:0xa7:       Mode: Release
00:31:27:WU00:FS00:0xa7:************************************ Build *************************************
00:31:27:WU00:FS00:0xa7:       SIMD: avx_256
00:31:27:WU00:FS00:0xa7:********************************************************************************
00:31:27:WU00:FS00:0xa7:Project: 13822 (Run 780, Clone 4, Gen 131)
00:31:27:WU00:FS00:0xa7:Unit: 0x00000000000000000000000000000000
00:31:27:WU00:FS00:0xa7:Digital signatures verified
00:31:27:WU00:FS00:0xa7:Calling: mdrun -s frame131.tpr -o frame131.trr -x frame131.xtc -cpi state.cpt -cpt 15 -nt 8
00:31:27:WU00:FS00:0xa7:Steps: first=16375000 total=125000
00:31:29:WU00:FS00:0xa7:Completed 12392 out of 125000 steps (9%)
00:31:32:WU00:FS00:0xa7:Completed 12500 out of 125000 steps (10%)
00:31:53:Started thread 12 on PID 1510
00:32:12:Started thread 13 on PID 1510
00:32:22:WU00:FS00:0xa7:Completed 13750 out of 125000 steps (11%)
00:33:08:WU00:FS00:0xa7:Completed 15000 out of 125000 steps (12%)
00:33:54:WU00:FS00:0xa7:Completed 16250 out of 125000 steps (13%)
00:34:40:WU00:FS00:0xa7:Completed 17500 out of 125000 steps (14%)
Mod Edit: Added Code Tags - PantherX
ipkh
Posts: 173
Joined: Thu Jul 16, 2015 2:03 pm

Re: Odd GPU behavior - terminal window + FAHClient

Post by ipkh »

It successfully found the GPU and Cuda.
But the GPU=false is in the config.xml
Removing the flag ir changing it to True and a reboot should get you up and running.
This line here is where it gets the config file from.
Config: /etc/fahclient/config.xml
You'll need a sudo to edit files in /etc
SJC_Steve
Posts: 42
Joined: Wed Feb 03, 2021 7:26 pm

Re: Odd GPU behavior - terminal window + FAHClient

Post by SJC_Steve »

ipkh wrote:It successfully found the GPU and Cuda.
But the GPU=false is in the config.xml
Removing the flag ir changing it to True and a reboot should get you up and running.
This line here is where it gets the config file from.
Config: /etc/fahclient/config.xml
You'll need a sudo to edit files in /etc
Thanks for input, however, I don't want novices to be required to edit the config.xml file, it's too complex. I'd like input on how to avoid this step. Why is gpu=false ending up in my config.xml file and how can eliminate it happening?

Thanks, Steve
bruce
Posts: 20824
Joined: Thu Nov 29, 2007 10:13 pm
Location: So. Cal.

Re: Odd GPU behavior - terminal window + FAHClient

Post by bruce »

If the first time that FAHClient runs, it finds no GPUs with their respective drivers, FAH will add the gpu=false statement so that the next time you run it, it doesn't waste a few seconds reconfiguering GPUs:0.

I have not done a fresh install recently. If it does find a GPU and configure it, it may also decide that your GPUs are permanent parts of your kit and they're not going to change just because you restart FAHClient the next time you reboot.

Not editing the config is an excellent plan. Can you describe removing the entry using FAHControl? (and do you consider teaching FAHControl to be beyond the scope of what a newbie can absorb in their first sitting?)
Post Reply