How to Install DaVinci Resolve 16 on Linuxmint 20 with AMD Radeon Graphic Card
Tags: linux, amd, videoediting, davinciresolve
Published: 2020-10-12 22:26:39

Although Linuxmint usually has built in driver support for AMD graphic card, sometimes we still need to install extra support for some application. Usually it's supposed to be painless, however, I did run into some issues. 

# 0. Prepare your driver 

Under linuxmint, menu > system info , you shall be able to see your graphic card's name. Search for its driver on AMD site. For instance mine is:
[AMD Radeon RX 5600 OEM/5600 XT / 5700/5700 XT ](https://www.amd.com/en/support/graphics/amd-radeon-5700-series/amd-radeon-rx-5700-series/amd-radeon-rx-5700-xt)
Download the version for Ubuntu x86 64bit for Ubuntu 20.04.1. You will get a zip file. Unzip it. You can rename the folder to something easy to remember but I am too lazy... 

```
cd Downloads/amdgpu-pro-20.40-1147286-ubuntu-20.04
./amdgpu-pro-install -y --opencl=pal,legacy
```
Previously I tried other script which somehow didn't properly install the OpenCL and I got this error. 

![Error OpenCL GPU for DaVinci Resolve 16](https://dev-to-uploads.s3.amazonaws.com/i/w6bir2djie67t5b209f8.jpg)

I've since goolged like crazy, posted in two forums, and read tons of posts and discussed with another friend about this... in the end I uninstalled whatever I installed previously, and re-downloaded the package again (just to make sure it's not corrupted) and reinstalled it like above, and finally got it to work! I hope if you followed my above instruction you don't need to go through the same pain I have been through. 


# 1. Prepare the extra libraries needed 

```
sudo apt install libssl1.1 ocl-icd-opencl-dev fakeroot xorriso
```
- libssl1.1, ocl-icd-opencl-dev needed for running DaVinci Resolve 
- fakeroot, xorriso for generating the deb (since the official DaVinci Resolve linux package is only made for CentOS)

# 2. Download the official DaVinci Resolve 16

[DaVinci Resolve Download page](https://www.blackmagicdesign.com/uk/products/davinciresolve/)

Click on the Linux, note Studio is the paid version with more features, if you want to download the free one just download the DaVinci Resolve 16. 

Extract the zip in your Downloads folder, and you will see the file named DaVinci_Resolve_16.2.7_Linux.run. Don't do anything yet as this one is made for CentOS. In next step we will have a bash script to make it into a installation file that's suitable for Linuxmint.

# 3. Download the The MakeResolveDeb script to make the deb file for Linuxmint

[The MakeResolveDeb](https://www.danieltufvesson.com/makeresolvedeb)

The instruction is pretty straight forward from here. Basically you download and extract everything into one folder, and make sure they have exactly the same name. The script here makes the previous .run file we have into a .deb file, then it's suitable to install on Linuxmint. 

# 4. Reboot 

After everything, don't forget to reboot for things to work properly. If everything goes well you should be able to run DaVinci Resolve on your computer. 

## Read further:

1. [OpenCL on Linux](https://bashbaug.github.io/opencl/2019/07/06/OpenCL-On-Linux.html) - I hope you will not need to read it, I used it for trouble shooting. 
2. [DaVinci Resolve's own forum](https://forum.blackmagicdesign.com/) - You will likely find more related information here