I want to get #davinci_resolve working on #Fedora 42 with my now very old AMD rx480 8GB but it uses #OpenCL. The obvious choice would be #rocm but that dropped support for my GPU years ago and from what I found also causes issues with Davinci resolve for even more years. The other obvious choice would be mesas implementation but while #Rusticl improved things it's still not a feature complete implementation and rather slow. Is it smart to use the amdgpu-pro ICD with mesa drivers for this?
I don't run any other opencl applications atm so it shouldn't cause breakage there and ChatGPT ensured me this won't mess up my GPU drivers or kernel multiple times since it only runs in user space but I am rather sceptical. I mean, it does somewhat affect the mesa drivers I need to use my computer and I don't trust ChatGPT for jack shit so does anyone here know if this is safe to do on modern Linux?
@gamey davinci resolve is slow with rusticl? Is that about the application startup where it takes ages until the kernels are compiled and you are able to use it?
@karolherbst I'm not an expert but as far as I understand rusticl is an incomplete implementation of OpenCL 1.2 so some things especially regarding color grading will probably fall back to software rendering and its overall performance and parallelization isn't great either. It's a lot better than the OpenCL implementation Mesa used before but still rather bad compared to the one from the amdgpu-pro drivers.

@gamey nah, it's a fully conformant OpenCL 3.0 implementation

it might be slow, but it implements all required features and everything else needed by davinci resolve

@gamey So if it's slower, it would be nice to know about the specifics in order to fix it up.
@karolherbst That's good to know! I guess I should trust ChatGPT even less than I already do but it's just so fucking convenient! I will dig a little more to figure out specifics but I am fairly certain from multiple things I read and watched before that it's slower than other implementations. Gotta do some research tho!
@karolherbst The last thing I watched was Brodies video which made it sound like rusticl still needs a lot of work and I read some stuff about it before it was the default in mesa too but I can't remember where exactly and I am 1000% sure you know a lot more than me on this topic anyways so if you say it wont cost me much performance I should probably believe you there tbh!
@gamey Yeah, back then it was certainly true. You probably want to test on the latest mesa release anyway, because it's actively developed and improved.
@karolherbst Thanks for all the info! I really appreciate it! :)

@gamey I think the issue is, that https://mesamatrix.net/ displays it incorrectly atm, but there is a PR to fix it up.

Anyway, yeah there are a few things there it's slower than ROCm and others where it's faster. At least on my RX 6700 XT (RDNA 2).

And there is still a lot of things to do, but davinci resolve was perfectly useable on my system, though I also haven't really used it much besides "video plays and effects do something"

Mesamatrix: The Mesa drivers matrix

Show Mesa progress for the OpenGL, OpenGL ES, Vulkan and OpenCL drivers implementations into an easy to read HTML page.