Linux Mint 19.3 and RX 550 - GPU not detected

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

Moderators: Site Moderators, FAHC Science Team

WhataburgerSr
Posts: 7
Joined: Sat Jan 25, 2020 10:03 pm

Linux Mint 19.3 and RX 550 - GPU not detected

Post by WhataburgerSr »

Hello everyone,

I have a computer running Linux Mint 19.3 and an AMD RX550. The latest driver is installed from AMD's website and the computer detects the card without any problems. When I have installed FAH, it does not detect the card. When I go into configure, slots, and try to add the gpu and hit save, there is no error and it is not added. I used to run Windows 10 on it and it worked flawlessly. When the old drive died a few months ago, I replaced it with a new drive and Linux Mint and everything else works flawlessly. The cpu portion is working great but I would like to contribute more than 800ish points per day if I can. Is there anything else I should try to resolve this?
bruce
Posts: 20910
Joined: Thu Nov 29, 2007 10:13 pm
Location: So. Cal.

Re: Linux Mint 19.3 and RX 550 - GPU not detected

Post by bruce »

Please post FAH's log. (See below in my signature block.)

This is most likely a driver problem. Is the OpenCL driver installed?
WhataburgerSr
Posts: 7
Joined: Sat Jan 25, 2020 10:03 pm

Re: Linux Mint 19.3 and RX 550 - GPU not detected

Post by WhataburgerSr »

