You are not logged in.

#1 2021-05-04 16:52:29

Doogie13
Member
Registered: 2021-04-27
Posts: 7

Davinci Resolve Crashes on startup

I'm new to arch and am trying to troubleshoot Davinci Resolve.

The application will open and freeze on the Looking for Control Surface screen (the 1st one)

Any ideas on how to help? I can provide info if needs be.

Last edited by Doogie13 (2021-05-05 14:35:45)

Offline

#2 2021-05-04 21:21:50

Ascension
Member
From: United States
Registered: 2021-02-11
Posts: 17

Re: Davinci Resolve Crashes on startup

I have this same problem.


b e a n s    w i l l    c o n q u e r    t h e    w o r l d .

Offline

#3 2021-05-05 11:22:51

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,868

Re: Davinci Resolve Crashes on startup

Davinci Resolve is rather picky in which hardware - driver configurations it works with.

https://wiki.archlinux.org/title/DaVinci_Resolve has a table showing what combos worked for others.
Lookup your videocard(s) in it and check which OpenGL & OpenCL drivers are needed.

If you can't figure it out, clarify whether you use X or wayland .

Also post the outputs of

$ lspci -k
$ glxinfo -B # comes with mesa-demos
$ clinfo --list # comes with clinfo package

Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#4 2021-05-05 11:36:26

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,787
Website

Re: Davinci Resolve Crashes on startup

Please modify your topic title to one that actually describes your issue.

https://gitlab.archlinux.org/archlinux/ … ow-to-post


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#5 2021-05-05 14:41:42

Doogie13
Member
Registered: 2021-04-27
Posts: 7

Re: Davinci Resolve Crashes on startup

Lone_Wolf wrote:

Davinci Resolve is rather picky in which hardware - driver configurations it works with.

https://wiki.archlinux.org/title/DaVinci_Resolve has a table showing what combos worked for others.
Lookup your videocard(s) in it and check which OpenGL & OpenCL drivers are needed.

If you can't figure it out, clarify whether you use X or wayland .

My configuration should work with the "progl" wrapper script but i have been unable to find this script, nor the docs that mention it.

As for the outputs: https://paste.ee/p/DSrVL

Offline

#6 2021-05-05 15:10:18

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,868

Re: Davinci Resolve Crashes on startup

You need to build and install 2 packages from AUR[1] .

remove opencl-mesa (if present), then build opencl-amd [2] .
install it and run clinfo --list again.

The second package is amdgpu-pro-libgl [3] . (The progl script comes with this package)
build it.
Once both are installed, try starting DR with progl .


[1] https://wiki.archlinux.org/title/Arch_User_Repository
[2] https://aur.archlinux.org/packages/opencl-amd/
[3] https://aur.archlinux.org/packages/amdgpu-pro-libgl/

Last edited by Lone_Wolf (2021-05-05 15:10:32)


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#7 2021-05-05 19:35:18

Doogie13
Member
Registered: 2021-04-27
Posts: 7

Re: Davinci Resolve Crashes on startup

Lone_Wolf wrote:

You need to build and install 2 packages from AUR[1] .

remove opencl-mesa (if present), then build opencl-amd [2] .
install it and run clinfo --list again.

The second package is amdgpu-pro-libgl [3] . (The progl script comes with this package)
build it.
Once both are installed, try starting DR with progl .


[1] https://wiki.archlinux.org/title/Arch_User_Repository
[2] https://aur.archlinux.org/packages/opencl-amd/
[3] https://aur.archlinux.org/packages/amdgpu-pro-libgl/

