Linux Mint with nVidia GPUs Error - No CUDA or OpenCL 1.2+ support detected for GPU
Posted: Sun Feb 05, 2023 5:37 pm
I have a Linux Mint 19.3 VM that I have 3 nVidia GPUs passed through on 470.161.03 driver. I had FAH working with the GPUs on it for about two years then I had it off for about a year. This morning I got the 7.6.21 client installed and have the CPU folding successfully but can't get the GPUs to work now.
The FAH client sees the GPUs it looks like but I've tried leaving it at default -1 and tried 0, 1, 2 but the GPU just stays disabled.
I've validated the GPUs.txt shows the GPUs I have installed.
I've made sure ocl-icd-opencl-dev is installed.
I saw a post saying changing <gpu v='false'/> to true fixed it but every time I change it in Expert tab or config file it gets changed back to false.
I used this guide to get the new client working on Ubuntu
viewtopic.php?t=36830
The FAH client sees the GPUs it looks like but I've tried leaving it at default -1 and tried 0, 1, 2 but the GPU just stays disabled.
I've validated the GPUs.txt shows the GPUs I have installed.
I've made sure ocl-icd-opencl-dev is installed.
I saw a post saying changing <gpu v='false'/> to true fixed it but every time I change it in Expert tab or config file it gets changed back to false.
Code: Select all
andy@linux-mint-vm:~$ cat /var/lib/fahclient/
configs/ cores/ GPUs.txt logs/ log.txt work/
andy@linux-mint-vm:~$ cat /var/lib/fahclient/log.txt
*********************** Log Started 2023-02-05T15:45:19Z ***********************
15:45:19:******************************* libFAH ********************************
15:45:19: Date: Oct 20 2020
15:45:19: Time: 20:36:39
15:45:19: Revision: 5ca109d295a6245e2a2f590b3d0085ad5e567aeb
15:45:19: Branch: master
15:45:19: Compiler: GNU 8.3.0
15:45:19: Options: -faligned-new -std=c++11 -fsigned-char -ffunction-sections
15:45:19: -fdata-sections -O3 -funroll-loops -fno-pie
15:45:19: Platform: linux2 5.8.0-1-amd64
15:45:19: Bits: 64
15:45:19: Mode: Release
15:45:19:****************************** FAHClient ******************************
15:45:19: Version: 7.6.21
15:45:19: Author: Joseph Coffland <joseph@cauldrondevelopment.com>
15:45:19: Copyright: 2020 foldingathome.org
15:45:19: Homepage: https://foldingathome.org/
15:45:19: Date: Oct 20 2020
15:45:19: Time: 20:39:00
15:45:19: Revision: 6efbf0e138e22d3963e6a291f78dcb9c6422a278
15:45:19: Branch: master
15:45:19: Compiler: GNU 8.3.0
15:45:19: Options: -faligned-new -std=c++11 -fsigned-char -ffunction-sections
15:45:19: -fdata-sections -O3 -funroll-loops -fno-pie
15:45:19: Platform: linux2 5.8.0-1-amd64
15:45:19: Bits: 64
15:45:19: Mode: Release
15:45:19: Args: --child /etc/fahclient/config.xml --run-as fahclient
15:45:19: --pid-file=/var/run/fahclient.pid --daemon
15:45:19: Config: /etc/fahclient/config.xml
15:45:19:******************************** CBang ********************************
15:45:19: Date: Oct 20 2020
15:45:19: Time: 18:37:59
15:45:19: Revision: 7e4ce85225d7eaeb775e87c31740181ca603de60
15:45:19: Branch: master
15:45:19: Compiler: GNU 8.3.0
15:45:19: Options: -faligned-new -std=c++11 -fsigned-char -ffunction-sections
15:45:19: -fdata-sections -O3 -funroll-loops -fno-pie -fPIC
15:45:19: Platform: linux2 5.8.0-1-amd64
15:45:19: Bits: 64
15:45:19: Mode: Release
15:45:19:******************************* System ********************************
15:45:19: CPU: Intel(R) Xeon(R) CPU E5-2697 v2 @ 2.70GHz
15:45:19: CPU ID: GenuineIntel Family 6 Model 62 Stepping 4
15:45:19: CPUs: 10
15:45:19: Memory: 8.05GiB
15:45:19: Free Memory: 7.33GiB
15:45:19: Threads: POSIX_THREADS
15:45:19: OS Version: 5.4
15:45:19: Has Battery: false
15:45:19: On Battery: false
15:45:19: UTC Offset: -5
15:45:19: PID: 1334
15:45:19: CWD: /var/lib/fahclient
15:45:19: OS: Linux 5.4.0-137-generic x86_64
15:45:19: OS Arch: AMD64
15:45:19: GPUs: 3
15:45:19: GPU 0: Bus:1 Slot:0 Func:0 NVIDIA:5 GP107 [GeForce GTX 1050 Ti] 2138
15:45:19: GPU 1: Bus:2 Slot:0 Func:0 NVIDIA:5 GP106 [P106-090]
15:45:19: GPU 2: Bus:3 Slot:0 Func:0 NVIDIA:5 GP106 [P106-090]
15:45:19: CUDA Device 0: Platform:0 Device:0 Bus:1 Slot:0 Compute:6.1 Driver:11.4
15:45:19: CUDA Device 1: Platform:0 Device:1 Bus:2 Slot:0 Compute:6.1 Driver:11.4
15:45:19: CUDA Device 2: Platform:0 Device:2 Bus:3 Slot:0 Compute:6.1 Driver:11.4
15:45:19:OpenCL Device 0: Platform:0 Device:0 Bus:1 Slot:0 Compute:3.0 Driver:470.161
15:45:19:OpenCL Device 1: Platform:0 Device:1 Bus:2 Slot:0 Compute:3.0 Driver:470.161
15:45:19:OpenCL Device 2: Platform:0 Device:2 Bus:3 Slot:0 Compute:3.0 Driver:470.161
15:45:19:***********************************************************************
15:45:19:<config>
15:45:19: <!-- Client Control -->
15:45:19: <fold-anon v='true'/>
15:45:19:
15:45:19: <!-- Folding Slot Configuration -->
15:45:19: <gpu v='false'/>
15:45:19:
15:45:19: <!-- Network -->
15:45:19: <proxy v=':8080'/>
15:45:19:
15:45:19: <!-- Slot Control -->
15:45:19: <power v='light'/>
15:45:19:
15:45:19: <!-- User Information -->
15:45:19: <passkey v='*****'/>
15:45:19: <team v='xxx'/>
15:45:19: <user v='xxx'/>
15:45:19:
15:45:19: <!-- Folding Slots -->
15:45:19: <slot id='0' type='CPU'/>
15:45:19: <slot id='4' type='GPU'>
15:45:19: <pci-bus v='1'/>
15:45:19: <pci-slot v='0'/>
15:45:19: </slot>
15:45:19:</config>
15:45:19:Trying to access database...
15:45:19:Successfully acquired database lock
15:45:19:FS00:Initialized folding slot 00: cpu:5
15:45:19:FS04:Initialized folding slot 04: gpu:1:0 GP107 [GeForce GTX 1050 Ti] 2138
15:45:19:WU00:FS00:Starting
15:45:19:WU00:FS00:Running FahCore: /usr/bin/FAHCoreWrapper /var/lib/fahclient/cores/cores.foldingathome.org/lin/64bit-avx-256/a8-0.0.12/Core_a8.fah/FahCore_a8 -dir 00 -suffix 01 -version 706 -lifeline 1334 -checkpoint 15 -np 5
15:45:19:WU00:FS00:Started FahCore on PID 1346
15:45:19:WU00:FS00:Core PID:1350
15:45:19:WU00:FS00:FahCore 0xa8 started
15:45:19:WU00:FS00:0xa8:*********************** Log Started 2023-02-05T15:45:19Z ***********************
15:45:19:WU00:FS00:0xa8:************************** Gromacs Folding@home Core ***************************
15:45:19:WU00:FS00:0xa8: Core: Gromacs
15:45:19:WU00:FS00:0xa8: Type: 0xa8
15:45:19:WU00:FS00:0xa8: Version: 0.0.12
15:45:19:WU00:FS00:0xa8: Author: Joseph Coffland <joseph@cauldrondevelopment.com>
15:45:19:WU00:FS00:0xa8: Copyright: 2020 foldingathome.org
15:45:19:WU00:FS00:0xa8: Homepage: https://foldingathome.org/
15:45:19:WU00:FS00:0xa8: Date: Jan 16 2021
15:45:19:WU00:FS00:0xa8: Time: 19:23:19
15:45:19:WU00:FS00:0xa8: Compiler: GNU 8.3.0
15:45:19:WU00:FS00:0xa8: Options: -faligned-new -std=c++14 -fsigned-char -ffunction-sections
15:45:19:WU00:FS00:0xa8: -fdata-sections -O3 -funroll-loops -fno-pie
15:45:19:WU00:FS00:0xa8: Platform: linux2 4.15.0-128-generic
15:45:19:WU00:FS00:0xa8: Bits: 64
15:45:19:WU00:FS00:0xa8: Mode: Release
15:45:19:WU00:FS00:0xa8: SIMD: avx_256
15:45:19:WU00:FS00:0xa8: OpenMP: ON
15:45:19:WU00:FS00:0xa8: CUDA: OFF
15:45:19:WU00:FS00:0xa8: Args: -dir 00 -suffix 01 -version 706 -lifeline 1346 -checkpoint 15 -np 5
15:45:19:WU00:FS00:0xa8:************************************ libFAH ************************************
15:45:19:WU00:FS00:0xa8: Date: Jan 16 2021
15:45:19:WU00:FS00:0xa8: Time: 19:21:38
15:45:19:WU00:FS00:0xa8: Compiler: GNU 8.3.0
15:45:19:WU00:FS00:0xa8: Options: -faligned-new -std=c++14 -fsigned-char -ffunction-sections
15:45:19:WU00:FS00:0xa8: -fdata-sections -O3 -funroll-loops -fno-pie
15:45:19:WU00:FS00:0xa8: Platform: linux2 4.15.0-128-generic
15:45:19:WU00:FS00:0xa8: Bits: 64
15:45:19:WU00:FS00:0xa8: Mode: Release
15:45:19:WU00:FS00:0xa8:************************************ CBang *************************************
15:45:19:WU00:FS00:0xa8: Date: Jan 16 2021
15:45:19:WU00:FS00:0xa8: Time: 19:21:24
15:45:19:WU00:FS00:0xa8: Compiler: GNU 8.3.0
15:45:19:WU00:FS00:0xa8: Options: -faligned-new -std=c++14 -fsigned-char -ffunction-sections
15:45:19:WU00:FS00:0xa8: -fdata-sections -O3 -funroll-loops -fno-pie -fPIC
15:45:19:WU00:FS00:0xa8: Platform: linux2 4.15.0-128-generic
15:45:19:WU00:FS00:0xa8: Bits: 64
15:45:19:WU00:FS00:0xa8: Mode: Release
15:45:19:WU00:FS00:0xa8:************************************ System ************************************
15:45:19:WU00:FS00:0xa8: CPU: Intel(R) Xeon(R) CPU E5-2697 v2 @ 2.70GHz
15:45:19:WU00:FS00:0xa8: CPU ID: GenuineIntel Family 6 Model 62 Stepping 4
15:45:19:WU00:FS00:0xa8: CPUs: 10
15:45:19:WU00:FS00:0xa8: Memory: 8.05GiB
15:45:19:WU00:FS00:0xa8:Free Memory: 7.26GiB
15:45:19:WU00:FS00:0xa8: Threads: POSIX_THREADS
15:45:19:WU00:FS00:0xa8: OS Version: 5.4
15:45:19:WU00:FS00:0xa8:Has Battery: false
15:45:19:WU00:FS00:0xa8: On Battery: false
15:45:19:WU00:FS00:0xa8: UTC Offset: -5
15:45:19:WU00:FS00:0xa8: PID: 1350
15:45:19:WU00:FS00:0xa8: CWD: /var/lib/fahclient/work
15:45:19:WU00:FS00:0xa8:********************************************************************************
15:45:19:WU00:FS00:0xa8:Project: 16969 (Run 5, Clone 259, Gen 257)
15:45:19:WU00:FS00:0xa8:Unit: 0x00000000000000000000000000000000
15:45:19:WU00:FS00:0xa8:Digital signatures verified
15:45:19:WU00:FS00:0xa8:Calling: mdrun -c frame257.gro -s frame257.tpr -x frame257.xtc -cpi state.cpt -cpt 15 -nt 5 -ntmpi 1
15:45:19:WU00:FS00:0xa8:Steps: first=642500000 total=645000000
15:45:20:WU00:FS00:0xa8:Completed 117852 out of 2500000 steps (4%)
15:46:40:Removing old file 'configs/config-20230205-151619.xml'
15:46:40:Saving configuration to /etc/fahclient/config.xml
15:46:40:<config>
15:46:40: <!-- Client Control -->
15:46:40: <fold-anon v='true'/>
15:46:40:
15:46:40: <!-- Folding Slot Configuration -->
15:46:40: <gpu v='false'/>
15:46:40:
15:46:40: <!-- Network -->
15:46:40: <proxy v=':8080'/>
15:46:40:
15:46:40: <!-- Slot Control -->
15:46:40: <power v='light'/>
15:46:40:
15:46:40: <!-- User Information -->
15:46:40: <passkey v='*****'/>
15:46:40: <team v='229500'/>
15:46:40: <user v='Jajao555'/>
15:46:40:
15:46:40: <!-- Folding Slots -->
15:46:40: <slot id='0' type='CPU'/>
15:46:40:</config>
15:47:05:WARNING:FS01:No CUDA or OpenCL 1.2+ support detected for GPU slot 01: gpu:-1:-1. Disabling.
15:47:05:Adding folding slot 01: gpu:-1:-1
15:47:05:Removing old file 'configs/config-20230205-151638.xml'
15:47:05:Saving configuration to /etc/fahclient/config.xml
Code: Select all
andy@linux-mint-vm:~$ nvidia-smi
Sun Feb 5 12:31:10 2023
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 470.161.03 Driver Version: 470.161.03 CUDA Version: 11.4 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|===============================+======================+======================|
| 0 NVIDIA GeForce ... Off | 00000000:01:00.0 Off | N/A |
| 30% 28C P8 N/A / 75W | 8MiB / 4040MiB | 0% Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+
| 1 NVIDIA P106-090 Off | 00000000:02:00.0 Off | N/A |
| 41% 24C P8 6W / 75W | 6MiB / 3021MiB | 0% Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+
| 2 NVIDIA P106-090 Off | 00000000:03:00.0 Off | N/A |
| 0% 27C P8 5W / 75W | 6MiB / 3021MiB | 0% Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| 0 N/A N/A 1084 G /usr/lib/xorg/Xorg 4MiB |
| 1 N/A N/A 1084 G /usr/lib/xorg/Xorg 4MiB |
| 2 N/A N/A 1084 G /usr/lib/xorg/Xorg 4MiB |
+-----------------------------------------------------------------------------+
viewtopic.php?t=36830