Here is the log. It looks like OpenCL is not detected. I tried reinstalling the driver with the same notice. Is there a way to install OpenCL by itself?
*********************** Log Started 2020-01-25T20:02:04Z ***********************
20:02:04:************************* Folding@home Client *************************
20:02:04: Website: https://foldingathome.org/
20:02:04: Copyright: (c) 2009-2018 foldingathome.org
20:02:04: Author: Joseph Coffland <joseph@cauldrondevelopment.com>
20:02:04: Args: --child --lifeline 1900 /etc/fahclient/config.xml --run-as
20:02:04: fahclient --pid-file=/var/run/fahclient.pid --daemon
20:02:04: Config: /etc/fahclient/config.xml
20:02:04:******************************** Build ********************************
20:02:04: Version: 7.5.1
20:02:04: Date: May 11 2018
20:02:04: Time: 19:59:04
20:02:04: Repository: Git
20:02:04: Revision: 4705bf53c635f88b8fe85af7675557e15d491ff0
20:02:04: Branch: master
20:02:04: Compiler: GNU 6.3.0 20170516
20:02:04: Options: -std=gnu++98 -O3 -funroll-loops
20:02:04: Platform: linux2 4.14.0-3-amd64
20:02:04: Bits: 64
20:02:04: Mode: Release
20:02:04:******************************* System ********************************
20:02:04: CPU: Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz
20:02:04: CPU ID: GenuineIntel Family 6 Model 58 Stepping 9
20:02:04: CPUs: 8
20:02:04: Memory: 15.58GiB
20:02:04:Free Memory: 14.54GiB
20:02:04: Threads: POSIX_THREADS
20:02:04: OS Version: 5.3
20:02:04:Has Battery: false
20:02:04: On Battery: false
20:02:04: UTC Offset: -6
20:02:04: PID: 1903
20:02:04: CWD: /var/lib/fahclient
20:02:04: OS: Linux 5.3.0-26-generic x86_64
20:02:04: OS Arch: AMD64
20:02:04: GPUs: 0
20:02:04: CUDA: Not detected: Failed to open dynamic library 'libcuda.so':
20:02:04: libcuda.so: cannot open shared object file: No such file or
20:02:04: directory
20:02:04: OpenCL: Not detected: Failed to open dynamic library 'libOpenCL.so':
20:02:04: libOpenCL.so: cannot open shared object file: No such file or
20:02:04: directory
20:02:04:***********************************************************************
20:02:04:<config>
20:02:04: <!-- Client Control -->
20:02:04: <fold-anon v='true'/>
20:02:04:
20:02:04: <!-- Folding Slot Configuration -->
20:02:04: <gpu v='false'/>
20:02:04:
20:02:04: <!-- Network -->
20:02:04: <proxy v=':8080'/>
20:02:04:
20:02:04: <!-- User Information -->
20:02:04: <team v='225605'/>
20:02:04: <user v='WhataburgerSr'/>
20:02:04:
20:02:04: <!-- Folding Slots -->
20:02:04: <slot id='0' type='CPU'/>
20:02:04:</config>
20:02:04:Switching to user fahclient
20:02:04:Trying to access database...
20:02:04:Successfully acquired database lock
20:02:04:Enabled folding slot 00: READY cpu:7
20:02:04:WU00:FS00:Connecting to 65.254.110.245:8080
20:02:05:WU00:FS00:Assigned to work server 128.252.203.9
20:02:05:WU00:FS00:Requesting new work unit for slot 00: READY cpu:7 from 128.252.203.9
20:02:05:WU00:FS00:Connecting to 128.252.203.9:8080
20:02:06:WU00:FS00:Downloading 7.29MiB
20:02:10:WU00:FS00:Download complete
20:02:10:WU00:FS00:Received Unit: id:00 state:DOWNLOAD error:NO_ERROR project:14400 run:0 clone:136 gen:51 core:0xa7 unit:0x0000003780fccb095dcad9b7532b138e
20:02:10:WU00:FS00:Starting
20:02:10: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 1903 -checkpoint 15 -np 7
20:02:10:WU00:FS00:Started FahCore on PID 2059
20:02:10:WU00:FS00:Core PID:2063
20:02:10:WU00:FS00:FahCore 0xa7 started
20:02:11:WU00:FS00:0xa7:*********************** Log Started 2020-01-25T20:02:10Z ***********************
20:02:11:WU00:FS00:0xa7:************************** Gromacs Folding@home Core ***************************
20:02:11:WU00:FS00:0xa7: Type: 0xa7
20:02:11:WU00:FS00:0xa7: Core: Gromacs
20:02:11:WU00:FS00:0xa7: Args: -dir 00 -suffix 01 -version 705 -lifeline 2059 -checkpoint 15 -np 7
20:02:11:WU00:FS00:0xa7:************************************ CBang *************************************
20:02:11:WU00:FS00:0xa7: Date: Nov 5 2019
20:02:11:WU00:FS00:0xa7: Time: 06:06:57
20:02:11:WU00:FS00:0xa7: Revision: 46c96f1aa8419571d83f3e63f9c99a0d602f6da9
20:02:11:WU00:FS00:0xa7: Branch: master
20:02:11:WU00:FS00:0xa7: Compiler: GNU 8.3.0
20:02:11:WU00:FS00:0xa7: Options: -std=c++11 -O3 -funroll-loops -fno-pie -fPIC
20:02:11:WU00:FS00:0xa7: Platform: linux2 4.19.0-5-amd64
20:02:11:WU00:FS00:0xa7: Bits: 64
20:02:11:WU00:FS00:0xa7: Mode: Release
20:02:11:WU00:FS00:0xa7:************************************ System ************************************
20:02:11:WU00:FS00:0xa7: CPU: Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz
20:02:11:WU00:FS00:0xa7: CPU ID: GenuineIntel Family 6 Model 58 Stepping 9
20:02:11:WU00:FS00:0xa7: CPUs: 8
20:02:11:WU00:FS00:0xa7: Memory: 15.58GiB
20:02:11:WU00:FS00:0xa7:Free Memory: 14.29GiB
20:02:11:WU00:FS00:0xa7: Threads: POSIX_THREADS
20:02:11:WU00:FS00:0xa7: OS Version: 5.3
20:02:11:WU00:FS00:0xa7:Has Battery: false
20:02:11:WU00:FS00:0xa7: On Battery: false
20:02:11:WU00:FS00:0xa7: UTC Offset: -6
20:02:11:WU00:FS00:0xa7: PID: 2063
20:02:11:WU00:FS00:0xa7: CWD: /var/lib/fahclient/work
20:02:11:WU00:FS00:0xa7:******************************** Build - libFAH ********************************
20:02:11:WU00:FS00:0xa7: Version: 0.0.18
20:02:11:WU00:FS00:0xa7: Author: Joseph Coffland <joseph@cauldrondevelopment.com>
20:02:11:WU00:FS00:0xa7: Copyright: 2019 foldingathome.org
20:02:11:WU00:FS00:0xa7: Homepage: https://foldingathome.org/
20:02:11:WU00:FS00:0xa7: Date: Nov 5 2019
20:02:11:WU00:FS00:0xa7: Time: 06:13:26
20:02:11:WU00:FS00:0xa7: Revision: 490c9aa2957b725af319379424d5c5cb36efb656
20:02:11:WU00:FS00:0xa7: Branch: master
20:02:11:WU00:FS00:0xa7: Compiler: GNU 8.3.0
20:02:11:WU00:FS00:0xa7: Options: -std=c++11 -O3 -funroll-loops -fno-pie
20:02:11:WU00:FS00:0xa7: Platform: linux2 4.19.0-5-amd64
20:02:11:WU00:FS00:0xa7: Bits: 64
20:02:11:WU00:FS00:0xa7: Mode: Release
20:02:11:WU00:FS00:0xa7:************************************ Build *************************************
20:02:11:WU00:FS00:0xa7: SIMD: avx_256
20:02:11:WU00:FS00:0xa7:********************************************************************************
20:02:11:WU00:FS00:0xa7:Project: 14400 (Run 0, Clone 136, Gen 51)
20:02:11:WU00:FS00:0xa7:Unit: 0x0000003780fccb095dcad9b7532b138e
20:02:11:WU00:FS00:0xa7:Reading tar file core.xml
20:02:11:WU00:FS00:0xa7:Reading tar file frame51.tpr
20:02:11:WU00:FS00:0xa7:Digital signatures verified
20:02:11:WU00:FS00:0xa7:Reducing thread count from 7 to 6 to avoid domain decomposition by a prime number > 3
20:02:11:WU00:FS00:0xa7:Calling: mdrun -s frame51.tpr -o frame51.trr -x frame51.xtc -cpt 15 -nt 6
20:02:11:WU00:FS00:0xa7:Steps: first=6375000 total=125000
20:02:13:WU00:FS00:0xa7:Completed 1 out of 125000 steps (0%)
******************************* Date: 2020-01-26 *******************************
02:02:28:WARNING:WU00:FS00:Detected clock skew (6 hours 00 mins), I/O delay, laptop hibernation or other slowdown noted, adjusting time estimates
bruce
Posts: 20910
Joined: Thu Nov 29, 2007 10:13 pm
Location: So. Cal.

