Logo

dev-resources.site

for different kinds of informations.

How to Install DaVinci Resolve 19 (beta) on Linux Mint 22 with AMD Radeon Graphics Card

Published at
8/9/2024
Categories
linux
davinci
amd
videoediting
Author
annietaylorchen
Categories
4 categories in total
linux
open
davinci
open
amd
open
videoediting
open
Author
15 person written this
annietaylorchen
open
How to Install DaVinci Resolve 19 (beta) on Linux Mint 22 with AMD Radeon Graphics Card

UPDATE: if you are reading this from Jan 2025 and on, please check my latest article and see if this way works for you.
How to Install DaVinci Resolve 19 (studio) on Linux Mint 22 with AMD Radeon Graphics Card with a Script fast 2025

A few years ago I wrote a post on this when I managed to solve the problem... then I wasn't really using DaVinci Resolve for a while. Fast forward to today, I was happy that Linux Mint has updated to 22, and DaVinci Resolve has grown to be 19 (beta), I thought things would become easier but nope, not at all! After naively trusting things would work like a charm, I managed to destroy my newly installed Linux Mint 22 with all things extra copied and configured nicely to my satisfaction, only to discover installing libraries required for DaVinci Resolve 19 Beta would totally destroy the whole booting process! Now I am forced to reinstall Linux Mint 22 totally from scratch, the first thing I do is to fix DaVinci Resolve first and this time I am going to do my research, experiment, and write things down!

My hardware for your reference:

Linux Mint 22 with AMD system info

1. Make DaVinci Resolve a deb for Linux Mint

If you go to DaVinci Resolve's website for download, you will find the linux version ends with .run which is made for CentOS and not debian system, such as Ubuntu or Linux Mint. Daniel Tufvesson has done a good job making a tool to convert it. Here is the link.
https://www.danieltufvesson.com/makeresolvedeb
Follow the instruction there, until you get the deb.

2. run script

sudo apt install build-essential checkinstall

3. add your user to the video and the render group

sudo usermod -a -G render,video [username]

4. install ROCm

Reference: https://rocm.docs.amd.com/projects/install-on-linux/en/latest/install/native-install/ubuntu.html
You don't need to install kernel driver, just the ones that are needed.

4.1 Package signing key
Download and convert the package signing key.

# Make the directory if it doesn't exist yet.
# This location is recommended by the distribution maintainers.
sudo mkdir --parents --mode=0755 /etc/apt/keyrings

# Download the key, convert the signing-key to a full
# keyring required by apt and store in the keyring directory
wget https://repo.radeon.com/rocm/rocm.gpg.key -O - | \
    gpg --dearmor | sudo tee /etc/apt/keyrings/rocm.gpg > /dev/null
Enter fullscreen mode Exit fullscreen mode

4.2 Register ROCm packages
Add the ROCm repository.Makes sure it is ubuntu 24.04 as that's what LM22 is based on.

echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/rocm.gpg] https://repo.radeon.com/rocm/apt/6.2 noble main" \
    | sudo tee --append /etc/apt/sources.list.d/rocm.list
echo -e 'Package: *\nPin: release o=repo.radeon.com\nPin-Priority: 600' \
    | sudo tee /etc/apt/preferences.d/rocm-pin-600
sudo apt update
Enter fullscreen mode Exit fullscreen mode

4.3 install the rocm6.2 (this might take a bit time)

sudo apt install rocm-libs6.2.0 rocm-opencl-sdk6.2.0 rocminfo6.2.0
Enter fullscreen mode Exit fullscreen mode

5. add /opt/rocm/bin to your PATH

6. reboot

7. now we need to install the deb

sudo dpkg -i davinci-resolve_19.0b6-mrd1.7.1_amd64.deb

8. start the program

By now you should see the davinci resolve buttons shown up in the menu like below. However, if you click on them it will not work.

Davinci Resolve 19 icons on menu linux mint 22

