I broke the law: Installed Davinci Resolve 18.6 on Debian 12!

Do you have acces to a search engine? :slight_smile:

The very first answer given by duckduckgo

3 Likes

I found this:

Is this affordable for you?
My intention was to find second hand hardware in India, as I always look for something here on the 2nd hand market first…

Here I could buy an RX580 from 20000 Huf, which is approx. 4500 INR. The pricerange here goes up to 35000, which is near 8000 INR, of course I’d pick from the lower end :wink:

For the RX580 you’d probably need only mesa-opencl, at least I read such report that tells Davinci working on older AMD using mesa-opencl.
As I don’t have that hardware, I can’t confirm, only just hope it’s still the case… :slight_smile:

2 Likes

The card I have been looking at is a 4GB DDR5 variant.

I don’t have that much expertise like yours. I have lot to learn in Linux and yes, Windows sucks.

1 Like

Yes, practice makes the master perfect :wink:

I still repeat my advice to keep Windows for your urgent work, until you are completely familiar with your new Linux based workflow - which may differ a lot from your previous Windows based workflow.
After that you can fully enjoy the Freedom!
Let’s meet in the club :slight_smile:

4 Likes

Yes. I have one dedicated SSD only for Windows and another dedicated SSD only for Linux. :slightly_smiling_face:
And thank you for welcoming me in the Freedom club. :blush::heart:

2 Likes

@kovacslt Bro, I had to leave Mint for a weird problem (I will discuss it in a separate tgread) and installed Fedora. I learnt that AMD graphics drivers are embedded in the Linux kernel itself (courtesy of AMD) and I have bought the Sapphire Pulse RX 550 4GB DDR5, installed it and Fedora recognised it immediately and started using it right away. After that I installed Davinci Resolve 19.0.3 (latest ss of now) Free version following this tutorial https://youtu.be/tWIX0ibcEwk?si=j0Vx4ZXa2BlHDG8s. But, it didn’t recognise this AMD GPU at all and ROCM also didn’t work at all. Through the link given by the creator of the video, I have seen the documentation of ROCM and looks like they developed ROCM only for AMD 7000 series cards which are wayyyyy more expensive. So, is there any way to make it recognisable by Davinci? Or, should I leave this entire video editing work to Windows and use Linux for other works?

Sorry, no idea about Fedora.
On Debian (based and derived) system I have read, that Mesa OpenCL works with DR.
So on Debian 12 I’d install mesa-opencl-icd, and see if DR starts…

Edit:
also make sure your user is member of groups ‘video’ and ‘render’.

4 Likes

When searching for AMD GPU PRO driver for Linux, I have found this: GitHub - archdevlab/amdgpu-pro: AMD Proprietary drivers packaged for Archlinux. Include Vulkan, OpenGL and OpenCL drivers. and RX550 is there under supported cards. Can you please guide me how can I use this? I don’t understand the exact process to replace the current driver and install this.

And I have found another one: AMDGPU-Pro Driver 18.30 for Linux Download | TechSpot

Which one should I use?

Hang on. If Linux recognises your new AMD GPU that should be all that is necessary. DR should not need to recognise it again. I think DR should talk to the Linux kernel, not directly to the GPU.
Am I correct on that?

3 Likes

Sadly it’s not that simple.
You are right, but DR requires OpenCL 1.1, and it is picky of the implementation of that.
I tried to look up the info where I saw mesa-opencl-icd is OK, but I failed now.
It was an indian YT video suggesting to install recent version of that package, and showed DR to work.
Sadly, mesa-opencl doesn’t support my Navi23 card, but it supports olders, like Vega64.
So I think it would with RX550.
For me the lawbraking :slight_smile: workaround works.

2 Likes

Thank you… I always thought that only the kernel dealt directly with hardware.

So if Linux works with @Skywalker71 's new3
card, he is one step on the way to succes with DR
but
the next step involves getting the right versions of support packages… and you say OpenCL as used by DR is version sensitive.

That situation is ideal for bundling DR in a container with all the right versions of support packages present.

I doubt if @Skywalker71 will get there by trying different distros. He may never hit upon the correct combination of versions. Maybe he should learn to use containers and build the correct environment for DR. distrobox is a good place to start… easier than docker. I should point out that learning to build containers is not something you do in 5 minutes… it might take somethine g like a year.

Alternatively he has to be prepared to hack one distro into a mishmash of package versions… that is not a trivial task either.

People have built DR containers, for example

2 Likes

I don’t know. But what I can see that there is no GPU in the ‘GPU Configuration’ section. :disappointed:

Can you please give me the link of that video?

Not at the moment, as I don’t find it anymore. But if it comes in sight, I’ll share immediately.

1 Like

Because it doesn’t fiind a compatible opencl.
Try please Debian 12, mesa-opencl-icd, and DR 18.6.
If my intuition is right, that combo will work.

2 Likes

Do what Laszlo suggests.
If it works you can either use exactly that distro, or put it in a container and run the container in any distro.

2 Likes

I am afraid, I can’t do that because other than Fedora, no other distro is recognising the USB 2.0 ports. I have only 3 USB 3.0 ports and 6 USB 2.0 ports. 2 USB 3.0 ports are occupied by my RGB keyboard and RGB mouse. Now if I use the 3rd one for installing Debian then I would not be able to connect to the internet which is required to install Debian, even with the CD/DVD version. That’s why I am unable to install Debian, otherwise it was my first choice because it is the most stable distro in the market.
Now in Fedora, even Kdenlive is not recognising my new AMD GPU. I think I need to install the AMD PRO GPU driver but I don’t know how. I still haven’t found any definitive solution.

Would it be still possible to install Debian, and do the USB workaround on the installed system?

Why on Earth do you need internet just for installing? Is it a netinstall maybe?
Try to install from a Debian live, get one from here:

https://cdimage.debian.org/debian-cd/current-live/amd64/iso-hybrid/

I guess you don’t have everything installed right.
But I don’t Fedora, have zero experience with it, so I have no idea what exactly you may miss.

Arch has a nice table about what works with DR and what not:
https://wiki.archlinux.org/title/DaVinci_Resolve

This may help you to get some clue.

Edit:

I’m trying to find that video, still no luck…
Only find stories, that Davinci won’t work with mesa-opencl, but those from years ago…

And all of a sudden found this one:
https://nobaraproject.org/docs/davinci-resolve/configuring-davinci-resolve-with-amd-gpus/

Note:

Great news! DaVinci Resolve -finally- works without any AMD proprietary drivers required!

And

some users may need to install the following additional packages for DR to run: mesa-libOpenCL

So I’m positive to make DR 18 to work on an older AMD (such as RX550) using only distro-builtin packages.

2 Likes

@Skywalker71

You almost solved that usb problem

"1. I reconnected the mouse and keyboard in USB 2.0 ports and they started working again. I think, enabling the ‘IOMMU Controller’ caused this problem though I don’t know why.
2. Now, my mouse, keyboard, USB drive (live USB) and WI-FI dongle, all were connected in USB 2.0 ports and the boot into the live USB was successful. "

You should look further into IOMMU settings and see if you can resolve it.

Switching distros to solve a problem is a last resort. It is better to try and find the cause. Your usb2 hardware is obviously OK… it is a software issue. It can be solved in Debian.

3 Likes

Ok. I will try Debian again today.

1 Like