I have completely rewritten this Flatpak support with a little help from Claude to use a Qt-based meta-installer style approach similar to Steam or Discord. I had initially hoped to use Flatpak's extra-data approach, however bugs in Flatpak's implementation of extra-data related to very large downloads (>8GB) pushed me away from this.
I may not have carried over all fixes, but this approach should be much more strategic and allow distribution of this package via e.g. Flathub and Flatpak, opening it up to more users.
Contributions are welcome and apologies if any previous contributions were lost in the migration.
This Flatpak installs DaVinci Resolve using Flatpak.
Technically it is a Qt-based installer that installs DaVinci Resolve from the Blackmagic website on-demand. It manages the installation, checks for updates on run, etc. The Flatpak itself contains no Blackmagic binaries or copyright material; and thus can be distributed on Flathub, Flatpark etc. It provides the illusion of installing Resolve from Flatpak and makes installation simpler for users running - e.g. Silverblue and other atomic distributions, or anyone who operates Flatpak-first.
The Flatpak installation is performed in the Flatpak run directory; e.g.
/home/<user>/.var/app/com.blackmagic.Resolve/data
Thus, each user will manage their own Resolve installation.
- Download the latest davinci-resolve.flatpak or davinci-resolve-studio.flatpak from the releases page.
- Install
- Run DaVinci Resolve [or Studio].
- The installer will prompt you to install the latest version of DaVinci Resolve [or Studio].
- If you need udev rules for USB keys or other Blackmagic USB devices: This must be done after the real DaVinci Resolve has been installed and first run.
flatpak run com.blackmagic.Resolve --print-udev-rules | sudo sh
or
flatpak run com.blackmagic.ResolveStudio --print-udev-rules | sudo sh
I have not yet updated the ffmpeg plugin to support this latest packaging mechanism.
- Rebuild the top-level packages, and export to distributable single file installers. NOTE: this does not package the resolve binaries; only the installer. The installer will always obtain the Resolve binaries on run.
git clone https://github.com/night199uk/resolve-flatpak.git --recursive
# This line updates the static resources like icons, desktop files, etc
# that are packaged in the actual Flatpak.
installer/main.py --export-flatpak-resources .
flatpak-builder --install-deps-from=flathub --force-clean --repo=.repo .build-dir com.blackmagic.Resolve.yaml
flatpak build-bundle .repo DaVinciResolve.flatpak com.blackmagic.Resolve --runtime-repo=https://flathub.org/repo/flathub.flatpakrepo
flatpak-builder --install-deps-from=flathub --force-clean --repo=.repo .build-dir com.blackmagic.ResolveStudio.yaml
flatpak build-bundle .repo DaVinciResolveStudio.flatpak com.blackmagic.ResolveStudio --runtime-repo=https://flathub.org/repo/flathub.flatpakrepo
This will list only the downloads for the version you have installed (Free or Studio):
flatpak run com.blackmagic.Resolve --list-downloads
or
flatpak run com.blackmagic.ResolveStudio --list-downloads
git clone https://github.com/night199uk/resolve-flatpak.git --recursive
cd resolve-flatpak
installer/main.py --list-downloads [--studio]
Install this Flatpak but do not install Resolve itself. Or - if you already installed Resolve and want to go back to an older version:
rm -rf ~/.var/app/com.blackmagic.com/
Get a download ID for the version you want to install (see above).
Now:
flatpak run com.blackmagic.Resolve --download_id <download_id>
This will install and run the version you want.
The icon in logo.png is licensed under the Creative Commons Attribution-Share Alike 4.0 International and fetched from Wikimedia Commons. It was only cropped afterwards.