RTX 2080 not detected in ubuntu 18.04

It seems that a lot of GPU problems revolve around specific versions of drivers. Though NVidia has their own support structure, you can often learn from information reported by others who fold.

Moderators: Site Moderators, FAHC Science Team

Post Reply
surreal
Posts: 4
Joined: Sat Mar 14, 2020 4:54 pm

RTX 2080 not detected in ubuntu 18.04

Post by surreal »

Hi there

I'm trying to help folding coronavirus WU, but can't get the gpu detected. I can fold with the cpu without problems

I have an ubuntu 18.04 system with an RTX 2080 super GPU, i have nvidia-driver-435 and my gpu is running fine (i work with blender and the gpu is fully working with CUDA)

In the log it seems CUDA device is found and OpenCL device also found, but no GPU

when i add a new GPU slot and press save, an alert is shown:

Code: Select all

On client "local" 127.0.0.1:36330: No available GPUs
I'm running F@H version 7.5.1

Hoping someone can help me setup this. Thanks in advance.

My log:

Code: Select all

*********************** Log Started 2020-03-14T16:17:09Z ***********************
16:17:09:************************* Folding@home Client *************************
16:17:09:        Website: https://foldingathome.org/
16:17:09:      Copyright: (c) 2009-2018 foldingathome.org
16:17:09:         Author: Joseph Coffland <joseph@cauldrondevelopment.com>
16:17:09:           Args: --child --lifeline 1738 /etc/fahclient/config.xml --run-as
16:17:09:                 fahclient --pid-file=/var/run/fahclient.pid --daemon
16:17:09:         Config: /etc/fahclient/config.xml
16:17:09:******************************** Build ********************************
16:17:09:        Version: 7.5.1
16:17:09:           Date: May 11 2018
16:17:09:           Time: 19:59:04
16:17:09:     Repository: Git
16:17:09:       Revision: 4705bf53c635f88b8fe85af7675557e15d491ff0
16:17:09:         Branch: master
16:17:09:       Compiler: GNU 6.3.0 20170516
16:17:09:        Options: -std=gnu++98 -O3 -funroll-loops
16:17:09:       Platform: linux2 4.14.0-3-amd64
16:17:09:           Bits: 64
16:17:09:           Mode: Release
16:17:09:******************************* System ********************************
16:17:09:            CPU: AMD Ryzen 9 3900X 12-Core Processor
16:17:09:         CPU ID: AuthenticAMD Family 23 Model 113 Stepping 0
16:17:09:           CPUs: 24
16:17:09:         Memory: 31.29GiB
16:17:09:    Free Memory: 30.38GiB
16:17:09:        Threads: POSIX_THREADS
16:17:09:     OS Version: 5.3
16:17:09:    Has Battery: false
16:17:09:     On Battery: false
16:17:09:     UTC Offset: 1
16:17:09:            PID: 1740
16:17:09:            CWD: /var/lib/fahclient
16:17:09:             OS: Linux 5.3.0-40-generic x86_64
16:17:09:        OS Arch: AMD64
16:17:09:           GPUs: 0
16:17:09:  CUDA Device 0: Platform:0 Device:0 Bus:13 Slot:0 Compute:7.5 Driver:10.1
16:17:09:OpenCL Device 0: Platform:0 Device:0 Bus:13 Slot:0 Compute:1.2 Driver:435.21
16:17:09:***********************************************************************
16:17:09:<config>
16:17:09:  <!-- Client Control -->
16:17:09:  <fold-anon v='true'/>
16:17:09:
16:17:09:  <!-- Folding Slot Configuration -->
16:17:09:  <gpu v='false'/>
16:17:09:
16:17:09:  <!-- Network -->
16:17:09:  <proxy v=':8080'/>
16:17:09:
16:17:09:  <!-- Slot Control -->
16:17:09:  <power v='full'/>
16:17:09:
16:17:09:  <!-- User Information -->
16:17:09:  <passkey v='********************************'/>
16:17:09:  <user v='surreal'/>
16:17:09:
16:17:09:  <!-- Folding Slots -->
16:17:09:  <slot id='1' type='CPU'/>
16:17:09:</config>
16:17:09:Switching to user fahclient
16:17:09:Trying to access database...
16:17:09:Successfully acquired database lock
16:17:09:Enabled folding slot 01: READY cpu:24
16:17:09:WU01:FS01:Starting
16:17:09:WU01:FS01:Running FahCore: /usr/bin/FAHCoreWrapper /var/lib/fahclient/cores/cores.foldingathome.org/v7/lin/64bit/avx/Core_a7.fah/FahCore_a7 -dir 01 -suffix 01 -version 705 -lifeline 1740 -checkpoint 15 -np 24
16:17:09:WU01:FS01:Started FahCore on PID 1750
16:17:09:WU01:FS01:Core PID:1754
16:17:09:WU01:FS01:FahCore 0xa7 started
16:17:10:WU01:FS01:0xa7:*********************** Log Started 2020-03-14T16:17:09Z ***********************
16:17:10:WU01:FS01:0xa7:************************** Gromacs Folding@home Core ***************************
16:17:10:WU01:FS01:0xa7:       Type: 0xa7
16:17:10:WU01:FS01:0xa7:       Core: Gromacs
16:17:10:WU01:FS01:0xa7:       Args: -dir 01 -suffix 01 -version 705 -lifeline 1750 -checkpoint 15 -np
16:17:10:WU01:FS01:0xa7:             24
16:17:10:WU01:FS01:0xa7:************************************ CBang *************************************
16:17:10:WU01:FS01:0xa7:       Date: Nov 5 2019
16:17:10:WU01:FS01:0xa7:       Time: 06:06:57
16:17:10:WU01:FS01:0xa7:   Revision: 46c96f1aa8419571d83f3e63f9c99a0d602f6da9
16:17:10:WU01:FS01:0xa7:     Branch: master
16:17:10:WU01:FS01:0xa7:   Compiler: GNU 8.3.0
16:17:10:WU01:FS01:0xa7:    Options: -std=c++11 -O3 -funroll-loops -fno-pie -fPIC
16:17:10:WU01:FS01:0xa7:   Platform: linux2 4.19.0-5-amd64
16:17:10:WU01:FS01:0xa7:       Bits: 64
16:17:10:WU01:FS01:0xa7:       Mode: Release
16:17:10:WU01:FS01:0xa7:************************************ System ************************************
16:17:10:WU01:FS01:0xa7:        CPU: AMD Ryzen 9 3900X 12-Core Processor
16:17:10:WU01:FS01:0xa7:     CPU ID: AuthenticAMD Family 23 Model 113 Stepping 0
16:17:10:WU01:FS01:0xa7:       CPUs: 24
16:17:10:WU01:FS01:0xa7:     Memory: 31.29GiB
16:17:10:WU01:FS01:0xa7:Free Memory: 30.37GiB
16:17:10:WU01:FS01:0xa7:    Threads: POSIX_THREADS
16:17:10:WU01:FS01:0xa7: OS Version: 5.3
16:17:10:WU01:FS01:0xa7:Has Battery: false
16:17:10:WU01:FS01:0xa7: On Battery: false
16:17:10:WU01:FS01:0xa7: UTC Offset: 1
16:17:10:WU01:FS01:0xa7:        PID: 1754
16:17:10:WU01:FS01:0xa7:        CWD: /var/lib/fahclient/work
16:17:10:WU01:FS01:0xa7:******************************** Build - libFAH ********************************
16:17:10:WU01:FS01:0xa7:    Version: 0.0.18
16:17:10:WU01:FS01:0xa7:     Author: Joseph Coffland <joseph@cauldrondevelopment.com>
16:17:10:WU01:FS01:0xa7:  Copyright: 2019 foldingathome.org
16:17:10:WU01:FS01:0xa7:   Homepage: https://foldingathome.org/
16:17:10:WU01:FS01:0xa7:       Date: Nov 5 2019
16:17:10:WU01:FS01:0xa7:       Time: 06:13:26
16:17:10:WU01:FS01:0xa7:   Revision: 490c9aa2957b725af319379424d5c5cb36efb656
16:17:10:WU01:FS01:0xa7:     Branch: master
16:17:10:WU01:FS01:0xa7:   Compiler: GNU 8.3.0
16:17:10:WU01:FS01:0xa7:    Options: -std=c++11 -O3 -funroll-loops -fno-pie
16:17:10:WU01:FS01:0xa7:   Platform: linux2 4.19.0-5-amd64
16:17:10:WU01:FS01:0xa7:       Bits: 64
16:17:10:WU01:FS01:0xa7:       Mode: Release
16:17:10:WU01:FS01:0xa7:************************************ Build *************************************
16:17:10:WU01:FS01:0xa7:       SIMD: avx_256
16:17:10:WU01:FS01:0xa7:********************************************************************************
16:17:10:WU01:FS01:0xa7:Project: 14182 (Run 18, Clone 289, Gen 14)
16:17:10:WU01:FS01:0xa7:Unit: 0x0000000f0002894b5dae0874c6166531
16:17:10:WU01:FS01:0xa7:Digital signatures verified
16:17:10:WU01:FS01:0xa7:Calling: mdrun -s frame14.tpr -o frame14.trr -cpi state.cpt -cpt 15 -nt 24
16:17:10:WU01:FS01:0xa7:Steps: first=35000000 total=2500000
16:17:10:WU01:FS01:0xa7:Completed 170652 out of 2500000 steps (6%)
16:17:23:WU01:FS01:0xa7:Completed 175000 out of 2500000 steps (7%)
16:19:58:WU01:FS01:0xa7:Completed 200000 out of 2500000 steps (8%)
16:22:58:WU01:FS01:0xa7:Completed 225000 out of 2500000 steps (9%)
16:25:33:WU01:FS01:0xa7:Completed 250000 out of 2500000 steps (10%)
bruce
Posts: 20910
Joined: Thu Nov 29, 2007 10:13 pm
Location: So. Cal.

