Davinci resolve borked in unknown way

Hello everyone

System:
  Kernel: 6.6.1-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
    clocksource: tsc available: hpet,acpi_pm
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
    root=UUID=d11e3e62-2319-463e-abb6-833ee1c155b2 rw rootflags=subvol=@
    quiet quiet rd.udev.log_priority=3 vt.global_cursor_default=0
    resume=UUID=065e075d-461d-4ef3-9bb5-4cfd390d74b6 loglevel=3 ibt=off
  Desktop: GNOME v: 45.1 tk: GTK v: 3.24.38 wm: gnome-shell dm: GDM
    v: 45.0.1 Distro: Garuda Linux base: Arch Linux
Machine:
  Type: Desktop System: Micro-Star product: MS-7B93 v: 1.0
    serial: <superuser required>
  Mobo: Micro-Star model: MPG X570 GAMING PRO CARBON WIFI (MS-7B93) v: 1.0
    serial: <superuser required> UEFI: American Megatrends LLC. v: 1.E0
    date: 12/17/2021
Battery:
  Device-1: hidpp_battery_0 model: Logitech Wireless Keyboard ERGO K860
    serial: <filter> charge: 100% (should be ignored) rechargeable: yes
    status: discharging
CPU:
  Info: model: AMD Ryzen 9 5950X bits: 64 type: MT MCP arch: Zen 3+ gen: 4
    level: v3 note: check built: 2022 process: TSMC n6 (7nm) family: 0x19 (25)
    model-id: 0x21 (33) stepping: 0 microcode: 0xA201016
  Topology: cpus: 1x cores: 16 tpc: 2 threads: 32 smt: enabled cache:
    L1: 1024 KiB desc: d-16x32 KiB; i-16x32 KiB L2: 8 MiB desc: 16x512 KiB
    L3: 64 MiB desc: 2x32 MiB
  Speed (MHz): avg: 3511 high: 4675 min/max: 2200/5083 boost: enabled
    scaling: driver: acpi-cpufreq governor: performance cores: 1: 3400 2: 3400
    3: 3400 4: 3599 5: 3400 6: 3400 7: 3400 8: 3400 9: 4675 10: 3400 11: 3400
    12: 3740 13: 3753 14: 3749 15: 3400 16: 3776 17: 3400 18: 3400 19: 3400
    20: 3400 21: 3400 22: 3400 23: 3400 24: 3400 25: 3400 26: 3400 27: 3738
    28: 3400 29: 3400 30: 3400 31: 3400 32: 3742 bogomips: 217601
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
  Vulnerabilities: <filter>