Platform #0: AMD Accelerated Parallel Processing
 `-- Device #0: Ellesmere

i dont have opencl mesa installed. i tried doing "progl" then "/opt/resolve/bin/resolve" in console and its still stuck

Offline

#8 2021-05-06 10:15:53

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,868

Re: Davinci Resolve Crashes on startup

Post output of

$ progl glxinfo -B

Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#9 2021-05-06 14:32:55

Doogie13
Member
Registered: 2021-04-27
Posts: 7

Re: Davinci Resolve Crashes on startup

Lone_Wolf wrote:

Post output of

$ progl glxinfo -B

https://paste.ee/p/XKtQf

Offline

#10 2021-05-07 07:54:55

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

Re: Davinci Resolve Crashes on startup

There was a problem with curl a while back:
https://bbs.archlinux.org/viewtopic.php?id=261752
I don't know if it has been fixed or not.

A question: Will installing amdgpu and amdgpu-pro-libgl at the same time cause system problems?

Offline

#11 2021-05-07 13:07:58

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,868

Re: Davinci Resolve Crashes on startup

As far as I can tell OpenGL & OpenCL should be working with DR now.

Also AUR amdgpu-pro-libgl maintainer was succesfull running DR with progl [1] .
The source of the progl script is at [2] and looks like it is specifically designed to allow using open & closed together .
(both use the same kernel module).

Given archlinux fast pace of updates, DR could fail anytime when something on archlinux changed to much from what DR expects.

Doogie13 , please post the output of

$ progl /opt/resolve/bin/resolve

Hopefully that will give some clues what goes wrong.


[1] https://aur.archlinux.org/packages/amf- … ent-804103
[2] https://aur.archlinux.org/cgit/aur.git/ … -installer


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#12 2021-05-07 14:25:36

Doogie13
Member
Registered: 2021-04-27
Posts: 7

Re: Davinci Resolve Crashes on startup

Lone_Wolf wrote:

As far as I can tell OpenGL & OpenCL should be working with DR now.

Also AUR amdgpu-pro-libgl maintainer was succesfull running DR with progl [1] .
The source of the progl script is at [2] and looks like it is specifically designed to allow using open & closed together .
(both use the same kernel module).

Given archlinux fast pace of updates, DR could fail anytime when something on archlinux changed to much from what DR expects.

Doogie13 , please post the output of

$ progl /opt/resolve/bin/resolve

Hopefully that will give some clues what goes wrong.


[1] https://aur.archlinux.org/packages/amf- … ent-804103
[2] https://aur.archlinux.org/cgit/aur.git/ … -installer

I am have stupid. I put progl then /opt/resolve/bin/resolve on seperate lines. thanks for your help big_smile

Offline

#13 2021-05-08 10:56:24

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

Re: Davinci Resolve Crashes on startup

If it can help you, I report my mini-guide taken from the BlackMagic forum, which is itself based on the Arch wiki.

It works on a system where open amdgpu is installed.
- Install opencl-amd (after uninstalling mesa opencl):

sudo pikaur -S opencl-amd

- Download the PKGBUILD of amdgpu-pro:

git clone https://aur.archlinux.org/amdgpu-pro-installer.git

- Go to the directory where you downloaded the tarball:

cd amdgpu-pro-installer

- Install amdgpu-pro:

makepkg

- Search for the following libraries and put them in a new folder:

~/pro/drivers/{libEGL.so libEGL.so.1 libglapi.so libglapi.so.1 libGLESv2.so libGLESv2.so.2 libGL.so libGL.so.1 libGL.so.1.2}
~/pro/drivers/dri/amdgpu_dri.so

- Install davinci-resolve from the AUR:

sudo pikaur -s davinci-resolve

(be careful it's more than 2 GB to download, it takes time...)

- Create a start script called runDavinci.sh with the following content:



echo #!/bin/bash

progl() {
export LD_LIBRARY_PATH="${HOME}/pro/drivers:${LD_LIBRARY_PATH}"
export LIBGL_DRIVERS_PATH="${HOME}/pro/drivers/dri"
#export dri_driver="amdgpu"
} && progl && /opt/resolve/bin/resolve



- Go to the folder that contains the script and give permission to run it:

chmod +x

- run the script from the terminal:

./runDavinci.sh

Last edited by apaz (2021-05-08 10:57:43)

Offline

Board footer

Powered by FluxBB