Unbuntu 18.04 and AMD driver -- need help

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

rdavis852
Posts: 10
Joined: Wed May 20, 2020 7:30 pm

Unbuntu 18.04 and AMD driver -- need help

Post by rdavis852 »

Unbuntu 18.04 and AMD driver script amdgpu-pro-20.10-1048554

After many many many(AMD needs to come up with a better script) I got brand new loads of the os and the drivers to load. Stock installs with no configurations. FHcontrol shows - OpenCL on the status page is showing -1

I've added gpu = true and set it to -1 as well as 1

clinfo shows that the script loaded OpenCL (see below)

I've put way too many hours(sorry burned out) in trying to get this to run.
I'm at a loss since there were no errors in the script. What do I need to do next?

Log file
++++++++++++++++++++++++++++++++++++++++++

*********************** Log Started 2020-05-20T19:21:50Z ***********************

Code: Select all

19:21:50:Trying to access database...
19:21:50:Successfully acquired database lock
19:21:50:Read GPUs.txt
19:21:50:Enabled folding slot 01: READY gpu:1:Ellesmere XT [Radeon RX 470/480/570/580/590]
19:21:50:ERROR:No compute devices matched GPU #1 {
19:21:50:ERROR:  "vendor": 4098,
19:21:50:ERROR:  "device": 26591,
19:21:50:ERROR:  "type": 1,
19:21:50:ERROR:  "species": 5,
19:21:50:ERROR:  "description": "Ellesmere XT [Radeon RX 470/480/570/580/590]"
19:21:50:ERROR:}.  You may need to update your graphics drivers.
19:21:50:****************************** FAHClient ******************************
19:21:50:    Version: 7.6.13
19:21:50:     Author: Joseph Coffland <joseph@cauldrondevelopment.com>
19:21:50:  Copyright: 2020 foldingathome.org
19:21:50:   Homepage: https://foldingathome.org/
19:21:50:       Date: Apr 28 2020
19:21:50:       Time: 04:20:16
19:21:50:   Revision: 5a652817f46116b6e135503af97f18e094414e3b
19:21:50:     Branch: master
19:21:50:   Compiler: GNU 8.3.0
19:21:50:    Options: -std=c++11 -ffunction-sections -fdata-sections -O3 -funroll-loops
19:21:50:             -fno-pie
19:21:50:   Platform: linux2 4.19.0-5-amd64
19:21:50:       Bits: 64
19:21:50:       Mode: Release
19:21:50:       Args: --child /etc/fahclient/config.xml --run-as fahclient
19:21:50:             --pid-file=/var/run/fahclient.pid --daemon
19:21:50:     Config: /etc/fahclient/config.xml
19:21:50:******************************** CBang ********************************
19:21:50:       Date: Apr 25 2020
19:21:50:       Time: 00:07:53
19:21:50:   Revision: ea081a3b3b0f4a37c4d0440b4f1bc184197c7797
19:21:50:     Branch: master
19:21:50:   Compiler: GNU 8.3.0
19:21:50:    Options: -std=c++11 -ffunction-sections -fdata-sections -O3 -funroll-loops
19:21:50:             -fno-pie -fPIC
19:21:50:   Platform: linux2 4.19.0-5-amd64
19:21:50:       Bits: 64
19:21:50:       Mode: Release
19:21:50:******************************* System ********************************
19:21:50:        CPU: AMD Athlon(tm) II X2 260 Processor
19:21:50:     CPU ID: AuthenticAMD Family 16 Model 6 Stepping 3
19:21:50:       CPUs: 2
19:21:50:     Memory: 7.53GiB
19:21:50:Free Memory: 6.63GiB
19:21:50:    Threads: POSIX_THREADS
19:21:50: OS Version: 5.3
19:21:50:Has Battery: false
19:21:50: On Battery: false
19:21:50: UTC Offset: -5
19:21:50:        PID: 1369
19:21:50:        CWD: /var/lib/fahclient
19:21:50:         OS: Linux 5.3.0-53-generic x86_64
19:21:50:    OS Arch: AMD64
19:21:50:       GPUs: 2
19:21:50:      GPU 0: Bus:1 Slot:5 Func:0 AMD:0 760G [Radeon 3000]
19:21:50:      GPU 1: Bus:7 Slot:0 Func:0 AMD:5 Ellesmere XT [Radeon RX
19:21:50:             470/480/570/580/590]
19:21:50:       CUDA: Not detected: Failed to open dynamic library 'libcuda.so':
19:21:50:             libcuda.so: cannot open shared object file: No such file or
19:21:50:             directory
19:21:50:     OpenCL: Not detected: clGetDeviceIDs() returned -1
19:21:50:******************************* libFAH ********************************
19:21:50:       Date: Apr 15 2020
19:21:50:       Time: 21:43:24
19:21:50:   Revision: 216968bc7025029c841ed6e36e81a03a316890d3
19:21:50:     Branch: master
19:21:50:   Compiler: GNU 8.3.0
19:21:50:    Options: -std=c++11 -ffunction-sections -fdata-sections -O3 -funroll-loops
19:21:50:             -fno-pie
19:21:50:   Platform: linux2 4.19.0-5-amd64
19:21:50:       Bits: 64
19:21:50:       Mode: Release
19:21:50:***********************************************************************
19:21:50:<config>
19:21:50:  <!-- Client Control -->
19:21:50:  <fold-anon v='true'/>
19:21:50:
19:21:50:  <!-- Folding Slot Configuration -->
19:21:50:  <cause v='COVID_19'/>
19:21:50:
19:21:50:  <!-- Network -->
19:21:50:  <proxy v=':8080'/>
19:21:50:
19:21:50:  <!-- Slot Control -->
19:21:50:  <pause-on-battery v='false'/>
19:21:50:  <power v='full'/>
19:21:50:
19:21:50:  <!-- User Information -->
19:21:50:  <passkey v='*****'/>
19:21:50:  <team v='248227'/>
19:21:50:  <user v='anotherminer'/>
19:21:50:
19:21:50:  <!-- Folding Slots -->
19:21:50:  <slot id='1' type='GPU'>
19:21:50:    <cuda-index v='1'/>
19:21:50:    <gpu-index v='1'/>
19:21:50:    <opencl-index v='1'/>
19:21:50:  </slot>
19:21:50:</config>
19:21:50:WU00:FS01:Connecting to assign1.foldingathome.org:80
19:21:51:WARNING:WU00:FS01:Failed to get assignment from 'assign1.foldingathome.org:80': No WUs available for this configuration


