@Conan_Kudo hey I got a Fedora question for you. I got DaVinci Resolve Studio 18.6 to install and launch on Fedora 39. However the rocm opencl drivers from the repo don't seem to be working properly for me. I keep getting GPU errors. Is there a way to install the proprietary stack to make DaVinci happy? I also don't seem to be able to record from Zencaster or Riverside. As soon as I hit record it errors out. Fedora is the only one it does it to. I'm pretty sure I have all the codec installed.
@WendyDLN Have you tried the Rusticl OpenCL driver? I recall @karolherbst mentioning at one point that he validated it with DaVinci Resolve.
@Conan_Kudo @karolherbst I don't think I have. It will give that a try when we get home. Thanks!
@WendyDLN @Conan_Kudo please keep in mind that you'll need mesa-24 for it to work though :)
@WendyDLN @karolherbst That said, I'm not too familiar with the ROCm stack, but the Fedora AI/ML SIG (https://fedoraproject.org/wiki/SIGs/AI-ML) works on it and it may be worth reaching out to them with your issues in their Matrix room or on Fedora Discussion (the forums).
SIGs/AI-ML - Fedora Project Wiki

@Conan_Kudo @WendyDLN there were also a few fixes required on the GL side to make it all work, which might also fix some random bugs with ROCm, but I haven't checked that.
@karolherbst @Conan_Kudo I'm definitely curious as to what you did to make it work.

@WendyDLN @Conan_Kudo yeah.. good question. The current ROCm implementation of gl_sharing (which is what davinci needs) is a bit busted afaik and we had to add more interfaces to make it all "safe" to do.

I suspect somebody would have to port ROCms gl_sharing implementation over to the new interfaces. @tnt works on implementing it on Intel and might have more insight knowledge on how bad it is on ROCm. I just know that they did dubious things like doing GL calls in a non compliant way.

@WendyDLN @Conan_Kudo @tnt anyway.. all I can say is that with mesa-24 any bug you'll hit is probably a ROCm <-> mesa integration bug of that feature (probably)
@karolherbst @WendyDLN @tnt Mesa 24 is a long time away though (it's next year, after all!). We're still on Mesa 23. Unless you intend to backport fixes for Fedora's Mesa?

@Conan_Kudo @WendyDLN @tnt the issue is, that those fixes are probably not relevant to the davinci use case, as it was mostly a fix for non 2d images, which I think davinci doesn't use.

The other thing is, that we'll probably not backport API changes to the `GL/mesa_glinterop.h` file, which is kinda reuiqred to be able to implement it sanely on the CL side

@karolherbst @Conan_Kudo @tnt

So, it doesn't look promising then...

@WendyDLN @karolherbst @tnt I think asking the folks in the AI/ML SIG who maintain the ROCm stack in @fedora will probably help.
@WendyDLN was curious if you got this working. it's always been a piece of cake to get davinci resolve working on debian (based) systems with the drivers from https://www.amd.com/en/support/linux-drivers Just need to make sure the user is in the video and render groups.
@crft I'm still struggling. I have even tried Debian based distro but can't get DaVinci to recognize my GPU.
@WendyDLN give those steps a shot. I can confirm they work for amdgpu with davinci resolve on debian 12, ubuntu, and popos. davinci resolve opens for you and it loads the prompt that there is no GPU?
@crft on #Kubuntu I got it to launch but I kept getting GPU errors with weird pixelization with MP3 videos. I have to edit them... I have not got it to recognize my GPU on #pop_os I also tried #Fedora with no luck. #davinci_resolve used to run amazing on #GarudaLinux but I can't get it to launch there at all anymore, even after doing a "library fix". I'm running a #AMD Radeon RX 6750 XT. I'm sure I'm still doing something wrong. However, I feel that it would be easier on any distro with #NVIDIA
@WendyDLN @crft I had the same experience, with Nvidia it is much easier to make davinci work in Linux. the easiest way I got it working with AMD is in Pop!_os (https://www.reddit.com/r/pop_os/comments/158hmsg/davinci_resolve_studio_185_with_amd_gpu_rocm_on/) or using Nobara Linux. Hope this helps.
@alyx @WendyDLN the steps in that reddit link look good to me for amdgpu. :)
@crft I will see on my POP install if my users is in the video and render groups.
@WendyDLN just confirming, on your debian/popos system the user is in the video and render groups, amdgpu is installed from https://www.amd.com/en/support/linux-drivers , and on popos I believe you need to run amdgpu-install with --no-dkms, wayland may need to be disabled in /etc/gdm3/custom.conf ? That worked for me on debian and popos. can confirm mov files with mp3 for audio work for me with amdgpu. also be sure to reboot after everything is configured. I've only done this on gnome.
@WendyDLN just remembered, there's also nixos which packages davinci-resolve. could even try nix installing resolve on fedora.