Linux - ID's GPU but won't fold

Moderators: Site Moderators, FAHC Science Team

Post Reply
Rick_Dom
Posts: 7
Joined: Wed Mar 25, 2020 11:19 pm

Linux - ID's GPU but won't fold

Post by Rick_Dom »

Hello forum,

Sorry for what I hope is a simple issue: I set up an old machine on Linux Mint 18.2 and added a bargain nVidia GT 710 I found at a local shop. Setting up nVidia drivers in Mint was a real pain, but I got the system to work after some reinstalls. Now, F@H is up and running.

The issue is that F@H recognizes the GPU in the "System Info" but will not otherwise acknowlege it. The GPU isn't given a "slot," and the Log file below states "<gpu v='false'/>"

The CPU seems to be cranking away - does anyone know how I can get the GPU to work too? Thanks!!

Code: Select all

13:10:06:WU00:FS00:Running FahCore: /usr/bin/FAHCoreWrapper /var/lib/fahclient/cores/cores.foldingathome.org/v7/lin/64bit/Core_a7.fah/FahCore_a7 -dir 00 -suffix 01 -version 706 -lifeline 1085 -checkpoint 15 -np 1
13:10:06:WU00:FS00:Started FahCore on PID 1825
13:10:06:WU00:FS00:Core PID:1829
13:10:06:WU00:FS00:FahCore 0xa7 started
13:10:06:WU00:FS00:0xa7:*********************** Log Started 2020-06-19T13:10:06Z ***********************
13:10:06:WU00:FS00:0xa7:************************** Gromacs Folding@home Core ***************************
13:10:06:WU00:FS00:0xa7:       Type: 0xa7
13:10:06:WU00:FS00:0xa7:       Core: Gromacs
13:10:06:WU00:FS00:0xa7:       Args: -dir 00 -suffix 01 -version 706 -lifeline 1825 -checkpoint 15 -np 1
13:10:06:WU00:FS00:0xa7:************************************ CBang *************************************
13:10:06:WU00:FS00:0xa7:       Date: Nov 5 2019
13:10:06:WU00:FS00:0xa7:       Time: 05:57:01
13:10:06:WU00:FS00:0xa7:   Revision: 46c96f1aa8419571d83f3e63f9c99a0d602f6da9
13:10:06:WU00:FS00:0xa7:     Branch: master
13:10:06:WU00:FS00:0xa7:   Compiler: GNU 8.3.0
13:10:06:WU00:FS00:0xa7:    Options: -std=c++11 -O3 -funroll-loops -fno-pie -fPIC
13:10:06:WU00:FS00:0xa7:   Platform: linux2 4.19.0-5-amd64
13:10:06:WU00:FS00:0xa7:       Bits: 64
13:10:06:WU00:FS00:0xa7:       Mode: Release
13:10:06:WU00:FS00:0xa7:************************************ System ************************************
13:10:06:WU00:FS00:0xa7:        CPU: Intel(R) Core(TM)2 Quad CPU Q8400 @ 2.66GHz
13:10:06:WU00:FS00:0xa7:     CPU ID: GenuineIntel Family 6 Model 23 Stepping 10
13:10:06:WU00:FS00:0xa7:       CPUs: 4
13:10:06:WU00:FS00:0xa7:     Memory: 1.93GiB
13:10:06:WU00:FS00:0xa7:Free Memory: 507.09MiB
13:10:06:WU00:FS00:0xa7:    Threads: POSIX_THREADS
13:10:06:WU00:FS00:0xa7: OS Version: 4.15
13:10:06:WU00:FS00:0xa7:Has Battery: false
13:10:06:WU00:FS00:0xa7: On Battery: false
13:10:06:WU00:FS00:0xa7: UTC Offset: -4
13:10:06:WU00:FS00:0xa7:        PID: 1829
13:10:06:WU00:FS00:0xa7:        CWD: /var/lib/fahclient/work
13:10:06:WU00:FS00:0xa7:******************************** Build - libFAH ********************************
13:10:06:WU00:FS00:0xa7:    Version: 0.0.18
13:10:06:WU00:FS00:0xa7:     Author: Joseph Coffland <[email protected]>
13:10:06:WU00:FS00:0xa7:  Copyright: 2019 foldingathome.org
13:10:06:WU00:FS00:0xa7:   Homepage: https://foldingathome.org/
13:10:06:WU00:FS00:0xa7:       Date: Nov 5 2019
13:10:06:WU00:FS00:0xa7:       Time: 06:13:26
13:10:06:WU00:FS00:0xa7:   Revision: 490c9aa2957b725af319379424d5c5cb36efb656
13:10:06:WU00:FS00:0xa7:     Branch: master
13:10:06:WU00:FS00:0xa7:   Compiler: GNU 8.3.0
13:10:06:WU00:FS00:0xa7:    Options: -std=c++11 -O3 -funroll-loops -fno-pie
13:10:06:WU00:FS00:0xa7:   Platform: linux2 4.19.0-5-amd64
13:10:06:WU00:FS00:0xa7:       Bits: 64
13:10:06:WU00:FS00:0xa7:       Mode: Release
13:10:06:WU00:FS00:0xa7:************************************ Build *************************************
13:10:06:WU00:FS00:0xa7:       SIMD: sse2
13:10:06:WU00:FS00:0xa7:********************************************************************************
13:10:06:WU00:FS00:0xa7:Project: 16805 (Run 2, Clone 145, Gen 25)
13:10:06:WU00:FS00:0xa7:Unit: 0x0000002282ed0b915eb422d5cc3fd316
13:10:06:WU00:FS00:0xa7:Digital signatures verified
13:10:06:WU00:FS00:0xa7:Calling: mdrun -s frame25.tpr -o frame25.trr -cpi state.cpt -cpt 15 -nt 1
13:10:06:WU00:FS00:0xa7:Steps: first=12500000 total=500000
13:10:08:Saving configuration to /etc/fahclient/config.xml
13:10:08:<config>
13:10:08:  <!-- Client Control -->
13:10:08:  <fold-anon v='true'/>
13:10:08:
13:10:08:  <!-- Folding Slot Configuration -->
13:10:08:  <gpu v='false'/>
13:10:08:
13:10:08:  <!-- Network -->
13:10:08:  <proxy v=':8080'/>
13:10:08:
13:10:08:  <!-- User Information -->
13:10:08:  <passkey v='*****'/>
13:10:08:  <team v='235233'/>
13:10:08:  <user v='Rick_Dom'/>
13:10:08:
13:10:08:  <!-- Folding Slots -->
13:10:08:  <slot id='0' type='CPU'/>
13:10:08:</config>
13:10:08:WU00:FS00:0xa7:Completed 200337 out of 500000 steps (40%)
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: Linux - ID's GPU but won't fold

