Tested on Davinci Resolve 18
Credits to: https://www.youtube.com/watch?v=wmRiZQ9IZfc (Most commands I've copied from video description)
You should install docker ce in your host system. For instructions: https://docs.docker.com/engine/install I highly recommend reading the Postinstall, so you can run your containers without sudo
distrobox-create Resolve-Fedora-37 --image fedora:37
distrobox.enter Resolve-Fedora-37
Now that you are inside the container, install required dependencies:
sudo dnf install alsa-plugins-pulseaudio libxcrypt-compat xcb-util-renderutil xcb-util-wm pulseaudio-libs xcb-util xcb-util-image xcb-util-keysyms libxkbcommon-x11 libXrandr libXtst mesa-libGLU mtdev libSM libXcursor libXi libXinerama libxkbcommon libglvnd-egl libglvnd-glx libglvnd-opengl libICE librsvg2 libSM libX11 libXcursor libXext libXfixes libXi libXinerama libxkbcommon libxkbcommon-x11 libXrandr libXrender libXtst libXxf86vm mesa-libGLU mtdev pulseaudio-libs xcb-util alsa-lib apr apr-util fontconfig freetype libglvnd fuse-libs dolphin konsole
sudo dnf install rocm-opencl # amd gpu
# Using Nvidia? No clue
# Opens file manager (if you need it)
dolphin .
# Install the davinci resolve like normally
sudo ./Davinci*.run
# Test it
/opt/resolve/bin/resolve
# Make a shortcut (you must run it from inside the container)
distrobox-export --app /opt/resolve/bin/resolve
I had to edit the shortcut and remove the "%u" from the command because I'm using wayland and the container were not