You are not logged in.

#1 2023-03-28 14:27:22

renspiti
Member
Registered: 2023-03-19
Posts: 1

Davinci Resolve crashes when color grading (AMDGPU PRO and ROCM)

I've been trying to get Davinci Resolve 18 working with Arch Linux for two days. I just got it working, and the video playback works smoothly. However, when I try to put in fusion effects or try to color grade footage, the Resolve crashes.

Here is the log file crash dump:

==========[CRASH DUMP]==========
#TIME Tue Mar 28 13:02:06 2023 - Uptime 00:01:31 (hh:mm:ss)
#PROGRAM_NAME DaVinci Resolve v18.1.4.0009 (Linux/Clang x86_64)
#BMD_ARCHITECTURE x86_64
#BMD_BUILD_UUID 846cf0da-688f-4287-bda1-17a2a690a64a
#BMD_GIT_COMMIT 80fd92c195f045f2f76acf506a6424b0b1ef94bd
#BMD_UTIL_VERSION 18.1.4.0009
#OS Linux

./davinci-resolve/pkg/davinci-resolve/opt/resolve/bin/resolve() [0x4544d29]
./davinci-resolve/pkg/davinci-resolve/opt/resolve/bin/resolve() [0x4544110]
/usr/lib/libc.so.6(+0x38f50) [0x7f216e451f50]
/usr/lib/libc.so.6(+0x878ec) [0x7f216e4a08ec]
/usr/lib/libc.so.6(gsignal+0x18) [0x7f216e451ea8]
/usr/lib/libc.so.6(abort+0xd7) [0x7f216e43b53d]
/usr/lib/libc.so.6(+0x2245c) [0x7f216e43b45c]
/usr/lib/libc.so.6(+0x319f6) [0x7f216e44a9f6]
/opt/rocm/lib/libamd_comgr.so.2(+0xddef5b) [0x7f2040ddef5b]
/opt/rocm/lib/libamd_comgr.so.2(+0x21f0ee4) [0x7f20421f0ee4]
/opt/rocm/lib/libamd_comgr.so.2(+0x5cbcfd0) [0x7f2045cbcfd0]
/opt/rocm/lib/libamd_comgr.so.2(+0x5501f3c) [0x7f2045501f3c]
/opt/rocm/lib/libamd_comgr.so.2(+0x5cbda8f) [0x7f2045cbda8f]
/opt/rocm/lib/libamd_comgr.so.2(+0x1b95216) [0x7f2041b95216]
/opt/rocm/lib/libamd_comgr.so.2(+0x1b2f884) [0x7f2041b2f884]
/opt/rocm/lib/libamd_comgr.so.2(+0x37ae5b1) [0x7f20437ae5b1]
/opt/rocm/lib/libamd_comgr.so.2(+0x3734b91) [0x7f2043734b91]
/opt/rocm/lib/libamd_comgr.so.2(+0x15e4d44) [0x7f20415e4d44]
/opt/rocm/lib/libamd_comgr.so.2(+0x98e3c7) [0x7f204098e3c7]
/opt/rocm/lib/libamd_comgr.so.2(+0x990cb0) [0x7f2040990cb0]
/opt/rocm/lib/libamd_comgr.so.2(amd_comgr_do_action+0x14d0) [0x7f204099bd40]
/opt/rocm/lib/libamdocl64.so(+0xf5c8d) [0x7f214af67c8d]
/opt/rocm/lib/libamdocl64.so(+0x1200ab) [0x7f214af920ab]
/opt/rocm/lib/libamdocl64.so(clBuildProgram+0x1d1) [0x7f214af03701]
./davinci-resolve/pkg/davinci-resolve/opt/resolve/bin/resolve() [0x79e5948]
./davinci-resolve/pkg/davinci-resolve/opt/resolve/bin/resolve() [0x79e5118]
./davinci-resolve/pkg/davinci-resolve/opt/resolve/bin/resolve() [0x79e5b21]
/usr/lib/libc.so.6(+0x85bb5) [0x7f216e49ebb5]
/usr/lib/libc.so.6(+0x107d90) [0x7f216e520d90]
Signal Number = 6

I guess that the crashing is caused by the rocm-opencl-runtime. I found the identical crash dump in the ROCM GitHub issues:
https://github.com/RadeonOpenCompute/RO … 1351700295

My system:
OS: Arch Linux x86_64
Kernel: 6.2.8-arch1-1
CPU: AMD Ryzen 9 3900X (24) @ 3.800GHz
GPU: AMD ATI Radeon RX 6600
davinci-resolve 18.1.4-1
OpenGL: amdgpu-pro-oglp 22.40_1538781-1
OpenCL: rocm-opencl-runtime 5.4.3-1
X Server 1.21.1.7

I launch Resolve using progl:

progl ./davinci-resolve/pkg/davinci-resolve/opt/resolve/bin/resolve

Output of lspci -k

07:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Navi 23 [Radeon RX 6600/6600 XT/6600M] (rev c7)
        Subsystem: ASUSTeK Computer Inc. Device 05d5
        Kernel driver in use: amdgpu
        Kernel modules: amdgpu

What works in Resolve:

  • Video transitions: Dissolve, Iris, Motion, Shape, Wipe

  • Audio transitions: all

  • Titles: everything but Text+ custom titles, subtitles

  • Generators: all native Resolve generators

  • Effects: adjustment clip

  • Open FX: all Resolve FX effects

  • Audio FX: all Fairlight FX effects

  • Color corrector in Fusion

What causes Resolve to crash:

  • Video transitions: Resolve FX Transitions

  • Titles: Text+ custom titles, Fusion titles

  • Generators: all Fusion generators except texture background

  • Effects: all fusion effects

  • Trying to use LUTS in fusion

  • Trying to use color wheels and most other color correction tools

I also get these errors when I start Resolve. However, I don't think they are causing the crashing:

log4cxx: No appender could be found for logger (BtCommon).
log4cxx: Please initialize the log4cxx system properly.

Offline

#2 2023-03-31 07:22:54

apaz
Member
Registered: 2018-07-23
Posts: 130

Re: Davinci Resolve crashes when color grading (AMDGPU PRO and ROCM)

I also crash in the same cases as you (with RX5700XT and XOrg). Try to clean up the system from ROCm and go back to opencl-amd from AUR.

PS: "progl" is no longer required by DaVinci Resolve, AMD has added compatibility layers to its drivers.

Offline

#3 2023-07-21 18:07:57

Ethefor
Member
Registered: 2012-03-12
Posts: 5

Re: Davinci Resolve crashes when color grading (AMDGPU PRO and ROCM)

I had an exact same problem...
Confirming that installing legacy opencl-amd solves the problem!

Last edited by Ethefor (2023-07-21 18:24:23)

Offline

Board footer

Powered by FluxBB