Post by Joe_H »

Could you post the first 100-200 lines of your log file? That shows the hardware and client configuration as detected on installation and startup. If copying from the log window of FAHControl you may need to click on Refresh to reload log from beginning, and unchecking Follow will make it easier to scroll to the beginning.
Image

iMac 2.8 i7 12 GB smp8, Mac Pro 2.8 quad 12 GB smp6
MacBook Pro 2.9 i7 8 GB smp3
TPL
Posts: 103
Joined: Sun Apr 19, 2020 11:37 am

Re: Linux - ID's GPU but won't fold

Post by TPL »

Open advanced control (FAHcontrol). Navigate to Configure and tab Expert. Go to Extra cliend options and remove line GPU = false. Then go to tab Slots, choose add and be sure you choose small almost invisible radio button from the left side from GPU part. Ok, Save. Leave everything else as default in this phase. Reboot the Client and see what happens. I think you still need to install OpenCL but you'll see.

One remark: I think GT710 could be way too slow to fold. Unless it is capable to perform WUs within timeout it is quite useless.
Rick_Dom
Posts: 7
Joined: Wed Mar 25, 2020 11:19 pm

Re: Linux - ID's GPU but won't fold

Post by Rick_Dom »

Thanks for the rply, Joe_H - below is the log as requested.