19:24:37:WU00:FS01:0x22:*********************** Log Started 2020-05-20T19:24:36Z ***********************
19:24:37:WU00:FS01:0x22:*************************** Core22 Folding@home Core ***************************
19:24:37:WU00:FS01:0x22:       Type: 0x22
19:24:37:WU00:FS01:0x22:       Core: Core22
19:24:37:WU00:FS01:0x22:    Website: https://foldingathome.org/
19:24:37:WU00:FS01:0x22:  Copyright: (c) 2009-2018 foldingathome.org
19:24:37:WU00:FS01:0x22:     Author: John Chodera <john.chodera@choderalab.org> and Rafal Wiewiora
19:24:37:WU00:FS01:0x22:             <rafal.wiewiora@choderalab.org>
19:24:37:WU00:FS01:0x22:       Args: -dir 00 -suffix 01 -version 706 -lifeline 1801 -checkpoint 15
19:24:37:WU00:FS01:0x22:             -gpu-vendor amd -opencl-device 1 -cuda-device 1 -gpu 1
19:24:37:WU00:FS01:0x22:     Config: <none>
19:24:37:WU00:FS01:0x22:************************************ Build *************************************
19:24:37:WU00:FS01:0x22:    Version: 0.0.5
19:24:37:WU00:FS01:0x22:       Date: Apr 22 2020
19:24:37:WU00:FS01:0x22:       Time: 03:57:11
19:24:37:WU00:FS01:0x22: Repository: Git
19:24:37:WU00:FS01:0x22:   Revision: 2d69202c898bd9bb3e093f51cd32bf411c2a0388
19:24:37:WU00:FS01:0x22:     Branch: HEAD
19:24:37:WU00:FS01:0x22:   Compiler: GNU 4.8.2 20140120 (Red Hat 4.8.2-15)
19:24:37:WU00:FS01:0x22:    Options: -std=c++11 -O3 -funroll-loops
19:24:37:WU00:FS01:0x22:   Platform: linux2 4.19.76-linuxkit
19:24:37:WU00:FS01:0x22:       Bits: 64
19:24:37:WU00:FS01:0x22:       Mode: Release
19:24:37:WU00:FS01:0x22:************************************ System ************************************
19:24:37:WU00:FS01:0x22:        CPU: AMD Athlon(tm) II X2 260 Processor
19:24:37:WU00:FS01:0x22:     CPU ID: AuthenticAMD Family 16 Model 6 Stepping 3
19:24:37:WU00:FS01:0x22:       CPUs: 2
19:24:37:WU00:FS01:0x22:     Memory: 7.53GiB
19:24:37:WU00:FS01:0x22:Free Memory: 5.82GiB
19:24:37:WU00:FS01:0x22:    Threads: POSIX_THREADS
19:24:37:WU00:FS01:0x22: OS Version: 5.3
19:24:37:WU00:FS01:0x22:Has Battery: false
19:24:37:WU00:FS01:0x22: On Battery: false
19:24:37:WU00:FS01:0x22: UTC Offset: -5
19:24:37:WU00:FS01:0x22:        PID: 1805
19:24:37:WU00:FS01:0x22:        CWD: /var/lib/fahclient/work
19:24:37:WU00:FS01:0x22:         OS: Linux 5.3.0-53-generic x86_64
19:24:37:WU00:FS01:0x22:    OS Arch: AMD64
19:24:37:WU00:FS01:0x22:********************************************************************************
19:24:37:WU00:FS01:0x22:Project: 11763 (Run 0, Clone 5668, Gen 25)
19:24:37:WU00:FS01:0x22:Unit: 0x0000003d80fccb0a5e711379fcb19e2e
19:24:37:WU00:FS01:0x22:Reading tar file core.xml
19:24:37:WU00:FS01:0x22:Reading tar file integrator.xml
19:24:37:WU00:FS01:0x22:Reading tar file state.xml
19:24:37:WU00:FS01:0x22:Reading tar file system.xml
19:24:37:WU00:FS01:0x22:Digital signatures verified
19:24:37:WU00:FS01:0x22:Folding@home GPU Core22 Folding@home Core
19:24:37:WU00:FS01:0x22:Version 0.0.5
19:24:43:WU00:FS01:0x22:ERROR:exception: Error initializing context: clGetDeviceIDs (-1)
19:24:43:WU00:FS01:0x22:Saving result file ../logfile_01.txt
19:24:43:WU00:FS01:0x22:Saving result file science.log
19:24:43:WU00:FS01:0x22:Folding@home Core Shutdown: BAD_WORK_UNIT
19:24:43:WARNING:WU00:FS01:FahCore returned: BAD_WORK_UNIT (114 = 0x72)
19:24:43:WU00:FS01:Sending unit results: id:00 state:SEND error:FAULTY project:11763 run:0 clone:5668 gen:25 core:0x22 unit:0x0000003d80fccb0a5e711379fcb19e2e
19:24:43:WU00:FS01:Uploading 7.50KiB to 128.252.203.10
19:24:43:WU00:FS01:Connecting to 128.252.203.10:8080
19:24:43:WU01:FS01:Connecting to assign1.foldingathome.org:80
19:24:43:WARNING:WU01:FS01:Failed to get assignment from 'assign1.foldingathome.org:80': No WUs available for this configuration

