I'm on Ubuntu 18.04 with an AMD Radeon 5700XT graphics card. I cannot get OpenCL to work with it. I'm using the AMDGPU driver installed with the parameters --opencl=legacy,rocm and I installed libgl1-amdgpu-mesa-dev and executed ldconfig as suggested here for prorender https://radeon-pro.github.io/RadeonProRenderDocs/plugins/blender/installation.html#ubuntu I also installed mesa-opencl-icd as suggested here: How to get OpenCL to work on an AMD GPU with Ubuntu 16.04?
but still nothing.
the output of clinfo is:
pci id for fd 5: 1002:731f, driver (null) pci id for fd 5: 1002:731f, driver (null) Number of platforms 2
Platform Name Clover Platform Vendor Mesa Platform Version
OpenCL 1.1 Mesa 19.0.8 Platform Profile
FULL_PROFILE Platform Extensions
cl_khr_icd Platform Extensions function suffix MESAPlatform Name AMD Accelerated Parallel Processing Platform Vendor
Advanced Micro Devices, Inc. Platform Version
OpenCL 2.1 AMD-APP (2906.7) 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 AMDPlatform Name Clover Number of devices 0
Platform Name AMD Accelerated Parallel Processing Number of devices
0NULL 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] clCreateContextFromType(NULL, CL_DEVICE_TYPE_DEFAULT) No devices found in platform
clCreateContextFromType(NULL, CL_DEVICE_TYPE_CPU) No devices found in platform clCreateContextFromType(NULL, CL_DEVICE_TYPE_GPU) No devices found in platform 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) No devices found in platform
Which does seem to suggest its finding something, but what I'm actually trying to do is not working, this is for Blender (version 2.80) in preferences -> system I selected Open CL to enable GPU render, but it says no compatible GPUs found for path tracing. I also was trying to install AMD prorender as the goal is just to use this GPU to render, whether I can get it working on cycles or prorender...whatever, I juts want to get the GPU rendering. I get the typical warning about the prorender installer being designed for 16.04 that many report, but the installer itself also warns that it doesn't think my system is capable of Open CL. the installer finishes and I see the prorender addon in blender, but it will not enable and gives an error instead.
Can anyone help get this working? thanks!