Code: Select all

*********************** Log Started 2020-06-19T14:16:14Z ***********************
14:16:14:Trying to access database...
14:16:14:Successfully acquired database lock
14:16:14:Read GPUs.txt
14:16:14:Enabled folding slot 00: PAUSED cpu:3 (by user)
14:16:14:****************************** FAHClient ******************************
14:16:14:      Version: 7.6.13
14:16:14:       Author: Joseph Coffland <[email protected]>
14:16:14:    Copyright: 2020 foldingathome.org
14:16:14:     Homepage: https://foldingathome.org/
14:16:14:         Date: Apr 28 2020
14:16:14:         Time: 04:20:16
14:16:14:     Revision: 5a652817f46116b6e135503af97f18e094414e3b
14:16:14:       Branch: master
14:16:14:     Compiler: GNU 8.3.0
14:16:14:      Options: -std=c++11 -ffunction-sections -fdata-sections -O3 -funroll-loops
14:16:14:               -fno-pie
14:16:14:     Platform: linux2 4.19.0-5-amd64
14:16:14:         Bits: 64
14:16:14:         Mode: Release
14:16:14:         Args: --child /etc/fahclient/config.xml --run-as fahclient
14:16:14:               --pid-file=/var/run/fahclient.pid --daemon
14:16:14:       Config: /etc/fahclient/config.xml
14:16:14:******************************** CBang ********************************
14:16:14:         Date: Apr 25 2020
14:16:14:         Time: 00:07:53
14:16:14:     Revision: ea081a3b3b0f4a37c4d0440b4f1bc184197c7797
14:16:14:       Branch: master
14:16:14:     Compiler: GNU 8.3.0
14:16:14:      Options: -std=c++11 -ffunction-sections -fdata-sections -O3 -funroll-loops
14:16:14:               -fno-pie -fPIC
14:16:14:     Platform: linux2 4.19.0-5-amd64
14:16:14:         Bits: 64
14:16:14:         Mode: Release
14:16:14:******************************* System ********************************
14:16:14:          CPU: Intel(R) Core(TM)2 Quad CPU Q8400 @ 2.66GHz
14:16:14:       CPU ID: GenuineIntel Family 6 Model 23 Stepping 10
14:16:14:         CPUs: 4
14:16:14:       Memory: 1.93GiB
14:16:14:  Free Memory: 1.44GiB
14:16:14:      Threads: POSIX_THREADS
14:16:14:   OS Version: 4.15
14:16:14:  Has Battery: false
14:16:14:   On Battery: false
14:16:14:   UTC Offset: -4
14:16:14:          PID: 1021
14:16:14:          CWD: /var/lib/fahclient
14:16:14:           OS: Linux 4.15.0-106-generic x86_64
14:16:14:      OS Arch: AMD64
14:16:14:         GPUs: 1
14:16:14:        GPU 0: Bus:1 Slot:0 Func:0 NVIDIA:3 GK208 [GeForce GT 710 LP]
14:16:14:CUDA Device 0: Platform:0 Device:0 Bus:1 Slot:0 Compute:3.5 Driver:10.2
14:16:14:       OpenCL: Not detected: Failed to open dynamic library 'libOpenCL.so':
14:16:14:               libOpenCL.so: cannot open shared object file: No such file or
14:16:14:               directory
14:16:14:******************************* libFAH ********************************
14:16:14:         Date: Apr 15 2020
14:16:14:         Time: 21:43:24
14:16:14:     Revision: 216968bc7025029c841ed6e36e81a03a316890d3
14:16:14:       Branch: master
14:16:14:     Compiler: GNU 8.3.0
14:16:14:      Options: -std=c++11 -ffunction-sections -fdata-sections -O3 -funroll-loops
14:16:14:               -fno-pie
14:16:14:     Platform: linux2 4.19.0-5-amd64
14:16:14:         Bits: 64
14:16:14:         Mode: Release
14:16:14:***********************************************************************
14:16:14:<config>
14:16:14:  <!-- Client Control -->
14:16:14:  <fold-anon v='true'/>
14:16:14:
14:16:14:  <!-- Folding Slot Configuration -->
14:16:14:  <gpu v='false'/>
14:16:14:
14:16:14:  <!-- Network -->
14:16:14:  <proxy v=':8080'/>
14:16:14:
14:16:14:  <!-- User Information -->
14:16:14:  <passkey v='*****'/>
14:16:14:  <team v='235233'/>
14:16:14:  <user v='Rick_Dom'/>
14:16:14:
14:16:14:  <!-- Folding Slots -->
14:16:14:  <slot id='0' type='CPU'>
14:16:14:    <paused v='true'/>
14:16:14:  </slot>
14:16:14:</config>
14:16:52:FS00:Unpaused
14:16:52:FS00:Finishing
14:16:52:WU00:FS00:Starting
14:16:52:WARNING:WU00:FS00:AS lowered CPUs from 3 to 1
14:16:52:WU00:FS00:Running FahCore: /usr/bin/FAHCoreWrapper /var/lib/fahclient/cores/cores.foldingathome.org/v7/lin/64bit/Core_a7.fah/FahCore_a7 -dir 00 -suffix 01 -version 706 -lifeline 1021 -checkpoint 15 -np 1
14:16:52:WU00:FS00:Started FahCore on PID 1605
14:16:52:WU00:FS00:Core PID:1609
14:16:52:WU00:FS00:FahCore 0xa7 started
14:16:53:WU00:FS00:0xa7:*********************** Log Started 2020-06-19T14:16:52Z ***********************
14:16:53:WU00:FS00:0xa7:************************** Gromacs Folding@home Core ***************************
14:16:53:WU00:FS00:0xa7:       Type: 0xa7
14:16:53:WU00:FS00:0xa7:       Core: Gromacs
14:16:53:WU00:FS00:0xa7:       Args: -dir 00 -suffix 01 -version 706 -lifeline 1605 -checkpoint 15 -np 1
14:16:53:WU00:FS00:0xa7:************************************ CBang *************************************
14:16:53:WU00:FS00:0xa7:       Date: Nov 5 2019
14:16:53:WU00:FS00:0xa7:       Time: 05:57:01
14:16:53:WU00:FS00:0xa7:   Revision: 46c96f1aa8419571d83f3e63f9c99a0d602f6da9
14:16:53:WU00:FS00:0xa7:     Branch: master
14:16:53:WU00:FS00:0xa7:   Compiler: GNU 8.3.0
14:16:53:WU00:FS00:0xa7:    Options: -std=c++11 -O3 -funroll-loops -fno-pie -fPIC
14:16:53:WU00:FS00:0xa7:   Platform: linux2 4.19.0-5-amd64
14:16:53:WU00:FS00:0xa7:       Bits: 64
14:16:53:WU00:FS00:0xa7:       Mode: Release
14:16:53:WU00:FS00:0xa7:************************************ System ************************************
14:16:53:WU00:FS00:0xa7:        CPU: Intel(R) Core(TM)2 Quad CPU Q8400 @ 2.66GHz
14:16:53:WU00:FS00:0xa7:     CPU ID: GenuineIntel Family 6 Model 23 Stepping 10
14:16:53:WU00:FS00:0xa7:       CPUs: 4
14:16:53:WU00:FS00:0xa7:     Memory: 1.93GiB
14:16:53:WU00:FS00:0xa7:Free Memory: 834.77MiB
14:16:53:WU00:FS00:0xa7:    Threads: POSIX_THREADS
14:16:53:WU00:FS00:0xa7: OS Version: 4.15
14:16:53:WU00:FS00:0xa7:Has Battery: false
14:16:53:WU00:FS00:0xa7: On Battery: false
14:16:53:WU00:FS00:0xa7: UTC Offset: -4
14:16:53:WU00:FS00:0xa7:        PID: 1609
14:16:53:WU00:FS00:0xa7:        CWD: /var/lib/fahclient/work
14:16:53:WU00:FS00:0xa7:******************************** Build - libFAH ********************************
14:16:53:WU00:FS00:0xa7:    Version: 0.0.18
14:16:53:WU00:FS00:0xa7:     Author: Joseph Coffland <[email protected]>
14:16:53:WU00:FS00:0xa7:  Copyright: 2019 foldingathome.org
14:16:53:WU00:FS00:0xa7:   Homepage: https://foldingathome.org/
14:16:53:WU00:FS00:0xa7:       Date: Nov 5 2019
14:16:53:WU00:FS00:0xa7:       Time: 06:13:26
14:16:53:WU00:FS00:0xa7:   Revision: 490c9aa2957b725af319379424d5c5cb36efb656
14:16:53:WU00:FS00:0xa7:     Branch: master
14:16:53:WU00:FS00:0xa7:   Compiler: GNU 8.3.0
14:16:53:WU00:FS00:0xa7:    Options: -std=c++11 -O3 -funroll-loops -fno-pie
14:16:53:WU00:FS00:0xa7:   Platform: linux2 4.19.0-5-amd64
14:16:53:WU00:FS00:0xa7:       Bits: 64
14:16:53:WU00:FS00:0xa7:       Mode: Release
14:16:53:WU00:FS00:0xa7:************************************ Build *************************************
14:16:53:WU00:FS00:0xa7:       SIMD: sse2
14:16:53:WU00:FS00:0xa7:********************************************************************************
14:16:53:WU00:FS00:0xa7:Project: 16805 (Run 2, Clone 145, Gen 25)
14:16:53:WU00:FS00:0xa7:Unit: 0x0000002282ed0b915eb422d5cc3fd316
14:16:53:WU00:FS00:0xa7:Digital signatures verified
14:16:53:WU00:FS00:0xa7:Calling: mdrun -s frame25.tpr -o frame25.trr -cpi state.cpt -cpt 15 -nt 1
14:16:53:WU00:FS00:0xa7:Steps: first=12500000 total=500000
14:16:55:WU00:FS00:0xa7:Completed 202692 out of 500000 steps (40%)
14:17:15:Saving configuration to /etc/fahclient/config.xml
14:17:15:<config>
14:17:15:  <!-- Client Control -->
14:17:15:  <fold-anon v='true'/>
14:17:15:
14:17:15:  <!-- Folding Slot Configuration -->
14:17:15:  <gpu v='false'/>
14:17:15:
14:17:15:  <!-- Network -->
14:17:15:  <proxy v=':8080'/>
14:17:15:
14:17:15:  <!-- User Information -->
14:17:15:  <passkey v='*****'/>
14:17:15:  <team v='235233'/>
14:17:15:  <user v='Rick_Dom'/>
14:17:15:
14:17:15:  <!-- Folding Slots -->
14:17:15:  <slot id='0' type='CPU'/>
14:17:15:</config>
14:36:21:WU00:FS00:0xa7:Completed 205000 out of 500000 steps (41%)
15:18:27:WU00:FS00:0xa7:Completed 210000 out of 500000 steps (42%)
16:00:35:WU00:FS00:0xa7:Completed 215000 out of 500000 steps (43%)
16:42:49:WU00:FS00:0xa7:Completed 220000 out of 500000 steps (44%)
17:24:58:WU00:FS00:0xa7:Completed 225000 out of 500000 steps (45%)
Thanks TPL for the reply too - regarding your input,
One remark: I think GT710 could be way too slow to fold. Unless it is capable to perform WUs within timeout it is quite useless.
I hear you. This is the first GPU I've set up to fold. I'm asking to understand how to resolve the problem generally. I'll follow your advice after Joe_H's response.
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: Linux - ID's GPU but won't fold