+++++++++++++++++++++++++++++++++++++++++++++++++++++
Information from clinfo command
++++++++++++++++++++++++++++++++++++++++++++++++++++++++

anotherminer@anotherminer:~$ clinfo --human
Number of platforms                               1
  Platform Name                                   AMD Accelerated Parallel Processing
  Platform Vendor                                 Advanced Micro Devices, Inc.
  Platform Version                                OpenCL 2.1 AMD-APP (3075.10)
  Platform Profile                                FULL_PROFILE
  Platform Extensions                             cl_khr_icd cl_amd_event_callback cl_amd_offline_devices 
  Platform Host timer resolution                  1ns
  Platform Extensions function suffix             AMD

  Platform Name                                   AMD Accelerated Parallel Processing
Number of devices                                 1
  Device Name                                     Ellesmere
  Device Vendor                                   Advanced Micro Devices, Inc.
  Device Vendor ID                                0x1002
  Device Version                                  OpenCL 1.2 AMD-APP (3075.10)
  Driver Version                                  3075.10
  Device OpenCL C Version                         OpenCL C 1.2 
  Device Type                                     GPU
  Device Profile                                  FULL_PROFILE
  Device Board Name (AMD)                         Radeon RX 570 Series
  Device Topology (AMD)                           PCI-E, 07:00.0
  Max compute units                               32
  SIMD per compute unit (AMD)                     4
  SIMD width (AMD)                                16
  SIMD instruction width (AMD)                    1
  Max clock frequency                             1256MHz
  Graphics IP (AMD)                               8.0
  Device Partition                                (core)
    Max number of sub-devices                     32
    Supported partition types                     None
  Max work item dimensions                        3
  Max work item sizes                             1024x1024x1024
  Max work group size                             256
  Preferred work group size multiple              64
  Wavefront width (AMD)                           64
  Preferred / native vector sizes                 
    char                                                 4 / 4       
    short                                                2 / 2       
    int                                                  1 / 1       
    long                                                 1 / 1       
    half                                                 1 / 1        (cl_khr_fp16)
    float                                                1 / 1       
    double                                               1 / 1        (cl_khr_fp64)
  Half-precision Floating-point support           (cl_khr_fp16)
    Denormals                                     No
    Infinity and NANs                             No
    Round to nearest                              No
    Round to zero                                 No
    Round to infinity                             No
    IEEE754-2008 fused multiply-add               No
    Support is emulated in software               No
    Correctly-rounded divide and sqrt operations  No
  Single-precision Floating-point support         (core)
    Denormals                                     No
    Infinity and NANs                             Yes
    Round to nearest                              Yes
    Round to zero                                 Yes
    Round to infinity                             Yes
    IEEE754-2008 fused multiply-add               Yes
    Support is emulated in software               No
    Correctly-rounded divide and sqrt operations  Yes
  Double-precision Floating-point support         (cl_khr_fp64)
    Denormals                                     Yes
    Infinity and NANs                             Yes
    Round to nearest                              Yes
    Round to zero                                 Yes
    Round to infinity                             Yes
    IEEE754-2008 fused multiply-add               Yes
    Support is emulated in software               No
    Correctly-rounded divide and sqrt operations  No
  Address bits                                    64, Little-Endian
  Global memory size                              8105132032 (7.548GiB)
  Global free memory (AMD)                        7888416 (7.523GiB)
  Global memory channels (AMD)                    8
  Global memory banks per channel (AMD)           16
  Global memory bank width (AMD)                  256 bytes
  Error Correction support                        No
  Max memory allocation                           4244635648 (3.953GiB)
  Unified memory for Host and Device              No
  Minimum alignment for any data type             128 bytes
  Alignment of base address                       2048 bits (256 bytes)
  Global Memory cache type                        Read/Write
  Global Memory cache size                        16384
  Global Memory cache line                        64 bytes
  Image support                                   Yes
    Max number of samplers per kernel             16
    Max size for 1D images from buffer            134217728 pixels
    Max 1D or 2D image array size                 2048 images
    Base address alignment for 2D image buffers   256 bytes
    Pitch alignment for 2D image buffers          256 bytes
    Max 2D image size                             16384x16384 pixels
    Max 3D image size                             2048x2048x2048 pixels
    Max number of read image args                 128
    Max number of write image args                8
  Local memory type                               Local
  Local memory size                               32768 (32KiB)
  Local memory syze per CU (AMD)                  65536 (64KiB)
  Local memory banks (AMD)                        32
  Max constant buffer size                        4244635648 (3.953GiB)
  Max number of constant args                     8
  Max size of kernel argument                     1024
  Queue properties                                
    Out-of-order execution                        No
    Profiling                                     Yes
  Prefer user sync for interop                    Yes
  Profiling timer resolution                      1ns
  Profiling timer offset since Epoch (AMD)        1590002497347131409ns (Wed May 20 14:21:37 2020)
  Execution capabilities                          
    Run OpenCL kernels                            Yes
    Run native kernels                            No
    Thread trace supported (AMD)                  Yes
    SPIR versions                                 1.2
  printf() buffer size                            4194304 (4MiB)
  Built-in kernels                                
  Device Available                                Yes
  Compiler Available                              Yes
  Linker Available                                Yes
  Device Extensions                               cl_khr_fp64 cl_amd_fp64 cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_int64_base_atomics cl_khr_int64_extended_atomics cl_khr_3d_image_writes cl_khr_byte_addressable_store cl_khr_fp16 cl_khr_gl_sharing cl_amd_device_attribute_query cl_amd_vec3 cl_amd_printf cl_amd_media_ops cl_amd_media_ops2 cl_amd_popcnt cl_khr_image2d_from_buffer cl_khr_spir cl_khr_gl_event 