Because it ships versions of some system libraries that are incompatible with current Linux Mint. But these libraries exist on your system, so you can force Resolve to use the ones provided by the system rather than it's own. Additionally it won't find your graphics card unless it looks for libraries in the rocm directory. Use this command to start DaVinci Resolve:

LD_PRELOAD=/lib/x86_64-linux-gnu/libglib-2.0.so.0:/lib/x86_64-linux-gnu/libgio-2.0.so.0:/lib/x86_64-linux-gnu/libgdk_pixbuf-2.0.so.0:/lib/x86_64-linux-gnu/libgmodule-2.0.so.0  LD_LIBRARY_PATH=/opt/rocm/lib /opt/resolve/bin/resolve
Enter fullscreen mode Exit fullscreen mode

then you get something like this:

Davinci Resolve 19 opening on Linux Mint 22

9. change menu entry

On the menu, find Sound & Video -> DaVinci Resolve -> right click and in the dropdown you will find Properties, click on that -> A window will show up, you will find an input called command, paste the following command into that input. Now when you click this button in the menu, DaVinci Resolve will finally start as expected!

Linux Mint 22 menu button for DaVinci Resolve 19

env LD_PRELOAD=/lib/x86_64-linux-gnu/libglib-2.0.so.0:/lib/x86_64-linux-gnu/libgio-2.0.so.0:/lib/x86_64-linux-gnu/libgdk_pixbuf-2.0.so.0:/lib/x86_64-linux-gnu/libgmodule-2.0.so.0  LD_LIBRARY_PATH=/opt/rocm/lib /opt/resolve/bin/resolve
Enter fullscreen mode Exit fullscreen mode

Voila that's it...Now I only hope things will run from now on.

bittersweet smile

Read further:

  1. Make Resolve Deb
  2. ROCM
  3. big help from LinuxMint forum
videoediting Article's
26 articles in total
Favicon
Davinci Resolve 19.1.2 x Linux Mint 22 AAC Audio Workaround
Favicon
Top Video Editing Apps for Android: A Comprehensive Guide to the Best Tools
Favicon
How to Install DaVinci Resolve 19 (studio) on Linux Mint 22 with AMD Radeon Graphics Card with a Script fast 2025
Favicon
Video Editing and Graphic Design Course
Favicon
Introducing Videmix: The Effortless Online Video Editing Platform
Favicon
Submagic: Turn Videos Viral with AI Captions
Favicon
Upgrade Your Social Media with Amazing Video Editing!
Favicon
Effortless Content Creation with EngagexAI: Videos and Podcasts Made Easy!
Favicon
How we edited 175 conference videos in 5 hours
Favicon
How to Install DaVinci Resolve 19 (beta) on Linux Mint 22 with AMD Radeon Graphics Card
Favicon
Mastering Adobe Premiere Pro A Beginner-Friendly Tutorial for Professional-Looking Videos
Favicon
How to cancel capcut pro subscription
Favicon
13 Best Video Transitions that’ll Make You a PRO Video Creator
Favicon
VideoProc: The Must-Have Tool for Modern Creators
Favicon
Get Professional-Quality Videos in Minutes with the Amazing AI Video Editor
Favicon
Title: Exploring the World of 3D Video Editing: Techniques and Tips
Favicon
Adding sound wave overlays to videos and pictures using FFMPEG
Favicon
Top 10 Best Video Editing Apps
Favicon
Edit a video from start to finish by joining ADMEC's Video Editing Course
Favicon
Appwrite Loves Open Source: Why I Choose To Support Kdenlive
Favicon
How to Crop Videos Quickly
Favicon
Best Photo & video Editing Software's for Android?
Favicon
Get started editing videos with the VEED API.
Favicon
How to Install DaVinci Resolve 16 on Linuxmint 20 with AMD Radeon Graphic Card
Favicon
How to Edit your videos for youtube using iMovie
Favicon
Creating a video editing tool in python (part 1 of many)

Featured ones: