Table of Contents Link to heading
Installation Link to heading
Go to resolve’s official site to download and run their installer. If double clicking on icon does not run the app, run the app in the terminal with /opt/resolve/bin/resolve
and debug from there.
Debugging Link to heading
This video shows the installation process for Ubuntu 24.04. It includes a comprehensive guide on hunting down and resolving dependencies issues which is useful and applicable to any Linux executable.
Example of missing dependencies error message: symbol lookup error: /usr/lib/libpango-1.0.so.0: undefined symbol: g_once_init_leave_pointer
Running Resolve with preloaded libraries example:
LD_PRELOAD="/usr/lib64/libglib-2.0.so /usr/lib/libgio-2.0.so /usr/lib64/libgdk_pixbuf-2.0.so.0" /opt/resolve/bin/resolve
LD_PRELOAD="/usr/lib/libgio-2.0.so /usr/lib/libgmodule-2.0.so /usr/lib/libglib-2.0.so" /opt/resolve/bin/resolve
Copying required libraries into /opt/resolve/libs/
omits the need for LD_PRELOAD
cp /usr/lib64/libglib-2.0.so /opt/resolve/libs/
cp /usr/lib/libgio-2.0.so /opt/resolve/libs/
cp /usr/lib64/libgdk_pixbuf-2.0.so.0 /opt/resolve/libs/
Note: rpm2cpio can be used to extract contents of RPM packages.
Alternate Installation Method Link to heading
I have not personally tried these methods.
- Docker/Podman: https://github.com/fat-tire/resolve
- Distrobox: https://www.youtube.com/watch?v=wmRiZQ9IZfc
H264/H265/AAC Codec Workaround Link to heading
FFMPEG Conversion Link to heading
https://opensource.com/article/17/6/ffmpeg-convert-media-file-formats
Example:
for file in *.mp4 ; do ffmpeg -i ${file} -crf 16 -c:v libx264 -c:a aac outfolder/`basename ${file} .mp4`-16.mp4 ; done
Smart Folders with Incron Link to heading
https://www.reddit.com/r/davinciresolve/comments/15ldzah/solution_to_the_mp4_h264_h265_issue_on_linux/ https://passthroughpo.st/painless-linux-video-production-part-3-organization-and-workflow/
Transcode Footage While Editing With Macro Link to heading
This is a Studio specific problem, as the studio version still does not support AAC codec.
A script I wrote that converts a footage on the fly with a hotkey: https://github.com/jchai01/davinci-resolve-aac-workaround-macro
Exporting videos with AAC Plugin Link to heading
https://github.com/Toxblh/davinci-linux-aac-codec
Magic Byte Codes Link to heading
One way to workaround several Linux-specific annoyances. Consider supporting them and paying for their product especially if you are making money from it.
Download link to davinci-resolve-studio installer: https://www.blackmagicdesign.com/support/family/davinci-resolve-and-fusion
On an arch system, you can use yay -S davinci-resolve-studio
.
Version 19:
sudo /usr/bin/perl -pi -e 's/\x74\x11\xe8\x21\x23\x00\x00/\xeb\x11\xe8\x21\x23\x00\x00/g' /opt/resolve/bin/resolve
Version 19 beta (beta 2, 3 & 4):
cd /opt/resolve
sudo perl -pi -e 's/\x03\x00\x89\x45\xFC\x83\x7D\xFC\x00\x74\x11\x48\x8B\x45\xC8\x8B/\x03\x00\x89\x45\xFC\x83\x7D\xFC\x00\xEB\x11\x48\x8B\x45\xC8\x8B/g' bin/resolve
sudo perl -pi -e 's/\x74\x11\x48\x8B\x45\xC8\x8B\x55\xFC\x89\x50\x58\xB8\x00\x00\x00/\xEB\x11\x48\x8B\x45\xC8\x8B\x55\xFC\x89\x50\x58\xB8\x00\x00\x00/g' bin/resolve
sudo echo -e "LICENSE blackmagic davinciresolvestudio 009599 permanent uncounted\nhostid=ANY issuer=AHH customer=AHH issued=03-Apr-2024\n akey=3148-9267-1853-4920-8173_ck=00 sig=\"00\"\n" > .license/blackmagic.lic
Version 18:
sudo perl -pi -e 's/\x00\x85\xc0\x74\x7b\xe8/\x00\x85\xc0\xEB\x7b\xe8/g' /opt/resolve/bin/resolve
Reference: https://www.reddit.com/r/LinuxCrackSupport/comments/1f17xw6/davinci_resolve_studio_19_crack_for_linux/ https://www.reddit.com/r/LinuxCrackSupport/comments/1cnslsp/davinci_resolve_studio_19_beta_2_patch_guide/ https://www.reddit.com/r/davinciresolve/comments/l73wyu/found_a_link_for_just_davinci_downloads/
Troubleshoot Link to heading
Your GPU Memory is Full + Blank Video Screen on Linux Link to heading
Open the NVIDIA settings app and switch from “on demand” to “performance”.
Can’t Move or Maximize Resolve Window Link to heading
- Hold down the
super
key and drag the window around with your mouse (super
refers to the key with the Windows logo). Still looking for a solution. alt+F10
is usually the shortcut to maximize the window of any software.
Nvidia GPU Installation Link to heading
Ensure you are installing the latest proprietary Nvidia driver with the installer that comes with your distro and it should work out of the box.
Arch Specific Link to heading
It is unlikely anyone would face this issue.
Manage to successfully install GPU to run Resolve with this guide: https://github.com/QuantiniumX/Guide-to-install-Arch-Linux/blob/main/Graphics/Nvidia.md
mkinitcpio -P
this command required a large enough boot partition. When installing your operating system, ensure boot partition > 512mb.
Other Resources Link to heading
https://wiki.archlinux.org/title/DaVinci_Resolve https://alecaddd.com/davinci-resolve-ffmpeg-cheatsheet-for-linux/