I've been fiddling with distroboxes and other nonsenses that didn't work at all for hours, and now I find this video. This is not only clear and useful, it's also very informative about how DVR actually works. Thank you so much.
Brilliant. Takes a lot of effort to put a video like this together. These steps worked with Linux Mint 22 (obviously). I'll move over to your new site and check when you post "the better way". Thanks for all the work.
thanks so much for your video on fixing library dependencies in Davinci Resolve! I've been using Linux Mint 22 as my editing platform, and it was just what I needed to get things working smoothly. Really appreciate it
Thanks a lot. It worked. A note to nVidia users: DaVinci Resolve 19 requires nVidia drivers 550+ which are not officially available on Ubuntu yet. Installing drivers that are yet untested by Canonical is discouraged from what I read. I reinstalled DaVinci 18.6.6 and re-used this guide to work around the library issue. Works like a charm.
You are amazing, thanks! you've just won a subscriber from México :D sadly on opnening, I get a "OpenGL initialize error" but thats a problem for another story xD running a RTX 2060SUPER.. Update: Solved: it was the secure boot, we need to sign the MOK of the GPU driver, or turn off the secure boot, I did sign it and voila :D
There are some stability issues. I'm working on a better solution, but so far it's not going very well :-\ I'm trying to run Rocky Linux 8.6 in a docker, so that DR can run on its supported OS while you work with your preferred one. Sadly, even under ideal conditions, that'll only work with Nvidia GPUs, as AMD don't have a docker solution.
You should be able to change it in the Davinci settings to OpenGL. I had the same and it was just a single click to change the settings once I figured it out!
Glad it worked for you. If you do run into problems, please check out the new (easier and more reliable) way of doing this: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-FHnNqtAwJ6M.html
wow thanks. I was bashing my head against wall trying to figure this out. Corrupted my whole system multiple times trying to use chatGPT to figure it out. Thank you!
If this doesn't solve your problem, I've developed a new way of doing this. It should be both simpler and more reliable. Please check out ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-FHnNqtAwJ6M.html
I have to admit that I'm surprised by the "simple" description. Still, if it worked for you, that's great. You're welcome. If you do run into problems, I've since developed an even simpler way that should also be more reliable. Please check out ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-FHnNqtAwJ6M.html
Thank you for this video. Funny how 90% of problems I have are with packages 😩 Also thanks for showing the steps to solve the problem, I'm not the most experienced with Linux, so it was definitelly usefull. Ever since I've switched to Linux, I've been way happier, but I still do dual-boot Windows so that I can run programs not available on Linux. Whenever I boot into Windows, I hate it, because I have this random lag that affects the whole system, it appears and disappears completely randomly. Windows just has so much bloatware, my HP laptop came installed with so much crap I can't remove. Switching to Linux is nice, because all my problems just disappeared. Mainly I need to use Windows to edit photos, because I use Adobe Lightroom, and Adobe apps are historically a pain in general, and are not possible to run on Linux with Wine.
I feel your pain. When I started using Davinci Resolve for my YT channel I dual booted. As soon as I figured a decent enough workflow that works around the fact DR won't decode MP4 audio, I ditched Windows. But then, I'm not a heavy graphics user (inkscape and gimp are enough for my needs), and I've been using Linux as my only desktop pretty much forever.
Hello! If starting fresh, any advantages or disadvantages to just install Ubuntu 22 LTS instead or DR18? Second, is using Ubuntu Studio with low latency kernel discernably faster? Also want to do some Steam gaming -would that all be good on Ubuntu Studio 24 LTS? Lastly is it worth it just double booting to Rocky OS just for DR and other video related?? Thanks!
Here's my personal take: * If you're mainly editing video, installing 22.04 is definitely a better idea. * I have not tried low latency kernels * I don't know about streaming _with_ Studio. I've streamed non-gaming content, and OBS does fine * I tried that. First, I suggest dedicating a disk to Rocky, as its installer makes it _really_ easy to erase your current install otherwise. Problem is, I _hate_ it. It's Gnome based and feels very restrictive. YMMV. DR works way better on RL than it does on 24.04, even with my patches. Especially Fusion. I'm working on a better solution for 24.04, and when it's done I'll post a new video. Problem is, it won't be here. The content is just too off-topic for this channel. I'm opening a more relaxed channel at youtube.com/@LessAssemblyRequired
I think a better approach would be to build a deb pkg and then install it. That would be more helpful to most people, who don't like to spend a day in terminal emulator.
I'm sorry, that's what I managed to come up with so far. I am working on a DEB based solution, but it'll take a little more time, and I wanted to get *a* solution out there as quickly as possible.
In case you're still interested, I have a better solution, both in terms of ease of installation and in terms of reliability. If it's relevant for you, please check out ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-FHnNqtAwJ6M.html
I do everything as follows, but when I try to run the command at 7:20 , for some reason it still only shows the libpango file and not libpangotf. What could be the problem?
I don't know, but I've since created a better way, that should also avoid all of those library problems. Check out ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-FHnNqtAwJ6M.html
I mean it is not of interest to me, but I am still interested in your content regardless. I'll watch anyways. Also, maybe I learn a trick or two that I might use in a different situation. You never know.
I created this video because most people using DR on Ubuntu found themselves with no solution. Things stopped working, and there was pretty much nothing anyone seemed to be able to do about it. Specifically, _I_ wanted to edit the next video in the series (the live programming ones don't count, as they are not edited), and couldn't. So I had to spend about three hours debugging and working around the problem. So I made this video in the hopes that the people who need it will find it. Kind of silly, as my usual audience is, typically, not content creators, and therefor have no use for it, and the audience for this video are unlikely to be standard viewers of my channel. Oh well.
@@CompuSAR true, we are content consumers. However, the trick itself - locating the error, the missing libraries and setting up the solution is actually useful in everyday IT life. I mostly work around windows systems, so this is a very useful thing to me if I see myself in front of Linux. Hell, this will be helpful with my Steam Deck.
The procedure works as well as it does on other versions. With that said, there are some stability issues. I'm working on a better approach, and will post a video when it's done. Except, it won't be on this channel. My regular subscribers are complaining. I'm opening a new channel at www.youtube.com/@LessAssemblyRequired
@@CompuSAR After rewatching your tutorial about 50 times, I was finally able to successfully launch DaVinci R19 PB5. I'll hit the subscribe button on both of your channels. Thank you, thank you.
@@CompuSAR Select Preferences Go to the System tab Select Memory and GPU Uncheck the Auto boxes Select the appropriate processing mode: Cuda: for Nvidia GPUs OpenCL: for AMD Radeon GPUs Ensure the Discrete dedicated GPU is selected Click Save Restart DaVinci Resolve There's no OpenCL: for AMD Radeon GPUs to select im wondering what can be causing this?
Wow all that high speed typing. Not like we can cut and paste what you put in the terminal. I'm looking to get DR Studio 19.6 running and the GPU I will use, AMD Radeon PRO W7800, only needs the Ubuntu 22.04.4 LTS that you said DR does run on so I'm hitting the skids right there and just going with 22.04.4 LTS. So you helped me with that one line - min 4:45, "DR does work with 22.04.4 LTS" Thank you!
The versions currently available are 18.6 and 19 beta. I'm guessing you meant the former. And, yes. If you need DR as a professional tool, going with an LTS that isn't the latest, but works without hacks would be the recommended approach.
@@CompuSAR yes on 19.3, had 19.4 but DR gave GPU error, switched me to Open CL but still would not run. DR wanted later driver than what Mint has in the Driver Mgr. I would love to manually update to the latest NVIDIA Driver but having to turn off X Server sounded like may have potential problems. I think this 22.04.4 LTS may be a good change from Mint and should be able to go to 24.04 sooner or later when things settle out.
BTW, there is now a new video, with an easier (and also more reliable) solution. Your comment made it there as one of the feedbacks on my previous (i.e. this) video. Please check out ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-FHnNqtAwJ6M.html
I am using Ubuntu 22.04.4 LTS and when I tried to execute the command "sudo LD_LIBRARY_PATH=/tmp/dr/files/usr/lib/x86_64-linux-gnu/ bin/resolve" it gave me and error "Illegal instruction (core dumped)" What could be the reason for this? Thanks
I don't know if this is still relevant, but I've created a simpler and more reliable way to do this. Check out ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-FHnNqtAwJ6M.html
I have no idea how to solve that. With that said, I've since created a better way, that does not need any custom/mismatched libraries at all. Check out ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-FHnNqtAwJ6M.html
Hey, thanks for the tutorial. After giving the path to mentioned packages i had this "18.6.6.0007 Linux/Clang x86_64 Main thread starts: 3F393000 Segmentation fault (core dumped)". Running New linux mint 22 Wilma with nvidia driver 550. Aplication still not working not sure where is the problem. Any idea how to solve that problem?
Yes. I'm working on it (actually, I got it working, now I'm working on packaging it). Stay tuned on my other channel: youtube.com/@lessassemblyrequired. I'll post the instructions there when they're ready.
Great Video! But when I try to run opt/resolve, i get this: ActCCMessage Already in Table: Code= c005, Mode= 13, Level= 1, CmdKey= -1, Option= 0 ActCCMessage Already in Table: Code= c006, Mode= 13, Level= 1, CmdKey= -1, Option= 0 ActCCMessage Already in Table: Code= c007, Mode= 13, Level= 1, CmdKey= -1, Option= 0 ActCCMessage Already in Table: Code= 2282, Mode= 0, Level= 0, CmdKey= 8, Option= 0 19.0.0b.0033 Linux/Clang x86_64 Main thread starts: D4FB4000 Segmentation fault (core dumped) Im already trying to install it for 3 days but cant figure it out.
I am working on a better way to perform the install, both in making it easier and in making it more reliable. It will take a while. It will probably go out in my new "other" channel: ru-vid.com
it's pretty ridiculous that we have to go through these steps when it would be trivial for BMD to fix this themselves. Thank you for making this video, but boy did this kill my enthusiasm for getting any work done.
BMD's line is this: for Linux we support two standard distros. These are Centos 7.3 and Rocky 8.6. We provide the ISOs if you want to download and install them. If you want anything else, you're on your own.
Also, I now have an easier way to do the installation that should also be more reliable. Please check out ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-FHnNqtAwJ6M.html
I LOVE YOU TOO, eh, remind me your name again? Unfortunately, there are some stability issues, especially around Fusion. I'm working on a better solution (that will also involve less manual labor), but it will take a little longer. With that said, my channel has had enough off-topic (for it) videos, so when I finally do get it working, I won't publish it here. I'm opening a new channel for the off-topic stuff. It's over at youtube.com/@lessAssemblyRequired, if you're interested.
I'm running an experiment called "how many subs can I get on a channel with no branding and no content". Truth be told, the reason there is no branding and no content is because I want DR to be stable first.
can you render fusion comps and fx? the installation worked for me, but I just can render fusion comps inside of fusiom with the saver node. the normal rendering on delivery page is not working. When I hit render, it has no progress and the time just keeps increasing. I not tested yet with normal footage, since basicaly most of my work is inside of fusion
Can you do a minimal comp that doesn't render for you, export it and send to me? What I've been doing with Fusion seems to work for me (nvidia driver 550 from the Ubuntu repos).
I've now finished a new way to do this install. I've created a new video explaining it, and it was edited entirely with DR installed using this method. This includes Fusion compositions (which, indeed, were somewhat troublesome with the technique listed here). Please check out ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-FHnNqtAwJ6M.html
Also, there is now a new way to do this, that is both easier (less manual steps) and more reliable. Please check out ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-FHnNqtAwJ6M.html
Also, please check out the new procedure. If you still have a problem there, it should be fairly easy for me to solve. Please check out ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-FHnNqtAwJ6M.html
i tried to install free version (not studio) and chose to download lib with new names and my gnome desktop broke. had to recover it by uninstalling those lib in recovery mode root shell and installing gnome desktop again .
Did you install those libraries globally? That is not what I recommended doing in the video. Installing them in the /opt/resolve/libs directory should not break your desktop.
There is now a better way to perform this. One where making this mistake is not possible. Please check out ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-FHnNqtAwJ6M.html
The conflicts is with all new kernel and amdgpu, your solution doesn't work at least on my machine and most of the pc's with AMD gpu. Honestly your way doesn't work even with studio version at all.
I don't know about Amd GPU. I'm on an AMD CPU with Nvidia latest drivers, latest kernel and Studio version, and it's working. If you want, contact me via email and I'll try to find a solution together.
@@DetHjemme try install these before running davinci if u on debian based apt-get install ocl-icd-libopencl1 mesa-opencl-icd ocl-icd-opencl-dev clinfo Good luck
Except people here tried that, and it didn't work. I can tell you I tried Docker, and that didn't work either. I did end up doing more-or-less that, but I had to build my own container tool for it to work.
So I now have the new video up, with how I did it. I suspect there was a way to get distrobox to work as well, but I ended up writing my own container solution. Please check out ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-FHnNqtAwJ6M.html
i dont even know why davinci resolve wont work on ubuntu 24LTS with the kernel version 6.8. im having nvidia-driver-470 installed , the nvidia-driver-390 wont even install because of DMKS issue or gcc compiler version , im not sure .. when i open up davinci resolve it doesnt recognize my GPU even tho the gpu works fine with that driver with other application (the output of nvidia-smi : Failed to initialize NVML: Driver/library version mismatch) . i just want a solution to this problem , any thing? should i try to downgrade ubuntu version and revert back to use 22? or is there a way to FORCE davinci to recognize the gpu? please help (Nvidia K2100M)
Have you tried the solution proposed on my other channel? The one linked in the description AND in the card AND in the end screen AND in the thumbnail of the video? Because it is both easier and more reliable.
@@CompuSAR i tried it , and it got Davinci to work but it still cannot detect my GPU even though it works fine with other programs (Note : the output of the command vidia-smi : Failed to initialize NVML: Driver/library version mismatch) my GPU : Nvidia K2100m the driver version i m having is 470 . the driver version 390 doesnt build when installed with apt-get or the ubuntu software and updates interface . the gcc compiler version is v13. kernel version : 6.8. one thing that confuses me tho is davinci works and detects my gpu during the installation of the 390 nvidia driver. and it crashes after that. any solution? how to force it to detect the gpu? ps : the Nvidia X server settings CANNOT Generate the Xorg.conf file when i try to save the settings . if i change the files content manually , ubuntu crashes and doesnt boot to the login page after booting and gets stuck on ubuntu and Dell logo. i can provide more information . when i checked the internet i found out that it wasnt only me who is having this issue.. its either the gcc compiler or the kernel version that doesnt support the nvidia 390 driver anymore , i tried to update-alternative the gcc compiler to version 11 TO build the nvidia 390 driver but still faced with the same problem. it finishes installation with errors!
@@MoizRedYT I think you're on the nuevue driver (the open source one). DaVinci won't work with that. You have to get X working with the NVidia drivers outside the container first, and only then can you try and get DaVinci working inside it.
@@MoizRedYT You need to get to the point where your system runs with the NVidia driver regardless of DaVinci Resolve. I'm not sure what you need to do in order to do that. Probably install the nvidia drivers properly. In any case, the fact that nvidia-smi doesn't report a correct installation is what you need to resolve (no pun intended) at this point.
THANK YOU SO MUCH!!! pt br- Eu segui tudo certinho gente, e deu certo, só no lib(alguma coisa) cairo, eu tive de copiar até os numeros da versão pq o q ele usou não funcionou de primeira, mas de resto foi tudo certinho. Só to com um problema agora, que o davince abre o projeto com metade da tela pra fora, mas okay, deve ser coisa de configurar espero...
If you're still having problems, I've developed a better way (both easier and more reliable) to do this. Please check out ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-FHnNqtAwJ6M.html
This is the type of garbage that prevents 99% of Windows users from switching to Linux, ever. Now you can appreciate how much effort Microsoft put into compatibility and reliability. Before anyone starts, Windows is a pile of dong for other reasons, but the situation with Linux does not help at all. Sadly.
A good point argued with grace. Except, of course, it isn't and you didn't. The reason this flow is necessary is because BMD decided, for their own reasons, to only support specific versions of Linux, and fairly old ones at it. That can happen on Windows as well (if you don't believe me, try to program a 6th generation Xilinx FPGA, or hook up hardware produced 10 years ago). The fact that I even _had_ a solution to offer is because the way Linux is. With that said, I don't get it. So you spent 11 minutes and 41 seconds watching a video for the sole purpose of getting angry, and then went here dumping your anger at me, for some reason. Why do that to yourself? If you don't want to use DR on Linux, don't. If you do want to use DR on Linux, install Rocky Linux and go through the official support. If you insist on using an unsupported version of Linux to run DR, at least, thanks to me, you're not left with no solution. In what way is your anger productive, or even warranted?
@@CompuSAR Dude, you made a brilliant video about an issue that should not exist - that was the point of my comment. Yet you managed to spectacularly miss the point and take the comment personally. It's comical!
@@fernandoperez8587 Actually, I'd like to see it happen, give me an example of mainstream windows software that requires the user to go online to look for instructions and eventually download bunch of DLLs from older version to make it work. Go ahead, I'll gladly wait.
Im trying since 14:30 the ubuntu servers give a "Internal Server Error" to download the packages. This bdstro doesn't deserve to install, ill remove it for ever!!!
@@CompuSAR Installed but need to install "mesa-opencl-icd" to recognize the GPU. davinci resolve cant preview or edit or anything so thank you but still useless!
@@CompuSAR this problem that DR doesnt preview or edit photos,videos at all exist in beta 19 and 18 as well. Cant find any solution for my GPU RX570 right now.
Please trust me, a much easier, and also more reliable, way is just around the corner. I'll post another video on my, new, side channel when it's ready. youtube.com/@lessassemblyrequired
I appreciate the tutorial. But I'm not going to do all of this to install a crappy video editor. This is why people dog on linux and for good reason. Windows rarely ever has issues with backwards compatibility. Linux developers want to needlessly change library names and packages with every single release. This is ridiculous. Time to give up on this linux install and go back to windows. Atleast then I can do the bare minimum without crashes..
Kudus for trying to start an OS war. I actually considered putting together a single deb that will fix all of these problems, but I figured that: 1. There's a good chance that by the time DR 9 is officially released this problem will be fixed and 2. There's value in understanding _how_ the solution is reached. If by the time DR9 is out of beta this workaround is still needed, I'll release a proper solution. I do think that pinning this on Linux is ignorant, though. This is 100% BlackMagic's decision to only officially support a distro that is over a decade old. If someone released a program you need that was only supported on Windows 7 (which Xilinx does, for example, for FPGAs below their 7 series), you'd either install that or be just as stuck. In fact, you'll be more stuck, because on Windows the tools I used to overcome the problem simply don't exist.
@@CompuSAR It's hard not to start an OS war. I've been using Linux for over 10 years and it seems to get buggier and buggier with every year. I want to like it, but always end up giving up when I realize it will be easier and faster to install windows than to troubleshoot obscure issues. Google's search results going to shit doesn't help the matter either.
First of all, I view going back to previous version (I'm assuming you meant 22.04) is a perfectly valid solution in my eyes. Like I said, _officially_ BMD only support Centos 7.3, and 22.04 still have 5 years of official support from Canonical left. After having reverse engineered their installer I can tell you that unofficially version 22.04 is supported, which is why I believe DR 9 will, eventually, also support 24.04. As for getting buggier: maybe. It's a subjective claim and, therefore, correct by definition. What I can tell you is that the statistics show a lot of people think the same on Windows. Windows 11 is the only version ever to lose market share (I'm assuming people going back to Windows 10) before its successor was released. Good luck with whatever path you eventually take.
@@CompuSAR First, thank you very much for this video and the detailed explanation of the solution. Second, we currently officially support Rocky 8.6. Third, I don't expect the release version of 19 to change in this area, and hope you will create your single deb fix, for those people who want to use 24.04.
I get the error message "/opt/resolve/bin/resolve: error while loading shared libraries: libjpeg.so.8: cannot open shared object file: No such file or directory" Or does this happen cause I use Debian?
I have not tested Debian. Either install it on your OS, or follow the same procedure and install inside the libs directory. Either way, I'm getting close to releasing a better solution (also more reliable). I'll probably release it on the new channel: youtube.com/@lessassemblyrequired.