# DaVinci Resolve

From ArchWiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Davinci Resolve is a proprietary video editor, color correction and compositing application.

## Installation

There is a free version and a paid version (a.k.a. Studio).
For the free version, install davinci-resolveAUR or davinci-resolve-betaAUR.
For the Studio version, install davinci-resolve-studioAUR or davinci-resolve-studio-betaAUR.

To run DaVinci Resolve, it is required to use suitable OpenGL and OpenCL drivers. Open-source OpenCL drivers are currently unsupported. Please notice that incompatible OpenCL drivers should be uninstalled as they may cause Resolve to crash (e.g. uninstall opencl-mesa if you are using a proprietary equivalent).

Standalone Intel GPUs are currently unsupported. If using hybrid AMD + Intel setups, you can use the Intel GPU as the primary graphics card and use a proprietary OpenCL driver for the AMD GPU.

Table of OpenGL drivers
GPU vendor | Type | Driver | OpenGL | Documentation | Tested driver version | Works with DaVinci Resolve | Tested DR version | Notes
--- | --- | --- | --- | --- | --- | --- | --- | ---
AMD / ATI | Open source | xf86-video-amdgpu | mesa | AMDGPU |  | No |  |
xf86-video-ati | ATI |  | Not tested |  |
Proprietary | xf86-video-amdgpu | amdgpu-pro-libglAUR | AMDGPU PRO | 21.10_1247438-1 | Yes | 17.1.1 | Requires running Resolve with the `progl` wrapper script. See documentation.
Intel | Open source | xf86-video-intel | mesa | Intel graphics |  | Yes |  |
NVIDIA | Open source | xf86-video-nouveau | mesa | Nouveau |  | No |  |
Proprietary | nvidia | nvidia-utils | NVIDIA | 460.32.03-1 | Yes | 17.0b6-1 | Tested on optimus laptop using nvidia-xrun.

Table of tested OpenCL drivers
GPU Vendor | OpenCL driver | Tested driver version | Works with DR | Tested DR version | Comment
--- | --- | --- | --- | --- | ---
Neutral | opencl-mesa |  | No |  |
AMD | opencl-amdAUR | 21.10.1247438-1 | Yes | 17.1.1 | Tested with RX 580
20.50.1234664 | Yes |  | Tested on RX 6800 XT
Intel | intel-compute-runtime | 21.21.19914-1 | Partly | 17.2.1 | Launches normally, can open a project. But unable to start playing the timeline (even without video tracks) in the Cut and in the Edit pages. However in the Fairlight page it is able to play timeline. Tested with Intel Core i7-8700 CPU.
beignetAUR | 1.3.2+12+gfc5f430c-2 | No |  | Core dumped
intel-openclAUR | 5.0.r63503-2 | No |  | Core dumped
intel-opencl-runtimeAUR | 1:18.1.0.013-2 | No |  | Core dumped
Nvidia | opencl-nvidia | 460.32.03-1 | Yes |  | Suitable, but working on cuda instead?

### DaVinci Resolve Checker

You can run davinci-resolve-checker script, which will tell you if your configuration is suitable for running DR. In good configurations it should output:

    All seems good. You should be able to run DaVinci Resolve successfully.

### BlackMagic Design Cards

If using DeckLink, UltraStudio or Intensity cards for video capture and playback, install Desktop Video Software with decklinkAUR package.

## Tips and tricks

### Decrease installation time

Compression of a Davinci Resolve package takes significant time, because the binary is quite large. You can avoid compression and decompression by installing Davinci Resolve like this (assuming you use yay):

       $ PKGEXT='.pkg.tar' yay -S davinci-resolve

See Makepkg#Use other compression algorithms page for more information.

## Troubleshooting

### Logs location

DaVinci Resolve creates log file `'$HOME/.local/share/DaVinciResolve/logs/ResolveDebug.txt'` at every launch. If are you having problems, try to inspect it for useful messages.

### Application window misses title bar

It is a problem of a Linux version of DR There is a workaround for KDE - a window rule to force enable title bar. See [1]

You can manually create a file describing needed window rule:

    DaVinci_Resolve_main_window_always_with_titlebar_and_frame.kwinrule

    [DaVinci Resolve main window always with titlebar and frame]
    Description=DaVinci Resolve main window always with titlebar and frame
    clientmachinematch=0
    noborder=false
    noborderrule=2
    titlematch=0
    types=1
    wmclass=davinci-resolve
    wmclasscomplete=false
    wmclassmatch=1

