Fedora 31, Nvidia GT 1030: clGetDeviceIDs() returned -1
Posted: Sat Mar 21, 2020 11:02 am
I'm running 64-bit Fedora 31 on a machine with an Nvidia GeForce GT 1030. I've installed version 440.64 of the binary Nvidia drivers from rpmfusion. I've also (after reading around) installed the ocl-icd-devel package. I'm using a version of FAHControl that I've modified in one way: the shebang line explicitly requests Python 2, because the default on F31 is Python 3. I've made no other changes to FAH software. When I try to add a GPU slot, FAHControl says no GPU is available. Here's my current log:
OpenCL is installed, but doesn't seem quite right:
How can I get FAH to use my GPU?
Thanks for any help you can give, and for all the amazing work done by the FAH volunteers.
Code: Select all
*********************** Log Started 2020-03-21T10:39:33Z ***********************
10:39:33:************************* Folding@home Client *************************
10:39:33: Website: https://foldingathome.org/
10:39:33: Copyright: (c) 2009-2018 foldingathome.org
10:39:33: Author: Joseph Coffland <[email protected]>
10:39:33: Args: --child --lifeline 13755 /etc/fahclient/config.xml --run-as
10:39:33: fahclient --pid-file=/var/run/fahclient.pid --daemon
10:39:33: Config: /etc/fahclient/config.xml
10:39:33:******************************** Build ********************************
10:39:33: Version: 7.5.1
10:39:33: Date: May 12 2018
10:39:33: Time: 22:51:07
10:39:33: Repository: Git
10:39:33: Revision: 4705bf53c635f88b8fe85af7675557e15d491ff0
10:39:33: Branch: master
10:39:33: Compiler: GNU 4.4.7 20120313 (Red Hat 4.4.7-18)
10:39:33: Options: -std=gnu++98 -O3 -funroll-loops
10:39:33: Platform: linux2 4.14.0-3-amd64
10:39:33: Bits: 64
10:39:33: Mode: Release
10:39:33:******************************* System ********************************
10:39:33: CPU: AMD Ryzen Threadripper 1920X 12-Core Processor
10:39:33: CPU ID: AuthenticAMD Family 23 Model 1 Stepping 1
10:39:33: CPUs: 24
10:39:33: Memory: 62.74GiB
10:39:33: Free Memory: 51.04GiB
10:39:33: Threads: POSIX_THREADS
10:39:33: OS Version: 5.5
10:39:33: Has Battery: false
10:39:33: On Battery: false
10:39:33: UTC Offset: 0
10:39:33: PID: 13757
10:39:33: CWD: /var/lib/fahclient
10:39:33: OS: Linux 5.5.8-200.fc31.x86_64 x86_64
10:39:33: OS Arch: AMD64
10:39:33: GPUs: 0
10:39:33:CUDA Device 0: Platform:0 Device:0 Bus:65 Slot:0 Compute:6.1 Driver:10.2
10:39:33: OpenCL: Not detected: clGetDeviceIDs() returned -1
10:39:33:***********************************************************************
10:39:33:<config>
10:39:33: <!-- Network -->
10:39:33: <proxy v=':8080'/>
10:39:33:
10:39:33: <!-- User Information -->
10:39:33: <passkey v='********************************'/>
10:39:33: <team v='12501'/>
10:39:33: <user v='Markus_Laker'/>
10:39:33:
10:39:33: <!-- Folding Slots -->
10:39:33: <slot id='0' type='CPU'>
10:39:33: <cpus v='22'/>
10:39:33: </slot>
10:39:33:</config>
10:39:33:Switching to user fahclient
10:39:33:Trying to access database...
10:39:35:Successfully acquired database lock
10:39:35:Enabled folding slot 00: READY cpu:22
10:39:35:WU00:FS00:Starting
10:39:35:WU00:FS00:Running FahCore: /usr/bin/FAHCoreWrapper /var/lib/fahclient/cores/cores.foldingathome.org/v7/lin/64bit/avx/Core_a7.fah/FahCore_a7 -dir 00 -suffix 01 -version 705 -lifeline 13757 -checkpoint 15 -np 22
10:39:35:WU00:FS00:Started FahCore on PID 13809
10:39:35:WU00:FS00:Core PID:13813
10:39:35:WU00:FS00:FahCore 0xa7 started
10:39:35:WU00:FS00:0xa7:*********************** Log Started 2020-03-21T10:39:35Z ***********************
10:39:35:WU00:FS00:0xa7:************************** Gromacs Folding@home Core ***************************
10:39:35:WU00:FS00:0xa7: Type: 0xa7
10:39:35:WU00:FS00:0xa7: Core: Gromacs
10:39:35:WU00:FS00:0xa7: Args: -dir 00 -suffix 01 -version 705 -lifeline 13809 -checkpoint 15 -np
10:39:35:WU00:FS00:0xa7: 22
10:39:35:WU00:FS00:0xa7:************************************ CBang *************************************
10:39:35:WU00:FS00:0xa7: Date: Nov 5 2019
10:39:35:WU00:FS00:0xa7: Time: 06:06:57
10:39:35:WU00:FS00:0xa7: Revision: 46c96f1aa8419571d83f3e63f9c99a0d602f6da9
10:39:35:WU00:FS00:0xa7: Branch: master
10:39:35:WU00:FS00:0xa7: Compiler: GNU 8.3.0
10:39:35:WU00:FS00:0xa7: Options: -std=c++11 -O3 -funroll-loops -fno-pie -fPIC
10:39:35:WU00:FS00:0xa7: Platform: linux2 4.19.0-5-amd64
10:39:35:WU00:FS00:0xa7: Bits: 64
10:39:35:WU00:FS00:0xa7: Mode: Release
10:39:35:WU00:FS00:0xa7:************************************ System ************************************
10:39:35:WU00:FS00:0xa7: CPU: AMD Ryzen Threadripper 1920X 12-Core Processor
10:39:35:WU00:FS00:0xa7: CPU ID: AuthenticAMD Family 23 Model 1 Stepping 1
10:39:35:WU00:FS00:0xa7: CPUs: 24
10:39:35:WU00:FS00:0xa7: Memory: 62.74GiB
10:39:35:WU00:FS00:0xa7:Free Memory: 51.23GiB
10:39:35:WU00:FS00:0xa7: Threads: POSIX_THREADS
10:39:35:WU00:FS00:0xa7: OS Version: 5.5
10:39:35:WU00:FS00:0xa7:Has Battery: false
10:39:35:WU00:FS00:0xa7: On Battery: false
10:39:35:WU00:FS00:0xa7: UTC Offset: 0
10:39:35:WU00:FS00:0xa7: PID: 13813
10:39:35:WU00:FS00:0xa7: CWD: /var/lib/fahclient/work
10:39:35:WU00:FS00:0xa7:******************************** Build - libFAH ********************************
10:39:35:WU00:FS00:0xa7: Version: 0.0.18
10:39:35:WU00:FS00:0xa7: Author: Joseph Coffland <[email protected]>
10:39:35:WU00:FS00:0xa7: Copyright: 2019 foldingathome.org
10:39:35:WU00:FS00:0xa7: Homepage: https://foldingathome.org/
10:39:35:WU00:FS00:0xa7: Date: Nov 5 2019
10:39:35:WU00:FS00:0xa7: Time: 06:13:26
10:39:35:WU00:FS00:0xa7: Revision: 490c9aa2957b725af319379424d5c5cb36efb656
10:39:35:WU00:FS00:0xa7: Branch: master
10:39:35:WU00:FS00:0xa7: Compiler: GNU 8.3.0
10:39:35:WU00:FS00:0xa7: Options: -std=c++11 -O3 -funroll-loops -fno-pie
10:39:35:WU00:FS00:0xa7: Platform: linux2 4.19.0-5-amd64
10:39:35:WU00:FS00:0xa7: Bits: 64
10:39:35:WU00:FS00:0xa7: Mode: Release
10:39:35:WU00:FS00:0xa7:************************************ Build *************************************
10:39:35:WU00:FS00:0xa7: SIMD: avx_256
10:39:35:WU00:FS00:0xa7:********************************************************************************
10:39:35:WU00:FS00:0xa7:Project: 13851 (Run 0, Clone 11538, Gen 8)
10:39:35:WU00:FS00:0xa7:Unit: 0x00000008287234c95e73024da3060dfa
10:39:35:WU00:FS00:0xa7:Digital signatures verified
10:39:35:WU00:FS00:0xa7:Reducing thread count from 22 to 21 to avoid domain decomposition with large prime factor 11
10:39:35:WU00:FS00:0xa7:Calling: mdrun -s frame8.tpr -o frame8.trr -x frame8.xtc -e frame8.edr -cpi state.cpt -cpt 15 -nt 21
10:39:35:WU00:FS00:0xa7:Steps: first=4000000 total=500000
10:39:36:WU00:FS00:0xa7:Completed 11002 out of 500000 steps (2%)
10:40:11:WU00:FS00:0xa7:Completed 15000 out of 500000 steps (3%)
(etc.)
Code: Select all
[msl@localhost ~]$ clinfo -l
X server found. dri2 connection failed!
DRM_IOCTL_I915_GEM_APERTURE failed: Invalid argument
Assuming 131072kB available aperture size.
May lead to reduced performance or incorrect rendering.
get chip id failed: -1 [22]
param: 4, val: 0
X server found. dri2 connection failed!
DRM_IOCTL_I915_GEM_APERTURE failed: Invalid argument
Assuming 131072kB available aperture size.
May lead to reduced performance or incorrect rendering.
get chip id failed: -1 [22]
param: 4, val: 0
cl_get_gt_device(): error, unknown device: 0
X server found. dri2 connection failed!
DRM_IOCTL_I915_GEM_APERTURE failed: Invalid argument
Assuming 131072kB available aperture size.
May lead to reduced performance or incorrect rendering.
get chip id failed: -1 [22]
param: 4, val: 0
X server found. dri2 connection failed!
DRM_IOCTL_I915_GEM_APERTURE failed: Invalid argument
Assuming 131072kB available aperture size.
May lead to reduced performance or incorrect rendering.
get chip id failed: -1 [22]
param: 4, val: 0
cl_get_gt_device(): error, unknown device: 0
X server found. dri2 connection failed!
DRM_IOCTL_I915_GEM_APERTURE failed: Invalid argument
Assuming 131072kB available aperture size.
May lead to reduced performance or incorrect rendering.
get chip id failed: -1 [22]
param: 4, val: 0
cl_get_gt_device(): error, unknown device: 0
Platform #0: NVIDIA CUDA
`-- Device #0: GeForce GT 1030
Platform #1: Portable Computing Language
`-- Device #0: pthread-AMD Ryzen Threadripper 1920X 12-Core Processor
Platform #2: Clover
Platform #3: Intel Gen OCL Driver
[msl@localhost ~]$
Thanks for any help you can give, and for all the amazing work done by the FAH volunteers.