How do I get Blender working with AMD OpenCL on Linux? I am using Arch Linux and am trying to use GPU Rendering in Blender. In the Arch Linux Wiki from Blender I read that I need either the AMDGPU-PRO or the opencl-amd package. So I installed the opencl-amd package and clinfo shows one platform with OpenCL 1.2.

But when I start Blender and change the Renderer to Cycles Render, it crashes. Showing the error
amdgpu_device_initialize: amdgpu_query_info(ACCEL_WORKING) failed (-9)
Segmentation fault (core dumped)

It is also crashing when I go to Settings > System with the same error message.

Blender Crash Log: https://pastebin.com/uaGcZAZ2

I have a RX 580 and using open-source amdgpu drivers on Arch linux.
Having done some more poking around I have specifically pinned it down to only the libdrm update, downgrading to libdrm 2.4.93-1 is currently a functioning workaround.  

https://bugs.archlinux.org/task/60061