Re: RTX 2080 not detected in ubuntu 18.04

Post by bruce »

Is your OS running native or in a VM?
surreal
Posts: 4
Joined: Sat Mar 14, 2020 4:54 pm

Re: RTX 2080 not detected in ubuntu 18.04

Post by surreal »

native
thorsam
Posts: 3
Joined: Mon Jul 30, 2018 2:28 pm
Location: Germany, Hanover

Re: RTX 2080 not detected in ubuntu 18.04

Post by thorsam »

It's look like that you have execute:

sudo apt update
and
sudo apt install ocl-icd-opencl-dev
and
reboot

Next what you have to do is:
sudo gedit /etc/fahclient/config.xml

change the gpu-entry from 'false' to 'true' and save it.
reboot

Next:
sudo wget https://fah-web.stanford.edu/file-relea ... c/GPUs.txt
sudo cp GPUs.txt /var/lib/fahclient
reboot

If you want to apply the fancontrol:

cd /etc/X11
sudo nvidia-xconfig --cool-bits=4
reboot

To start or stop the client manually:

sudo /etc/init.d/FAHClient start or stop
surreal
Posts: 4
Joined: Sat Mar 14, 2020 4:54 pm

Re: RTX 2080 not detected in ubuntu 18.04

Post by surreal »