Then go to System Settings > Window Management > Window Rules and import this file.

### My .mp4 clips are shown as audio clips and even its sound is not working

This problem only affects a free version of DR for Linux. MP4 containers are not supported, also AAC audio is not supported. To workaround, you may convert your video file to another format or purchase a studio version. Transcoding command may look like this:

    ffmpeg -i input.mp4 -c:v dnxhd -profile:v dnxhr_hq -pix_fmt yuv422p -c:a pcm_s16le -f mov output.mov

Note, that as of April 2020, even studio version does not support AAC decoding in MP4 files. See supported codecs pdf in #See also.

There is no yet (as of April 2021) such a document for DR 17, but DR 17.1 and DR studio 17.1 both supports mp3 files. However, for some reason, integrating mp3 audio to mov file is not playing.

### HiDPI

To enable compatibility with high-resolution displays, set the following environment variables accordingly:

    export QT_DEVICE_PIXEL_RATIO=2
    export QT_AUTO_SCREEN_SCALE_FACTOR=true

Source: https://forum.blackmagicdesign.com/viewtopic.php?f=21&t=84614&p=469009&hilit=hidpi#wrapper

### Wine version

Some plugins are available for Windows, but not available for Linux, so you may want to use Davinci Resolve via wine. Also, wine version could potentially workaround the linux-only problem of mp4 format issues. Wine 6.5 brings OpenCL 1.2 support, which is required for DR. Unfortunately, there was no success to start DR via wine (trying on wine 6.9 directly and via playonlinux). At first launch a splash screen appeared that explained new features in DR 17.2. But after clicking the Next button, the window disappeared and no interface window appeared. Probably, if launched via terminal, it could show the problem in more details.

### Wrong OpenCL Version

If the application simply is not starting, even after showing installer and "tour" successfully your OpenCL Version may not match your NVIDIA driver. If you have installed nvidia-440xx make sure to install opencl-nvidia-440xx as well. A possible error message:

    ~/.local/share/DaVinciResolve/logs/LogArchive/ResolveDebug_C1.txt

    ...
    OpenCL error -1001: 'Unspecified Error', GPUPropertiesUtilUnix.cpp:338
    ...

### Get back to Onboarding screen

If you are experimenting with driver installation, you may want to start from the welcome tour and onboarding screen, which checks your system and graphics card. You can achieve that by removing configs directory:

    rm -r $HOME/.local/share/DaVinciResolve/configs

### Full screen preview function missing

This function is only available in the studio version. It is in menu Workspace > Video Clean Feed.

### Audio recording in Fairlight not working

Recording audio tracks with microphone (USB or jack) is currently not working in both Studio and free version. See [2].

### No audio during video preview

DaVinci interfaces the ALSA directly, so you need to redirect it to use PulseAudio by creating `asound.conf` in `/etc/` with the following content:

    /etc/asound.conf

    pcm.!default pulse
    ctl.!default pulse

### Silent crash related to libcrypto.so.1.0.0

Possible crash message:

    ~/.local/share/DaVinciResolve/logs/ResolveDebug.txt

######

    ...

    ====[CRASH DUMP]====

    Please send this to support:

    #TIME Sat Jan 23 19:42:20 2021 - Uptime 00:00:08 (hh:mm:ss)
    #PROGRAM_NAME DaVinci Resolve v16.2.8.005 (Linux/Clang)

    /opt/resolve/bin/resolve() [0x550e0a9]
    /opt/resolve/bin/resolve() [0x550d89a]
    /usr/lib/libpthread.so.0(+0x140f0) [0x7f80d90640f0]
    /usr/lib/libc.so.6(+0x15df7e) [0x7f80d6af5f7e]
    /opt/resolve/bin/../libs/libcrypto.so.1.0.0(lh_insert+0xad) [0x7f80d8aa2e4d]
    /opt/resolve/bin/../libs/libcrypto.so.1.0.0(OBJ_NAME_add+0x65) [0x7f80d89f1855]
    ...

Replace `/opt/resolve/libs/libcrypto.so.1.0.0` with `/usr/lib/libcrypto.so.1.0.0`:

    # cp /usr/lib/libcrypto.so.1.0.0 /opt/resolve/libs/libcrypto.so.1.0.0

## See also

- Post on Davinci Resolve forum with tested configurations.
- PDF with list of Supported Formats and Codecs for DR 16

Categories:

- Audio
- Video