Skip to content

wellnerds/amd-opencl-pro-linux-resolve

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 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 OK 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, going into properties and checking the box";
  3. Open the terminal on the folder were you have download this shell script and run the commando with 'sudo':

sudo ./install-opencl-amd.sh

You may receive some error messages because we ain't 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

  • Shell 100.0%