NULL platform behavior
  clGetPlatformInfo(NULL, CL_PLATFORM_NAME, ...)  No platform
  clGetDeviceIDs(NULL, CL_DEVICE_TYPE_ALL, ...)   No platform
  clCreateContext(NULL, ...) [default]            No platform
  clCreateContext(NULL, ...) [other]              Success [AMD]
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_CPU)  No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_GPU)  Success (1)
    Platform Name                                 AMD Accelerated Parallel Processing
    Device Name                                   Ellesmere
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_ACCELERATOR)  No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_CUSTOM)  No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_ALL)  Success (1)
    Platform Name                                 AMD Accelerated Parallel Processing
   
JimboPalmer
Posts: 2573
Joined: Mon Feb 16, 2009 4:12 am
Location: Greenwood MS USA

Re: Unbuntu 18.04 and AMD driver -- need help

Post by JimboPalmer »

19:21:50: OpenCL: Not detected: clGetDeviceIDs() returned -1

Hints you do not have OpenCL installed

I am not a Linux user, but I think you install the AMD driver than install the OpenCL package

https://einsteinathome.org/content/quic ... lar-distro

May be a hint
Tsar of all the Rushers
I tried to remain childlike, all I achieved was childish.
A friend to those who want no friends
PantherX
Site Moderator
Posts: 7020
Joined: Wed Dec 23, 2009 9:33 am
Hardware configuration: V7.6.21 -> Multi-purpose 24/7
Windows 10 64-bit
CPU:2/3/4/6 -> Intel i7-6700K
GPU:1 -> Nvidia GTX 1080 Ti
§
Retired:
2x Nvidia GTX 1070
Nvidia GTX 675M
Nvidia GTX 660 Ti
Nvidia GTX 650 SC
Nvidia GTX 260 896 MB SOC
Nvidia 9600GT 1 GB OC
Nvidia 9500M GS
Nvidia 8800GTS 320 MB

