DaVinci Resolve works out of the box on Nobara using Nobara's DaVinci Resolve Wizard.
DaVinci Resolve version upgrades should also be done using this method.
Please note that DaVinci Resolve will NOT work if you do not use Nobara's DaVinci Resolve Wizard.
Nobara provides a runtime package that is preloaded with Resolve in order for it to work properly.
Nobara additional modifies the Resolve shortcuts in order to preload the runtime.
Click the Download DaVinci Resolve
url in the wizard to download the latest DaVinci Resolve .zip file.
Click the Select Downloaded File
button to select the .zip file you just downloaded.
Once the file has been selected, The wizard will proceed to install ROCm packages for AMD hardware, then it will either install or upgrade DaVinci Resolve depending on whether or not you have it installed. It will display Running DaVinci Resolve installer...
like so:
All operations will occur in the background. Once the wizard has finished you should see a new popup showing DaVinci Resolve installed Successfully!
:
Resolve does not have or support GPU Encoding with AMD GPUs, however it does support H264/H265 Decode support. If you installed using the Nobara resolve wizard it should install the rocm-meta
package, which inclids rocm-opencl
and opencl-filesystem
packages needed for Resolve to allow AMD gpu decoding.
Resolve does support H264/H265 GPU Encoding with Nvidia GPUs via CUDA. Nobara's Nvidia driver stack should have basic CUDA support integrated, however you may additionally need to install the cuda-devel
package.
iGPU = integrated GPU
dGPU = dedicated GPU
DaVinci Resolve renders in OpenGL. This means if you are on a laptop that has a dGPU you need to launch resolve with environment variables to allow it to use the dGPU:
Please note that the free version of resolve does NOT support H264/H265 Decoding. Only the paid version allows GPU decoding.
As noted, H264/H265 Encode support in Resolve is limited to Nvidia GPUs, however by default there is not any H264/H265 CPU encoder, meaning if you do not have an Nvidia GPU, there is no way to encode H264/H265 out of the box.
HOWEVER, DaVinci Resolve provides examples on creating encoder plugins, from which the community has both created and provided for usage with Resolve.
From the Resolve forums:
https://forum.blackmagicdesign.com/viewtopic.php?f=21&t=125570&start=100#p1071647
Some people have started using the plugins on Linux as well so I made sure build instructions were available for both Windows and Linux.
https://github.com/UDaManFunks/x264_encoder
https://github.com/UDaManFunks/x265_encoder
https://github.com/UDaManFunks/x265_encoder_10b
https://github.com/UDaManFunks/prores_encoder
Prebuilt ready-to-use H264/H265 and ProRes CPU Encode plugins for Davinci Resolve:
https://drive.google.com/file/d/1-vH607733Og5uQsQ6fcEeUqSsDN44KAg/view
Download and unzip the plugins:
$ cd Downloads/
tcrider@sanji:~/Downloads$ unzip IOPlugins.zip
Move them to the Resolve IOPlugins folder:
$ sudo mv *dvcp.bundle* /opt/resolve/IOPlugins/
And that's it, Resolve should now have H264/H265/ProRes CPU encoding support:
Resolve does NOT support AAC Audio. It is recommended that you either record using PCM audio (FFMpeg PCM in OBS-Studio).
If you need to convert existing footage from AAC audio to PCM it can be done from the command line using a script for ffmpeg. The following script can be used to convert multiple files inside a folder:
#!/bin/bash
EXT=.mkv
mkdir -p converted
for f in *$EXT; do
NAME=$(echo $f | sed "s/$EXT//g")
ffmpeg -i "$f" -map 0:0 -map 0:1 -map 0:2 -vcodec copy -acodec pcm_s24le -f mov converted/"$NAME".mov
done
Usage:
Copy the script to a text editor
Replace “.mkv" in the script with your media format.
If you only have one audio channel, remove -map 0:1 -map 0:2
from the script.
Alternatively, if you have additional audio channels, you will need to map each one. Example for 5 channels:
-map 0:0 -map 0:1 -map 0:2 -map 0:3 -map 0:4
chmod +x convert.sh
./convert.sh
The resulting file will be a “.mov" file placed in the “converted” folder which can then be imported.