-
-
Save bluesabre/8814afece711b0ca49de34c41e50b296 to your computer and use it in GitHub Desktop.
Install Davinci Resolve in Fedora 37 toolbox
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Based on https://github.com/fat-tire/resolve ... this didn't work for me, but helped me get on track. | |
# On your host, you may need to install the nvidia-container-runtime package | |
# On Universal Blue (ublue.it) images, this is already done for you. | |
sudo dnf install nvidia-container-runtime | |
# Edit /etc/nvidia-container-runtime/config.toml and set no-cgroups = true | |
# Set up your toolbox | |
toolbox create --release 37 | |
toolbox enter fedora-toolbox-37 | |
# Enable nvidia and cuda in the toolbox | |
sudo dnf install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm | |
sudo dnf install https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm | |
sudo dnf install akmod-nvidia xorg-x11-drv-nvidia-cuda | |
# Install dependencies for resolve | |
sudo dnf install apr apr-util librsvg2 libxkbcommon-x11 mesa-libGLU xcb-util xcb-util-image xcb-util-keysyms xcb-util-renderutil xcb-util-wm libxcrypt-compat | |
# Run the resolve installer without libfuse (required because of container constraints) | |
./DaVinci_Resolve_18.1.4_Linux.run --appimage-extract | |
cd squashfs-root/ | |
sudo ./AppRun -i -a -y | |
# Now resolve is installed in your fedora 37 toolbox | |
/opt/resolve/bin/resolve | |
# Copy graphics | |
mkdir -p ~/.local/share/resolve/graphics | |
cp /opt/resolve/graphics/DV_* ~/.local/share/resolve/graphics | |
mkdir -p ~/.local/share/icons/hicolor/{48x48,256x256}/{apps,mimetypes} | |
cp /opt/resolve/graphics/application-x-braw-clip_256x256_mimetypes.png ~/.local/share/icons/hicolor/256x256/mimetypes/application-x-braw-clip.png | |
cp /opt/resolve/graphics/application-x-braw-clip_48x48_mimetypes.png ~/.local/share/icons/hicolor/48x48/mimetypes/application-x-braw-clip.png | |
cp /opt/resolve/graphics/application-x-braw-sidecar_256x256_mimetypes.png ~/.local/share/icons/hicolor/256x256/mimetypes/application-x-braw-sidecar.png | |
cp /opt/resolve/graphics/application-x-braw-sidecar_48x48_mimetypes.png ~/.local/share/icons/hicolor/48x48/mimetypes/application-x-braw-sidecar.png | |
cp /opt/resolve/graphics/blackmagicraw-player_256x256_apps.png ~/.local/share/icons/hicolor/256x256/apps/blackmagicraw-player.png | |
cp /opt/resolve/graphics/blackmagicraw-player_48x48_apps.png ~/.local/share/icons/hicolor/48x48/apps/blackmagicraw-player.png | |
cp /opt/resolve/graphics/blackmagicraw-speedtest_256x256_apps.png ~/.local/share/icons/hicolor/256x256/apps/blackmagicraw-speedtest.png | |
cp /opt/resolve/graphics/blackmagicraw-speedtest_48x48_apps.png ~/.local/share/icons/hicolor/48x48/apps/blackmagicraw-speedtest.png | |
# Copy and adjust launchers | |
mkdir -p ~/.local/share/applications | |
cp /opt/resolve/share/*.desktop ~/.local/share/applications | |
sed -i 's/RESOLVE_INSTALL_LOCATION/\/opt\/resolve/' ~/.local/share/applications/{blackmagicraw*,DaVinci*}.desktop | |
sed -i 's/Exec=/Exec=toolbox run --release 37 /' ~/.local/share/applications/{blackmagicraw*,DaVinci*}.desktop | |
sed -i "s,Icon=/opt/resolve/graphics,Icon=$HOME/.local/share/resolve/graphics," ~/.local/share/applications/DaVinci*.desktop | |
sed -i "s,Path=.*,Path=$HOME," ~/.local/share/applications/{blackmagicraw*,DaVinci*}.desktop | |
# DaVinci Resolve is now successfully installed and available in your application menu. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment