[Solved] Nvidia GTX 1050 is not working on Gentoo Linux
Posted: Sat Aug 08, 2020 1:15 pm
Hi. I'm trying to fold on Gentoo Linux. I installed foldingathome from sci-biology/foldingathome.
CPU folding worked fine, but GPU doesn't work.
I think I have the nvidia driver and opencl installed, but FAHClient complains about "Failed to start core: OpenCL device matching slot 1 not found, make sure the OpenCL driver is installed or try setting 'opencl-index' manually".
Here's the related log (with download and cpu progress stripped):
CPU folding worked fine, but GPU doesn't work.
I think I have the nvidia driver and opencl installed, but FAHClient complains about "Failed to start core: OpenCL device matching slot 1 not found, make sure the OpenCL driver is installed or try setting 'opencl-index' manually".
Here's the related log (with download and cpu progress stripped):
Code: Select all
*********************** Log Started 2020-08-08T12:51:59Z ***********************
12:51:59:Trying to access database...
12:51:59:Successfully acquired database lock
12:51:59:Read GPUs.txt
12:51:59:Enabled folding slot 00: READY cpu:10
12:51:59:Enabled folding slot 01: READY gpu:0:GP107 [GeForce GTX 1050 LP] 1862
12:51:59:****************************** FAHClient ******************************
12:51:59: Version: 7.6.13
12:51:59: Author: Joseph Coffland <[email protected]>
12:51:59: Copyright: 2020 foldingathome.org
12:51:59: Homepage: https://foldingathome.org/
12:51:59: Date: Apr 28 2020
12:51:59: Time: 04:20:27
12:51:59: Revision: 5a652817f46116b6e135503af97f18e094414e3b
12:51:59: Branch: master
12:51:59: Compiler: GNU 4.9.4
12:51:59: Options: -std=c++11 -ffunction-sections -fdata-sections -O3 -funroll-loops
12:51:59: Platform: linux2 4.19.0-5-amd64
12:51:59: Bits: 64
12:51:59: Mode: Release
12:51:59: Args: --log=/tmp/folding.log
12:51:59: Config: /opt/foldingathome/config.xml
12:51:59:******************************** CBang ********************************
12:51:59: Date: Apr 25 2020
12:51:59: Time: 00:07:55
12:51:59: Revision: ea081a3b3b0f4a37c4d0440b4f1bc184197c7797
12:51:59: Branch: master
12:51:59: Compiler: GNU 4.9.4
12:51:59: Options: -std=c++11 -ffunction-sections -fdata-sections -O3 -funroll-loops
12:51:59: -fPIC
12:51:59: Platform: linux2 4.19.0-5-amd64
12:51:59: Bits: 64
12:51:59: Mode: Release
12:51:59:******************************* System ********************************
12:51:59: CPU: Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz
12:51:59: CPU ID: GenuineIntel Family 6 Model 158 Stepping 10
12:51:59: CPUs: 12
12:51:59: Memory: 15.57GiB
12:51:59: Free Memory: 5.15GiB
12:51:59: Threads: POSIX_THREADS
12:51:59: OS Version: 5.7
12:51:59: Has Battery: false
12:51:59: On Battery: false
12:51:59: UTC Offset: 8
12:51:59: PID: 32346
12:51:59: CWD: /opt/foldingathome
12:51:59: OS: Linux 5.7.1-gentoo-x86_64 x86_64
12:51:59: OS Arch: AMD64
12:51:59: GPUs: 1
12:51:59: GPU 0: Bus:1 Slot:0 Func:0 NVIDIA:7 GP107 [GeForce GTX 1050 LP] 1862
12:51:59:CUDA Device 0: Platform:0 Device:0 Bus:1 Slot:0 Compute:6.1 Driver:11.0
12:51:59: OpenCL: Not detected: clGetDeviceIDs() returned -1
12:51:59:******************************* libFAH ********************************
12:51:59: Date: Apr 15 2020
12:51:59: Time: 21:43:27
12:51:59: Revision: 216968bc7025029c841ed6e36e81a03a316890d3
12:51:59: Branch: master
12:51:59: Compiler: GNU 4.9.4
12:51:59: Options: -std=c++11 -ffunction-sections -fdata-sections -O3 -funroll-loops
12:51:59: Platform: linux2 4.19.0-5-amd64
12:51:59: Bits: 64
12:51:59: Mode: Release
12:51:59:***********************************************************************
12:51:59:<config>
12:51:59: <!-- User Information -->
12:51:59: <passkey v='*****'/>
12:51:59: <team v='224497'/>
12:51:59: <user v='AprilGrimoire'/>
12:51:59:
12:51:59: <!-- Folding Slots -->
12:51:59: <slot id='0' type='CPU'/>
12:51:59: <slot id='1' type='GPU'/>
12:51:59:</config>
12:51:59:WU00:FS00:Connecting to assign1.foldingathome.org:80
12:52:00:WU01:FS01:Connecting to assign1.foldingathome.org:80
12:52:00:WU00:FS00:Assigned to work server 150.136.14.110
12:52:00:WU00:FS00:Requesting new work unit for slot 00: READY cpu:10 from 150.136.14.110
12:52:00:WU00:FS00:Connecting to 150.136.14.110:8080
12:52:00:WU01:FS01:Assigned to work server 18.188.125.154
12:52:00:WU01:FS01:Requesting new work unit for slot 01: READY gpu:0:GP107 [GeForce GTX 1050 LP] 1862 from 18.188.125.154
12:52:00:WU01:FS01:Connecting to 18.188.125.154:8080
12:52:03:18:127.0.0.1:New Web session
12:59:43:WU00:FS00:Received Unit: id:00 state:DOWNLOAD error:NO_ERROR project:16426 run:606 clone:4 gen:124 core:0xa7 unit:0x0000008d96880e6e5e961eb9b29971af
12:59:43:WU00:FS00:Connecting to cores.foldingathome.org:80
13:02:18:WU01:FS01:Received Unit: id:01 state:DOWNLOAD error:NO_ERROR project:13420 run:6933 clone:40 gen:2 core:0x22 unit:0x0000000212bc7d9a5f2249973ba5731b
13:02:18:WU01:FS01:Connecting to cores.foldingathome.org:80
13:02:58:54:127.0.0.1:New Web session
13:07:58:WU01:FS01:Valid core signature
13:07:58:WU01:FS01:Starting
[91m13:07:58:ERROR:WU01:FS01:Failed to start core: OpenCL device matching slot 1 not found, make sure the OpenCL driver is installed or try setting 'opencl-index' manually[0m
13:07:58:WU01:FS01:Starting
[91m13:07:58:ERROR:WU01:FS01:Failed to start core: OpenCL device matching slot 1 not found, make sure the OpenCL driver is installed or try setting 'opencl-index' manually[0m
13:08:59:WU01:FS01:Starting
[91m13:08:59:ERROR:WU01:FS01:Failed to start core: OpenCL device matching slot 1 not found, make sure the OpenCL driver is installed or try setting 'opencl-index' manually[0m
13:10:36:WU01:FS01:Starting
[91m13:10:36:ERROR:WU01:FS01:Failed to start core: OpenCL device matching slot 1 not found, make sure the OpenCL driver is installed or try setting 'opencl-index' manually[0m
13:12:15:WU00:FS00:Valid core signature
13:12:15:WU00:FS00:Starting
13:12:15:WU00:FS00:Core PID:21446
13:12:16:WU00:FS00:0xa7:*********************** Log Started 2020-08-08T13:12:15Z ***********************
13:12:16:WU00:FS00:0xa7:************************** Gromacs Folding@home Core ***************************
13:12:16:WU00:FS00:0xa7: Type: 0xa7
13:12:16:WU00:FS00:0xa7: Core: Gromacs
13:12:16:WU00:FS00:0xa7: Args: -dir 00 -suffix 01 -version 706 -lifeline 21442 -checkpoint 15 -np
13:12:16:WU00:FS00:0xa7: 10
13:12:16:WU00:FS00:0xa7:************************************ CBang *************************************
13:12:16:WU00:FS00:0xa7: Date: Nov 27 2019
13:12:16:WU00:FS00:0xa7: Time: 11:26:54
13:12:16:WU00:FS00:0xa7: Revision: d25803215b59272441049dfa05a0a9bf7a6e3c48
13:12:16:WU00:FS00:0xa7: Branch: master
13:12:16:WU00:FS00:0xa7: Compiler: GNU 8.3.0
13:12:16:WU00:FS00:0xa7: Options: -std=c++11 -ffunction-sections -fdata-sections -O3 -funroll-loops
13:12:16:WU00:FS00:0xa7: -fno-pie -fPIC
13:12:16:WU00:FS00:0xa7: Platform: linux2 4.19.0-5-amd64
13:12:16:WU00:FS00:0xa7: Bits: 64
13:12:16:WU00:FS00:0xa7: Mode: Release
13:12:16:WU00:FS00:0xa7:************************************ System ************************************
13:12:16:WU00:FS00:0xa7: CPU: Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz
13:12:16:WU00:FS00:0xa7: CPU ID: GenuineIntel Family 6 Model 158 Stepping 10
13:12:16:WU00:FS00:0xa7: CPUs: 12
13:12:16:WU00:FS00:0xa7: Memory: 15.57GiB
13:12:16:WU00:FS00:0xa7:Free Memory: 4.50GiB
13:12:16:WU00:FS00:0xa7: Threads: POSIX_THREADS
13:12:16:WU00:FS00:0xa7: OS Version: 5.7
13:12:16:WU00:FS00:0xa7:Has Battery: false
13:12:16:WU00:FS00:0xa7: On Battery: false
13:12:16:WU00:FS00:0xa7: UTC Offset: 8
13:12:16:WU00:FS00:0xa7: PID: 21446
13:12:16:WU00:FS00:0xa7: CWD: /opt/foldingathome/work
13:12:16:WU00:FS00:0xa7:******************************** Build - libFAH ********************************
13:12:16:WU00:FS00:0xa7: Version: 0.0.19
13:12:16:WU00:FS00:0xa7: Author: Joseph Coffland <[email protected]>
13:12:16:WU00:FS00:0xa7: Copyright: 2019 foldingathome.org
13:12:16:WU00:FS00:0xa7: Homepage: https://foldingathome.org/
13:12:16:WU00:FS00:0xa7: Date: Nov 26 2019
13:12:16:WU00:FS00:0xa7: Time: 00:41:42
13:12:16:WU00:FS00:0xa7: Revision: d5b5c747532224f986b7cd02c968ed9a20c16d6e
13:12:16:WU00:FS00:0xa7: Branch: master
13:12:16:WU00:FS00:0xa7: Compiler: GNU 8.3.0
13:12:16:WU00:FS00:0xa7: Options: -std=c++11 -ffunction-sections -fdata-sections -O3 -funroll-loops
13:12:16:WU00:FS00:0xa7: -fno-pie
13:12:16:WU00:FS00:0xa7: Platform: linux2 4.19.0-5-amd64
13:12:16:WU00:FS00:0xa7: Bits: 64
13:12:16:WU00:FS00:0xa7: Mode: Release
13:12:16:WU00:FS00:0xa7:************************************ Build *************************************
13:12:16:WU00:FS00:0xa7: SIMD: avx_256
13:12:16:WU00:FS00:0xa7:********************************************************************************
13:12:16:WU00:FS00:0xa7:Project: 16426 (Run 606, Clone 4, Gen 124)
13:12:16:WU00:FS00:0xa7:Unit: 0x0000008d96880e6e5e961eb9b29971af
13:12:16:WU00:FS00:0xa7:Reading tar file core.xml
13:12:16:WU00:FS00:0xa7:Reading tar file frame124.tpr
13:12:16:WU00:FS00:0xa7:Digital signatures verified
13:12:16:WU00:FS00:0xa7:Calling: mdrun -s frame124.tpr -o frame124.trr -x frame124.xtc -cpt 15 -nt 10
13:12:16:WU00:FS00:0xa7:Steps: first=31000000 total=250000
13:13:13:WU01:FS01:Starting
[91m13:13:13:ERROR:WU01:FS01:Failed to start core: OpenCL device matching slot 1 not found, make sure the OpenCL driver is installed or try setting 'opencl-index' manually[0m
13:17:28:WU01:FS01:Starting
[91m13:17:28:ERROR:WU01:FS01:Failed to start core: OpenCL device matching slot 1 not found, make sure the OpenCL driver is installed or try setting 'opencl-index' manually[0m
13:17:28:WU01:FS01:Sending unit results: id:01 state:SEND error:FAILED project:13420 run:6933 clone:40 gen:2 core:0x22 unit:0x0000000212bc7d9a5f2249973ba5731b
13:17:28:WU01:FS01:Connecting to 18.188.125.154:8080
13:17:28:WU02:FS01:Connecting to assign1.foldingathome.org:80
13:17:29:WU02:FS01:Assigned to work server 18.188.125.154
13:17:29:WU02:FS01:Requesting new work unit for slot 01: READY gpu:0:GP107 [GeForce GTX 1050 LP] 1862 from 18.188.125.154
13:17:29:WU02:FS01:Connecting to 18.188.125.154:8080
13:17:29:WU01:FS01:Server responded WORK_ACK (400)
13:17:29:WU01:FS01:Cleaning up
13:30:51:WU02:FS01:Received Unit: id:02 state:DOWNLOAD error:NO_ERROR project:13420 run:8378 clone:2 gen:2 core:0x22 unit:0x0000000212bc7d9a5f2da534e49b78be
13:30:51:WU02:FS01:Starting
[91m13:30:51:ERROR:WU02:FS01:Failed to start core: OpenCL device matching slot 1 not found, make sure the OpenCL driver is installed or try setting 'opencl-index' manually[0m
13:30:51:WU02:FS01:Starting
[91m13:30:51:ERROR:WU02:FS01:Failed to start core: OpenCL device matching slot 1 not found, make sure the OpenCL driver is installed or try setting 'opencl-index' manually[0m
13:31:52:WU02:FS01:Starting
[91m13:31:52:ERROR:WU02:FS01:Failed to start core: OpenCL device matching slot 1 not found, make sure the OpenCL driver is installed or try setting 'opencl-index' manually[0m
13:33:29:WU02:FS01:Starting
[91m13:33:29:ERROR:WU02:FS01:Failed to start core: OpenCL device matching slot 1 not found, make sure the OpenCL driver is installed or try setting 'opencl-index' manually[0m
13:36:06:WU02:FS01:Starting
[91m13:36:06:ERROR:WU02:FS01:Failed to start core: OpenCL device matching slot 1 not found, make sure the OpenCL driver is installed or try setting 'opencl-index' manually[0m
13:40:20:WU02:FS01:Starting
[91m13:40:20:ERROR:WU02:FS01:Failed to start core: OpenCL device matching slot 1 not found, make sure the OpenCL driver is installed or try setting 'opencl-index' manually[0m
13:40:21:WU02:FS01:Sending unit results: id:02 state:SEND error:FAILED project:13420 run:8378 clone:2 gen:2 core:0x22 unit:0x0000000212bc7d9a5f2da534e49b78be
13:40:21:WU02:FS01:Connecting to 18.188.125.154:8080
13:40:21:WU01:FS01:Connecting to assign1.foldingathome.org:80
13:40:23:WU01:FS01:Assigned to work server 18.188.125.154
13:40:23:WU01:FS01:Requesting new work unit for slot 01: READY gpu:0:GP107 [GeForce GTX 1050 LP] 1862 from 18.188.125.154
13:40:23:WU01:FS01:Connecting to 18.188.125.154:8080
13:40:30:WU02:FS01:Server responded WORK_ACK (400)
13:40:30:WU02:FS01:Cleaning up
13:51:58:WU01:FS01:Received Unit: id:01 state:DOWNLOAD error:NO_ERROR project:13420 run:6848 clone:26 gen:2 core:0x22 unit:0x0000000212bc7d9a5f22499ab3b4411d
13:51:58:WU01:FS01:Starting
[91m13:51:58:ERROR:WU01:FS01:Failed to start core: OpenCL device matching slot 1 not found, make sure the OpenCL driver is installed or try setting 'opencl-index' manually[0m
13:51:59:WU01:FS01:Starting
[91m13:51:59:ERROR:WU01:FS01:Failed to start core: OpenCL device matching slot 1 not found, make sure the OpenCL driver is installed or try setting 'opencl-index' manually[0m
13:52:59:WU01:FS01:Starting
[91m13:52:59:ERROR:WU01:FS01:Failed to start core: OpenCL device matching slot 1 not found, make sure the OpenCL driver is installed or try setting 'opencl-index' manually[0m
13:54:36:WU01:FS01:Starting
[91m13:54:36:ERROR:WU01:FS01:Failed to start core: OpenCL device matching slot 1 not found, make sure the OpenCL driver is installed or try setting 'opencl-index' manually[0m
13:54:58:FS00:Paused
13:54:58:FS01:Paused
13:54:58:FS00:Shutting core down
13:54:58:WU00:FS00:0xa7:Caught signal SIGINT(2) on PID 21446
13:54:58:WU00:FS00:0xa7:Exiting, please wait. . .
13:54:59:WU00:FS00:0xa7:Folding@home Core Shutdown: INTERRUPTED
13:55:01:Saving configuration to config.xml
13:55:01:<config>
13:55:01: <!-- User Information -->
13:55:01: <passkey v='*****'/>
13:55:01: <team v='224497'/>
13:55:01: <user v='AprilGrimoire'/>
13:55:01:
13:55:01: <!-- Folding Slots -->
13:55:01: <slot id='0' type='CPU'>
13:55:01: <paused v='true'/>
13:55:01: </slot>
13:55:01: <slot id='1' type='GPU'>
13:55:01: <paused v='true'/>
13:55:01: </slot>
13:55:01:</config>