Intel Core i7-860
Intel Core i7-3840QM
Intel i3-3240
Intel Core 2 Duo E8200
Intel Core 2 Duo E6550
Intel Core 2 Duo T8300
Intel Pentium E5500
Intel Pentium E5400
Location: Land Of The Long White Cloud
Contact:

Re: Unbuntu 18.04 and AMD driver -- need help

Post by PantherX »

Welcome to the F@H Forum rdavis852,

From what I have read, this seems to work for most Donors attempting to install OpenCL package:
sudo apt-get install ocl-icd-opencl-dev
ETA:
Now ↞ Very Soon ↔ Soon ↔ Soon-ish ↔ Not Soon ↠ End Of Time

Welcome To The F@H Support Forum Ӂ Troubleshooting Bad WUs Ӂ Troubleshooting Server Connectivity Issues
rdavis852
Posts: 10
Joined: Wed May 20, 2020 7:30 pm

Re: Unbuntu 18.04 and AMD driver -- need help

Post by rdavis852 »

The AMD driver install script (amdgpu-pro-install) has an option to include opencl. I ran the script with no errors. I'll try the
sudo apt-get install ocl-icd-opencl-dev. and see what happens. Thx
rdavis852
Posts: 10
Joined: Wed May 20, 2020 7:30 pm

