Skip to content

Fix DaVinci Resolve

Info

This article only applies to the lenovo flex 5.

The problem

After installing Resolve using the davinci-resolve AUR package, the timeline doesn't work, previews are blank, and rendering is stuck at 0 frames.

The cause

davinci-resolve depends on opencl-mesa despite them not being compatible.

$ pactree davinci-resolve | grep opencl-driver
├─opencl-mesa provides opencl-driver

The solution

Replace opencl-mesa with rocm-opencl-runtime. First, remove opencl-mesa:

$ sudo pacman -Rdd opencl-mesa # (1)!
  1. -dd skips all dependency version checks.

Then, install rocm-opencl-runtime:

$ sudo pacman -S rocm-opencl-runtime --asdeps # (1)!
  1. --asdeps installs the package as a dependency, so it will be removed when you uninstall DaVinci Resolve.

Finally, to verify that DaVinci Resolve uses rocm-opencl-runtime, run:

$ pactree davinci-resolve | grep opencl-driver
├─rocm-opencl-runtime provides opencl-driver

Further reading