Post by Joe_H »

Okay, the client is detecting the GPU hardware but not the nVidia driver or OpenCL support. If you have the mesa driver installed you will need to install the nVidia propietary driver and OpenCL support. In addition people have reported needing to install the OpenCL dev kit as well.

Several people have written up and posted here on how they installed on Mint. There has also been some recommendations for the write-ups posted on the Linus Tech Tips site - https://linustechtips.com/main/topic/10 ... lding-rig/.

As for the GT 710, on the positive side it is based on nVidia;'s Kepler chips. There may also be some work coming out soon that will be suitable for low powered GPUs from the COVID Moonshot projects F@h is working on.
Image

iMac 2.8 i7 12 GB smp8, Mac Pro 2.8 quad 12 GB smp6
MacBook Pro 2.9 i7 8 GB smp3
bruce
Posts: 20824
Joined: Thu Nov 29, 2007 10:13 pm
Location: So. Cal.

Re: Linux - ID's GPU but won't fold

Post by bruce »

You didn't get a bargan. As has been said above, the GT710 is one of the slowest GPU that FAH supports.

Does your case require the Low Profile device? I"ve got some Low Profile cases and I recommend you upgrade your GPU to one of the GTX xxxx LP devices. I've been happy with xxxx = 1050 or xxxx = 1050 Ti or xxxx = 1650, depending on how much you want to spend.