Re: Unbuntu 18.04 and AMD driver -- need help

Post by rdavis852 »

Tried the ocl-icd-opencl-dev..... Still getting a - 1
NormalDiffusion
Posts: 124
Joined: Sat Apr 18, 2020 1:50 pm

Re: Unbuntu 18.04 and AMD driver -- need help

Post by NormalDiffusion »

If I remember right, it's a user right problem. Running fah as root solved it. I'm sorry I can't be more precise, but I had the same problem and could solve it 2 weeks ago, but can't remember how...
Or maybe it was with the rocm drivers?

I followed the directions given in 2 posts: the one with the r9 290 and the RX 550 on debian... A mix of both solved it...
rdavis852
Posts: 10
Joined: Wed May 20, 2020 7:30 pm

Re: Unbuntu 18.04 and AMD driver -- need help

Post by rdavis852 »

I'll see if I can find it... Thx.
You know AMD should be ashamed. Publicly saying they support this effort and we have to guess and jump through hoops to make their poorly written software work.
ajm
Posts: 754
Joined: Sat Mar 21, 2020 5:22 am
Location: Lucerne, Switzerland

Re: Unbuntu 18.04 and AMD driver -- need help

Post by ajm »

You can try this, too: viewtopic.php?f=81&t=35141&p=334932&hilit=ubuntu+20.4#p334932

For my part, I was able to fold with a 5700 XT on Ubuntu 18.04 using this: viewtopic.php?f=81&t=33353&p=320067&hilit=clGetDeviceIDs#p320067
albeit I directly replaced

Code: Select all

User=fahclient
with

Code: Select all

User=root
in /etc/systemd/system/FAHClient.service