Re: Linux Mint 19.3 and RX 550 - GPU not detected

Post by bruce »

Personally, I don't happen to use AMD-Graphics. I searched for a while on Ask Ubuntu and found a number of unanswered questions. Next, I'd look at https://www.khronos.org/opencl/ since they're the developer of OpenCL.

At least we know what the problem is.
foldy
Posts: 2061
Joined: Sat Dec 01, 2012 3:43 pm
Hardware configuration: Folding@Home Client 7.6.13 (1 GPU slots)
Windows 7 64bit
Intel Core i5 2500k@4Ghz
Nvidia gtx 1080ti driver 441

Re: Linux Mint 19.3 and RX 550 - GPU not detected

Post by foldy »

No! Khronos only specifies APIs. For OpenCL library for linux mint you need to install its package

Code: Select all

sudo apt install ocl-icd-opencl-dev
WhataburgerSr
Posts: 7
Joined: Sat Jan 25, 2020 10:03 pm

Re: Linux Mint 19.3 and RX 550 - GPU not detected

Post by WhataburgerSr »

Hi foldy,

I was hoping that would work but no luck. I even found an old post for Ubuntu 16.04 that showed how to install Mesa but no luck there either. I'm looking for other distros that install OpenCL by default and can not find one that installs it for sure. This computer is regulated to light use(surfing the internet, email, LibreOffice, some scribus work,etc) so I don't mind moving to another distro either.
MeeLee
Posts: 1375
Joined: Tue Feb 19, 2019 10:16 pm

Re: Linux Mint 19.3 and RX 550 - GPU not detected

Post by MeeLee »

what does the following command give?:

Code: Select all