You'll still need the proprietary drivers.
Rick_Dom
Posts: 7
Joined: Wed Mar 25, 2020 11:19 pm

Re: Linux - ID's GPU but won't fold

Post by Rick_Dom »

Thank you all for the replies! The GPU now folds!

Joe_H: I followed the steps in the linked instructions for installing OpenCL and I believe this was crucial to my success. Prior to following the simple steps in the link, F@H wasn't recognizing OpenCL on my machine. Thanks for sharing the link!

TPL: I followed your instructions once I had made sure OpenCL was installed, and it worked! The GPU is now up and running! Cheers!

bruce: Indeed, the 710 cuts it close to fold by timeout, although it will certainly beat expiration. The case doesn't require an LP card - the GPU was just a target of opportunity - and I'll follow your advice to replace it soon. Still, I have a spare SFF machine that could use the LP card. If a machine can fold, I intend to make it do so.

Getting the 710 folding was tricky for me (mostly for Linux/nVidia driver troubles before F@H was even installed). I hope this can help the next person who wants to set up an old machine.
  • 1. I installed Linux Mint 19.2 XFCE in compatibility mode. I checked "install proprietary drivers" during the setup process.
    2. I booted the machine and ran the updater once, checking to make sure no Kernel updates. I then rebooted the machine.
    3. I selected the latest nVidia driver from the list in the OS's Driver Manager. I then rebooted, as advised by the Driver Manager. I checked to see the driver was in use by launching the "NVidia X Server Settings" application in the System tab of the start menu.
    4. I made sure OpenCL was installed as described in the Linus Tech Tips link from Joe_H, with the commands listed below in Terminal, checking the install with "clinfo" on the second line, and then reset:

    Code: Select all

    sudo apt install clinfo
    clinfo
    sudo apt install ocl-icd-opencl-dev
    sudo shutdown -r now
    
    5. I installed F@H using the links on foldingathome.org, set it to "medium."
    6. I followed TPL's steps: Open advanced control (that is, FAHControl). Navigate to Configure and the Expert tab. Go to "Extra client options" and remove the line "GPU = false." Then go to the Slots tab, choose "add" and be sure you click the small, almost invisible radio button on the left side of the GPU part. With that button selected, click Save. Restart the client.
The steps above got my GPU folding! If someone else is having trouble - make sure the GPU is on the whitelist too :biggrin:
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: Linux - ID's GPU but won't fold

Post by Joe_H »

Rick_Dom wrote:6. ... Then go to the Slots tab, choose "add" and be sure you click the small, almost invisible radio button on the left side of the GPU part. With that button selected, click Save. Restart the client.
The visibility of that radio button depends on which theme is used. I often forget to mention that as I am used to the appearance of the one them available on OS X, there is is quite visible. But from the screen captures that people have posted of the various darker themes, it does get less obvious.
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