Need help with Ubuntu 18.04 and GTX 960

If you're new to FAH and need help getting started or you have very basic questions, start here.

Moderators: Site Moderators, FAHC Science Team

Joker
Posts: 13
Joined: Wed Mar 18, 2020 1:40 pm

Need help with Ubuntu 18.04 and GTX 960

Post by Joker »

I have an old rig I want to set up with Ubuntu, and it's got an nVidia GTX 960. A stretch goal for this rig is to also include an old GTX 550 Ti.

So far, I can't even get started with the 960.

Steps so far:
(1) Installed Ubuntu fresh with the 960 already installed, without the 550
(2) added drivers repository
(3) installed nvidia-driver-440
(4) Discovered the annoying GPU=false client option and changed it to true
(5) successfully added a GPU slot which displays the 960

Right now I can't get past Waiting On FahCore Run. Tried changing opencl-index and cuda-index to 0 from -1, but that does nothing.

Please help :-)

-Joker
Neil-B
Posts: 1996
Joined: Sun Mar 22, 2020 5:52 pm
Hardware configuration: 1: 2x Xeon E5-2697v3@2.60GHz, 512GB DDR4 LRDIMM, SSD Raid, Win10 Ent 20H2, Quadro K420 1GB, FAH 7.6.21
2: Xeon E3-1505Mv5@2.80GHz, 32GB DDR4, NVME, Win10 Pro 20H2, Quadro M1000M 2GB, FAH 7.6.21 (actually have two of these)
3: i7-960@3.20GHz, 12GB DDR3, SSD, Win10 Pro 20H2, GTX 750Ti 2GB, GTX 1080Ti 11GB, FAH 7.6.21
Location: UK

Re: Need help with Ubuntu 18.04 and GTX 960

Post by Neil-B »

