I think I SOLVED my problem:
Apparently, on Linux, Resolve decodes DNxHR on CPU and it's not very efficient.
Converting H264 footage to MPEG4 instead (aka divx, xvid), maintaining original 4K res, allows Resolve to use the NVidia GPU for decoding and solves the speed problem. I can do speed effects with keyframes, blends and color curves with the timeline playing realtime, no hiccups. The timeline is set to 4K 30fps too.
Not only it plays smooth, but CPU is not used and the usage of the GPU is light, at about 30%.
Hurray! Resolve free is actually usable on Linux without the need for an expensive machine!
I expect the Studio version to be just as good while using the original H264 footage.
Here's how I converted the footage:
- Code: Select all
ffmpeg -hwaccel cuda -i dji-footage.mp4 -c:v mpeg4 -b:v 100M dji-footage-mpeg4.mov
To be able to use hw acceleration with ffmpeg (-hwaccel cuda), one needs to install it from snap, as the apt version is not compiled with NVidia libraries.