This post will be a quick and dirty how to for installing DaVinci Resolve 16 on popos or ubuntu 19.10. I finally found the missing component that is required to make this work and I wanted to write it down before I forget LOL

Software:

DaVinci Resolve 16

MakeResolveDeb

Installing required components

sudo apt install xorriso ocl-icd-opencl-dev fakeroot

Installing libssl1.0.0

wget http://archive.ubuntu.com/ubuntu/pool/main/o/openssl1.0/libssl1.0.0_1.0.2n-1ubuntu5.3_amd64.deb
sudo dpkg -i libssl1.0.0_1.0.2n-1ubuntu6_amd64.deb

create the deb package

extract DaVinci Resolve zip file you downloaded

./makeresolvedeb_16.1.1-3.sh lite

install DaVinci Resolve 16

sudo dpkg -i davinci-resolve_16.1.1-3_amd64.deb

Transcoding for mp4 x264 to dnxhd

ffmpeg -i input.mp4 -vcodec dnxhd -acodec pcm_s16le -s 1920x1080 -r 30000/1001 -b:v 36M -pix_fmt yuv422p -f mov output.mov

Batch Transcoding mp4 in same folder

for i in *.mp4; do ffmpeg -i $i -vcodec dnxhd -acodec pcm_s16le -s 1920x1080 -r 30000/1001 -b:v 36M -pix_fmt yuv422p -f mov out_$i.mov; done

*New* Batch Transcoding mp4 in transcoded folder

I’m currently using this one for a smaller file size and same quality instead of vcodec dnxhd using mjpeg

mkdir transcoded; for i in ls -lrt | grep -i ".mp4"; do ffmpeg -i "$i" -vcodec mjpeg -q:v 2 -acodec pcm_s16be -q:a 0 -f mov "transcoded/${i%.*}.mov"; done

For more transcoding

check out DaVinci Resolve FFmpeg Cheatsheet

Extras – Hybrid Graphics & HiDPI

If your on a system like mine where as you are using HiDPI due to 4k resolutions here is the solutions to scale Davinci Resolve.

QT_DEVICE_PIXEL_RATIO=2 AUTO_SCREEN_SCALE_FACTOR=true /opt/resolve/bin/resolve

now i also have a problem where i’m using Hybrid Graphics mode on POP! OS but when davinci is starting it will use Integrated Intel GPU which will give you a black screen on Davinci Resolve timeline. here is the solution to force Davinci to use Discrete GPU.

__NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia /opt/resolve/bin/resolve

you can combine them together