cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

tugrul_512bit
Adept III

No OpenCL support for: Ubuntu 16.04.2, RX550 (only this single graphics card), AMD driver 17.10, (64 bit)

I installed drivers as it is instructed in its support page, to the word.

Clinfo told only CPU is present. Installed AMD APP SDK, nothing changed. Installed mesa drivers, only OpenCL 1.1 is available for RX550. Tested if it is really 1.1 with ethereum miner. Miner failed.

Tried --compute while installing, failed again.

Reproducable?

Just out of curiosity: what if I add another vendor's GPU into case, would this card still work as a opengl renderer in ubuntu or oppositely if other GPU is renderer, could this card compute?

System:

Ubuntu alongside windows 10, installed by USB-ISO image.

10 Replies
kalda341
Journeyman III

I have also experienced the issue with the exact same card, drivers and OS.

clinfo gives the following:

Number of platforms                               1

  Platform Name                                   AMD Accelerated Parallel Processing

  Platform Vendor                                 Advanced Micro Devices, Inc.

  Platform Version                                OpenCL 2.0 AMD-APP (2348.3)

  Platform Profile                                FULL_PROFILE

  Platform Extensions                             cl_khr_icd cl_amd_event_callback cl_amd_offline_devices

  Platform Extensions function suffix             AMD

  Platform Name                                   AMD Accelerated Parallel Processing

Number of devices                                 1

  Device Name                                     AMD A8-7600 Radeon R7, 10 Compute Cores 4C+6G

  Device Vendor                                   AuthenticAMD

  Device Vendor ID                                0x1002

  Device Version                                  OpenCL 1.2 AMD-APP (2348.3)

  Driver Version                                  2348.3 (sse2,avx,fma4)

  Device OpenCL C Version                         OpenCL C 1.2

  Device Type                                     CPU

  Device Profile                                  FULL_PROFILE

  Device Board Name (AMD)                        

  Device Topology (AMD)                           (n/a)

  Max compute units                               4

  Max clock frequency                             1400MHz

  Device Partition                                (core, cl_ext_device_fission)

    Max number of sub-devices                     4

    Supported partition types                     equally, by counts, by affinity domain

    Supported affinity domains                    L2 cache, L1 cache, next partitionable

    Supported partition types (ext)               equally, by counts, by affinity domain

    Supported affinity domains (ext)              L2 cache, L1 cache, next fissionable

  Max work item dimensions                        3

  Max work item sizes                             1024x1024x1024

  Max work group size                             1024

  Preferred work group size multiple              1

  Preferred / native vector sizes                

    char                                                16 / 16     

    short                                                8 / 8      

    int                                                  4 / 4      

    long                                                 2 / 2      

    half                                                 4 / 4        (n/a)

    float                                                8 / 8      

    double                                               4 / 4        (cl_khr_fp64)

  Half-precision Floating-point support           (n/a)

  Single-precision Floating-point support         (core)

    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  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                              3555827712 (3.312GiB)

  Error Correction support                        No

  Max memory allocation                           2147483648 (2GiB)

  Unified memory for Host and Device              Yes

  Minimum alignment for any data type             128 bytes

  Alignment of base address                       1024 bits (128 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            65536 pixels

    Max 1D or 2D image array size                 2048 images

    Max 2D image size                             8192x8192 pixels

    Max 3D image size                             2048x2048x2048 pixels

    Max number of read image args                 128

    Max number of write image args                64

  Local memory type                               Global

  Local memory size                               32768 (32KiB)

  Max constant buffer size                        65536 (64KiB)

  Max number of constant args                     8

  Max size of kernel argument                     4096 (4KiB)

  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)        1498783847314733546ns (Fri Jun 30 12:50:47 2017)

  Execution capabilities                         

    Run OpenCL kernels                            Yes

    Run native kernels                            Yes

    SPIR versions                                 1.2

  printf() buffer size                            65536 (64KiB)

  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_gl_sharing cl_ext_device_fission cl_amd_device_attribute_query cl_amd_vec3 cl_amd_printf cl_amd_media_ops cl_amd_media_ops2 cl_amd_popcnt 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 platform

  clCreateContextFromType(NULL, CL_DEVICE_TYPE_GPU)  No platform

  clCreateContextFromType(NULL, CL_DEVICE_TYPE_ACCELERATOR)  No platform

  clCreateContextFromType(NULL, CL_DEVICE_TYPE_CUSTOM)  No platform

  clCreateContextFromType(NULL, CL_DEVICE_TYPE_ALL)  No platform

