DaVinci Resolve Studio missing codecs/file formats
Can't get it to work at all, no matter what I install inside of the distrobox container. It's not showing up in the export list.
I use an AMD GPU.
Solution:Jump to solution
Researched the topic even further, studied DaVinci docs. Looks like AV1, H265 and H264 are unsupported by DaVinci Resolve on Linux if you have an AMD GPU, even on the paid Studio version. No such problems with an NVIDIA GPU.
Will probably resort to using DNxHR with no further re-encoding, or set up a script that will re-encode it back to AV1. Oh well....
17 Replies
H.264 encode and decode is not supported in the linux version of davinci resolve due to codec licensing
use any ffmpeg wrapper to convert H.264 clips to and from something like prores or DNxHD/DNxHR
Something like shutter encoder would work
this is basically what davinci resolve does when you click "generate optimised media", anyway
But .mp4 exporting worked back on my Fedora install. I didn't have to do any trickery.
Davinci Resolve Studio supports both H264 and H265 up to 10 bit on Linux
Not the free version
either that, or it is encoding in another codec
I have the Studio.
I'm not talking about codecs. I'm talking about export formats.
then install resolve with your studio appimage
It should "just work"
if it doesn't, it might be because of rocm being wonky, there are ways to change it back to rusticl

It doesn't come with an Appimage AFAIK. It only comes as a .zip/.run file, which you're supposed to install with "ujust install-resolve", which installs it with Distrobox
you can try changing it back to rusticl
ujust script uses distrobox, so use the distrobox method
GitHub
GitHub - zelikos/davincibox: Container for DaVinci Resolve installa...
Container for DaVinci Resolve installation and runtime dependencies on Linux - zelikos/davincibox
My GPU is being detected, but not all file formats and codecs are being listed.




Just to be clear, I used an Nvidia GPU when I had Fedora installed, and it worked with mp4/NVENC, with Resolve Studio.
Since then I got an AMD GPU and made the jump to Bazzite.
I tried installing the free version as well, it has the same issue (which is expected). What I didn't expect, is to see the Studio version missing all important codecs.
I think BlackMagic only supports H264 exports with Nvidia and Studio version
Rip
I don't really care about H264 thought. My 9070 XT can do AV1 encoding, and I was hoping to leverage that. Input footage is also AV1. It works, I can edit the video, but all export formats are weird, I never heard about most of them.
So, if there's no way to have "real" codecs with DaVinci, I have two options:
1) Export the video in one of the supported codecs, then set up some script to automatically remux/re-encode the video in a different format;
2) Switch to Kdenlive. I explored it a little, and after some tinkering, found a way to add VAAPI AV1 .mp4 export.
Option #1 is preferred obviously. So, what codec and format should I use to export a video from Resolve, that will be automatically converted to AV1? I want minimal loss of quality. Should I pick something lossless, like FFV1? Or is it a bad idea?
TLDR: read the last paragraph
Solution
Researched the topic even further, studied DaVinci docs. Looks like AV1, H265 and H264 are unsupported by DaVinci Resolve on Linux if you have an AMD GPU, even on the paid Studio version. No such problems with an NVIDIA GPU.
Will probably resort to using DNxHR with no further re-encoding, or set up a script that will re-encode it back to AV1. Oh well.
One more thing.
DaVinci isn't only missing those codecs from the Linux version, but it also uses my CPU for playback and encoding. What?? The GPU is clearly present in the list! Why won't it use it? I was willing to live with my re-encoding hacks, but this is just hilarious.

idk
they probably offload it to the nvidia driver stack, and not mesa
but tbh you can probably get away with cpu playback in dnxhd/dnxhr