thank you, @thorsam

with this instructions the gpu is detected:

Code: Select all

GPUs: 1
18:19:29:          GPU 0: Bus:13 Slot:0 Func:0 NVIDIA:8 TU104 [GeForce RTX 2080 Super]
18:19:29:  CUDA Device 0: Platform:0 Device:0 Bus:13 Slot:0 Compute:7.5 Driver:10.1
18:19:29:OpenCL Device 0: Platform:0 Device:0 Bus:13 Slot:0 Compute:1.2 Driver:435.21
but the queue status remains at download 0.00%...

it seems a problem with the server but not sure if i should set up something else...

Code: Select all

*********************** Log Started 2020-03-14T18:19:29Z ***********************
18:19:29:************************* Folding@home Client *************************
18:19:29:        Website: https://foldingathome.org/
18:19:29:      Copyright: (c) 2009-2018 foldingathome.org
18:19:29:         Author: Joseph Coffland <joseph@cauldrondevelopment.com>
18:19:29:           Args: --child --lifeline 1798 /etc/fahclient/config.xml --run-as
18:19:29:                 fahclient --pid-file=/var/run/fahclient.pid --daemon
18:19:29:         Config: /etc/fahclient/config.xml
18:19:29:******************************** Build ********************************
18:19:29:        Version: 7.5.1
18:19:29:           Date: May 11 2018
18:19:29:           Time: 19:59:04
18:19:29:     Repository: Git
18:19:29:       Revision: 4705bf53c635f88b8fe85af7675557e15d491ff0
18:19:29:         Branch: master
18:19:29:       Compiler: GNU 6.3.0 20170516
18:19:29:        Options: -std=gnu++98 -O3 -funroll-loops
18:19:29:       Platform: linux2 4.14.0-3-amd64
18:19:29:           Bits: 64
18:19:29:           Mode: Release
18:19:29:******************************* System ********************************
18:19:29:            CPU: AMD Ryzen 9 3900X 12-Core Processor
18:19:29:         CPU ID: AuthenticAMD Family 23 Model 113 Stepping 0
18:19:29:           CPUs: 24
18:19:29:         Memory: 31.29GiB
18:19:29:    Free Memory: 30.37GiB
18:19:29:        Threads: POSIX_THREADS
18:19:29:     OS Version: 5.3
18:19:29:    Has Battery: false
18:19:29:     On Battery: false
18:19:29:     UTC Offset: 1
18:19:29:            PID: 1800
18:19:29:            CWD: /var/lib/fahclient
18:19:29:             OS: Linux 5.3.0-40-generic x86_64
18:19:29:        OS Arch: AMD64
18:19:29:           GPUs: 1
18:19:29:          GPU 0: Bus:13 Slot:0 Func:0 NVIDIA:8 TU104 [GeForce RTX 2080 Super]
18:19:29:  CUDA Device 0: Platform:0 Device:0 Bus:13 Slot:0 Compute:7.5 Driver:10.1
18:19:29:OpenCL Device 0: Platform:0 Device:0 Bus:13 Slot:0 Compute:1.2 Driver:435.21
18:19:29:***********************************************************************
18:19:29:<config>
18:19:29:  <!-- Client Control -->
18:19:29:  <fold-anon v='true'/>
18:19:29:
18:19:29:  <!-- Network -->
18:19:29:  <proxy v=':8080'/>
18:19:29:
18:19:29:  <!-- Slot Control -->
18:19:29:  <power v='full'/>
18:19:29:
18:19:29:  <!-- User Information -->
18:19:29:  <passkey v='********************************'/>
18:19:29:  <user v='surreal'/>
18:19:29:
18:19:29:  <!-- Folding Slots -->
18:19:29:  <slot id='0' type='GPU'/>
18:19:29:</config>
18:19:29:Switching to user fahclient
18:19:29:Trying to access database...
18:19:29:Successfully acquired database lock
18:19:29:Enabled folding slot 00: READY gpu:0:TU104 [GeForce RTX 2080 Super]
18:19:29:WU00:FS00:Connecting to 65.254.110.245:8080
18:19:30:WU00:FS00:Assigned to work server 155.247.166.220
18:19:30:WU00:FS00:Requesting new work unit for slot 00: READY gpu:0:TU104 [GeForce RTX 2080 Super] from 155.247.166.220
18:19:30:WU00:FS00:Connecting to 155.247.166.220:8080
18:19:31:ERROR:WU00:FS00:Exception: 10001: Server responded: HTTP_SERVICE_UNAVAILABLE
18:19:31:WU00:FS00:Connecting to 65.254.110.245:8080
18:19:32:WU00:FS00:Assigned to work server 155.247.166.220
18:19:32:WU00:FS00:Requesting new work unit for slot 00: READY gpu:0:TU104 [GeForce RTX 2080 Super] from 155.247.166.220
18:19:32:WU00:FS00:Connecting to 155.247.166.220:8080
18:19:32:ERROR:WU00:FS00:Exception: 10001: Server responded: HTTP_SERVICE_UNAVAILABLE
18:20:31:WU00:FS00:Connecting to 65.254.110.245:8080
18:20:32:WU00:FS00:Assigned to work server 155.247.166.220
18:20:32:WU00:FS00:Requesting new work unit for slot 00: READY gpu:0:TU104 [GeForce RTX 2080 Super] from 155.247.166.220
18:20:32:WU00:FS00:Connecting to 155.247.166.220:8080
18:20:32:ERROR:WU00:FS00:Exception: 10001: Server responded: HTTP_SERVICE_UNAVAILABLE
18:22:09:WU00:FS00:Connecting to 65.254.110.245:8080
18:22:09:WARNING:WU00:FS00:Failed to get assignment from '65.254.110.245:8080': No WUs available for this configuration
18:22:09:WU00:FS00:Connecting to 18.218.241.186:80
18:22:09:WU00:FS00:Assigned to work server 140.163.4.231
18:22:09:WU00:FS00:Requesting new work unit for slot 00: READY gpu:0:TU104 [GeForce RTX 2080 Super] from 140.163.4.231
18:22:09:WU00:FS00:Connecting to 140.163.4.231:8080
18:23:21:ERROR:WU00:FS00:Exception: Server did not assign work unit
18:24:46:WU00:FS00:Connecting to 65.254.110.245:8080
18:24:46:WARNING:WU00:FS00:Failed to get assignment from '65.254.110.245:8080': No WUs available for this configuration
18:24:46:WU00:FS00:Connecting to 18.218.241.186:80
18:24:47:WARNING:WU00:FS00:Failed to get assignment from '18.218.241.186:80': No WUs available for this configuration
18:24:47:ERROR:WU00:FS00:Exception: Could not get an assignment
surreal
Posts: 4
Joined: Sat Mar 14, 2020 4:54 pm

Re: RTX 2080 not detected in ubuntu 18.04

Post by surreal »

ok, i found the info about the Temporary server outages
gilesmorris
Posts: 1
Joined: Sun Mar 15, 2020 10:27 am

Re: RTX 2080 not detected in ubuntu 18.04

Post by gilesmorris »

Awesome thanks @thorsam @surreal

I was having exactly the same problem.

The post solved it.

Now I am feeling more useful!
esfishox
Posts: 5
Joined: Fri Mar 27, 2020 4:16 am
Hardware configuration: Gigabyte Windforce RTX 4080 on Ubuntu 22.04
Gigabyte WC RTX 3080 LHR on Windows 11

Re: RTX 2080 not detected in ubuntu 18.04

Post by esfishox »

referred to this twice now to get my GTX 1660 Tis recognized under headless Ubuntu. Thanks!!
Image
Post Reply