Skip to content

Diolinux/amd-opencl-pro-linux-resolve

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 

Repository files navigation

AMD OpenCL PRO on Linux (DaVinci Resolve/Blender)

This is a Shell Script to install AMD OpenCL PRO over Mesa Driver originally created by "Kytulendu" https://gist.github.com/kytulendu/3351b5d0b4f947e19df36b1ea3c95cbe

I'm adding here some extra steps to unsure the users will have amdgpu-pro OpenCL working properly over Mesa Driver.

  • This was tested on Pop!_OS 20.04 (AMD/Intel ISO) with DaVinci Resolve 17 Beta,
  • Ryzen 7 2700X and RX580 8GB

What you need?

For better compatibility, install this packages and create a symbolic link:

sudo apt install opencl-headers ocl-icd-libopencl1 clinfo

sudo ln -s /usr/lib/x86_64-linux-gnu/libOpenCL.so.1 /usr/lib/libOpenCL.so

Next Step,installing only OpenCL coming from AMDGPU-PRO Driver

  1. Download this Repository using git or your browser; (Or Click Here)
  2. Ensure the file have permissions to "run as a program"(right click over the file, go into properties and check the box";
  3. Open the terminal on the folder were you have downloaded this shell script and run the following command with 'sudo':

sudo ./install-opencl-amd.sh

if you get 'sudo: ./install-opencl-amd.sh: command not found' output, make sure the install script file has all permissions. To set all permissions via terminal run: sudo chmod a+x ./install-opencl-amd.sh

You may receive some error messages because we are not installing the full AMDGPU-PRO, but it should work for DaVinci Resolve, Blender and other applications that need OpenCL.

Credits to @rra_krr on Twitter.

Hope it helps, thanks.

About

Shell Script to install AMD OpenCL PRO over Mesa Driver

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages