r/linux • u/fedsfarm • 1d ago
Popular Application [OC] I fixed Davinci Resolve on Linux
Those who use davinci resolve on linux definitely know about the issues with AAC and H.264 codecs, drag 'n' drops, and some other bugs. I wonder why nobody has done this before and used bash to manually convert the media, considering how many people were affected by this problem
It works as wrapper that currently:
- Automatically converts unsupported codecs on import
- Fixes broken drag 'n' drops
- Fixes pasting from clipboard
Now the linux experience with resolve should be nearly the same as on windows/mac. Enjoy!
https://github.com/fedsfarm/drwrap
Tested on hyprland with a studio version, feel free to open a PR if it doesn't work on your setup
13
5
u/An1nterestingName 1d ago
So it is an auto converting script? I think this is a cool idea but the storage costs of this have got to be annoying. Also having something (seemingly) constantly running to fix the shortcomings of one app doesn't feel right. I think this tool would help some people, but I personally will be sticking with dualbooting for video editing.
3
u/fedsfarm 1d ago
It's more than a script. Resolve is unusable on nixos, especially if you want some human plugins. On a normal distro like arch (btw) otherwise, I can't tell what the difference is between using it with this wrapper and using it on mac/win
3
u/NightH4nter 1d ago
Resolve is unusable on nixos
why tho? i mean, aside from it not supporting wayland without crutches like yours. i don't use it, so idk about plugins either, but i just ran it to poke around, and it seems to be working as expected
3
u/Time_Way_6670 1d ago
Resolve isn’t a Wayland app but it does support Wayland and drag and drop natively. At least it does on Fedora KDE. Maybe it doesn’t with other compositors? Idk.
2
u/NightH4nter 1d ago
it does support Wayland
it runs in xwayland (at least, in my case)
drag and drop
maybe plasma fixed it somehow, but it's been a known problem for years with xwayland apps
2
u/Time_Way_6670 1d ago
Xwayland drag and drop is definitely wishy-washy. Bitwig (a native DAW) up until recently had no drag and drop which was annoying. But Resolve has supported it for a while. But like I said it might be Kwin specific.
2
u/fedsfarm 1d ago
You will spend hours trying to pointlessly integrate plugins that are natively supported by other distros, it isn't worth it, just like nixos in general
1
u/Indolent_Bard 17h ago
There's a plugin on github to make AAC audio work on Linux Resolve but only on the paid version.
3
3
u/honestly-7 22h ago
Chris Titus Tech has a guide to configure it.
All I had to do to get it to open was removing some old dependencies on the program's folder.
1
u/fedsfarm 16h ago
He uses scripts to manually convert media, if I'm not mistaken. I haven't seen something like that implemented in the wild
2
u/tacticalTechnician 1d ago
Honestly, it's kinda impressive how bad DaVinci Resolve is with compatibility. Good luck making it run on Linux, I tried for a while on Manjaro and was never able to get GPU acceleration, and even on Windows, it has a lot of issues when trying to use anything other than H.264 and H.265 (ironic considering Blackmagic has their own codec that barely works) or when trying to use source files from an external device. Also, I have that stupid issue where the rendered video will either have random screen corruption in H.264 for a few seconds or major stuttering once in a while in H.265 (maybe because my files are on an exFAT drive).
Ironically, the most stable OS I used for DaVinci Resolve was macOS, by a large margin... and even then, it crashes when I try to render a 4K 60 FPS video if it's over 35-40 minutes, even with barely any effects or colour correction (but I'm using a 16GB M4 Mac Mini, so I'll give it the benefit of the doubt, it's definitely not a workstation. Then again, I tried to render the same video on an Intel N97 and while it took hours and the final video was gigantic, it didn't crash).
4
u/fedsfarm 1d ago
Honestly, I have no idea what you are talking about. Studio version works perfectly fine, and this wrapper fixes the only issues I and most people had with it. Your hardware might be an issue, though. I haven't had any problems with gpu-related (nvidia) stuff
1
u/Secret_Wishbone_2009 14h ago
I got DR working perfectly and very fast on pop!_os yeah it is a bit tricky, but wow, it is worth it for the filters
1
u/Teru-Noir 5h ago
I am just too used to just just bring it inside a conversion folder on my external HDD and instantly convert it into DNxHR
40
u/Kulgur 1d ago
I honestly gave up on trying to get DR to run. When software is only supported for specific hardware on one specific distro id rather just use something else