Posting top 200 or so lines of your may help solve this ... viewtopic.php?f=24&t=26036 ... but I suspect the GTX 550 Ti only does OpenCL 1.1 and may not be capable of running current FAH projects :(
2x Xeon E5-2697v3, 512GB DDR4 LRDIMM, SSD Raid, W10-Ent, Quadro K420
Xeon E3-1505Mv5, 32GB DDR4, NVME, W10-Pro, Quadro M1000M
i7-960, 12GB DDR3, SSD, W10-Pro, GTX1080Ti
i9-10850K, 64GB DDR4, NVME, W11-Pro, RTX3070

(Green/Bold = Active)
Joker
Posts: 13
Joined: Wed Mar 18, 2020 1:40 pm

Re: Need help with Ubuntu 18.04 and GTX 960

Post by Joker »

Code: Select all

*********************** Log Started 2020-04-01T02:17:54Z ***********************
02:17:54:************************* Folding@home Client *************************
02:17:54:      Website: https://foldingathome.org/
02:17:54:    Copyright: (c) 2009-2018 foldingathome.org
02:17:54:       Author: Joseph Coffland <joseph@cauldrondevelopment.com>
02:17:54:         Args: --child --lifeline 1221 /etc/fahclient/config.xml --run-as
02:17:54:               fahclient --pid-file=/var/run/fahclient.pid --daemon
02:17:54:       Config: /etc/fahclient/config.xml
02:17:54:******************************** Build ********************************
02:17:54:      Version: 7.5.1
02:17:54:         Date: May 11 2018
02:17:54:         Time: 19:59:04
02:17:54:   Repository: Git
02:17:54:     Revision: 4705bf53c635f88b8fe85af7675557e15d491ff0
02:17:54:       Branch: master
02:17:54:     Compiler: GNU 6.3.0 20170516
02:17:54:      Options: -std=gnu++98 -O3 -funroll-loops
02:17:54:     Platform: linux2 4.14.0-3-amd64
02:17:54:         Bits: 64
02:17:54:         Mode: Release
02:17:54:******************************* System ********************************
02:17:54:          CPU: Intel(R) Core(TM) i3-2100 CPU @ 3.10GHz
02:17:54:       CPU ID: GenuineIntel Family 6 Model 42 Stepping 7
02:17:54:         CPUs: 4
02:17:54:       Memory: 7.76GiB
02:17:54:  Free Memory: 7.03GiB
02:17:54:      Threads: POSIX_THREADS
02:17:54:   OS Version: 5.3
02:17:54:  Has Battery: false
02:17:54:   On Battery: false
02:17:54:   UTC Offset: -4
02:17:54:          PID: 1223
02:17:54:          CWD: /var/lib/fahclient
02:17:54:           OS: Linux 5.3.0-45-generic x86_64
02:17:54:      OS Arch: AMD64
02:17:54:         GPUs: 1
02:17:54:        GPU 0: Bus:1 Slot:0 Func:0 NVIDIA:5 GM206 [GeForce GTX 960] 2308
02:17:54:CUDA Device 0: Platform:0 Device:0 Bus:1 Slot:0 Compute:5.2 Driver:10.2
02:17:54:       OpenCL: Not detected: Failed to open dynamic library 'libOpenCL.so':
02:17:54:               libOpenCL.so: cannot open shared object file: No such file or
02:17:54:               directory
02:17:54:***********************************************************************
02:17:54:<config>
02:17:54:  <!-- Client Control -->
02:17:54:  <fold-anon v='true'/>
02:17:54:
02:17:54:  <!-- HTTP Server -->
02:17:54:  <allow v='192.168.0.1-192.168.0.255'/>
02:17:54:
02:17:54:  <!-- Network -->
02:17:54:  <proxy v=':8080'/>
02:17:54:
02:17:54:  <!-- Remote Command Server -->
02:17:54:  <password v='*********'/>
02:17:54:
02:17:54:  <!-- Slot Control -->
02:17:54:  <power v='full'/>
02:17:54:
02:17:54:  <!-- User Information -->
02:17:54:  <passkey v='********************************'/>
02:17:54:  <team v='245555'/>
02:17:54:  <user v='Joker_RR'/>
02:17:54:
02:17:54:  <!-- Folding Slots -->
02:17:54:  <slot id='0' type='CPU'/>
02:17:54:  <slot id='1' type='GPU'/>
02:17:54:</config>
02:17:54:Switching to user fahclient
02:17:54:Trying to access database...
02:17:54:Successfully acquired database lock
02:17:54:Enabled folding slot 00: READY cpu:3
02:17:54:Enabled folding slot 01: READY gpu:0:GM206 [GeForce GTX 960] 2308
02:17:54:WU00:FS00:Starting
02:17:54: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 1223 -checkpoint 15 -np 3
02:17:54:WU00:FS00:Started FahCore on PID 1233
02:17:54:WU00:FS00:Core PID:1237
02:17:54:WU00:FS00:FahCore 0xa7 started
02:17:54:WU01:FS01:Connecting to 65.254.110.245:8080
02:17:55:WU00:FS00:0xa7:*********************** Log Started 2020-04-01T02:17:54Z ***********************
02:17:55:WU00:FS00:0xa7:************************** Gromacs Folding@home Core ***************************
02:17:55:WU00:FS00:0xa7:       Type: 0xa7
02:17:55:WU00:FS00:0xa7:       Core: Gromacs
02:17:55:WU00:FS00:0xa7:       Args: -dir 00 -suffix 01 -version 705 -lifeline 1233 -checkpoint 15 -np 3
02:17:55:WU00:FS00:0xa7:************************************ CBang *************************************
02:17:55:WU00:FS00:0xa7:       Date: Nov 5 2019
02:17:55:WU00:FS00:0xa7:       Time: 06:06:57
02:17:55:WU00:FS00:0xa7:   Revision: 46c96f1aa8419571d83f3e63f9c99a0d602f6da9
02:17:55:WU00:FS00:0xa7:     Branch: master
02:17:55:WU00:FS00:0xa7:   Compiler: GNU 8.3.0
02:17:55:WU00:FS00:0xa7:    Options: -std=c++11 -O3 -funroll-loops -fno-pie -fPIC
02:17:55:WU00:FS00:0xa7:   Platform: linux2 4.19.0-5-amd64
02:17:55:WU00:FS00:0xa7:       Bits: 64
02:17:55:WU00:FS00:0xa7:       Mode: Release
02:17:55:WU00:FS00:0xa7:************************************ System ************************************
02:17:55:WU00:FS00:0xa7:        CPU: Intel(R) Core(TM) i3-2100 CPU @ 3.10GHz
02:17:55:WU00:FS00:0xa7:     CPU ID: GenuineIntel Family 6 Model 42 Stepping 7
02:17:55:WU00:FS00:0xa7:       CPUs: 4
02:17:55:WU00:FS00:0xa7:     Memory: 7.76GiB
02:17:55:WU00:FS00:0xa7:Free Memory: 7.02GiB
02:17:55:WU00:FS00:0xa7:    Threads: POSIX_THREADS
02:17:55:WU00:FS00:0xa7: OS Version: 5.3
02:17:55:WU00:FS00:0xa7:Has Battery: false
02:17:55:WU00:FS00:0xa7: On Battery: false
02:17:55:WU00:FS00:0xa7: UTC Offset: -4
02:17:55:WU00:FS00:0xa7:        PID: 1237
02:17:55:WU00:FS00:0xa7:        CWD: /var/lib/fahclient/work
02:17:55:WU00:FS00:0xa7:******************************** Build - libFAH ********************************
02:17:55:WU00:FS00:0xa7:    Version: 0.0.18
02:17:55:WU00:FS00:0xa7:     Author: Joseph Coffland <joseph@cauldrondevelopment.com>
02:17:55:WU00:FS00:0xa7:  Copyright: 2019 foldingathome.org
02:17:55:WU00:FS00:0xa7:   Homepage: https://foldingathome.org/
02:17:55:WU00:FS00:0xa7:       Date: Nov 5 2019
02:17:55:WU00:FS00:0xa7:       Time: 06:13:26
02:17:55:WU00:FS00:0xa7:   Revision: 490c9aa2957b725af319379424d5c5cb36efb656
02:17:55:WU00:FS00:0xa7:     Branch: master
02:17:55:WU00:FS00:0xa7:   Compiler: GNU 8.3.0
02:17:55:WU00:FS00:0xa7:    Options: -std=c++11 -O3 -funroll-loops -fno-pie
02:17:55:WU00:FS00:0xa7:   Platform: linux2 4.19.0-5-amd64
02:17:55:WU00:FS00:0xa7:       Bits: 64
02:17:55:WU00:FS00:0xa7:       Mode: Release
02:17:55:WU00:FS00:0xa7:************************************ Build *************************************
02:17:55:WU00:FS00:0xa7:       SIMD: avx_256
02:17:55:WU00:FS00:0xa7:********************************************************************************
02:17:55:WU00:FS00:0xa7:Project: 14364 (Run 45, Clone 1, Gen 0)
02:17:55:WU00:FS00:0xa7:Unit: 0x000000019bf7a4d65e7cbfc777090948
02:17:55:WU00:FS00:0xa7:Digital signatures verified
02:17:55:WU00:FS00:0xa7:Calling: mdrun -s frame0.tpr -o frame0.trr -cpi state.cpt -cpt 15 -nt 3
02:17:55:WU00:FS00:0xa7:Steps: first=0 total=2500000
02:17:55:WU00:FS00:0xa7:Completed 25003 out of 2500000 steps (1%)
02:17:55:WARNING:WU01:FS01:Failed to get assignment from '65.254.110.245:8080': No WUs available for this configuration
02:17:55:WU01:FS01:Connecting to 18.218.241.186:80
02:17:56:WARNING:WU01:FS01:Failed to get assignment from '18.218.241.186:80': No WUs available for this configuration
02:17:56:ERROR:WU01:FS01:Exception: Could not get an assignment
02:17:56:WU01:FS01:Connecting to 65.254.110.245:8080
02:17:57:WARNING:WU01:FS01:Failed to get assignment from '65.254.110.245:8080': No WUs available for this configuration
02:17:57:WU01:FS01:Connecting to 18.218.241.186:80
02:17:57:WARNING:WU01:FS01:Failed to get assignment from '18.218.241.186:80': No WUs available for this configuration
02:17:57:ERROR:WU01:FS01:Exception: Could not get an assignment
02:18:56:WU01:FS01:Connecting to 65.254.110.245:8080
02:18:56:WARNING:WU01:FS01:Failed to get assignment from '65.254.110.245:8080': No WUs available for this configuration
02:18:56:WU01:FS01:Connecting to 18.218.241.186:80
02:18:57:WU01:FS01:Assigned to work server 13.82.98.119
02:18:57:WU01:FS01:Requesting new work unit for slot 01: READY gpu:0:GM206 [GeForce GTX 960] 2308 from 13.82.98.119
02:18:57:WU01:FS01:Connecting to 13.82.98.119:8080
02:19:00:WU01:FS01:Downloading 161.50MiB
02:19:06:WU01:FS01:Download 4.02%
02:19:12:WU01:FS01:Download 6.50%
02:19:18:WU01:FS01:Download 8.48%
02:19:24:WU01:FS01:Download 11.57%
02:19:30:WU01:FS01:Download 15.02%
edited after removing the filter for showing only Slot 0
Joker
Posts: 13
Joined: Wed Mar 18, 2020 1:40 pm

Re: Need help with Ubuntu 18.04 and GTX 960

Post by Joker »

Code: Select all

02:17:54:       OpenCL: Not detected: Failed to open dynamic library 'libOpenCL.so':
02:17:54:               libOpenCL.so: cannot open shared object file: No such file or
02:17:54:               directory
Is this my issue? No idea how to resolve it if so.
Neil-B
Posts: 1996
Joined: Sun Mar 22, 2020 5:52 pm
Hardware configuration: 1: 2x Xeon E5-2697v3@2.60GHz, 512GB DDR4 LRDIMM, SSD Raid, Win10 Ent 20H2, Quadro K420 1GB, FAH 7.6.21
2: Xeon E3-1505Mv5@2.80GHz, 32GB DDR4, NVME, Win10 Pro 20H2, Quadro M1000M 2GB, FAH 7.6.21 (actually have two of these)
3: i7-960@3.20GHz, 12GB DDR3, SSD, Win10 Pro 20H2, GTX 750Ti 2GB, GTX 1080Ti 11GB, FAH 7.6.21
Location: UK

Re: Need help with Ubuntu 18.04 and GTX 960

Post by Neil-B »

Would be my guess … but I really know less than zero about Linux … Fairly sure there will be threads on installing OpenCL on Linux if you want to search the forums whilst waiting for an informed response
2x Xeon E5-2697v3, 512GB DDR4 LRDIMM, SSD Raid, W10-Ent, Quadro K420
Xeon E3-1505Mv5, 32GB DDR4, NVME, W10-Pro, Quadro M1000M
i7-960, 12GB DDR3, SSD, W10-Pro, GTX1080Ti
i9-10850K, 64GB DDR4, NVME, W11-Pro, RTX3070

(Green/Bold = Active)
kostuek
Posts: 31
Joined: Tue Mar 17, 2020 11:03 am

Re: Need help with Ubuntu 18.04 and GTX 960

Post by kostuek »

You will also need:

Code: Select all

sudo apt install ocl-icd-opencl
sudo apt install ocl-icd-opencl-dev
Joker
Posts: 13
Joined: Wed Mar 18, 2020 1:40 pm

Re: Need help with Ubuntu 18.04 and GTX 960

Post by Joker »

I did install

Code: Select all

ocl-icd-opencl-dev
based on other threads. I also searched for

Code: Select all

ocl-icd-opencl
just now, but Ubuntu didn't find it.
VAcharonD1
Posts: 14
Joined: Tue Mar 24, 2020 2:46 am

Re: Need help with Ubuntu 18.04 and GTX 960

Post by VAcharonD1 »

I had a similar issue on Fedora. ocl-icd created libOpenCL.so.1 but not libOpenCL.so. All you have to do is make a link.
kostuek
Posts: 31
Joined: Tue Mar 17, 2020 11:03 am

Re: Need help with Ubuntu 18.04 and GTX 960

Post by kostuek »

Joker wrote:I also searched for

Code: Select all

ocl-icd-opencl
just now, but Ubuntu didn't find it.
My bad, it is actually

Code: Select all

ocl-icd-libopencl1
Joker
Posts: 13
Joined: Wed Mar 18, 2020 1:40 pm

Re: Need help with Ubuntu 18.04 and GTX 960

Post by Joker »

ocl-icd-opencl-dev installed, and now it's working!!

Is there any reason I should also install ocl-icd-libopencl1 ? Would that make my GTX 550 work?

That's my next step here--to try and get the 550 working.
kostuek
Posts: 31
Joined: Tue Mar 17, 2020 11:03 am

Re: Need help with Ubuntu 18.04 and GTX 960

Post by kostuek »

Joker wrote:ocl-icd-opencl-dev installed, and now it's working!!

Is there any reason I should also install ocl-icd-libopencl1 ? Would that make my GTX 550 work?

That's my next step here--to try and get the 550 working.
If it's working, there is surely no reason to install another one. The problem with the GTX 550 is it does not support OpenCL 1.2, so it will probably not work. :(
Joker
Posts: 13
Joined: Wed Mar 18, 2020 1:40 pm

Re: Need help with Ubuntu 18.04 and GTX 960

Post by Joker »

Questions for trying to get my GTX 550 Ti working alongside my GTX 960:

(1) First off, how can I determine whether this hardware is even compatible?
(2) Assuming it is, once I plop it into the PCI slot, do I need to install its drivers? How does installing drivers for different GPUs in Ubuntu work? Does it work? Do the drivers interfere with each other?
Joker
Posts: 13
Joined: Wed Mar 18, 2020 1:40 pm

Re: Need help with Ubuntu 18.04 and GTX 960

Post by Joker »

kostuek wrote:If it's working, there is surely no reason to install another one. The problem with the GTX 550 is it does not support OpenCL 1.2, so it will probably not work. :(
Is that a sure thing? How/where can I check?
kostuek
Posts: 31
Joined: Tue Mar 17, 2020 11:03 am

Re: Need help with Ubuntu 18.04 and GTX 960

Post by kostuek »

According to https://www.techpowerup.com/gpu-specs/g ... 50-ti.c274 it only supports OpenCl 1.1, but FAH-cores need 1.2 to work. So, there is not much hope...
Joker
Posts: 13
Joined: Wed Mar 18, 2020 1:40 pm

Re: Need help with Ubuntu 18.04 and GTX 960

Post by Joker »

toTOW wrote:The GTX 550 Ti is in the list of supported GPUs since is does support double precision computation.
From: viewtopic.php?f=80&t=33320&p=318290&hilit=+gtx+550+#p318290

That's encouraging enough for me to try a little more.

That same post says
toTOW wrote:I think the problem here is that this old GPU requires legacy drivers, which are a different package than the one used for 2060. I'm not sure it's worth the hassle of trying to run this ancient and rather low end GPU ...
Is that how these drivers work? Is it one package for the whole OS, and all your GPUs must fit in the same package? If so, I'm moderately hopeful that both the 960 and the 550Ti are both legacy enough that they'd fit in the same package.

Unless I hear a great argument against wasting my time, my plan is to finish the current WUs and plop the 550 in, load up, and try adding the slot to see what happens :-D
Post Reply