Graphics:
  Device-1: AMD Navi 31 [Radeon RX 7900 XT/7900 XTX] driver: amdgpu v: kernel
    arch: RDNA-3 code: Navi-3x process: TSMC n5 (5nm) built: 2022+ pcie: gen: 4
    speed: 16 GT/s lanes: 16 ports: active: DP-1,HDMI-A-1 empty: DP-2,DP-3
    bus-ID: 26:00.0 chip-ID: 1002:744c class-ID: 0300
  Display: wayland server: X.org v: 1.21.1.9 with: Xwayland v: 23.2.2
    compositor: gnome-shell driver: gpu: amdgpu display-ID: 0
  Monitor-1: DP-1 model: Gigabyte G27F serial: <filter> built: 2020
    res: 1920x1080 dpi: 81 gamma: 1.2 size: 598x336mm (23.54x13.23")
    diag: 686mm (27") ratio: 16:9 modes: max: 1920x1080 min: 720x400
  Monitor-2: HDMI-A-1 model: Acer S221HQL serial: <filter> built: 2010
    res: 1920x1080 dpi: 102 gamma: 1.2 size: 477x268mm (18.78x10.55")
    diag: 547mm (21.5") ratio: 16:9 modes: max: 1920x1080 min: 720x400
  API: EGL v: 1.5 hw: drv: amd radeonsi platforms: device: 0 drv: radeonsi
    device: 1 drv: swrast surfaceless: drv: radeonsi wayland: drv: radeonsi x11:
    drv: radeonsi inactive: gbm
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 23.2.1-arch1.2
    glx-v: 1.4 direct-render: yes renderer: AMD Radeon RX 7900 XT (gfx1100 LLVM
    16.0.6 DRM 3.54 6.6.1-zen1-1-zen) device-ID: 1002:744c memory: 19.53 GiB
    unified: no display-ID: :0.0
  API: Vulkan v: 1.3.269 layers: 13 device: 0 type: discrete-gpu name: AMD
    Radeon RX 7900 XT (RADV GFX1100) driver: mesa radv v: 23.2.1-arch1.2
    device-ID: 1002:744c surfaces: xcb,xlib,wayland device: 1 type: cpu
    name: llvmpipe (LLVM 16.0.6 256 bits) driver: mesa llvmpipe
    v: 23.2.1-arch1.2 (LLVM 16.0.6) device-ID: 10005:0000
    surfaces: xcb,xlib,wayland
Audio:
  Device-1: AMD Navi 31 HDMI/DP Audio driver: snd_hda_intel v: kernel pcie:
    gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 26:00.1 chip-ID: 1002:ab30
    class-ID: 0403
  Device-2: AMD Starship/Matisse HD Audio vendor: Micro-Star MSI
    driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
    bus-ID: 2e:00.4 chip-ID: 1022:1487 class-ID: 0403
  API: ALSA v: k6.6.1-zen1-1-zen status: kernel-api tools: N/A
  Server-1: PipeWire v: 0.3.84 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pw-jack type: plugin
    tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Intel I211 Gigabit Network vendor: Micro-Star MSI driver: igb
    v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: d000 bus-ID: 27:00.0
    chip-ID: 8086:1539 class-ID: 0200
  IF: enp39s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
  Device-2: Intel Wi-Fi 6 AX200 driver: iwlwifi v: kernel pcie: gen: 2
    speed: 5 GT/s lanes: 1 bus-ID: 28:00.0 chip-ID: 8086:2723 class-ID: 0280
  IF: wlo1 state: down mac: <filter>
Bluetooth:
  Device-1: Intel AX200 Bluetooth driver: btusb v: 0.8 type: USB rev: 2.0
    speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 3-4:4 chip-ID: 8087:0029
    class-ID: e001
  Report: btmgmt ID: hci0 rfk-id: 2 state: down bt-service: enabled,running
    rfk-block: hardware: no software: yes address: <filter> bt-v: 5.2 lmp-v: 11
    status: discoverable: no pairing: no
Drives:
  Local Storage: total: 1.38 TiB used: 825.62 GiB (58.5%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:4 vendor: Kingston model: SA2000M8500G
    size: 465.76 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s
    lanes: 4 tech: SSD serial: <filter> fw-rev: S5Z42105 temp: 35.9 C
    scheme: GPT
  ID-2: /dev/nvme1n1 maj-min: 259:0 vendor: Kingston model: SA2000M81000G
    size: 931.51 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s
    lanes: 4 tech: SSD serial: <filter> fw-rev: S5Z42105 temp: 37.9 C
    scheme: GPT
  ID-3: /dev/sda maj-min: 8:0 vendor: Kingston model: DataTraveler G3
    size: 14.42 GiB block-size: physical: 512 B logical: 512 B type: USB
    rev: 2.0 spd: 480 Mb/s lanes: 1 mode: 2.0 tech: N/A serial: <filter>
    fw-rev: 1.00 scheme: MBR
  SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure?
Partition:
  ID-1: / raw-size: 896.83 GiB size: 896.83 GiB (100.00%)
    used: 402.55 GiB (44.9%) fs: btrfs dev: /dev/nvme1n1p2 maj-min: 259:2
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 576 KiB (0.2%) fs: vfat dev: /dev/nvme1n1p1 maj-min: 259:1
  ID-3: /home raw-size: 896.83 GiB size: 896.83 GiB (100.00%)
    used: 402.55 GiB (44.9%) fs: btrfs dev: /dev/nvme1n1p2 maj-min: 259:2
  ID-4: /var/log raw-size: 896.83 GiB size: 896.83 GiB (100.00%)
    used: 402.55 GiB (44.9%) fs: btrfs dev: /dev/nvme1n1p2 maj-min: 259:2
  ID-5: /var/tmp raw-size: 896.83 GiB size: 896.83 GiB (100.00%)
    used: 402.55 GiB (44.9%) fs: btrfs dev: /dev/nvme1n1p2 maj-min: 259:2
Swap:
  Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default) zswap: no
  ID-1: swap-1 type: partition size: 34.39 GiB used: 0 KiB (0.0%)
    priority: -2 dev: /dev/nvme1n1p3 maj-min: 259:3
  ID-2: swap-2 type: zram size: 31.26 GiB used: 0 KiB (0.0%) priority: 100
    comp: zstd avail: lzo,lzo-rle,lz4,lz4hc,842 max-streams: 32 dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 61.4 C mobo: N/A gpu: amdgpu temp: 45.0 C
    mem: 64.0 C
  Fan Speeds (rpm): N/A gpu: amdgpu fan: 11
Info:
  Processes: 594 Uptime: 1h 34m wakeups: 0 Memory: total: 32 GiB
  available: 31.26 GiB used: 8.47 GiB (27.1%) Init: systemd v: 254
  default: graphical tool: systemctl Compilers: gcc: 13.2.1 clang: 16.0.6
  Packages: 2123 pm: pacman pkgs: 2108 libs: 546 tools: pamac,paru pm: flatpak
  pkgs: 15 Shell: fish v: 3.6.1 default: Bash v: 5.2.15
  running-in: gnome-terminal inxi: 3.3.31
Garuda (2.6.19-1):
  System install date:     2023-04-23
  Last full system update: 2023-11-12
  Is partially upgraded:   No
  Relevant software:       snapper NetworkManager dracut
  Windows dual boot:       No/Undetected
  Failed units: 

I have encountered a strange problem with Davinci resolve that i haven’t seen any where before (already checked the AUR page)

export LD_PRELOAD="/usr/lib64/libglib-2.0.so"
progl /opt/resolve/bin/resolve %u
ActCCMessage Already in Table: Code= c005, Mode= 13, Level=  1, CmdKey= -1, Option= 0
ActCCMessage Already in Table: Code= c006, Mode= 13, Level=  1, CmdKey= -1, Option= 0
ActCCMessage Already in Table: Code= c007, Mode= 13, Level=  1, CmdKey= -1, Option= 0
ActCCMessage Already in Table: Code= 2282, Mode=  0, Level=  0, CmdKey= 8, Option= 0
PnlMsgActionStringAdapter Already in Table: Code= 615e, Mode=  0, Level=  0, CmdKey= -1, Option= 0
18.6.2.0002 Linux/Clang x86_64
Main thread starts: 1B80D000
Failed to load config file "%u".Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
qt.qpa.plugin: Could not find the Qt platform plugin "wayland" in ""
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: linuxfb, minimal, offscreen, xcb.

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


==========[CRASH DUMP]==========
#TIME Sun Nov 12 10:32:32 2023 - Uptime 00:00:00 (hh:mm:ss)
#PROGRAM_NAME DaVinci Resolve v18.6.2.0002 (Linux/Clang x86_64)
#BMD_ARCHITECTURE x86_64
#BMD_BUILD_UUID ab578309-fdd8-4e97-a6cd-cbc72a1db9ca
#BMD_GIT_COMMIT e70e23413dd50b937295afed5db9de440015ac37
#BMD_UTIL_VERSION 18.6.2.0002
#OS Linux

/opt/resolve/bin/resolve() [0x4811c89]
/opt/resolve/bin/resolve() [0x24c8b62]
/usr/lib/libc.so.6(+0x3e710) [0x7f301dc5c710]
/usr/lib/libc.so.6(+0x8e83c) [0x7f301dcac83c]
/usr/lib/libc.so.6(raise+0x18) [0x7f301dc5c668]
/usr/lib/libc.so.6(abort+0xd7) [0x7f301dc444b8]
/opt/resolve/bin/../libs/libQt5Core.so.5(+0xa7bd6) [0x7f30056a7bd6]
/opt/resolve/bin/../libs/libQt5Core.so.5(_ZNK14QMessageLogger5fatalEPKcz+0xbd) [0x7f30056a90e1]
/opt/resolve/bin/../libs/libQt5Gui.so.5(_ZN22QGuiApplicationPrivate25createPlatformIntegrationEv+0x1fb3) [0x7f3005f1f423]
/opt/resolve/bin/../libs/libQt5Gui.so.5(_ZN22QGuiApplicationPrivate21createEventDispatcherEv+0x1b) [0x7f3005f2007b]
/opt/resolve/bin/../libs/libQt5Core.so.5(_ZN23QCoreApplicationPrivate4initEv+0x78d) [0x7f300589409d]
/opt/resolve/bin/../libs/libQt5Gui.so.5(_ZN22QGuiApplicationPrivate4initEv+0x19) [0x7f3005f19099]
/opt/resolve/bin/../libs/libQt5Widgets.so.5(_ZN19QApplicationPrivate4initEv+0x9) [0x7f3031964f09]
/opt/resolve/bin/../libs/libQt5Widgets.so.5(_ZN12QApplicationC2ERiPPci+0xa9) [0x7f3031964ec9]
/opt/resolve/bin/resolve() [0x251cb88]
/opt/resolve/bin/resolve() [0x24c6720]
/opt/resolve/bin/resolve() [0x24c15de]
/usr/lib/libc.so.6(+0x27cd0) [0x7f301dc45cd0]
/usr/lib/libc.so.6(__libc_start_main+0x8a) [0x7f301dc45d8a]
/opt/resolve/bin/resolve() [0x24c022b]
Signal Number = 6

================================
resolve: /home/jenkins/jenkins/workspace/resolve/Resolve/Cyclone/Main/AppConfig.cpp:296: void AppConfig::LoadAllSiteInfo(): Assertion `m_SiteEnabledIdx > 0' failed.


==========[CRASH DUMP]==========
#TIME Sun Nov 12 10:32:32 2023 - Uptime 00:00:00 (hh:mm:ss)
#PROGRAM_NAME DaVinci Resolve v18.6.2.0002 (Linux/Clang x86_64)
#BMD_ARCHITECTURE x86_64
#BMD_BUILD_UUID ab578309-fdd8-4e97-a6cd-cbc72a1db9ca
#BMD_GIT_COMMIT e70e23413dd50b937295afed5db9de440015ac37
#BMD_UTIL_VERSION 18.6.2.0002
#OS Linux

/opt/resolve/bin/resolve() [0x4811c89]
/opt/resolve/bin/resolve() [0x24c8b62]
/usr/lib/libc.so.6(+0x3e710) [0x7f301dc5c710]
/usr/lib/libc.so.6(+0x8e83c) [0x7f301dcac83c]
/usr/lib/libc.so.6(raise+0x18) [0x7f301dc5c668]
/usr/lib/libc.so.6(abort+0xd7) [0x7f301dc444b8]
/usr/lib/libc.so.6(+0x263dc) [0x7f301dc443dc]
/usr/lib/libc.so.6(+0x36d26) [0x7f301dc54d26]
/opt/resolve/bin/resolve() [0x24f9e2c]
/opt/resolve/bin/resolve() [0x24f6f93]
/opt/resolve/bin/resolve() [0x24f68e8]
/opt/resolve/bin/resolve() [0x250da29]
/opt/resolve/bin/resolve() [0x24c8d73]
/usr/lib/libc.so.6(+0x3e710) [0x7f301dc5c710]
/usr/lib/libc.so.6(+0x8e83c) [0x7f301dcac83c]
/usr/lib/libc.so.6(raise+0x18) [0x7f301dc5c668]
/usr/lib/libc.so.6(abort+0xd7) [0x7f301dc444b8]
/opt/resolve/bin/../libs/libQt5Core.so.5(+0xa7bd6) [0x7f30056a7bd6]
/opt/resolve/bin/../libs/libQt5Core.so.5(_ZNK14QMessageLogger5fatalEPKcz+0xbd) [0x7f30056a90e1]
/opt/resolve/bin/../libs/libQt5Gui.so.5(_ZN22QGuiApplicationPrivate25createPlatformIntegrationEv+0x1fb3) [0x7f3005f1f423]
/opt/resolve/bin/../libs/libQt5Gui.so.5(_ZN22QGuiApplicationPrivate21createEventDispatcherEv+0x1b) [0x7f3005f2007b]
/opt/resolve/bin/../libs/libQt5Core.so.5(_ZN23QCoreApplicationPrivate4initEv+0x78d) [0x7f300589409d]
/opt/resolve/bin/../libs/libQt5Gui.so.5(_ZN22QGuiApplicationPrivate4initEv+0x19) [0x7f3005f19099]
/opt/resolve/bin/../libs/libQt5Widgets.so.5(_ZN19QApplicationPrivate4initEv+0x9) [0x7f3031964f09]
/opt/resolve/bin/../libs/libQt5Widgets.so.5(_ZN12QApplicationC2ERiPPci+0xa9) [0x7f3031964ec9]
/opt/resolve/bin/resolve() [0x251cb88]
/opt/resolve/bin/resolve() [0x24c6720]
/opt/resolve/bin/resolve() [0x24c15de]
/usr/lib/libc.so.6(+0x27cd0) [0x7f301dc45cd0]
/usr/lib/libc.so.6(__libc_start_main+0x8a) [0x7f301dc45d8a]
/opt/resolve/bin/resolve() [0x24c022b]
Signal Number = 6

================================
/usr/bin/progl: line 30: 587697 Aborted                 (core dumped) "$@"

I have already replaced opencl amd with rocm-amd and davinci checker says it would work

Locale unavailable: en_GB, using en_US instead
Using locale en_US
DaVinci Resolve checker 5.2.5
Installed DaVinci Resolve package: davinci-resolve 18.6.2-2
Chassis type: desktop
Installed OpenCL drivers:
	rocm-opencl-runtime 5.6.1-1
Presented GPUs:
	Navi 31 [Radeon RX 7900 XT/7900 XTX] (kernel driver in use: amdgpu)
OpenGL vendor string: AMD
OpenGL renderer string: AMD Radeon RX 7900 XT (gfx1100, LLVM 16.0.6, DRM 3.54, 6.6.1-zen1-1-zen)
clinfo detected platforms and devices:
	Warning: could not parse clinfo data!

Not found opencl platforms with appropriate GPUs. Check that you have installed corresponding driver. Otherwise you cannot run DR.
All seems good. You should be able to run DaVinci Resolve successfully.

I am desprate for any help :upside_down_face:

What happens if you take out the %u?

same thing just a less detailed log

ActCCMessage Already in Table: Code= c005, Mode= 13, Level=  1, CmdKey= -1, Option= 0
ActCCMessage Already in Table: Code= c006, Mode= 13, Level=  1, CmdKey= -1, Option= 0
ActCCMessage Already in Table: Code= c007, Mode= 13, Level=  1, CmdKey= -1, Option= 0
ActCCMessage Already in Table: Code= 2282, Mode=  0, Level=  0, CmdKey= 8, Option= 0
PnlMsgActionStringAdapter Already in Table: Code= 615e, Mode=  0, Level=  0, CmdKey= -1, Option= 0
18.6.2.0002 Linux/Clang x86_64
Main thread starts: BA40E000
0x7f9cba40e000 | Undefined            | INFO  | 2023-11-12 11:57:14,258 | --------------------------------------------------------------------------------
0x7f9cba40e000 | Undefined            | INFO  | 2023-11-12 11:57:14,259 | Loaded log config from /home/###/.local/share/DaVinciResolve/configs/log-conf.xml
0x7f9cba40e000 | Undefined            | INFO  | 2023-11-12 11:57:14,259 | --------------------------------------------------------------------------------

Anything in ~/.local/share/DaVinciResolve/logs/ResolveDebug.txt?

yes but that is the same output as

progl /opt/resolve/bin/resolve %u

https://aur.archlinux.org/packages/davinci-resolve

Flagged out-of-date Version Mismatch.
https://aur.archlinux.org/pkgbase/davinci-resolve/flag-comment

The PKGBUILD seems simple enough. PKGBUILD - aur.git - AUR Package Repositories

I’d start by reviewing this section.

pkgname=davinci-resolve
major_version=18.6
minor_version=2
pkgver=${major_version}.${minor_version}
pkgrel=2
1 Like

i tried rewriting the build before it is actually harder than it looks (you need to a few weirdly specific url’s from the black magic page) also i had the issue with the manually installed version (with the official installer) so out of date can’t be the issue also the package is currently up to date again

Not as of THIS MINUTE!
https://aur.archlinux.org/packages/davinci-resolve

i am confused what are you trying to say ?

I was listening to a podcast recently where they were explaining how packaging Davinci Resolve is a moving target (for all Linux distros), and the only reliably not broken version is the Flatpak. I don’t typically recommend using Flatpaks, and I don’t know how accurate their statement is (the person is a developer who packages a lot of applications for Debian), but it may be worth a look if you need this software.

A caveat they mentioned is the plugin support is way more limited on the Flatpak version; depending on what plugins you need to use, that may or may not be a relevant detail for you.

Here is some information about getting started with Flatpaks if you want to check it out: Flatpak - ArchWiki

3 Likes

I linked the Arch Linux AUR page for davinci resolve , below. See the big red letters on the right hand side of the Screenshot? :smiley:

3 Likes

that is true but the package when downloading is actually not any more

Nope, because now the status has changed “Last Updated: 2023-11-19 15:49 (UTC)”
:smiley:

3 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.