sudo lspci | grep VGA
If your GPU is recognized, did you set the GPU to true?
(in Expert options, add following line:
gpu true
Image
bollix47
Posts: 2942
Joined: Sun Dec 02, 2007 5:04 am
Location: Canada

Re: Linux Mint 19.3 and RX 550 - GPU not detected

Post by bollix47 »

Just curious but did you reboot after installing ocl-icd-opencl-dev ? Sometimes that's a necessary step in order to setup the environment properly.

You might have to re-install the FAH client too but check after a reboot first.
WhataburgerSr
Posts: 7
Joined: Sat Jan 25, 2020 10:03 pm

Re: Linux Mint 19.3 and RX 550 - GPU not detected

Post by WhataburgerSr »

Partial success!! :D

I reinstalled FAH client, added the gpu true in expert mode, and now it is listed and ready!

The results of lspci are
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Lexa PRO [Radeon RX 550/550X] (rev c7)
The gpu now shows ready but it has attempted 5 times and is waiting on FahCore Run. I have tried restarting the computer to see if that will help but it shows the same notice. What can I do to fix that?
bollix47
Posts: 2942
Joined: Sun Dec 02, 2007 5:04 am
Location: Canada

Re: Linux Mint 19.3 and RX 550 - GPU not detected

Post by bollix47 »

Try opening a terminal and input the following:

Code: Select all

lspci -vnn | grep VGA -A 12
and please post the output here.

We're looking for ids ([xxxx:xxxx]) that are the same as the ones in GPUs.txt:

0x1002:0x699f:1:5:AMD/ATI [Radeon RX 550 Series]
WhataburgerSr
Posts: 7
Joined: Sat Jan 25, 2020 10:03 pm

Re: Linux Mint 19.3 and RX 550 - GPU not detected

Post by WhataburgerSr »

Hi bollix47,

Here is the output

01:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Lexa PRO [Radeon RX 550/550X] [1002:699f] (rev c7) (prog-if 00 [VGA controller])
Subsystem: XFX Pine Group Inc. Lexa PRO [Radeon RX 550] [1682:9550]
Flags: bus master, fast devsel, latency 0, IRQ 31
Memory at e0000000 (64-bit, prefetchable) [size=256M]
Memory at f0000000 (64-bit, prefetchable) [size=2M]
I/O ports at e000
Memory at f7e00000 (32-bit, non-prefetchable) [size=256K]
Expansion ROM at 000c0000 [disabled] [size=128K]
Capabilities: <access denied>
Kernel driver in use: amdgpu
Kernel modules: amdgpu

01:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Device [1002:aae0]
bruce
Posts: 20910
Joined: Thu Nov 29, 2007 10:13 pm
Location: So. Cal.

Re: Linux Mint 19.3 and RX 550 - GPU not detected

Post by bruce »

When you restart FAHClient, the old copy of FAH's log is replaced with a new one. Please look again. Has the following segment (near the top)

Code: Select all

20:02:04: OS Arch: AMD64
20:02:04: GPUs: 0
20:02:04: CUDA: Not detected: Failed to open dynamic library 'libcuda.so':
20:02:04: libcuda.so: cannot open shared object file: No such file or
20:02:04: directory
20:02:04: OpenCL: Not detected: Failed to open dynamic library 'libOpenCL.so':
20:02:04: libOpenCL.so: cannot open shared object file: No such file or
20:02:04: directory
WhataburgerSr
Posts: 7
Joined: Sat Jan 25, 2020 10:03 pm

Re: Linux Mint 19.3 and RX 550 - GPU not detected

Post by WhataburgerSr »

Here is the latest log. How do i set this manually?

04:02:46:ERROR:WU00:FS01:Failed to start core: OpenCL device matching slot 1 not found, try setting 'opencl-index' manually
04:02:46:WU00:FS01:Starting
04:02:46:ERROR:WU00:FS01:Failed to start core: OpenCL device matching slot 1 not found, try setting 'opencl-index' manually
bruce
Posts: 20910
Joined: Thu Nov 29, 2007 10:13 pm
Location: So. Cal.

Re: Linux Mint 19.3 and RX 550 - GPU not detected

Post by bruce »

You don't set it manually. That's a misleading suggestion.

The key statement was in your quote:
GPUs: 0

There are still no OpenCL GPU recognized. Until the driver problem is resolved, FAH cannot find a supported GPU, and neither can you find one manually
MeeLee
Posts: 1375
Joined: Tue Feb 19, 2019 10:16 pm

Re: Linux Mint 19.3 and RX 550 - GPU not detected

Post by MeeLee »

Now that at least the GPU is recognized (though not working), try to install the openCL drivers again. Hope that helps.
Post Reply