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.
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!
Note sure where my comment went... RU-vid 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!
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.
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
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.
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!
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 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.
@@LessAssemblyRequired I moved to Rocky Linux completely. And have the same issue. Looks like it's about DR does not support AAC audio codec on Linux. Some licensing story.
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.
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.
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 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)
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?
@@CarlSuttondogmatic69 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.
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.
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?
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 GPU Initialization Failed. Please ensure tat the latest drivers are installed Followed each step on the video. I have KDE too. Drivers version also the same as it is on video. Other applications work good with new drivers. But not Davinci Resolve :(
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.
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.
@@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.
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.