AnsweredAssumed Answered

after installing AMD crimson 15.12, OpenCL support is missing for the GPU

Question asked by Bdot on Jun 27, 2016
Latest reply on Oct 18, 2017 by mirh



after updating the fglrx driver from 14.12 to 15.12 on SuSE 13.1, OpenCL programs fall back to the CPU, clinfo does not even mention the GPU (HD5770) anymore.


fgl_glxgears / fglrxinfo  do show the GPU and work with it. OpenCL/ CPU works as well. Just OpenCL/GPU is missing.


# lsmod|grep fgl

fglrx               15425536  750

amd_iommu_v2           20480  1 fglrx

button                 16384  1 fglrx


# glxinfo | head -10

name of display: :0

display: :0  screen: 0

direct rendering: Yes

server glx vendor string: ATI

server glx version string: 1.4

server glx extensions:

    GLX_ARB_multisample, GLX_EXT_import_context, GLX_EXT_texture_from_pixmap,

    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_OML_swap_method,

    GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer,

    GLX_SGIX_visual_select_group, GLX_SGI_make_current_read,


# fglrxinfo

display: :0  screen: 0

OpenGL vendor string: Advanced Micro Devices, Inc.

OpenGL renderer string: AMD Radeon HD 5700 Series

OpenGL version string: 4.5.13416 Compatibility Profile Context 15.302


# clinfo

Number of platforms:                             1

  Platform Profile:                              FULL_PROFILE

  Platform Version:                              OpenCL 2.0 AMD-APP (1912.5)

  Platform Name:                                 AMD Accelerated Parallel Processing

  Platform Vendor:                               Advanced Micro Devices, Inc.

  Platform Extensions:                           cl_khr_icd cl_amd_event_callback cl_amd_offline_devices



  Platform Name:                                 AMD Accelerated Parallel Processing

Number of devices:                               1

  Device Type:                                   CL_DEVICE_TYPE_CPU

  Vendor ID:                                     1002h

  Board name:                                   

  Max compute units:                             12


  Name:                                          Intel(R) Xeon(R) CPU           X5650  @ 2.67GHz

  Vendor:                                        GenuineIntel

  Device OpenCL C version:                       OpenCL C 1.2

  Driver version:                                1912.5 (sse2)

  Profile:                                       FULL_PROFILE

  Version:                                       OpenCL 1.2 AMD-APP (1912.5)

  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


What can cause the GPU to be missing from OpenCL? How can I restore that?