H3rz3n / Davinci-Resolve-Fedora-38-39-40-Fix

Pre Install and post install script for making Davinci Resolve 18.6.x working on Fedora 38-39-40
GNU General Public License v3.0
41 stars 2 forks source link

Resolve cannot find AMD GPU on Launch Fix #5

Open Cthuflu opened 1 month ago

Cthuflu commented 1 month ago

Resolve needs the rocm opencl bindings, these can be installed by running the following

sudo dnf install rocm-opencl

3steve3 commented 1 month ago

I got it working by installing mesa-libOpenCL, how is that different from rocm-opencl?

Cthuflu commented 1 month ago

mesa is the community-provided open source stack. There are extra dependencies it installs. It would additionally require libclc to start processing video, but for me that still results in GPU Error -1 with the following log:

- Build log: input.cl:2146:35: error: OpenCL C version 1.1 does not support the 'static' storage class specifier

rocm is the AMD-provided open source stack. After the fix from issue #6 it seems like everything works.

There's nothing preventing you from having both installed to test it out; The "shorter name" for the card is the one that uses the rocm APIs, the "longer name" is mesa APIs that specify "radeonsi", "LLVM", "DRM" in parenthesis.