Objective
Install the OpenCL portion of the AMDGPU-PRO drivers on Debian and Ubuntu.
Distributions
Debian and Ubuntu
Requirements
A working install of Debian or Ubuntu with root privileges
Conventions
- # – requires given linux command to be executed with root privileges either directly as a root user or by use of
sudo
command
- $ – given linux command to be executed as a regular non-privileged user
Introduction
The proprietary AMDGPU-PRO drivers only support a select small subset of Linux distributions. Non-LTS Ubuntu releases aren’t supported, and Debian users are completely out of luck. To make things worse, AMD doesn’t provide OpenCL support through their open source drivers.
There is good news. You can install just the OpenCL parts of the AMDGPU-PRO drivers on your Debian or Ubuntu system using the packages provided by AMD. There’s a very specific way that you need to go about it, but it can be done, making things like mining cryptocurrency on an AMD card possible.
WARNING: This may interfere with your existing drivers, resulting in poor performance and instability. Proceed with caution.
Read more