Using GPU with ATI Radeon RX580 on Ubuntu 19.10 system

Questions and Answers : GPU applications : Using GPU with ATI Radeon RX580 on Ubuntu 19.10 system
Message board moderation

To post messages, you must log in.

AuthorMessage
Profile stefan
Avatar

Send message
Joined: 8 May 12
Posts: 7
Credit: 2,023,116
RAC: 17
Germany
Message 2017908 - Posted: 5 Nov 2019, 14:48:43 UTC

Hello folks,

my problem occurs since I switched to the latest Ubuntu version with free amdgpu drivers. Now there are "OpenCL build failure" errors. Is it possible to use GPU with open drivers (BOINC version is 7.16.3 x86_64-pc-linux-gnu). Here is boinc output from terminal:

05-Nov-2019 14:59:02 [---] OpenCL: AMD/ATI GPU 0: Radeon RX 580 Series (POLARIS10, DRM 3.33.0, 5.3.8-050308-generic, LLVM 9.0.0) (driver version 19.3.0-devel, device version OpenCL 1.1 Mesa 19.3.0-devel (git-ff6e148 2019-10-29 eoan-oibaf-ppa), 8192MB, 8192MB available, 3934 GFLOPS

Any help is highly appreciated.

Kind regards

stefan
ID: 2017908 · Report as offensive
Profile Keith Myers Special Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 29 Apr 01
Posts: 12949
Credit: 1,160,866,277
RAC: 1,873
United States
Message 2018021 - Posted: 7 Nov 2019, 0:52:26 UTC - in response to Message 2017908.  

BOINC does not work with the normal Mesa OpenCL drivers for most projects. Seti being one of them. You need to use the normal card vendor OpenCL driver components. The problem is that AMD probably hasn't made any drivers for Ubuntu 19.10 yet. There are the legacy drivers that work:
./amdgpu-install -y --opencl=legacy

Or maybe try your existing drivers with the --opencl=legacy option flag. Look at your driver documentation.

I also saw a post about installing the mesa-opencl-icd drivers working on Ubuntu 18.04
sudo aptitude install mesa-opencl-icd

Seti@Home classic workunits:20,676 CPU time:74,226 hours

A proud member of the OFA (Old Farts Association)
ID: 2018021 · Report as offensive

Questions and Answers : GPU applications : Using GPU with ATI Radeon RX580 on Ubuntu 19.10 system


 
©2021 University of California
 
SETI@home and Astropulse are funded by grants from the National Science Foundation, NASA, and donations from SETI@home volunteers. AstroPulse is funded in part by the NSF through grant AST-0307956.