This guide covers installing DaVinci Resolve Studio inside a distrobox container using Rocky Linux. This is useful for running Resolve in an isolated environment while maintaining access to your system's GPU and display.
Note: DaVinci Resolve does not support Wayland natively and requires X11 to run. If you're using Wayland as your display server, Resolve will run through XWayland.
Note: I have not tested this install guide with AMD or Intel GPUs
- Distrobox installed on your system
- GPU with proper drivers installed on your host system:
- NVIDIA: Proprietary NVIDIA drivers
- AMD: Mesa drivers (usually pre-installed)
- DaVinci Resolve Studio installer (
.runfile) downloaded
For NVIDIA GPUs:
distrobox create --nvidia resolve -i rockylinux/rockylinuxFor AMD GPUs:
distrobox create resolve -i rockylinux/rockylinuxWhat this does:
- Creates a new container named "resolve"
--nvidia(NVIDIA only) passes through GPU access to the container- AMD GPUs automatically get
/dev/driaccess, so no special flags are needed
"no unqualified-search registries are defined" error
Create or add the following to ~/.config/containers/registries.conf
unqualified-search-registries = ["docker.io"]
[[registry]]
location = "docker.io"
Enter the container:
distrobox enter resolveYou're now inside the container. All following commands will be run inside this container unless otherwise noted.
Update all installed packages:
sudo dnf updateInstall EPEL repository and plugin support:
sudo dnf install epel-release dnf-plugins-coreEnable the CRB (CodeReady Builder) repository:
sudo crb enableWhat this does: CRB contains additional development libraries and dependencies needed by DaVinci Resolve.
Install all the libraries and tools that DaVinci Resolve needs:
sudo dnf install ocl-icd libxcrypt pciutils libnsl fuse fuse-libs alsa-lib apr apr-util fontconfig freetype libglvnd libglvnd-egl libglvnd-glx libglvnd-opengl libgomp librsvg2 libXcursor libXfixes libXi libXinerama libxkbcommon libxkbcommon-x11 libXrandr libXrender libXtst libXxf86vm mesa-libGLU mtdev pulseaudio-libs xcb-util xcb-util-cursor xcb-util-image xcb-util-keysyms xcb-util-renderutil xcb-util-wmWhat these packages do:
- OpenCL libraries for GPU acceleration
- Audio libraries for audio playback
- Graphics libraries for rendering
- X11 libraries for displaying the GUI
- Font and text rendering libraries
Install the Qt framework and X11 components:
sudo dnf install qt5-qtbase qt5-qtbase-gui libxcb libX11-xcb mesa-libGL mesa-libEGLWhat these packages do:
- Qt framework that Resolve's interface is built with
- X11 communication libraries
- OpenGL graphics support
Navigate to where you downloaded the DaVinci Resolve installer:
cd ~/DownloadsMake the installer executable (replace with your actual version):
chmod +x DaVinci_Resolve_Studio_20.3.2_Linux.runsudo -E QT_QPA_PLATFORM=xcb ./DaVinci_Resolve_Studio_20.3.2_Linux.run -iWhat this does:
sudoruns the installer as root (needed to install to/opt/resolve)-Epreserves your environment variables (likeDISPLAY)QT_QPA_PLATFORM=xcbtells Qt to use X11 for the installer-iruns the installer in interactive mode
Note: The installer may run in text mode - this is normal and works fine.
Create a wrapper script:
mkdir -p ~/.local/bincat > ~/.local/bin/resolve-wrapper << 'EOF'
#!/bin/bash
cd /opt/resolve/bin/
QT_QPA_PLATFORM=xcb ./resolve
EOFchmod +x ~/.local/bin/resolve-wrapperCreate the desktop file:
mkdir -p ~/.local/share/applicationscat > ~/.local/share/applications/davinci-resolve.desktop << 'EOF'
[Desktop Entry]
Name=DaVinci Resolve
Exec=distrobox-enter -n resolve -- ~/.local/bin/resolve-wrapper
Icon=DV_Resolve
Type=Application
Categories=AudioVideo;VideoEditing;
Comment=Professional video editing, color correction, visual effects and audio post-production
Terminal=false
EOFCreate the desktop file:
mkdir -p ~/.local/share/applicationscat > ~/.local/share/applications/davinci-resolve.desktop << 'EOF'
[Desktop Entry]
Name=DaVinci Resolve
Exec=distrobox-enter -n resolve -- /opt/resolve/bin/resolve
Icon=DV_Resolve
Type=Application
Categories=AudioVideo;VideoEditing;
Comment=Professional video editing, color correction, visual effects and audio post-production
Terminal=false
EOFDaVinci Resolve should now appear in your application menu and can be launched like any other application.
Extract the 'DaVinci_Resolve_Studio_20.3.2_Linux.run' file in your downloads folder. It should contain an icon 'DV_Resolve.png'. Copy this icon to ~/.local/share/icons
External drives and USB devices are accessible at /run/media/[your-username]/[drive-name].
To import media:
- In DaVinci Resolve, use File → Import → Import Media (or
Ctrl + I) - In the file browser sidebar, click Computer
- Navigate to
/run/media/[your-username]/[drive-name] - Select your files and import
Important: Drag and drop does not work when running Resolve in distrobox. You must use the Import Media function.
If you have drives mounted elsewhere (like /mnt), you need to recreate the container with those mounts.
Exit the container and remove it:
exitdistrobox rm resolveRecreate with additional mounts:
distrobox create --nvidia resolve -i rockylinux/rockylinux --volume /mnt:/mnt:rslaveYou'll need to re-run all the installation steps after recreating the container.
For Wayland users:
Ensure you're using the wrapper script with QT_QPA_PLATFORM=xcb, or run manually:
cd /opt/resolve/bin/
QT_QPA_PLATFORM=xcb ./resolveFor X11 users:
Try explicitly setting the platform:
cd /opt/resolve/bin/
QT_QPA_PLATFORM=xcb ./resolveFor NVIDIA:
nvidia-smiYou should see your GPU listed.
For AMD:
ls -la /dev/driYou should see device files like card0, renderD128, etc.
If you get permission errors:
sudo chown -R root:users /opt/resolvesudo chmod -R g+rw /opt/resolveIf Resolve appears too small on a HiDPI display:
- Launch DaVinci Resolve
- Go to DaVinci Resolve → Preferences (or
Ctrl + ,) - Navigate to User → UI Settings
- Adjust the UI Scaling slider (try 150% or 200%)
- Restart Resolve
This is the recommended way to handle HiDPI displays rather than relying on system-level scaling.
The FFmpeg Encoder Plugin enables you to export H.264, H.265, and AV1 video from DaVinci Resolve Studio using FFmpeg encoders. This is especially useful since the free codecs available in Resolve on Linux are limited.
Supported encoders:
- H.264: X264, VAAPI, NVENC
- H.265: X265, VAAPI, NVENC
- AV1: SVT-AV1, VAAPI, NVENC
FFmpeg is not available in Rocky Linux's default repositories, so we need to enable RPM Fusion:
distrobox enter resolvesudo dnf install --nogpgcheck https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpmsudo dnf install --nogpgcheck https://mirrors.rpmfusion.org/free/el/rpmfusion-free-release-8.noarch.rpmsudo dnf install --nogpgcheck https://mirrors.rpmfusion.org/nonfree/el/rpmfusion-nonfree-release-8.noarch.rpmNow install FFmpeg:
sudo dnf install ffmpegVAAPI provides hardware-accelerated encoding. Support varies by GPU type.
For Intel GPUs:
sudo dnf install libva-intel-driver intel-media-driver libva-utilsFor AMD GPUs:
sudo dnf install mesa-va-drivers libva-utilsFor NVIDIA GPUs:
sudo dnf install libva-utilsNote for NVIDIA users: NVIDIA GPUs have limited VAAPI support on Linux. The FFmpeg plugin will still work using:
- NVENC encoders (H.264, H.265, AV1) - Hardware-accelerated through CUDA, doesn't require VAAPI
- CPU encoders (X264, X265, SVT-AV1) - Software encoding, no GPU required
NVENC is the recommended option for NVIDIA users and should work automatically through the
--nvidiaflag.
Verify VAAPI is working (Intel/AMD only):
vainfoYou should see a list of supported profiles and entrypoints. If you get errors on NVIDIA, this is expected - use NVENC or CPU encoders instead.
Download and install the plugin:
cd /tmpwget https://github.com/EdvinNilsson/ffmpeg_encoder_plugin/releases/latest/download/ffmpeg_encoder_plugin.dvcp.bundle.zipsudo unzip ffmpeg_encoder_plugin.dvcp.bundle.zip -d /opt/resolve/IOPlugins/rm ffmpeg_encoder_plugin.dvcp.bundle.zipExit and relaunch DaVinci Resolve. The new export options should now be available in the Deliver page under the Format dropdown.
rm ~/.local/share/applications/davinci-resolve.desktopFor Wayland users, also remove the wrapper script:
rm ~/.local/bin/resolve-wrapperdistrobox rm resolveThis removes the entire container including Resolve and all dependencies.
- Studio vs Free: DaVinci Resolve Studio (paid version) is required for full GPU acceleration and some advanced features on Linux
- Codecs: Some video codecs may require additional plugins or libraries
- GPU drivers: Ensure your GPU drivers are properly installed on your host system
- Updates: To update Resolve, download the new installer and run it the same way
- Isolation: Keeps Resolve's dependencies separate from your main system
- Easy cleanup: Completely remove Resolve by deleting the container
- Compatibility: Rocky Linux provides a stable enterprise environment
- GPU access: Proper GPU passthrough for rendering performance
- No system pollution: All dependencies stay in the container