0 Likes
daemonpnz
Journeyman III

I have same problem too. ubuntu 16.04 & 17.04 and amdgpu-pro 17.10.

0 Likes
davidallyn68
Journeyman III

I've been having the same issue.

Processor: AMD FX on a Gigabyte 970A MB with 16 GB of Ram (GPU not integrated)

GPU: AMD XFX Radeon RX550

OS: Ubuntu 16.04

Blender: 2.78c

I can play games with the GPU - and it performs oh-so-nice, however I can not get Blender to recognize it exists.  In fact, I can't get Blender to recognize OpenCL.

Blender uses the Cycles rendering engine that uses OpenCL to initiate jobs on the GPU, however I think the way AMDGPU-PRO driver set loads in a different way than the previous fully open source implementation (i.e. AMD independent install of OpenCL using X Server).  Post after post on the various forums give a step by step guide that seems to not apply anymore with AMD's implementation of an all-in-one AMDGPU-PRO install.

This leads me to believe that OpenCL is not recognized or not found by Blender/Cycles.

Here is what I've tried:

Initially I installed version 2.76b (2.76.b+dfsg0-3build1) from the Ubuntu Software Center.  In Blender, I had only the "None/CPU" option for Cycles Compute - there was no "OpenCL/RX550" option that is expected.

I've started to go down the road of learning the programming behind Cycles, AMD OpenCL, and calls to my GPU, but I can say that will be a longer road than to simply ask a developer to look into it.

Please let me know of any next steps or ideas

Thanks for any help! --Dave

0 Likes

Hey everybody... just a quick up date to report that I haven't found anything yet - I'm still lookin, but it keeps looping back to the AMD drivers.  Doh!!

0 Likes
taofuru
Journeyman III

I just brought the card, and I'm very disappointed to have OpenCL support out of the box.

I had checked the linux driver page before the purchase. Nothing mentioned about this issue.

AMDGPU-PRO Driver for Linux Release Notes

Processor: Intel G3930

GPU: ASUS Radeon RX550 4GB

OS: Ubuntu 16.04

Driver: amdgpu-pro 17.10

Tested with claymore95 miner, it says No AMD OPENCL found.

Really need developer to look into it.

Thanks!

dbobanj
Journeyman III

Same thing here. Can't make OpenCL to work with 17.10 on Ubuntu 16.04. Anyone had luck solving this?

0 Likes

Even opencl 1.2 would be enough for me. I already learnt opencl 2.0 with windows but in ubuntu, I need to work work opencl 1.2.

0 Likes
dipak
Big Boss

Hi,

From the above descriptions, it looks a driver side issue. I've reported the problem to the concerned team. Once I get any update, I'll get back to you.

Regards,

bridgman
Staff

There is a 17.30 driver out with 16.04.3 support. All of the 16.04.2 systems out there seem to have been forcibly updated to 16.04.3 so should work OK for you.

AMDGPU-PRO Driver for Linux Release Notes

The OpenCL 1.1 you are seeing is coming from the upstream open source drivers.

0 Likes

Hi John,

On this thread Q: How can i get OpenCL on Ubuntu 16.04.2 to see the GPU RX550 as the second platform/adapter , Kaitlyn Goodall [reply : Aug 20, 2017 3:45 AM] mentioned that he observed the same issue even with AMDGPU-PRO 17.30-465504 on Ubuntu 16.04.3 (4.10 HWE kernel). For more details, please find his observation there.

Regards,