Otherwise, you have to download the card-specific package from AMD and install the legacy headless version of the Pro Variant (https://amdgpu-install.readthedocs.io/e ... ro-variant), that is:

Code: Select all

./amdgpu-pro-install -y --opencl=pal,legacy --headless
AND you have to install the opencl dev package on top of that:

Code: Select all

sudo apt install ocl-icd-opencl-dev
AND then reboot.
rdavis852
Posts: 10
Joined: Wed May 20, 2020 7:30 pm

Re: Unbuntu 18.04 and AMD driver -- need help

Post by rdavis852 »

Thx...
I did both of the suggested installs with no luck last night. .
I'll try changing the user later today.
Appreciate the help.
NormalDiffusion
Posts: 124
Joined: Sat Apr 18, 2020 1:50 pm

Re: Unbuntu 18.04 and AMD driver -- need help

Post by NormalDiffusion »

rdavis852 wrote:I'll see if I can find it... Thx.
You know AMD should be ashamed. Publicly saying they support this effort and we have to guess and jump through hoops to make their poorly written software work.
I know... I'm trying to get a r9 290x folding with a rvii... It's a nightmare... Even more because I need to undervolt them and control the fans...
rdavis852
Posts: 10
Joined: Wed May 20, 2020 7:30 pm

Re: Unbuntu 18.04 and AMD driver -- need help

Post by rdavis852 »

I added the service...nope......
I changed fahclient to root........couldn't connect fahcontrol after reboot...changed back......
nada...........still getting -1
no clue what I'm missing. started from a fresh os load(18.04) and tried again. Still getting a -1. Can no one who works at Foldingathome tell us what the requirements are and how to get there. I feel like i'm looking for the lost Dutchman mine(map from foldingathome) with a seeing eye dog(not disrespecting the pooch) so I can give a pot of gold to a good cause.
This is beyond silly....
rdavis852
Posts: 10
Joined: Wed May 20, 2020 7:30 pm

Re: Unbuntu 18.04 and AMD driver -- need help

Post by rdavis852 »

forgot to add
shows opencl is loaded......maybe not how fah wants.


anotherminer@anotherminer:~$ clinfo --human
Number of platforms 1
Platform Name AMD Accelerated Parallel Processing
Platform Vendor Advanced Micro Devices, Inc.
Platform Version OpenCL 2.1 AMD-APP (3075.10)
Platform Profile FULL_PROFILE
Platform Extensions cl_khr_icd cl_amd_event_callback cl_amd_offline_devices
Platform Host timer resolution 1ns
Platform Extensions function suffix AMD

Platform Name AMD Accelerated Parallel Processing
Number of devices 1
Device Name Ellesmere
Device Vendor Advanced Micro Devices, Inc.
Device Vendor ID 0x1002
Device Version OpenCL 1.2 AMD-APP (3075.10)
Driver Version 3075.10
Device OpenCL C Version OpenCL C 1.2
Device Type GPU
Device Board Name (AMD) Radeon RX 570 Series
Device Topology (AMD) PCI-E, 07:00.0
Device Profile FULL_PROFILE
Device Available Yes
Compiler Available Yes
Linker Available Yes
Max compute units 32
SIMD per compute unit (AMD) 4
SIMD width (AMD) 16
SIMD instruction width (AMD) 1
Max clock frequency 1256MHz
Graphics IP (AMD) 8.0
Device Partition (core)
Max number of sub-devices 32
Supported partition types None
Max work item dimensions 3
Max work item sizes 1024x1024x1024
Max work group size 256
Preferred work group size (AMD) 256
Max work group size (AMD) 1024
Preferred work group size multiple 64
Wavefront width (AMD) 64
Preferred / native vector sizes
char 4 / 4
short 2 / 2
int 1 / 1
long 1 / 1
half 1 / 1 (cl_khr_fp16)
float 1 / 1
double 1 / 1 (cl_khr_fp64)
Half-precision Floating-point support (cl_khr_fp16)
Denormals No
Infinity and NANs No
Round to nearest No
Round to zero No
Round to infinity No
IEEE754-2008 fused multiply-add No
Support is emulated in software No
Single-precision Floating-point support (core)
Denormals No
Infinity and NANs Yes
Round to nearest Yes
Round to zero Yes
Round to infinity Yes
IEEE754-2008 fused multiply-add Yes
Support is emulated in software No
Correctly-rounded divide and sqrt operations Yes
Double-precision Floating-point support (cl_khr_fp64)
Denormals Yes
Infinity and NANs Yes
Round to nearest Yes
Round to zero Yes
Round to infinity Yes
IEEE754-2008 fused multiply-add Yes
Support is emulated in software No
Address bits 64, Little-Endian
Global memory size 8420564992 (7.842GiB)
Global free memory (AMD) 8203624 (7.824GiB)
Global memory channels (AMD) 8
Global memory banks per channel (AMD) 16
Global memory bank width (AMD) 256 bytes
Error Correction support No
Max memory allocation 4244635648 (3.953GiB)
Unified memory for Host and Device No
Minimum alignment for any data type 128 bytes
Alignment of base address 2048 bits (256 bytes)
Global Memory cache type Read/Write
Global Memory cache size 16384 (16KiB)
Global Memory cache line size 64 bytes
Image support Yes
Max number of samplers per kernel 16
Max size for 1D images from buffer 134217728 pixels
Max 1D or 2D image array size 2048 images
Base address alignment for 2D image buffers 256 bytes
Pitch alignment for 2D image buffers 256 pixels
Max 2D image size 16384x16384 pixels
Max 3D image size 2048x2048x2048 pixels
Max number of read image args 128
Max number of write image args 8
Local memory type Local
Local memory size 32768 (32KiB)
Local memory syze per CU (AMD) 65536 (64KiB)
Local memory banks (AMD) 32
Max number of constant args 8
Max constant buffer size 4244635648 (3.953GiB)
Preferred constant buffer size (AMD) 16384 (16KiB)
Max size of kernel argument 1024
Queue properties
Out-of-order execution No
Profiling Yes
Prefer user sync for interop Yes
Profiling timer resolution 1ns
Profiling timer offset since Epoch (AMD) 1590094679001281785ns (Thu May 21 15:57:59 2020)
Execution capabilities
Run OpenCL kernels Yes
Run native kernels No
Thread trace supported (AMD) Yes
Number of async queues (AMD) 2
Max real-time compute queues (AMD) 0
Max real-time compute units (AMD) 909198854
SPIR versions 1.2
printf() buffer size 4194304 (4MiB)
Built-in kernels
Device Extensions cl_khr_fp64 cl_amd_fp64 cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_int64_base_atomics cl_khr_int64_extended_atomics cl_khr_3d_image_writes cl_khr_byte_addressable_store cl_khr_fp16 cl_khr_gl_sharing cl_amd_device_attribute_query cl_amd_vec3 cl_amd_printf cl_amd_media_ops cl_amd_media_ops2 cl_amd_popcnt cl_khr_image2d_from_buffer cl_khr_spir cl_khr_gl_event

NULL platform behavior
clGetPlatformInfo(NULL, CL_PLATFORM_NAME, ...) No platform
clGetDeviceIDs(NULL, CL_DEVICE_TYPE_ALL, ...) No platform
clCreateContext(NULL, ...) [default] No platform
clCreateContext(NULL, ...) [other] Success [AMD]
clCreateContextFromType(NULL, CL_DEVICE_TYPE_DEFAULT) Success (1)
Platform Name AMD Accelerated Parallel Processing
Device Name Ellesmere
clCreateContextFromType(NULL, CL_DEVICE_TYPE_CPU) No devices found in platform
clCreateContextFromType(NULL, CL_DEVICE_TYPE_GPU) Success (1)
Platform Name AMD Accelerated Parallel Processing
Device Name Ellesmere
clCreateContextFromType(NULL, CL_DEVICE_TYPE_ACCELERATOR) No devices found in platform
clCreateContextFromType(NULL, CL_DEVICE_TYPE_CUSTOM) No devices found in platform
clCreateContextFromType(NULL, CL_DEVICE_TYPE_ALL) Success (1)
Platform Name AMD Accelerated Parallel Processing
Device Name Ellesmere
Joe_H
Site Admin
Posts: 7856
Joined: Tue Apr 21, 2009 4:41 pm
Hardware configuration: Mac Pro 2.8 quad 12 GB smp4
MacBook Pro 2.9 i7 8 GB smp2
Location: W. MA

Re: Unbuntu 18.04 and AMD driver -- need help

Post by Joe_H »

Please see this topic - viewtopic.php?f=74&t=35302. Another person installing AMD drivers for folding on 18.04 and eventually succeeding after taking care of a permissions problem.
Image

iMac 2.8 i7 12 GB smp8, Mac Pro 2.8 quad 12 GB smp6
MacBook Pro 2.9 i7 8 GB smp3
rdavis852
Posts: 10
Joined: Wed May 20, 2020 7:30 pm

Re: Unbuntu 18.04 and AMD driver -- need help

Post by rdavis852 »

Thanks... I'll go look....
Still wrong that AMD and fah are wasting everyone's time and effort... Just wrong. I've also told AMD(Little good it did - survey and email ) that I will probably never buy a video card from them again due to this.
Again thank you for your help.
rdavis852
Posts: 10
Joined: Wed May 20, 2020 7:30 pm

Re: Unbuntu 18.04 and AMD driver -- need help

Post by rdavis852 »

I found this tutorial.... Going to give it a try. For AMD GPU's only.
https://linustechtips.com/main/topic/11 ... n-windows/
Post Reply