A couple of clarifications: 1. The solution works on Gnome, as well as any other desktop management environment. My comments about Gnome reflect my personal distrust of the environment, and have no practical applications. 2. In terms of overhead, the Rocky Linux installation requires about 1GB of extra disk space. Other than that, this solution should be without any overhead in either performance or resources.
Nice to know that it only takes 1GB, since I am running Mint on a solid state and space is obviously limited and I was already discarding this solution.
Thank you so much for putting this together! Getting Resolve running on linux is the final step I needed to be comfortable ditching Windows on my primary work machine. I'm looking forward to working in a reasonable, open-source operating system!
Thank you so much for the help! One issue and fix I found - System: Ubuntu 24.04 Ryzen 6900HX WITH iGPU Nvidia 3050 Ti Mobile After install, Resolve still showed an OpenGL error even though I verified my installer looked the same as your for GPU drivers. The fix was to right click the DaVinci Resolve icon and select 'Run with Discrete Graphics Card'. Thanks again!
Followed your tutorial, was able to go through all the steps successfully, but no desktop icon has been added, and the quick menu DaVinci icon shows a spinner for a few seconds, then stops. The start menu DaVinci icon doesn't open anything when I click it either.
Just tried /opt/resolve/bin/resolve I get the error: symbol lookup error: /lib/x86_64-linux-gnu/libgdk_pixbuf-2.0.so.0: undefined symbol: g_task_set_static_name
Tried restarting computer, and Ubuntu Desktop was gone had to apt-get --reinstall ubuntu-desktop to get menus back. Also, after that reboot Ubuntu got stuck in a reboot loop... HELP? :)
I found a solution! The problem I was facing was old libglib libraries. Essentially, I moved libraries into /opt/resolve/libs/_disabled /opt/resolve/libs/libglib-2.0.so* /opt/resolve/libs/libgio-2.0.so* /opt/resolve/libs/libgmodule-2.0.so*
Since this is a container method, will this work on non Ubuntu distros? Specifically Linux Mint with Cinnamon, because that's what I am using. Also, is distrorun more capable of handling Davinci resolve than distro box? Or are they about equal? Edit: I ended up switching to Ubuntu and it works perfectly. It's so nice to finally have a painless way to install DaVinci Resolve after days of banging my head against the wall trying to get it to work. Great explanation of the process as well, thank you so much.
I realize that I'm answering a little too late, but here goes anyways: Yes, the technology should work on any distro, but the specific packages are compiled for Ubuntu. A reasonably modern Mint should work with them as is, though.
Note sure where my comment went... TH-cam ate it... However finally got it working! I had to uninstall everything related to nvidia then run "ubuntu-drivers install" while in recovery mode, then run the Install NVIDIA script. Now running Resolve 19 beta! Thanks so much for this video!
When I click the desktop icon I get the little working kaleidoscope thing for a few seconds and then nothing happens. Don't even get the splash screen. Selecting it in the menu I got the initial setup, but after that nothing happens. One odd thing I noticed is it doesn't have the Resolve icon. The icon on the desktop looks like a document, and it is blank in the menu. Anyway to see what is going on? Mint 22 and DaVinci_Resolve_Studio_19.1.2
My installation didn't recognize the icons. I proceeded to install the beta version, and after seeing the upgrade notification, I installed version 19.0. Consequently, neither the beta nor 19.0 installed with the icons. During the installation process, I observed the installation log, and towards the end, some icon errors were displayed.
Version 19.0 also fails to install on Ubuntu, encountering the same errors. Thx for your help we can use Davinci Resolve! You should have more inscripts than just 16 (counting on me)!
The icon errors in the logs are, unfortunately, normal. The installation is trying to refresh the system's icons, but the Rocky installation is minimal, and does not contain the icons support. The wrapper script is supposed to run substantially similar commands once the installation is over. Obviously, for your case, that wasn't enough. Can you share desktop env. and precise distribution? Also, does your desktop directory ($HOME/Desktop) have a file with the extension .desktop?
Thank you! This is, actually, a new channel I opened. I have a main channel (see the links in the description), but it's focused on a specific topic. It has substantially more subscribers and even a few Patreon supporters. For a brand new channel with just one video posted, 16 subs and over 500 views isn't too bad.
Hi! Thanks for the video! There is a little problem. It lists the folders in DR, but can only play mp3 files and videos. The length of the clip is visible, but it only "sees" the audio track. All mp4 files have this. "No video"
Thanks for providing this solution, I am just unsure how to install AMD drivers in Rocky Linux since I don't know if I try to install amdgpu-install if it will attempt to install it on my main OS instead of Rocky Linux? Any help would be appreciated.
Okay your comment from the last video brought me here looking forward to checking this out a little later. I will soon build another machine with some pretty expensive parts and one of them is going to be an AMD big GPU don't have the model on hand right here but they specify Ubuntu 20.04, is it 22.04?, in their specs for the drivers and they do touch on DaVinci in there marketing if I remember correctly and then I discovered something I think might be very amazing. I discovered Ubuntu Studio which is built around all this stuff even includes OBS already installed and it's dealing with Pipewire and all kinds of good stuff. I have DaVinci Studio and a speed editor keyboard all running on Linux Mint right now pretty flawlessly so we really got to get something going where it's just a easy install because I dumped Windows 10 about a year ago and there is just no going back. I gotta dig back into all this stuff and I'll get back with more accurate details on that GPU and Ubuntu Studio. Let's do this!!!
I should point out that while I say AMD GPUs are not tested, there is no reason for them not to work. It's just a question of correct packages on the host and on the guest machines. So if you do want to go this route and something doesn't work, contact me. We'll figure out what and fix it.
Hi ..I tried this method and after installing the file I couldn't open the appstore on Ubuntu 24, then Restarted the laptop, and only black screen, then used geub and added nosplash for boot, and i get red error about, failed to start remote desktop , cant see my desktop only blck screen flickering! What should I do now?
The tutorial was great, but my machine just doesn't seem to like it very much. Followed it to a tee (twice, actually), and the end result is weird. I can only open Davinci (to the first 'quick start' screen) with sudo, of which it will then crash if I attempt to proceed. It has a crash dump too, but I (or anyone else I know) isn't smart enough to decipher it. It's extremely frustrating because I genuinely believe this bootstrapper you have provided can actually enable me to use Davinci, it's just this small hurdle. I have used the provided driver installer software both attempts. God bless you man, I appreciate the assistance getting me this far even if it doesn't get me quite there yet. If someone can help, here's my system Mint 22 Cinnamon 6.2.9. AMD Ryzen 7 5700G (w/ Radeon) NVIDIA RTX 3060
I don't know. The "only runs with sudo" is really strange. Did you run install scripts through sudo, by any chance? Because you shouldn't. They elevate privileges themselves when necessary.
Note: If you get the Couldn't execute command: No such file or directory error in the installation step of Davinci Resolve, it's because if you drag your .run file into the terminal (on Gnome), it will add ' ' to the path, you have to remove them, otherwise it won't work. I made the same mistake and I was really confused. Perhaps add this to the video description so everyone knows about it.
The reason I'm not putting that in the description is because I have every intention of outright fixing it. And since the installation method I suggest leaves your machine pulling updates, this means that even people who did install will get the fixed version, say, when 19.1 is released (assuming they're in the habit of updating their computer). The only problem is that I've just moved to a new house that is also in a new country, and my setup is still packed away. It will take me a couple of days to get the fix out.
I didn't realize that it's your script, that's great that you're going to fix that, and big props for writing that script! Really making things easier for everyone
Thank you very much for you solution - it's working well for me. One question - I'd like to be able to access files on an NTFS partion. Is it possible to add packages such as NTFS-3G to the Rocky installation?
You can. Just distrorun yum install whatever you want. I don't think that's the best way to do this, however. A better approach is to mount it outside the container, and then follow the instructions in the "external volumes" chapter of this video.
Hello there! Thank you SO MUCH or the video! I upgraded my Ubuntu installation from whatever the previous lts was to the current and suddenly Resolve wouldn't open! This almost fixed it... resolve now opens. (HUGE sigh) BUT I can't access any of my project libraries... I've re-watched the section at the end where you talk about adding directories but can't figure it out how to edit the .config file?? I guess I'm just lost at 12:39 Is there a way to give the Resolve access to all folders? I edit off of an external SSD how can I re-link my project libraries? Any help would be awesome:)
@@LessAssemblyRequired OH MY - it worked like a charm. And for the record - if anyone is dying trying to figure out how to use the vi editor you can replace that with nano and it works (yay!) Thank you so much again!
Is this a request for help? Because if so, a lot more details are needed. Have you checked the last part of the video, the description and pinned comment?
Q: How do I uninstall the files afterwards on Deb-based systems like Ubuntu (24.04 LTS) if I want to get rid of DaVinci Resolve? I used the 'Uninstall' file provided but it still exists, including the Rocky Linux container. Wanted to give it a try but it failed on me (AMD), but I'm stumped on how to remove the container. Removing Drinstaller turned out to be the wrong call in this regard, thus I had to revert and reinstall that one.
Since the installation happens with a script, merely uninstalling the deb will not remove the Rocky Linux directory. At this point, best would be to run the DR uninstall program, and then manually delete the /srv/distros/drrocky directory and uninstall the deb. There will be a few leftover files, but nothing that should take too much space or interfere with anything.
You do realize this is an optional stage, in case you have extra files you need outside your home directory, right? For it to work, you need both a "/srv/videos" directory (with files) and a "/srv/distros/drrocky/srv/videos" directory (probably empty).
My install is bricked, my packages are bricked. PLEASE tell me how to wipe the installs so I can start fresh again. If I can fresh-wipe the bad-install and the packages I bet I could get it working.
Off the top of my head, the following steps should work: * Uninstall all the relevant packages (specifically drinstaller and distrorun). Make sure to "purge" them (i.e. - `sudo dpkg -P drinstaller`) * Delete anything under `/opt/resolve`, if any (there shouldn't be, but you never know). * Delete anything under `/srv/distros/drrocky` * You should be good to go. Technically, there are a few files still left this way, but they should not hinder a reinstallation.
@ THANKS BRO!! Funny enough my opt/resolve folder doesn’t exist but the program still treats it as if it does. Yeah, it’s weird. I think my install is haunted.
I've hit a road bump and I'm not sure what it means (Might not help that I've only been on Linux for 10 days now) Whenever I do the NVidia step, I run into a problem "You are running an X server. Installing the NVIDIA driver while X is running is not recommended, as doing so may prevent the installer from detecting some potential installation problems,..." I tried going through the install anyways to see what would happen and sadly I still get the "DaVinci Resolve could not initialize OpenGL. Please ensure that the latest graphics drivers are installed." before and after a restart Interestingly, when I tried the NVidia driver again for Rocky Linux, it told me that it was on the latest Driver "nvidia-driver-550.120" So Rocky Linux downloaded Version 550.120 my Linux Mint is on 550.120 A part of me wonders if it's an issue of my CPU, seeing that it has integrated Graphics (Intel's Xe Graphics) Is it possible that Rocky Linux is trying to open DaVinci using the Xe Graphics that might not be synced up with Linux Mint? GPU: 3070 Mobile CPU: i7-12700H UPDATE: So I was able to get past the "OpenGL" issue, but rather ran into a new one. How I got around it was making NVidia that active profile at all times rather than switching when needed. The new issue however is now "Unsupported GPU Processing Mode" "Please review the GPU drivers and GPU. configuration under preferences." Gonna keep looking around but I think I'm getting closer to a solution
@@LessAssemblyRequired Cool magool, it doesn't seem like it did anything harmful either which is nice Sorry if I ask really obvious questions btw, as I mentioned before, I've only been on Linux for 10 days so somethings that might be obvious might not be for me ^^; How do I run nvidia-smi inside of Rocky Linux? I was able to run it in the Linux Mint Terminal, but I'm not sure how to do the same in Rocky Linux
@@KruRakaly This means that the GPU driver is installed inside the container. When DR starts and doesn't detect the GPU, it should allow you to enter a menu where you can select which GPU to use. Do you get that menu, and does the NVidia GPU appear? If so, try selecting it.
Not that I'm aware of. In any case, I've added the commands for verifying to the video's description. This way you can copy and paste them, avoiding typing mistakes.
@@LessAssemblyRequired thank you. I have tried the script, and it installed. However resolve only opened once. It showed me the quick setup window, then nothing. I even installed the nvidia installer. But yeah, not opening. But i liked your video it was informative.
@@LessAssemblyRequired Another unfortunate thing on linux for me is that i can't seem to find virtual audio cable program on linux. To use my obs-studio audio filters on any application like on windows. I would go in obs and monitor the mic with the virtual audio cable, then select virtual audio cable on discord. But i cant find a permanent solution. There are just scripts that work for the current session. When i restart, it disappears.
Is it possible to have everything installed on a separate drive (drrocky with davinci)? I have a separate internal drive that holds all videos I plan to edit. If possible, after installing drrocky and davinci on the separate drive, I plan to follow the steps in the video on adding external volumes so I can edit videos in davinci with all videos housed on the separate drive.
The path is hardcoded, at least in some of the scripts, to /srv/distros/drrocky. Nothing, however, prevents you from having that directory be a bind mount or a symlink to somewhere else. Just make sure it's configured properly in the /etc/distrorun config files.
Hey there, Thanks for making a step-by-step like this. I followed the instructions as shown, but when I click on Davinci Resolve in the Application Menu nothing happens. I was able to have the "welcome to Davinci Resolve" window come up once but when I clicked on "next" the window disappeared and now nothing happens when I try to lanch the program.
@@MrNickjensen I'm not super familiar with Linux, but I had this issue when I was trying to install DaVinci Resolve a different way. Try opening it with elevated privileges. So if you open it in the terminal use "sudo" before the run command, or in the menu see if there's an option to run as root
so i got it all installed but it says DaVinci Resolve could not initialize OpenGL. Please ensure that the latest graphics drivers are installed. idk how to fix that with this, i use AMD and not Nvidia
Since I don't have access to an AMD GPU, I need the help who someone who does have it in order to make it work. I'm sure it's possible, but it will need some work. So far, everyone who has complained about this has not gotten back to me. If you want to help me help you, please contact me by email.
I got to the part where I dragged the .run file into the terminal, and it got to: Mounting "/usr/lib/udev/rules.d" on "srv/distros/drrocky/usr/lib/udev/rules.d" and the next line says: "Couldn't execute command: No such file or directory"
@@CompuSAR Yes, I ran the Rocky wrapper first of the three wrappers. I ran the verification, as specified; the drinstaller Debian, which popped up the Ubuntu Software "store" and installed drinstaller; an 'update' / 'upgrade' cycle and restarted; the Rocky wrapper; redownloaded the Resolve .run bundle; ran the Resolve wrapper.
The error is saying one of `/usr/lib/udev/rules.d` and `/srv/distros/drrocky/usr/lib/udev/rules.d` is missing. Can you check which? Also, which distro and version is that? When you ran the rocky installation script, did it say "finished successfully"? If not, remove the /srv/distros/drrocky directory and re-run. The fact it's an AMD system should not have come into play at this point.
@@LessAssemblyRequired had the same issue - what i did is to delete and reinstall rocky + i placed the Davinci Resolve run script directly under Downloads + i removed the quotes which were added when drag and dropping it - don't know which one helped but afterwards it worked (install screen popped up)
DaVinci Resolve installed, won't start. Same GPU error as with NVIDIA GPUs, but I use a UHD Intel Integrated Graphics card. Should the same solution work?
To the best of my knowledge, DR is only supported on AMD and Nvidia GPUs. Please read the release notes (they're in the same ZIP file as the installation itself) and see if you GPU is even supported.
Simply let BMD know that their choice of Linux distribution is not a popular option and majority of their clients would like to have it available on more common distributions like Ubuntu etc.
I followed all the steps and the program started. The problem now is that it doesn't recognize the Open CL driver (I use an AMD 5600GT with RX Vega). However, I installed the AMD proprietary drivers as the program requires. Anyway, I don't know what to do anymore, but I appreciate your attempt...
Like I said, I don't have an AMD GPU to test with, so I did nothing to make it work. A good first step, however, is to install the AMD driver also inside the container. Try "sudo distrorun drrocky ...", where "..." is the command line to run the AMD installer.
@@LessAssemblyRequired seems to be a multistep process, downloading a package, installing it (which provides amdgpu-install on ubuntu) and then running that (amdgpu-install --pro) how to go about this on rocky?
@@dogmatic69 The command you tell to run inside rocky can be /bin/bash, in which case you'll have a shell entirely inside rocky Linux. Also, my setup is down at the moment. As soon as it is back up, I'll try to work on it myself and see what I can automate into a script.
Thanks for your work. Didn't work for me unfortunately. Running Mint 22, i9-14900HX, GeForce RTX 4060 Max-Q. Firstly when I ran the Resolve installer script, the installer errored: "Missing or outdated system packages detected. Please install the following missing packages: libapr1 libaprutil1 libasound2 libglib2.0-0 libxcb-cursor0". Blackmagic forum recommended suppressing this with the command SKIP_PACKAGE_CHECK=1. That worked to get it installed, but the entries in my program menu have no icons next to them. Everything is there but just a text entry, no icon. When running from terminal it fails due to ./resolve: symbol lookup error: /lib/x86_64-linux-gnu/libpango-1.0.so.0: undefined symbol: g_once_init_leave_pointer. Found a solution to that online by moving some old libraries out of the resolve folder. But then it just simply fails with bash: .: resolve: cannot execute binary file Any ideas? thank you
The "missing libraries" is an odd one. As far as I can tell, it's the install script thinking it's running on Debian rather than Rocky. There is one thing I did that might have caused it. I don't see how, but it may fix it for you. Try deleting the file "/srv/distros/drrocky/etc/debian_chroot". It shouldn't matter, because the detection for Rocky comes before the detection for Debian, but it should at least do _something_.
Hi, I have followed all the steps, but when i get to installing the Wrapper: Install Nvidia driver, I get this message: ./nvidia-installer: unrecognized option: "--no-kernel-modules" ERROR: Invalid commandline, please run `./nvidia-installer --help` for usage information. Command failed with error code 1 Press ENTER to close terminal Any idea how I can sort this out? I am running Ubuntu 24.04 Gnome version as Kubuntu gave me some issues, I am running Nvidia GeForce 720
Hi. Can you tell me what version shows up under "driver version" when you run (outside the container) the command "nvidia-smi"? It seems that the command line I've been using here isn't supported on all versions of the driver.
Hello, so that means we got now 2 instances of linux on the system? The NVIDIA updater doesn't work with my system (Ubuntu 24.04 Gnome): Command failed with error code 8 Press ENTER to close terminal DaVinci doesn't start at all. Not even the spash screen Edith: I installed KDE plasma, where the error remains. But DaVinci starts now after the splash screen it shows an error: GPU Initialisation Failed DaVinci Resolve could not initialize OpenGL. Please ensure that the latest graphics drivers are installed. My laptop uses Intel Corporation Iris Plus Graphics G1 (Ice Lake) (rev 07) graphics card... :/
To the best of my knowledge, Davinci Resolve does not work on Intel GPUs. My solution does not magically cause a non-supported GPU to become supported. I may be wrong, in which case this is a problem we need to resolve, but so far as I can tell, Intel GPUs are not supported. Only AMD and Nvidia.
@@LessAssemblyRequired okay. anyways, thank you for your great work on this topic. On Windows it worked on this machine. But I really want to switch to Linux before Win10 support ends. Sad. So I need a new laptop now. 😅
I have no knowledge of what is and isn't supported. If Intel GPUs are supported, then it should be possible to get them to work using this solution as well. It's just that I don't have the hardware to perform tests. I'll see what I can do.
Can you try something for me? But please please please report back. Run "sudo distrorun drrocky dnf install mesa-dri-drivers mesa-libglapi", and then try running Davinci resolve again. Let me know if that worked. I have reason to believe it _might_ solve the Intel drivers issue. If it does, I'll integrate it into the official installer.
@@LessAssemblyRequired Hi, thanks for trying to help me. I appreciate it. But unfortunately it didn't work. Now I'm getting the error msg: Unsupported GPU Processing Mode Please review the GPU drivers and GPU configuration under preferences Right after the splash screen I can choose [Quit] and [Update Configuration] When I click "update configuration" and then "Memory and GPU" I can't choose a GPU because the list is empty Well at least now I am a tick further than before :)
At the moment, I don't know what's missing to make them work. Is this a discrete GPU, or one integrated with the CPU? If it's the later, I'm not sure how to proceed, as I don't have any system to test this on.
@@theseal6681 When things settle down a little I'll try to get one and make it work. AMD is probably higher on my priority, though. Also, "things settling down" will, sadly, take a while for me. For details, see th-cam.com/users/postUgkxE15aCOE7mWeeth7bTvuWtSoL6mk27BFG
hi! This tutorial was really helping, but I have one small issue, which is my graphic card, It's intel UHD, It's built-in since my laptop doesn't have and external graphic card, Can you help me please :)
Hi Muhammed. Unfortunately, so far I've only been able to test this with NVidia. I'm working on getting an AMD card, so I'm hoping to update for that soonish. As for Intel: I'm kinda hoping that the AMD work will get Intel working as well. If it doesn't, I'll have to look into it. So the answer is that a solution will come, but I'm afraid that not soon.
Attempting to install Studio_19.0.1 using the wrapper, getting an Error message: "Missing or outdated system packages detected. libapr1, libaprutl1, libasounds2, libglib2.0-0". Im assuming there is some differences between beta6 and and 19.0.1 that the dr-install wrapper is not compatible with? Could we update the wrapper?
As a workaround, you can fix your local installation. Just run 'sudo distrorun drrocky dnf install libaprutl1...' (replace ... with the list of packages it says are missing).
@@LessAssemblyRequired Thanks for the reply. I can see via Discover, drinstaller is now asking for 0.00 -> 1.01 (on a fresh install of kubuntu), but cant see any changes to the github? Did you push a new version on your server?
@@LessAssemblyRequired Running sudo distrorun drrocky dnf install libaprutl1 does not yield any results. I get a "No match for arguement libarp1" .. this is hte same for all other libs. I can however, use the "old" method or downloading and extracting all the missing libs, and using thing LD_LIBRARY_PATH directive. This will load Divinci Resolve start splash screen. This is just running the binary from the current os, not from rocky as we would wish however.
please help ! 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? (Nvidia K2100M)
What's the output from nvidia-smi outside the container? What version does it say you have? What happens when you run the script to install the nvidia driver inside the container?
It is much easier to install 18 on 24.04. With that said, it did not work perfectly for me with the usual workarounds, so I'm guessing (have not tested) that this will work better even for 18.
I am using Linux Mint 22, and the following error appeared during the installation of the Nvidia driver ./nvidia-installer: unrecognized option: "--no-kernel-modules" ERROR: Invalid commandline, please run `./nvidia-installer --help` for usage information. Command failed with error code 1
I am in the process of acquiring one (more accurately, I've ask BlackMagic to but me one :-), and I'll post an update as soon as I got it to work. Getting it to work remotely does not seem to be a viable option.
@@LessAssemblyRequired I am looking forward to this one, considering I have an AMD graphics. Everything worked up until that Nvidia script, so thanks for that!
your video was SUPER helpful, but through all the solutions i've tried, im getting the same issue whenever i go to load a clip, it either says media offline, refuse to be placed in the timeline, or as for av1, be so laggy i cant edit with it i have a 1080 ti on ubuntu (kde now cuz of this video) and an intel core i7 12th gen im really stumped here, i have no idea what to do lol
I'm sorry, for most of those things I don't know how to help you. The video offline one might be due to using files from a directory that isn't mapped to the container. See 12:02 chapter "External volumes" for how to fix that.
@@LessAssemblyRequired that doesnt seem to be the issue, i really apreciate the speedy reply though im able to import the footage directly from davinci resolve, so it know's the files are all there... i think it might be some weird decoding problem, do you know any problems related to old-ish gpu's, or something related? i have a 1080 Ti with the latest 550 official drivers a core i7-12700KF and 64 gigs of ddr4 3200
figured it out, i was just using non standard formats with obs's default recording crap. davinci got confused. i should've paid more attention in editing class lol. good video though, solved a huge chunk of my headache when it came to this software, ur awsome man
Hey, just wanna say that you did an awesome job with this fix! Everything has been smooth sailing. The only issue I ran into was that upon trying to run the Nvidia Driver Installer, I get an error along the lines of "It seems you are still running an X Server, please consult our website, etc. etc." I am running Linux Mint 22 Cinnamon, and I have a Nvidia Geforce 1060 Graphics Card. Hopefully you could help me out. Thanks!
But did it work? In general, this warning is about updating libraries while they're being used. Since your X doesn't run from the Rocky Linux libraries, it should be perfectly safe to ignore this warning.
Great work @LessAssemblyRequired. You literally ended my fustrations. However when I try to use my external drives in davinci, I cannot seem to find them in the file browser of davinci. Please help me resolve this thank you.
@@aisikoduro6832 Kinda, yes. I built it to be as shallow as possible. I'm not even sure the word "container" is justified here. It's basically a glorified chroot, utilizing some container tools to save you from a common pitfall that caused me to erase my computer. Twice.
@@LessAssemblyRequired Nice kkk. I'm one of them, just love Gnome, for me it's the absolute best desktop environment of all including Windows and macOS. But of course i respect who likes others DEs, it's nice to have options rsrs. Friend, doing this cointainer installation of Rocky Linux, will be the hardware more consumpted than running it on the real machine?
@@raulgrangeiro In theory, the only difference ought to be a little (around 1GB) extra disk space usage for the Rocky Linux distro itself. Of course, I might be missing something, in which case do let me know.
Just as a side note I am running I7 8th generation Intel, 512 gb ssd drive 16gb onboard memory, graphics is Intel® Iris® Plus Graphics (ICL GT2) will this still work here ?? many thanks :))
This solution is very lean in terms of active resources (memory, CPU). It does sound like your system is below BlackMagic's minimal req (I think they require 32GB of RAM). As for disk space, the Rocky Linux installation for me takes 12GB of space, of which around 11GB are the DaVinci Resolve installation itself. If you didn't have a problem with direct installation, the overhead here shouldn't be a problem either.
@@LessAssemblyRequired What's more frustrating to me is that the default .run installer worked completely fine on Ubuntu 20.04 and 22.04 for me on MANY different installs with no need for DistroBox or MakeResolveDeb and then the update to 24.04 needs one of these workarounds. MakeResolveDeb has luckily worked for me, but I did have to consult the BMD Forum for a post install script to make it run.
@@PremierPrep Here's the thing. BMD are gearing DR for Linux toward professional market, where OS updates are a pain. As such, they locked the intended distro to some more-or-less ancient version of Rocky Linux, and are not likely to budge soon. The newer your actual distro is, the more libraries are going to conflict. Sooner or later, the conflict is going to be unbridgeable. That's why I went the container route. This solution has no theoretical reason to stop working in the future, and will therefor, hopefully, bring long term less headache.
I get the same missing or outdated packages popup when trying this method. I am at the step of dragging and dropping the Resolve installer into the terminal. Missing libapr1 libaprutil1 libasound2 libglib2.0-0 libxcb-cursor0 EDIT: SOLVED! By switching from Davinci_Resolve_19.0.1_Linux(dot)run to 1 version earlier (DaVinci_Resolve_19.0_Linux.run) the installation proceeded without errors or fault. Adding this in case someone else gets the same issue here or if Assembly Required sees this and can update their method later. Thank you.
Can you please check something for me? Enter the container by running "distrorun drrocky /bin/bash", and then run the command "egrep -si -e 'ID.*=.*(rhel|centos|fedora)' /etc/*release". Tell me what its output is. Also run "ls /etc/*release".
Thanks for the solution dude but the window that i supose its the rock linux wrapping davinci resolve hasn't minimize/maximize buttons so its just won't maximize not even with keyboard shortcuts. Thats why not programmers hate linux. Doesn't matter the reason, i'm trying to fix it for 3 days and the solution is not even close to be simple normal people. The worse is to know that this problem has more than 6 months. And each distro linux will be problems with some application that windows run flawlessly. I love the performance of linux for programming but for any other shit i try to do i fall in a black hole of problems inside problems which makes me curse my pc and get back to windows. 3 fucking days to find a solution to install an app and i'm a fucking programmer, a normy would give up in hours.
Eu sou do Brasil e aqui eu não achei nada que podesse corrigir esse erro de instalação. Assisti o video th-cam.com/video/Y87MFmcy3lc/w-d-xo.html e deu certo. Agradeço pelo seu trabalho. Eu sozinho não ia conseguir instalar o Davinci. Muito obrigado de Coração. Aproveitei e me escrevi no canal ( Some Assembly required ) e ( Less Assembly Required ). Agora eu não vou precisar de voltar para o windows. Uso Linux Mint 22 "Wilma" e NVIDIA GeForce RTX 4050 Laptop GPU.
I have a serious question. It may sound sarcastic, but I assure you it isn't. If you're on Windows, why waste your time on a Video explaining something which is obviously meant for Linux users? And this is before I mention that the only step in this video done in the console is one that Windows users usually don't bother with (and then think Viruses are unavoidable). If you'd bother with verifying downloads you'd find that the recommended way for verifying a PGP signature on Windows is... through the console.
Just delete these files at /opt/resolve/libs and you are good to go: libgio-2.0.so libgio-2.0.so.0 libgio-2.0.so.0.6800.4 libglib-2.0.so libglib-2.0.so.0 libglib-2.0.so.0.6800.4 libglib-2.0.so.0.orig libgmodule-2.0.so libgmodule-2.0.so.0 libgmodule-2.0.so.0.6800.4
A couple of clarifications:
1. The solution works on Gnome, as well as any other desktop management environment. My comments about Gnome reflect my personal distrust of the environment, and have no practical applications.
2. In terms of overhead, the Rocky Linux installation requires about 1GB of extra disk space. Other than that, this solution should be without any overhead in either performance or resources.
Nice to know that it only takes 1GB, since I am running Mint on a solid state and space is obviously limited and I was already discarding this solution.
Thank you so much for putting this together! Getting Resolve running on linux is the final step I needed to be comfortable ditching Windows on my primary work machine. I'm looking forward to working in a reasonable, open-source operating system!
Really appreciate the work and time you put into this video and helping us all out.
Thanks a ton! I have an AMD GPU and will have to wait, but thanks for putting in the effort to put this all together.
Thank you so much for the help! One issue and fix I found -
System:
Ubuntu 24.04
Ryzen 6900HX WITH iGPU
Nvidia 3050 Ti Mobile
After install, Resolve still showed an OpenGL error even though I verified my installer looked the same as your for GPU drivers. The fix was to right click the DaVinci Resolve icon and select 'Run with Discrete Graphics Card'.
Thanks again!
I had the same issue and this worked! Great addition!
Followed your tutorial, was able to go through all the steps successfully, but no desktop icon has been added, and the quick menu DaVinci icon shows a spinner for a few seconds, then stops. The start menu DaVinci icon doesn't open anything when I click it either.
Just tried /opt/resolve/bin/resolve
I get the error:
symbol lookup error: /lib/x86_64-linux-gnu/libgdk_pixbuf-2.0.so.0: undefined symbol: g_task_set_static_name
Tried restarting computer, and Ubuntu Desktop was gone had to apt-get --reinstall ubuntu-desktop to get menus back. Also, after that reboot Ubuntu got stuck in a reboot loop... HELP? :)
I found a solution! The problem I was facing was old libglib libraries.
Essentially, I moved libraries into /opt/resolve/libs/_disabled
/opt/resolve/libs/libglib-2.0.so*
/opt/resolve/libs/libgio-2.0.so*
/opt/resolve/libs/libgmodule-2.0.so*
Since this is a container method, will this work on non Ubuntu distros? Specifically Linux Mint with Cinnamon, because that's what I am using. Also, is distrorun more capable of handling Davinci resolve than distro box? Or are they about equal?
Edit: I ended up switching to Ubuntu and it works perfectly. It's so nice to finally have a painless way to install DaVinci Resolve after days of banging my head against the wall trying to get it to work. Great explanation of the process as well, thank you so much.
I realize that I'm answering a little too late, but here goes anyways: Yes, the technology should work on any distro, but the specific packages are compiled for Ubuntu. A reasonably modern Mint should work with them as is, though.
@@LessAssemblyRequired Would it work upstream as well? Would this work on Debian?
Note sure where my comment went... TH-cam ate it... However finally got it working! I had to uninstall everything related to nvidia then run "ubuntu-drivers install" while in recovery mode, then run the Install NVIDIA script. Now running Resolve 19 beta! Thanks so much for this video!
Glad to hear!
When I click the desktop icon I get the little working kaleidoscope thing for a few seconds and then nothing happens. Don't even get the splash screen. Selecting it in the menu I got the initial setup, but after that nothing happens. One odd thing I noticed is it doesn't have the Resolve icon. The icon on the desktop looks like a document, and it is blank in the menu. Anyway to see what is going on?
Mint 22 and DaVinci_Resolve_Studio_19.1.2
My installation didn't recognize the icons. I proceeded to install the beta version, and after seeing the upgrade notification, I installed version 19.0. Consequently, neither the beta nor 19.0 installed with the icons. During the installation process, I observed the installation log, and towards the end, some icon errors were displayed.
Version 19.0 also fails to install on Ubuntu, encountering the same errors. Thx for your help we can use Davinci Resolve! You should have more inscripts than just 16 (counting on me)!
The icon errors in the logs are, unfortunately, normal. The installation is trying to refresh the system's icons, but the Rocky installation is minimal, and does not contain the icons support.
The wrapper script is supposed to run substantially similar commands once the installation is over. Obviously, for your case, that wasn't enough.
Can you share desktop env. and precise distribution? Also, does your desktop directory ($HOME/Desktop) have a file with the extension .desktop?
Thank you! This is, actually, a new channel I opened. I have a main channel (see the links in the description), but it's focused on a specific topic. It has substantially more subscribers and even a few Patreon supporters.
For a brand new channel with just one video posted, 16 subs and over 500 views isn't too bad.
Hi! Thanks for the video!
There is a little problem.
It lists the folders in DR, but can only play mp3 files and videos. The length of the clip is visible, but it only "sees" the audio track.
All mp4 files have this. "No video"
Thanks for providing this solution, I am just unsure how to install AMD drivers in Rocky Linux since I don't know if I try to install amdgpu-install if it will attempt to install it on my main OS instead of Rocky Linux? Any help would be appreciated.
Thanks... But
I really don't get why blackmagic are not just creating a flatpack ... All prerequisites packed and all ...
Sorry, can't help you there. I work with what is.
Okay your comment from the last video brought me here looking forward to checking this out a little later.
I will soon build another machine with some pretty expensive parts and one of them is going to be an AMD big GPU don't have the model on hand right here but they specify Ubuntu 20.04, is it 22.04?, in their specs for the drivers and they do touch on DaVinci in there marketing if I remember correctly and then I discovered something I think might be very amazing.
I discovered Ubuntu Studio which is built around all this stuff even includes OBS already installed and it's dealing with Pipewire and all kinds of good stuff.
I have DaVinci Studio and a speed editor keyboard all running on Linux Mint right now pretty flawlessly so we really got to get something going where it's just a easy install because I dumped Windows 10 about a year ago and there is just no going back.
I gotta dig back into all this stuff and I'll get back with more accurate details on that GPU and Ubuntu Studio.
Let's do this!!!
I should point out that while I say AMD GPUs are not tested, there is no reason for them not to work. It's just a question of correct packages on the host and on the guest machines.
So if you do want to go this route and something doesn't work, contact me. We'll figure out what and fix it.
Hi ..I tried this method and after installing the file I couldn't open the appstore on Ubuntu 24, then Restarted the laptop, and only black screen, then used geub and added nosplash for boot, and i get red error about, failed to start remote desktop , cant see my desktop only blck screen flickering! What should I do now?
The tutorial was great, but my machine just doesn't seem to like it very much. Followed it to a tee (twice, actually), and the end result is weird. I can only open Davinci (to the first 'quick start' screen) with sudo, of which it will then crash if I attempt to proceed. It has a crash dump too, but I (or anyone else I know) isn't smart enough to decipher it. It's extremely frustrating because I genuinely believe this bootstrapper you have provided can actually enable me to use Davinci, it's just this small hurdle.
I have used the provided driver installer software both attempts.
God bless you man, I appreciate the assistance getting me this far even if it doesn't get me quite there yet.
If someone can help, here's my system
Mint 22 Cinnamon 6.2.9.
AMD Ryzen 7 5700G (w/ Radeon)
NVIDIA RTX 3060
I don't know. The "only runs with sudo" is really strange. Did you run install scripts through sudo, by any chance? Because you shouldn't. They elevate privileges themselves when necessary.
@ No, just as repeated. It’s incredibly weird. I might repeat it again - purge the system of the installers and try again. So frickin weird
Note: If you get the Couldn't execute command: No such file or directory error in the installation step of Davinci Resolve, it's because if you drag your .run file into the terminal (on Gnome), it will add ' ' to the path, you have to remove them, otherwise it won't work. I made the same mistake and I was really confused. Perhaps add this to the video description so everyone knows about it.
The reason I'm not putting that in the description is because I have every intention of outright fixing it. And since the installation method I suggest leaves your machine pulling updates, this means that even people who did install will get the fixed version, say, when 19.1 is released (assuming they're in the habit of updating their computer).
The only problem is that I've just moved to a new house that is also in a new country, and my setup is still packed away. It will take me a couple of days to get the fix out.
I didn't realize that it's your script, that's great that you're going to fix that, and big props for writing that script! Really making things easier for everyone
@@molagamer I actually wrote both drinstaller ("the script") and distrorun (the container tool).
That's really awesome. By the way I'm using an amd gpu and wayland but I still get the failed to initialize opengl error..
FWIW I get that error on stock ubuntu ie gnome - "Couldn't execute command: No such file or directory" I suspect rocky can't access the said path
Very cool! Thank you very much for your hard work putting all of this together!
My pleasure! Glad you fond it useful.
Thank you very much for you solution - it's working well for me.
One question - I'd like to be able to access files on an NTFS partion. Is it possible to add packages such as NTFS-3G to the Rocky installation?
You can. Just distrorun yum install whatever you want. I don't think that's the best way to do this, however. A better approach is to mount it outside the container, and then follow the instructions in the "external volumes" chapter of this video.
Hello there! Thank you SO MUCH or the video! I upgraded my Ubuntu installation from whatever the previous lts was to the current and suddenly Resolve wouldn't open! This almost fixed it... resolve now opens. (HUGE sigh) BUT I can't access any of my project libraries...
I've re-watched the section at the end where you talk about adding directories but can't figure it out how to edit the .config file?? I guess I'm just lost at 12:39 Is there a way to give the Resolve access to all folders?
I edit off of an external SSD how can I re-link my project libraries? Any help would be awesome:)
If everything is on an external disk, mounted when needed, try adding /media to the list of exported directories.
@@LessAssemblyRequired OH MY - it worked like a charm.
And for the record - if anyone is dying trying to figure out how to use the vi editor you can replace that with nano and it works (yay!)
Thank you so much again!
Not able to import files into DaVinci Resolve for ubuntu 24 LTS version.
Is this a request for help? Because if so, a lot more details are needed.
Have you checked the last part of the video, the description and pinned comment?
Q: How do I uninstall the files afterwards on Deb-based systems like Ubuntu (24.04 LTS) if I want to get rid of DaVinci Resolve? I used the 'Uninstall' file provided but it still exists, including the Rocky Linux container. Wanted to give it a try but it failed on me (AMD), but I'm stumped on how to remove the container. Removing Drinstaller turned out to be the wrong call in this regard, thus I had to revert and reinstall that one.
Since the installation happens with a script, merely uninstalling the deb will not remove the Rocky Linux directory. At this point, best would be to run the DR uninstall program, and then manually delete the /srv/distros/drrocky directory and uninstall the deb. There will be a few leftover files, but nothing that should take too much space or interfere with anything.
Hello , iam using kububtu.. when i add the "/srv/videos" in .conf file and try to reopen davinci, it doesnt open..
You do realize this is an optional stage, in case you have extra files you need outside your home directory, right? For it to work, you need both a "/srv/videos" directory (with files) and a "/srv/distros/drrocky/srv/videos" directory (probably empty).
My install is bricked, my packages are bricked. PLEASE tell me how to wipe the installs so I can start fresh again. If I can fresh-wipe the bad-install and the packages I bet I could get it working.
Off the top of my head, the following steps should work:
* Uninstall all the relevant packages (specifically drinstaller and distrorun). Make sure to "purge" them (i.e. - `sudo dpkg -P drinstaller`)
* Delete anything under `/opt/resolve`, if any (there shouldn't be, but you never know).
* Delete anything under `/srv/distros/drrocky`
* You should be good to go.
Technically, there are a few files still left this way, but they should not hinder a reinstallation.
@ THANKS BRO!!
Funny enough my opt/resolve folder doesn’t exist but the program still treats it as if it does. Yeah, it’s weird. I think my install is haunted.
I've hit a road bump and I'm not sure what it means (Might not help that I've only been on Linux for 10 days now)
Whenever I do the NVidia step, I run into a problem
"You are running an X server. Installing the NVIDIA driver while X is running is not recommended, as doing so may prevent the installer from detecting some potential installation problems,..."
I tried going through the install anyways to see what would happen and sadly I still get the "DaVinci Resolve could not initialize OpenGL. Please ensure that the latest graphics drivers are installed." before and after a restart
Interestingly, when I tried the NVidia driver again for Rocky Linux, it told me that it was on the latest Driver "nvidia-driver-550.120"
So Rocky Linux downloaded Version 550.120
my Linux Mint is on 550.120
A part of me wonders if it's an issue of my CPU, seeing that it has integrated Graphics (Intel's Xe Graphics)
Is it possible that Rocky Linux is trying to open DaVinci using the Xe Graphics that might not be synced up with Linux Mint?
GPU: 3070 Mobile
CPU: i7-12700H
UPDATE:
So I was able to get past the "OpenGL" issue, but rather ran into a new one. How I got around it was making NVidia that active profile at all times rather than switching when needed.
The new issue however is now
"Unsupported GPU Processing Mode"
"Please review the GPU drivers and GPU. configuration under preferences."
Gonna keep looking around but I think I'm getting closer to a solution
The "You are running an X server" _should_ have been harmless. Can you run nvidia-smi inside the Rocky Linux container and see if it works?
@@LessAssemblyRequired Cool magool, it doesn't seem like it did anything harmful either which is nice
Sorry if I ask really obvious questions btw, as I mentioned before, I've only been on Linux for 10 days so somethings that might be obvious might not be for me ^^;
How do I run nvidia-smi inside of Rocky Linux?
I was able to run it in the Linux Mint Terminal, but I'm not sure how to do the same in Rocky Linux
@@KruRakaly distrorun drrocky nvidia-smi
@@CompuSAR Alrighty, just ran the command and I got the same thing, SMI and Drivers are both on 550.120
@@KruRakaly This means that the GPU driver is installed inside the container. When DR starts and doesn't detect the GPU, it should allow you to enter a menu where you can select which GPU to use. Do you get that menu, and does the NVidia GPU appear? If so, try selecting it.
while running the NVIDIA installer driver I'm getting ERROR 404 : not found. How to resolve it sir ?
Please run nvidia-smi and let me know what version of the driver you are running. Also, what graphic card are you using?
@@LessAssemblyRequired driver version : 550.107.02 and graphics card is 00:02.0 VGA compatible controller: Intel Corporation TigerLake-LP GT2 [Iris Xe Graphics] (rev 01)
@@yasaswinipagadala7085 Excuse me, but that does not sound like an Nvidia compatible display adapter.
I tried to verify the signature, but even with keyring, it says no public key. Did something happen to this?
Not that I'm aware of.
In any case, I've added the commands for verifying to the video's description. This way you can copy and paste them, avoiding typing mistakes.
@@LessAssemblyRequired thank you. I have tried the script, and it installed. However resolve only opened once. It showed me the quick setup window, then nothing. I even installed the nvidia installer. But yeah, not opening.
But i liked your video it was informative.
@@LessAssemblyRequired Another unfortunate thing on linux for me is that i can't seem to find virtual audio cable program on linux. To use my obs-studio audio filters on any application like on windows. I would go in obs and monitor the mic with the virtual audio cable, then select virtual audio cable on discord. But i cant find a permanent solution. There are just scripts that work for the current session. When i restart, it disappears.
Thank you again I will try it tomorrow helps out lot cheers Harry
Is it possible to have everything installed on a separate drive (drrocky with davinci)?
I have a separate internal drive that holds all videos I plan to edit.
If possible, after installing drrocky and davinci on the separate drive, I plan to follow the steps in the video on adding external volumes so I can edit videos in davinci with all videos housed on the separate drive.
The path is hardcoded, at least in some of the scripts, to /srv/distros/drrocky. Nothing, however, prevents you from having that directory be a bind mount or a symlink to somewhere else. Just make sure it's configured properly in the /etc/distrorun config files.
Hey there,
Thanks for making a step-by-step like this.
I followed the instructions as shown, but when I click on Davinci Resolve in the Application Menu nothing happens. I was able to have the "welcome to Davinci Resolve" window come up once but when I clicked on "next" the window disappeared and now nothing happens when I try to lanch the program.
@LessAssemblyRequired Please help! Q_Q
@@MrNickjensen I'm not super familiar with Linux, but I had this issue when I was trying to install DaVinci Resolve a different way. Try opening it with elevated privileges. So if you open it in the terminal use "sudo" before the run command, or in the menu see if there's an option to run as root
so i got it all installed but it says DaVinci Resolve could not initialize OpenGL. Please ensure
that the latest graphics drivers are installed. idk how to fix that with this, i use AMD and not Nvidia
Since I don't have access to an AMD GPU, I need the help who someone who does have it in order to make it work. I'm sure it's possible, but it will need some work.
So far, everyone who has complained about this has not gotten back to me.
If you want to help me help you, please contact me by email.
@@LessAssemblyRequired what email do i contact?
I got to the part where I dragged the .run file into the terminal, and it got to:
Mounting "/usr/lib/udev/rules.d" on "srv/distros/drrocky/usr/lib/udev/rules.d"
and the next line says: "Couldn't execute command: No such file or directory"
Did you run the rocky linux setup script first?
@@CompuSAR Yes, I ran the Rocky wrapper first of the three wrappers.
I ran the verification, as specified;
the drinstaller Debian, which popped up the Ubuntu Software "store" and installed drinstaller;
an 'update' / 'upgrade' cycle and restarted;
the Rocky wrapper;
redownloaded the Resolve .run bundle;
ran the Resolve wrapper.
I'm running an AMD system.
The error is saying one of `/usr/lib/udev/rules.d` and `/srv/distros/drrocky/usr/lib/udev/rules.d` is missing. Can you check which?
Also, which distro and version is that?
When you ran the rocky installation script, did it say "finished successfully"? If not, remove the /srv/distros/drrocky directory and re-run.
The fact it's an AMD system should not have come into play at this point.
@@LessAssemblyRequired had the same issue - what i did is to delete and reinstall rocky + i placed the Davinci Resolve run script directly under Downloads + i removed the quotes which were added when drag and dropping it - don't know which one helped but afterwards it worked (install screen popped up)
DaVinci Resolve installed, won't start. Same GPU error as with NVIDIA GPUs, but I use a UHD Intel Integrated Graphics card. Should the same solution work?
To the best of my knowledge, DR is only supported on AMD and Nvidia GPUs. Please read the release notes (they're in the same ZIP file as the installation itself) and see if you GPU is even supported.
How can we get te Blackmagic devs to make DaVinci compatible with new distros? Since lots of users will now drop Win 11 and switch to Linux?
Simply let BMD know that their choice of Linux distribution is not a popular option and majority of their clients would like to have it available on more common distributions like Ubuntu etc.
Tried opening it, got the same GPU error. I have an integrated intel gpu and im completely lost here. Any solution
As far as I know, Intel GPUs are unsupported by Davinci Resolve.
@@LessAssemblyRequired I test using Manjaro and it worked fine with Intel GPU (14900k)
I followed all the steps and the program started. The problem now is that it doesn't recognize the Open CL driver (I use an AMD 5600GT with RX Vega). However, I installed the AMD proprietary drivers as the program requires. Anyway, I don't know what to do anymore, but I appreciate your attempt...
Like I said, I don't have an AMD GPU to test with, so I did nothing to make it work. A good first step, however, is to install the AMD driver also inside the container. Try "sudo distrorun drrocky ...", where "..." is the command line to run the AMD installer.
@@LessAssemblyRequired seems to be a multistep process, downloading a package, installing it (which provides amdgpu-install on ubuntu) and then running that (amdgpu-install --pro)
how to go about this on rocky?
@@dogmatic69 The command you tell to run inside rocky can be /bin/bash, in which case you'll have a shell entirely inside rocky Linux.
Also, my setup is down at the moment. As soon as it is back up, I'll try to work on it myself and see what I can automate into a script.
Thanks for your work. Didn't work for me unfortunately. Running Mint 22, i9-14900HX, GeForce RTX 4060 Max-Q. Firstly when I ran the Resolve installer script, the installer errored: "Missing or outdated system packages detected. Please install the following missing packages: libapr1 libaprutil1 libasound2 libglib2.0-0 libxcb-cursor0". Blackmagic forum recommended suppressing this with the command SKIP_PACKAGE_CHECK=1. That worked to get it installed, but the entries in my program menu have no icons next to them. Everything is there but just a text entry, no icon. When running from terminal it fails due to ./resolve: symbol lookup error: /lib/x86_64-linux-gnu/libpango-1.0.so.0: undefined symbol: g_once_init_leave_pointer. Found a solution to that online by moving some old libraries out of the resolve folder. But then it just simply fails with bash: .: resolve: cannot execute binary file
Any ideas? thank you
The "missing libraries" is an odd one. As far as I can tell, it's the install script thinking it's running on Debian rather than Rocky.
There is one thing I did that might have caused it. I don't see how, but it may fix it for you. Try deleting the file "/srv/distros/drrocky/etc/debian_chroot". It shouldn't matter, because the detection for Rocky comes before the detection for Debian, but it should at least do _something_.
Hi, I have followed all the steps, but when i get to installing the Wrapper: Install Nvidia driver, I get this message: ./nvidia-installer: unrecognized option: "--no-kernel-modules"
ERROR: Invalid commandline, please run `./nvidia-installer --help` for usage
information.
Command failed with error code 1
Press ENTER to close terminal
Any idea how I can sort this out? I am running Ubuntu 24.04 Gnome version as Kubuntu gave me some issues, I am running Nvidia GeForce 720
Hi. Can you tell me what version shows up under "driver version" when you run (outside the container) the command "nvidia-smi"? It seems that the command line I've been using here isn't supported on all versions of the driver.
@@LessAssemblyRequired Hi, Thanks for replying, the driver and cuda version are NVIDIA-SMI 470.256.02 Driver Version: 470.256.02 CUDA Version: 11.4
My system is currently out for maintenance. I'll try to have a look as soon as it's back (should be early next week).
@@LessAssemblyRequired Hi, have you had a chance to look ?
Hello, so that means we got now 2 instances of linux on the system?
The NVIDIA updater doesn't work with my system (Ubuntu 24.04 Gnome):
Command failed with error code 8
Press ENTER to close terminal
DaVinci doesn't start at all. Not even the spash screen
Edith: I installed KDE plasma, where the error remains. But DaVinci starts now after the splash screen it shows an error:
GPU Initialisation Failed
DaVinci Resolve could not initialize OpenGL. Please ensure
that the latest graphics drivers are installed.
My laptop uses Intel Corporation Iris Plus Graphics G1 (Ice Lake) (rev 07) graphics card... :/
To the best of my knowledge, Davinci Resolve does not work on Intel GPUs. My solution does not magically cause a non-supported GPU to become supported.
I may be wrong, in which case this is a problem we need to resolve, but so far as I can tell, Intel GPUs are not supported. Only AMD and Nvidia.
@@LessAssemblyRequired okay. anyways, thank you for your great work on this topic. On Windows it worked on this machine. But I really want to switch to Linux before Win10 support ends. Sad. So I need a new laptop now. 😅
I have no knowledge of what is and isn't supported. If Intel GPUs are supported, then it should be possible to get them to work using this solution as well. It's just that I don't have the hardware to perform tests.
I'll see what I can do.
Can you try something for me? But please please please report back. Run "sudo distrorun drrocky dnf install mesa-dri-drivers mesa-libglapi", and then try running Davinci resolve again. Let me know if that worked.
I have reason to believe it _might_ solve the Intel drivers issue. If it does, I'll integrate it into the official installer.
@@LessAssemblyRequired Hi, thanks for trying to help me. I appreciate it. But unfortunately it didn't work. Now I'm getting the error msg:
Unsupported GPU Processing Mode
Please review the GPU drivers and GPU configuration under preferences
Right after the splash screen
I can choose [Quit] and [Update Configuration]
When I click "update configuration" and then "Memory and GPU" I can't choose a GPU because the list is empty
Well at least now I am a tick further than before :)
Hi does it work with intel arc gpus?
At the moment, I don't know what's missing to make them work. Is this a discrete GPU, or one integrated with the CPU? If it's the later, I'm not sure how to proceed, as I don't have any system to test this on.
@@LessAssemblyRequired discrete gpu
@@theseal6681 When things settle down a little I'll try to get one and make it work. AMD is probably higher on my priority, though.
Also, "things settling down" will, sadly, take a while for me. For details, see th-cam.com/users/postUgkxE15aCOE7mWeeth7bTvuWtSoL6mk27BFG
hi! This tutorial was really helping, but I have one small issue, which is my graphic card, It's intel UHD, It's built-in since my laptop doesn't have and external graphic card, Can you help me please :)
Hi Muhammed. Unfortunately, so far I've only been able to test this with NVidia. I'm working on getting an AMD card, so I'm hoping to update for that soonish.
As for Intel: I'm kinda hoping that the AMD work will get Intel working as well. If it doesn't, I'll have to look into it.
So the answer is that a solution will come, but I'm afraid that not soon.
Attempting to install Studio_19.0.1 using the wrapper, getting an Error message: "Missing or outdated system packages detected. libapr1, libaprutl1, libasounds2, libglib2.0-0". Im assuming there is some differences between beta6 and and 19.0.1 that the dr-install wrapper is not compatible with? Could we update the wrapper?
I'm working on it. I'm on a temporary hotel room with an awful internet connection. Current ETA for downloading DR 19.0.1 is 2 hours.
As a workaround, you can fix your local installation. Just run 'sudo distrorun drrocky dnf install libaprutl1...' (replace ... with the list of packages it says are missing).
@@LessAssemblyRequired Thanks for the reply. I can see via Discover, drinstaller is now asking for 0.00 -> 1.01 (on a fresh install of kubuntu), but cant see any changes to the github? Did you push a new version on your server?
No. That's totally normal. The video explains this.
I'm hoping to push a new version later today.
@@LessAssemblyRequired Running sudo distrorun drrocky dnf install libaprutl1 does not yield any results. I get a "No match for arguement libarp1" .. this is hte same for all other libs.
I can however, use the "old" method or downloading and extracting all the missing libs, and using thing LD_LIBRARY_PATH directive. This will load Divinci Resolve start splash screen.
This is just running the binary from the current os, not from rocky as we would wish however.
please help !
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? (Nvidia K2100M)
What's the output from nvidia-smi outside the container? What version does it say you have?
What happens when you run the script to install the nvidia driver inside the container?
Does Resolve 18 have these issues, or just 19?
It is much easier to install 18 on 24.04. With that said, it did not work perfectly for me with the usual workarounds, so I'm guessing (have not tested) that this will work better even for 18.
I am using Linux Mint 22, and the following error appeared during the installation of the Nvidia driver
./nvidia-installer: unrecognized option: "--no-kernel-modules"
ERROR: Invalid commandline, please run `./nvidia-installer --help` for usage
information.
Command failed with error code 1
Can you run nvidia-smi and tell me which version of the driver you're running?
It works on Linux Mint Wilma 22 x86_64, thanks
what about amd graphics?
I am in the process of acquiring one (more accurately, I've ask BlackMagic to but me one :-), and I'll post an update as soon as I got it to work. Getting it to work remotely does not seem to be a viable option.
@@LessAssemblyRequired I am looking forward to this one, considering I have an AMD graphics. Everything worked up until that Nvidia script, so thanks for that!
your video was SUPER helpful, but through all the solutions i've tried, im getting the same issue
whenever i go to load a clip, it either says media offline, refuse to be placed in the timeline, or as for av1, be so laggy i cant edit with it
i have a 1080 ti on ubuntu (kde now cuz of this video) and an intel core i7 12th gen
im really stumped here, i have no idea what to do lol
I'm sorry, for most of those things I don't know how to help you.
The video offline one might be due to using files from a directory that isn't mapped to the container. See 12:02 chapter "External volumes" for how to fix that.
@@LessAssemblyRequired
that doesnt seem to be the issue, i really apreciate the speedy reply though
im able to import the footage directly from davinci resolve, so it know's the files are all there...
i think it might be some weird decoding problem, do you know any problems related to old-ish gpu's, or something related?
i have a 1080 Ti with the latest 550 official drivers
a core i7-12700KF
and 64 gigs of ddr4 3200
I do not know of anything. I suggest you try the BlackMagic support forum.
figured it out, i was just using non standard formats with obs's default recording crap.
davinci got confused.
i should've paid more attention in editing class lol.
good video though, solved a huge chunk of my headache when it came to this software, ur awsome man
Hey, just wanna say that you did an awesome job with this fix! Everything has been smooth sailing. The only issue I ran into was that upon trying to run the Nvidia Driver Installer, I get an error along the lines of "It seems you are still running an X Server, please consult our website, etc. etc." I am running Linux Mint 22 Cinnamon, and I have a Nvidia Geforce 1060 Graphics Card. Hopefully you could help me out. Thanks!
But did it work?
In general, this warning is about updating libraries while they're being used. Since your X doesn't run from the Rocky Linux libraries, it should be perfectly safe to ignore this warning.
@@LessAssemblyRequired I should have clarified that this error causes the installer to fail.
@@saha__ Can you tell me which version of the driver you're using? You can see that by running (outside the container) "nvidia-smi"
@@LessAssemblyRequired It says I am running driver version 535.183.01
I am having the exact same problem with the exact same driver version on Xubuntu 24.04 with a rtx3070. Did you manage to fix the problem?
Great work @LessAssemblyRequired. You literally ended my fustrations. However when I try to use my external drives in davinci, I cannot seem to find them in the file browser of davinci. Please help me resolve this thank you.
There is a chapter in the video called "external volumes". You probably want to share the "/media" directory. I'll add it to the description.
@@LessAssemblyRequired Ah yes you are right. Thank you. is distrorun kinda like distrobox?
@@aisikoduro6832 Kinda, yes. I built it to be as shallow as possible. I'm not even sure the word "container" is justified here. It's basically a glorified chroot, utilizing some container tools to save you from a common pitfall that caused me to erase my computer. Twice.
Friend, is it true it doesn't work kn Gnome?
Should work just fine. It's gnome itself that I find unusable, but obviously some people like it.
@@LessAssemblyRequired Nice kkk. I'm one of them, just love Gnome, for me it's the absolute best desktop environment of all including Windows and macOS. But of course i respect who likes others DEs, it's nice to have options rsrs.
Friend, doing this cointainer installation of Rocky Linux, will be the hardware more consumpted than running it on the real machine?
@@raulgrangeiro In theory, the only difference ought to be a little (around 1GB) extra disk space usage for the Rocky Linux distro itself. Of course, I might be missing something, in which case do let me know.
@@LessAssemblyRequired thanks! I'll be trying it just on what you said you didn't test: AMD GPU and Wayland.
@@raulgrangeiro Please report your results here.
Just as a side note I am running I7 8th generation Intel, 512 gb ssd drive 16gb onboard memory, graphics is Intel® Iris® Plus Graphics (ICL GT2) will this still work here ?? many thanks :))
This solution is very lean in terms of active resources (memory, CPU). It does sound like your system is below BlackMagic's minimal req (I think they require 32GB of RAM).
As for disk space, the Rocky Linux installation for me takes 12GB of space, of which around 11GB are the DaVinci Resolve installation itself. If you didn't have a problem with direct installation, the overhead here shouldn't be a problem either.
Thank interesting I haven't installed it yet I guess we will find out if 16gb is ok I could add more if required lol thank you
MakeResolveDeb seems like a simpler solution than installing a whole other OS
If it works, yes. The problem is that it doesn't work very well lately.
@@LessAssemblyRequired What's more frustrating to me is that the default .run installer worked completely fine on Ubuntu 20.04 and 22.04 for me on MANY different installs with no need for DistroBox or MakeResolveDeb and then the update to 24.04 needs one of these workarounds. MakeResolveDeb has luckily worked for me, but I did have to consult the BMD Forum for a post install script to make it run.
@@PremierPrep Here's the thing. BMD are gearing DR for Linux toward professional market, where OS updates are a pain. As such, they locked the intended distro to some more-or-less ancient version of Rocky Linux, and are not likely to budge soon.
The newer your actual distro is, the more libraries are going to conflict. Sooner or later, the conflict is going to be unbridgeable.
That's why I went the container route. This solution has no theoretical reason to stop working in the future, and will therefor, hopefully, bring long term less headache.
I get the same missing or outdated packages popup when trying this method. I am at the step of dragging and dropping the Resolve installer into the terminal. Missing libapr1 libaprutil1 libasound2 libglib2.0-0 libxcb-cursor0
EDIT: SOLVED!
By switching from Davinci_Resolve_19.0.1_Linux(dot)run to 1 version earlier (DaVinci_Resolve_19.0_Linux.run) the installation proceeded without errors or fault.
Adding this in case someone else gets the same issue here or if Assembly Required sees this and can update their method later. Thank you.
Can you please check something for me? Enter the container by running "distrorun drrocky /bin/bash", and then run the command "egrep -si -e 'ID.*=.*(rhel|centos|fedora)' /etc/*release". Tell me what its output is. Also run "ls /etc/*release".
Gnome is unusable... :DD i known
Thanks for the solution dude but the window that i supose its the rock linux wrapping davinci resolve hasn't minimize/maximize buttons so its just won't maximize not even with keyboard shortcuts.
Thats why not programmers hate linux. Doesn't matter the reason, i'm trying to fix it for 3 days and the solution is not even close to be simple normal people. The worse is to know that this problem has more than 6 months. And each distro linux will be problems with some application that windows run flawlessly.
I love the performance of linux for programming but for any other shit i try to do i fall in a black hole of problems inside problems which makes me curse my pc and get back to windows. 3 fucking days to find a solution to install an app and i'm a fucking programmer, a normy would give up in hours.
Eu sou do Brasil e aqui eu não achei nada que podesse corrigir esse erro de instalação. Assisti o video th-cam.com/video/Y87MFmcy3lc/w-d-xo.html e deu certo. Agradeço pelo seu trabalho. Eu sozinho não ia conseguir instalar o Davinci. Muito obrigado de Coração. Aproveitei e me escrevi no canal ( Some Assembly required ) e ( Less Assembly Required ). Agora eu não vou precisar de voltar para o windows. Uso Linux Mint 22 "Wilma" e NVIDIA GeForce RTX 4050 Laptop GPU.
now i know why im still on windows. linux is for consul nerds
I have a serious question. It may sound sarcastic, but I assure you it isn't. If you're on Windows, why waste your time on a Video explaining something which is obviously meant for Linux users?
And this is before I mention that the only step in this video done in the console is one that Windows users usually don't bother with (and then think Viruses are unavoidable). If you'd bother with verifying downloads you'd find that the recommended way for verifying a PGP signature on Windows is... through the console.
If you don't like : GNOME
you should try : AGAIN >:(
Never heard of the again >:( desktop manager. Do you have a link to it?
Just delete these files at /opt/resolve/libs and you are good to go:
libgio-2.0.so
libgio-2.0.so.0
libgio-2.0.so.0.6800.4
libglib-2.0.so
libglib-2.0.so.0
libglib-2.0.so.0.6800.4
libglib-2.0.so.0.orig
libgmodule-2.0.so
libgmodule-2.0.so.0
libgmodule-2.0.so.0.6800.4