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
50 stars 3 forks source link

Resolve AMD "The gpu failed to perform image processing because of an error: -1" Fix #6

Closed Cthuflu closed 2 weeks ago

Cthuflu commented 6 months ago

If you look in your resolve log there will be a hint for this one.

For my case I found the following:

- Error: CL_BUILD_PROGRAM_FAILURE
- Options: " -w -cl-mad-enable -cl-fast-relaxed-math -Dz323df50901b485739bf3a3b9a84c73b0 -Dz6e436e44fad709e7c0aa0046bd091019 -Dzc229ce7b384e9cbe83e58608fba7c36d"
- Build log: fatal error: malformed or corrupted AST file: 'could not find file '/usr/lib64/llvm17/bin/../../../lib/clang/17/include/opencl-c-base.h' referenced by AST file '/tmp/comgr-1156ea/include/opencl1.2-c.pch''
1 error generated.
Error: Failed to compile source (from CL or HIP source to LLVM IR).

Resolve is dynamically compiling some opencl binding, it gets a CL_BUILD_PROGRAM_FAILURE because the path /usr/lib64/llvm17/bin/../../../lib/clang/17/include/opencl-c-base.h cannot be found for one of the following reasons:

H3rz3n commented 2 weeks ago

Hi everyone, I'm happy to tell you that you can use my new app, DaVinci Helper to do all the installation and post installation phases, install the correct GPU drivers and convert the video for DaVinci Resolve Free. Check the GitHub repo : https://github.com/H3rz3n/davinci-helper