DaVinci Resolve on Linux - Install issues

Get answers to your questions about color grading, editing and finishing with DaVinci Resolve.
  • Author
  • Message
Offline

Andreas56

  • Posts: 5
  • Joined: Sat Apr 04, 2020 7:29 am
  • Real Name: Andreas Schrödinger

Re: DaVinci Resolve on Linux - Install issues

PostWed Sep 02, 2020 9:18 pm

Walter Sonius wrote:OpenCL != OpenGL

Besides the right driver requirements "Radeon vs AMDGPU (both opensource)" I mentioned the closed source other TWO components: OpenGL and OpenCL. The first, OpenGL can be taken care off by "Mesa" which is the default for most linux distributions and did work until Davinci Resolve 16.0 but it must be replaced with closed source proprietary OpenGL (if you use the amdgpu pro driver) which is a requirment for Davince Resolve 16.1 and higher.

The kernel arguments I gave are for early GCN AMDGPU's lower than Rx4xx series like R9-290x or R9-390x (which uses by default RADEON driver) and you have RX570 (default AMDGPU driver). The later AMDGPU driver can be assisted with closed source OpenCL modules or replaced OpenGL modules(only one OpenGL system can be installed). For Vulkan and OpenCL multiple backends can be installed and used with AMDGPU on the same system.

You already answered one of my question, that is you are running with a RX5xx card with only OpenCL provided by AMDGPU pro driver (pal/orca/legacy) and still cannot run current Resolve 16.xx because you probably miss the AMDGPU pro OpenGL driver... so for confirmation?

@Andreas56
Please try the older first 16.00 release of Davinci resolve and see if that works with only having OpenCL installed, or install the proprietary closed AMDGPU pro OpenGL component which (removes Mesa OpenGL) but you have to find the archlinux/manjora equivalent package:https://aur.archlinux.org/packages/amdgpu-pro-libgl/


Hi Walter,

I tried the proprietary OpenGL driver and Resolve still does not start. Here is the log.

Code: Select all
[0x7fdfef64a5c0] | Main                 | INFO  | 2020-09-02 23:11:00,089 | Running DaVinci Resolve v16.0.0.060 (Linux/Clang)
[0x7fdfef64a5c0] | Main                 | INFO  | 2020-09-02 23:11:00,089 | Updating display GPU information...
[0x7fdfef64a5c0] | Main                 | INFO  | 2020-09-02 23:11:00,228 | Detecting Main Display properties
[0x7fdfef64a5c0] | Main                 | INFO  | 2020-09-02 23:11:00,235 | Process to detect main display has finished
[0x7fdfef64a5c0] | Main                 | INFO  | 2020-09-02 23:11:00,242 | Fallback process to detect main display has finished
[0x7fdfef64a5c0] | Main                 | INFO  | 2020-09-02 23:11:00,242 | GPU Name = 'Radeon RX 570 Series', Main display = 0
[0x7fdfef64a5c0] | Main                 | INFO  | 2020-09-02 23:11:00,242 | 1 GPUs (excluding display GPU) found. Using OpenCL for processing.
[0x7fdfef64a5c0] | Main                 | INFO  | 2020-09-02 23:11:00,242 | Not GLmap capable. GPUs: 1 discrete, 0 integrated, 0 external. Auto mapping, OpenCL processing, main display not on external GPU.
[0x7fdfef64a5c0] | Main                 | INFO  | 2020-09-02 23:11:00,242 | Setting LsManager.3.NumGPUs = 1
[0x7fdfef64a5c0] | IO                   | INFO  | 2020-09-02 23:11:00,242 | RED InitializeSdk with library path at /opt/resolve/libs
[0x7fdfef64a5c0] | IO                   | INFO  | 2020-09-02 23:11:00,268 | R3DAPI 7.1.0-3YM06 (20180720 L64S) R3DSDK 7.1.0-3YM06 (20180720 L64D) RED CUDA 7.1.0-45494 (20180721) RED OPENCL 7.1.0-45494 (20180721) [/opt/resolve/libs/] init is successful
[0x7fdfef64a5c0] | Main                 | INFO  | 2020-09-02 23:11:00,268 | 0 RED rocket cards available
There are 1 GPUs in the system.
libDeckLinkAPI.so: Kann die Shared-Object-Datei nicht öffnen: Datei oder Verzeichnis nicht gefunden
[0x7fdfef64a5c0] | Main                 | INFO  | 2020-09-02 23:11:00,268 | Decklink model name: '', version: ''
[0x7fdfef64a5c0] | DVIP                 | INFO  | 2020-09-02 23:11:00,268 | DVIP Version : 16.0.0, Revision = 88204 (Release)
[0x7fdfef64a5c0] | Main                 | INFO  | 2020-09-02 23:11:00,492 | Installed custom font: Open Sans
[0x7fdfef64a5c0] | Main                 | INFO  | 2020-09-02 23:11:00,492 | Installed custom font: Open Sans
[0x7fdfef64a5c0] | Main                 | INFO  | 2020-09-02 23:11:00,492 | Installed custom font: Open Sans
[0x7fdfef64a5c0] | Main                 | INFO  | 2020-09-02 23:11:00,507 | Finished loading Application style sheet
Local.Speed.Debug switched OFF - ''
[0x7fdfc282b640] | LeManager            | INFO  | 2020-09-02 23:11:00,556 | 521, 38
[0x7fdfef64a5c0] | BtCommon             | INFO  | 2020-09-02 23:11:01,074 | Memory config: reserved=6000M pinned=4000M log=0
[0x7fdfef64a5c0] | BtCommon             | INFO  | 2020-09-02 23:11:01,074 | Using default pooled memory manager
[0x7fdfc202a640] | BtCommon             | INFO  | 2020-09-02 23:11:01,074 | BtResourceManager Process Thread Started
[0x7fdfef64a5c0] | BtCommon             | INFO  | 2020-09-02 23:11:01,074 | Daemon DPDecoder is started 89443
[0x7fdfef64a5c0] | BtCommon             | INFO  | 2020-09-02 23:11:01,074 | Daemon DPDecoder is started 89444
[0x7fdfef64a5c0] | BtCommon             | INFO  | 2020-09-02 23:11:01,074 | Daemon DPDecoder is started 89445
[0x7fdfef64a5c0] | BtCommon             | INFO  | 2020-09-02 23:11:01,074 | Daemon DPDecoder is started 89446
[0x7fdfef64a5c0] | BtCommon             | INFO  | 2020-09-02 23:11:01,075 | Daemon DPDecoder is started 89447
[0x7fdfef64a5c0] | BtCommon             | INFO  | 2020-09-02 23:11:01,075 | Daemon DPDecoder is started 89448
[0x7fdfef64a5c0] | BtCommon             | INFO  | 2020-09-02 23:11:01,075 | Daemon DPDecoder is started 89449
[0x7fdfef64a5c0] | BtCommon             | INFO  | 2020-09-02 23:11:01,075 | Daemon DPDecoder is started 89450
[0x7fdfef64a5c0] | SyManager            | INFO  | 2020-09-02 23:11:01,079 | Total: 20, NumDtThreads: 8, NumComms: 0, NumSites: 1

[0x7fdfef64a5c0] | SyManager            | INFO  | 2020-09-02 23:11:01,079 | Lookaheads -> playback = 20, record = 20, stop = 2

Sy High Command Handler Thread ----- (140598975817280)
SY high priority cmd handler thread starts: C0026640
Sy Low Command Handler Thread ----- (140598967424576)
SY low priority cmd handler thread starts: BF825640
Sy Data Handler Thread ----- (140598959031872)
SY data handler thread starts: BF024640
Gs High Command Handler Thread ----- (140598933853760)
GS high priority cmd handler thread starts: BD821640
Gs Low Command Handler Thread ----- (140598925461056)
GS low priority cmd handler thread starts: BD020640
Dp High Command Handler Thread ----- (140598908675648)
[0x7fdfbc81f640] | GsManager            | INFO  | 2020-09-02 23:11:01,079 | Gs Processor Thread ----- (140598917068352)

Dp Low Command Handler Thread ----- (140598900282944)
DP low priority cmd handler thread starts: BB81D640
DP high priority cmd handler thread starts: BC01E640
GS processor thread starts: BC81F640
Local.Speed.Verbose switched OFF - ''
Dt High Command Handler Thread ----- (140598891890240)
Dt Low Command Handler Thread ----- (140598883497536)
DT high priority cmd handler thhread starts: BB01C640
DT low priority cmd handler thread starts: BA81B640
[0x7fdfbe022640] | SyManager            | ERROR | 2020-09-02 23:11:01,079 | Failed to connect to panel socket
[0x7fdfef64a5c0] | DtManager            | INFO  | 2020-09-02 23:11:01,079 | Using 8 generic IO threads
[0x7fdfba01a640] | DtManager            | INFO  | 2020-09-02 23:11:01,079 | Dt Data Handler Thread Started
DT data handler thread starts: BA01A640
[0x7fdfbe022640] | SyManager            | ERROR | 2020-09-02 23:11:01,079 | DRIVER: open /var/tmp/davinci_socket failed
[0x7fdfef64a5c0] | DtManager            | INFO  | 2020-09-02 23:11:01,080 | Total of 16 IO threads (including 8 generic and 8 Red decode threads)
[0x7fdfb9018640] | DtManager            | INFO  | 2020-09-02 23:11:01,080 | Dt Worker Thread Started
[0x7fdfb8817640] | DtManager            | INFO  | 2020-09-02 23:11:01,080 | Dt Worker Thread Started
[0x7fdfb6813640] | DtManager            | INFO  | 2020-09-02 23:11:01,080 | Dt Worker Thread Started
[0x7fdfb7815640] | DtManager            | INFO  | 2020-09-02 23:11:01,080 | Dt Worker Thread Started
[0x7fdfb480f640] | DtManager            | INFO  | 2020-09-02 23:11:01,080 | Dt Worker Thread Started
[0x7fdfb380d640] | DtManager            | INFO  | 2020-09-02 23:11:01,080 | Dt Worker Thread Started
[0x7fdfb9819640] | DtManager            | INFO  | 2020-09-02 23:11:01,080 | Dt Worker Thread Started
Ls High Command Handler Thread ----- (140598724036160)
[0x7fdfb6012640] | DtManager            | INFO  | 2020-09-02 23:11:01,080 | Dt Worker Thread Started
Ls Low Command Handler Thread ----- (140598715643456)
LS low priority cmd handler thread starts: B0807640
Ls Data Handler Thread ----- (140598707250752)
[0x7fdfb5811640] | DtManager            | INFO  | 2020-09-02 23:11:01,080 | Dt Worker Thread Started
Ls High Command Handler Thread ----- (140598698858048)
Ls Low Command Handler Thread ----- (140598690465344)
LS data handler thread starts: B0006640
LS low priority cmd handler thread starts: AF004640
[0x7fdfb5010640] | DtManager            | INFO  | 2020-09-02 23:11:01,080 | Dt Worker Thread Started
Ls Data Handler Thread ----- (140598682072640)
Ls High Command Handler Thread ----- (140598673679936)
LS data handler thread starts: AE803640
Ls Low Command Handler Thread ----- (140598665287232)
LS low priority cmd handler thread starts: AD801640
[0x7fdfb8016640] | DtManager            | INFO  | 2020-09-02 23:11:01,080 | Dt Worker Thread Started
Ls Data Handler Thread ----- (140598656894528)
Mem Data Transmitter Thread ----- (140598648501824)
[0x7fdfef64a5c0] | DbCommon2            | INFO  | 2020-09-02 23:11:01,080 | Loading dblist file: /home/christian/.local/share/DaVinciResolve/configs/.dblist
Mem data transmitter thread starts: AC7FF640
[0x7fdfb7014640] | DtManager            | INFO  | 2020-09-02 23:11:01,080 | Dt Worker Thread Started
[0x7fdfb300c640] | DtManager            | INFO  | 2020-09-02 23:11:01,080 | Dt Worker Thread Started
[0x7fdfb280b640] | DtManager            | INFO  | 2020-09-02 23:11:01,080 | Dt Worker Thread Started
[0x7fdfb200a640] | DtManager            | INFO  | 2020-09-02 23:11:01,080 | Dt Worker Thread Started
[0x7fdfb1809640] | DtManager            | INFO  | 2020-09-02 23:11:01,080 | Dt Worker Thread Started
[0x7fdfb400e640] | DtManager            | INFO  | 2020-09-02 23:11:01,080 | Dt Worker Thread Started
[0x7fdfad000640] | GPUManager           | INFO  | 2020-09-02 23:11:01,080 | Let There Be OpenCL Light!
[0x7fdfad000640] | GPUManager           | INFO  | 2020-09-02 23:11:01,084 | Start detecting OpenCL boards
[0x7fdfad000640] | GPUManager           | INFO  | 2020-09-02 23:11:01,084 | Skipping unqualified OpenCL platform: Clover
[0x7fdfad000640] | GPUManager           | INFO  | 2020-09-02 23:11:01,084 | Found qualified OpenCL board 0: platform - AMD Accelerated Parallel Processing, vendor - Advanced Micro Devices, Inc., id - 0x7fdfd0298e50, device name - Radeon RX 570 Series id - 0x7fdfe8982b10, global memory size (MB) - 7868, local memory size (KB) - 32, max global memory alloc size (MB) - 6491
[0x7fdfad000640] | GPUManager           | INFO  | 2020-09-02 23:11:01,084 | 1 OpenCL boards detected
[0x7fdfad000640] | GPUManager           | INFO  | 2020-09-02 23:11:01,084 | Board manager thread id 0xaae78640 policy 0 priority 0
[0x7fdfaae78640] | GPUManager           | INFO  | 2020-09-02 23:11:01,084 | Initializing GPU board 0 with context thread 0
[0x7fdfef64a5c0] | IO                   | ERROR | 2020-09-02 23:11:01,092 | Braw HRESULT = 0x80000004
[0x7fdfef64a5c0] | IO                   | INFO  | 2020-09-02 23:11:01,092 | Using DNxHR library v2.4.0.57r
[0x7fdfaae78640] | GPUManager           | INFO  | 2020-09-02 23:11:01,159 | Setting channel cache size on GPU board 0 to 4
[0x7fdfaae78640] | GPUManager           | INFO  | 2020-09-02 23:11:01,159 | Board manager 0 on thread 0 initialization done on GPU Radeon RX 570 Series

MidiInDummy: This class provides no functionality.


MidiOutDummy: This class provides no functionality.

[0x7fdfef64a5c0] | Fairlight            | INFO  | 2020-09-02 23:11:02,188 | 00.00.00.975(000): Running Fairlight (r011941-a2024b7)
[0x7fdfef64a5c0] | UI.GLContext         | INFO  | 2020-09-02 23:11:02,194 | Creating shared OpenGL context for this thread (2 total).
[0x7fdfef64a5c0] | UI.GLContext         | INFO  | 2020-09-02 23:11:02,200 | Initialized OpenGL 4.6 (requested 2.0) on device 'ATI Technologies Inc. Radeon RX 570 Series'
[0x7fdf3e9ff640] | UI.GLContext         | INFO  | 2020-09-02 23:11:02,200 | Creating shared OpenGL context for this thread (3 total).


==========[CRASH DUMP]==========
Please send this to support:

#TIME Wed Sep  2 23:11:02 2020 - Uptime 00:00:01 (hh:mm:ss)
#PROGRAM_NAME DaVinci Resolve v16.0.0.060 (Linux/Clang)

/opt/resolve/bin/resolve() [0x509f8b9]
/opt/resolve/bin/resolve() [0x509f0aa]
/usr/lib/libpthread.so.0(+0x140f0) [0x7fdff436c0f0]
Signal Number = 11

================================
[0x7fdfaae78640] | GPUManager           | INFO  | 2020-09-02 23:11:08,918 | Completed prebuild of basic OpenCL kernels in 7759 msec
[0x7fdfaae78640] | GPUManager           | INFO  | 2020-09-02 23:11:08,918 | Entering loop to wait for commands
[0x7fdfad000640] | GPUManager           | INFO  | 2020-09-02 23:11:08,918 | Finished initializing OpenCL board 0 <Radeon RX 570 Series> on platform <AMD Accelerated Parallel Processing> clock rate <1284> multiprocessor count <32> global mem size (MB) 7868, available mem size (MB) 0, shared mem size (KB) 32, on SBM[0|0]
[0x7fdfad000640] | GPUManager           | INFO  | 2020-09-02 23:11:08,918 | Hired OpenCL board 0 <Radeon RX 570 Series>
[0x7fdfad000640] | GPUManager           | INFO  | 2020-09-02 23:11:08,918 | Let There Be OpenCL Light, Done!!
Board 0 - Radeon_RX_570_Series
1 REACTOR GPU NAMES = Radeon_RX_570_Series,
LS data handler thread starts: AD000640
[0x7fdf3e9ff640] | CrashReport          | ERROR | 2020-09-02 23:11:09,205 | Compress() : Failed to add file to archive.
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
log4cxx: No appender could be found for logger (Main).
log4cxx: Please initialize the log4cxx system properly.

Now, as you suggested, I downgraded to Resolve 16.0 and removed the proprietary OpenGL driver. That still did not help. I also tried old Resolve 16.0 + proprietary OpenGL and that caused the same error as in the log above.

All three variants with proprietary OpenCL.
Davinci Resolve 17.1 on Windows 10 and Linux - AMD Radeon RX 570 8 GB - AMD Ryzen 5 3600 x6
Offline

Walter Sonius

  • Posts: 105
  • Joined: Wed May 03, 2017 9:53 am

Re: DaVinci Resolve on Linux - Install issues

PostThu Sep 03, 2020 4:52 pm

@Andreas56

You are sure Mesa OpenGL was also removed/setup functioning correctly when switching to/from AMDGPU Proprietary legacy OpenGL?
Offline

emilie

  • Posts: 6
  • Joined: Mon Apr 06, 2020 11:33 pm
  • Real Name: Emilie Roberts

genconfig is segfaulting on startup

PostFri Sep 04, 2020 9:47 pm

Something on my system got updated and now I can neither run Davinci or the installer. I had a working Resolve Studio 12.6.3 installation working fine. I'm not sure what got updated but today I could no longer launch the program.

I tried downloading 12.6.6 but could not launch the installer.

I realized both the app and the installer run "genconfig", this is segfaulting on `libqxcb.so` which is part of Qt5's `libqt5gui5` package. I updated this package from 15.12.5 to the latest 15.4.2 but am getting the same segfault.

Anyone else seeing this? Is there a way to work around genconfig?

Here is the gdb backtrace:
Code: Select all
Starting program: /opt/resolve/bin/genconfig
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7ffff56c8700 (LWP 49227)]

Thread 1 "genconfig" received signal SIGSEGV, Segmentation fault.
0x00007ffff599bb4a in ?? () from /opt/resolve/libs/plugins/platforms/libqxcb.so
(gdb) bt
#0  0x00007ffff599bb4a in ?? () from /opt/resolve/libs/plugins/platforms/libqxcb.so
#1  0x00007ffff599bb0e in ?? () from /opt/resolve/libs/plugins/platforms/libqxcb.so
#2  0x00007ffff5983395 in ?? () from /opt/resolve/libs/plugins/platforms/libqxcb.so
#3  0x00007ffff5987c5b in ?? () from /opt/resolve/libs/plugins/platforms/libqxcb.so
#4  0x00007ffff599bf6e in ?? () from /opt/resolve/libs/plugins/platforms/libqxcb.so
#5  0x00007ffff74a6051 in QPlatformIntegrationFactory::create(QString const&, QStringList const&, int&, char**, QString const&) () from /opt/resolve/bin/../libs/libQt5Gui.so.5
#6  0x00007ffff74b04ab in QGuiApplicationPrivate::createPlatformIntegration() () from /opt/resolve/bin/../libs/libQt5Gui.so.5
#7  0x00007ffff74b159b in QGuiApplicationPrivate::createEventDispatcher() () from /opt/resolve/bin/../libs/libQt5Gui.so.5
#8  0x00007ffff709ba45 in QCoreApplication::init() () from /opt/resolve/bin/../libs/libQt5Core.so.5
#9  0x00007ffff709b9b4 in QCoreApplication::QCoreApplication(QCoreApplicationPrivate&) () from /opt/resolve/bin/../libs/libQt5Core.so.5
#10 0x00007ffff74ae939 in QGuiApplication::QGuiApplication(QGuiApplicationPrivate&) () from /opt/resolve/bin/../libs/libQt5Gui.so.5
#11 0x00007ffff7aa20a2 in QApplication::QApplication(int&, char**, int) () from /opt/resolve/bin/../libs/libQt5Widgets.so.5
#12 0x0000000000400973 in main (argc=-173703288, argv=0x0) at main.cpp:7
Offline

JamesMaynardGelinas

  • Posts: 33
  • Joined: Thu Nov 16, 2017 10:27 am

Re: DaVinci Resolve on Linux - Install issues

PostSun Sep 06, 2020 9:40 pm

I'm running Resolve 16.1 on Ubuntu 19.10 with old ROCM OpenCL drivers because previously the AMDGPUPRO drivers didn't work with Fusion. While these older ROCM drivers do work with Fusion, they are very buggy in the color grading tab - often causing program crashes doing the simplest things.

Question: Is AMDGPUPRO 20.30 + AMD OpenCL libs finally working with Resolve? If I upgrade to Ubuntu 20.04 and install the latest AMDGPU is this known to work? Will I have to wipe everything and install a suppoerted CENTOS?

I'm even thinking of installing Windows just to keep Resolve functional. But I'd much rather run Linux.

Am a licensed Resolve Studio owner, if that matters.
Offline

GoldenDuckFloats

  • Posts: 2
  • Joined: Tue Sep 08, 2020 5:29 pm
  • Real Name: Maitland Gill

Re: DaVinci Resolve on Linux - Install issues

PostTue Sep 08, 2020 5:42 pm

My Operating System is Manjaro (Gnome) and while it appears that I was able to install the AUR package of DaVinci Resolve through yay, it crashes while loading. In the loading screen, it says "Looking for Control Surface".

https://files.catbox.moe/gw0hos.png

I believe it's talking about one of these: https://files.catbox.moe/jk1jcd.png
It has worked fine on Windows 10, so this piece of Hardware is not essential. The software does not seem to be available on other outlets such as snap, flatpak. Is there an additional package I can install that will fix this?
Offline
User avatar

QRTracks

  • Posts: 7
  • Joined: Thu Sep 10, 2020 5:25 pm
  • Real Name: David Gimenez

Re: DaVinci Resolve on Linux - Install issues

PostThu Sep 10, 2020 5:50 pm

I've succesfully installed Resolve 16.2.6 in my Ubuntu 20.04 with Radeon RX480 according to this youtube video tutorial installation process titled: "Installing AMD OpenCL ROCm driver Ubuntu 20.04"

I have this only one issue: I don't see nothing on the video preview window ( Cut and Edit ) otherwise I can see the video preview window on the Color tab.

Posted Images:
Image
Image
Image
Intel Xeon E5 1620v2
Radeon RX480
16GB RAM
Offline

GoldenDuckFloats

  • Posts: 2
  • Joined: Tue Sep 08, 2020 5:29 pm
  • Real Name: Maitland Gill

Re: DaVinci Resolve on Linux - Install issues

PostFri Sep 11, 2020 8:13 am

Um, guys. I don't think they're listening. :(
Offline

Walter Sonius

  • Posts: 105
  • Joined: Wed May 03, 2017 9:53 am

Re: DaVinci Resolve on Linux - Install issues

PostFri Sep 11, 2020 8:43 am

QRTracks wrote:I've succesfully installed Resolve 16.2.6 in my Ubuntu 20.04 with Radeon RX480 according to this youtube video tutorial installation process titled: "Installing AMD OpenCL ROCm driver Ubuntu 20.04"
...


Interresting to see that with only the OpenCL supplement from ROCm(instead of the AMDGPU pro OpenCL), you we're able to start Davinci resolve. Could you check if you really run OpenGL from Mesa and not AMDGPU pro propietary legacy OpenGL, because that also seem to be a requirement since DR 16.1 or higher?

Please run the following command in the terminal and post the output:
Code: Select all
glxinfo | grep Mesa


Have you also tried installing only the AMDGPU OpenCL drivers and see if that worked?
Offline

Walter Sonius

  • Posts: 105
  • Joined: Wed May 03, 2017 9:53 am

Re: DaVinci Resolve on Linux - Install issues

PostFri Sep 11, 2020 8:55 am

JamesMaynardGelinas wrote:Question: Is AMDGPUPRO 20.30 + AMD OpenCL libs finally working with Resolve? If I upgrade to Ubuntu 20.04 and install the latest AMDGPU is this known to work? Will I have to wipe everything and install a suppoerted CENTOS?


If you have enough RAM, you may just try ubuntu 20.04.1 from USB live RAM session and test if Fusion Tab/Page is working for you?

I haven't tested Fusion part but in 20.04.1 with AMDGPU pro (OpenGL & OpenCL) install DR 16.2.x was playing 4k&6k braw examples fine including intensity-pro output (DesktopVideo 11.6.0 driver).
Offline
User avatar

QRTracks

  • Posts: 7
  • Joined: Thu Sep 10, 2020 5:25 pm
  • Real Name: David Gimenez

Re: DaVinci Resolve on Linux - Install issues

PostFri Sep 11, 2020 11:50 am

Walter Sonius wrote:
QRTracks wrote:I've succesfully installed Resolve 16.2.6 in my Ubuntu 20.04 with Radeon RX480 according to this youtube video tutorial installation process titled: "Installing AMD OpenCL ROCm driver Ubuntu 20.04"
...


Interresting to see that with only the OpenCL supplement from ROCm(instead of the AMDGPU pro OpenCL), you we're able to start Davinci resolve. Could you check if you really run OpenGL from Mesa and not AMDGPU pro propietary legacy OpenGL, because that also seem to be a requirement since DR 16.1 or higher?

Please run the following command in the terminal and post the output:
Code: Select all
glxinfo | grep Mesa


Have you also tried installing only the AMDGPU OpenCL drivers and see if that worked?



Here is my: glxinfo output:
client glx vendor string: Mesa Project and SGI
OpenGL core profile version string: 4.6 (Core Profile) Mesa 20.1.7 - kisak-mesa PPA
OpenGL version string: 4.6 (Compatibility Profile) Mesa 20.1.7 - kisak-mesa PPA
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 20.1.7 - kisak-mesa PPA

AMDGPU OpenCL drivers doen't worked for me at all, in fact I don't recommend AMDGPU drivers for any use, games, 3D apps, etc.
Intel Xeon E5 1620v2
Radeon RX480
16GB RAM
Offline

Walter Sonius

  • Posts: 105
  • Joined: Wed May 03, 2017 9:53 am

Re: DaVinci Resolve on Linux - Install issues

PostSat Sep 12, 2020 8:51 am

QRTracks wrote:...
Here is my: glxinfo output:
client glx vendor string: Mesa Project and SGI
OpenGL core profile version string: 4.6 (Core Profile) Mesa 20.1.7 - kisak-mesa PPA
OpenGL version string: 4.6 (Compatibility Profile) Mesa 20.1.7 - kisak-mesa PPA
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 20.1.7 - kisak-mesa PPA
...


Again very interesting to see you have replaced the default Mesa stack with kisak-mesa PPA. This may indeed fix the AMDGPU propieraty OpenGL requirement for Davinci Resolve 16.1 & higher, still have to test/confirm that.

Did you also replace more default graphics/xorg or kernel related modules with other PPA's, because that may be the reason the default Ubuntu 20.04 amdgpu kernel driver did not work with the default AMDGPU 20.04 proprietary driver (OpenGL & OpenCL components)?
Offline
User avatar

QRTracks

  • Posts: 7
  • Joined: Thu Sep 10, 2020 5:25 pm
  • Real Name: David Gimenez

Re: DaVinci Resolve on Linux - Install issues

PostSat Sep 12, 2020 12:17 pm

Did you also replace more default graphics/xorg or kernel related modules with other PPA's, because that may be the reason the default Ubuntu 20.04 amdgpu kernel driver did not work with the default AMDGPU 20.04 proprietary driver (OpenGL & OpenCL components)?


According to the Rocm installation website, I summarize the steps to install the opencl drivers:

Code: Select all
sudo apt update
sudo apt install libnuma-dev libncurses5
sudo reboot
wget -q -O - http://repo.radeon.com/rocm/rocm.gpg.key | sudo apt-key add -
echo 'deb [arch=amd64] http://repo.radeon.com/rocm/apt/debian/ xenial main' | sudo tee /etc/apt/sources.list.d/rocm.list
sudo apt update
sudo apt install rocm-dkms && sudo reboot
sudo usermod -a -G video $LOGNAME
sudo usermod -a -G render $LOGNAME
echo 'export PATH=$PATH:/opt/rocm/bin:/opt/rocm/profiler/bin:/opt/rocm/opencl/bin' | sudo tee -a /etc/profile.d/rocm.sh


For testing de correct rocm opencl installation type:

Code: Select all
rocminfo
clinfo


For Davinci Resolve 16.2.6 installation I used the original DaVinci_Resolve_Studio_16.2.6_Linux.run, thats it, no makeresolvedeb or whatethever

About kisak-mesa, I've installed this drivers to be able to play Steam games with the proton launcher (steamplay), for certain games it's needed, but I think that with the original mesa drivers that come in ubuntu 20.04, everything would work the same way.
Intel Xeon E5 1620v2
Radeon RX480
16GB RAM
Offline

Fafaua

  • Posts: 6
  • Joined: Fri Sep 25, 2020 10:07 am
  • Location: Europe
  • Real Name: Flavia de Strasser

Re: DaVinci Resolve on Linux - Install issues

PostSat Sep 26, 2020 10:48 am

Hello,
I posted a thread yesterday but maybe if I write here it makes more sense. I am migrating form Macbook Pro to a new PC for editing and I'm considering Linux.
I wonder if someone here can give some feedback on running DR on Linux for professional editing, if it's more or less the same of other OS or still lacking, because I've seen a lot have been changed since the start of this thread.
What distro would be better, considering I'm devoting this PC to video editing on DR?
If you also can provide a link to some installing tutorial or procedure it would be very appreciated as well.
I hope this was the right place to ask this questions, couldn't find a more specific thread, maybe DR/linux users are not so many, so many thanks to anyone can help or just give some info about it, cheers:)!
Offline

Dieter Scheel

  • Posts: 243
  • Joined: Tue Feb 14, 2017 11:15 am
  • Location: Germany

Re: DaVinci Resolve on Linux - Install issues

PostSat Sep 26, 2020 11:21 am

Hi,

if you want a dedicated Linux-PC for editing I'd consider using CentOS as provided by Blackmagic Design - installation is also available from Blackmagic Design. If instead you like to have a general purpose Linux Box then you might consider a more popular distribution like Ubuntu or Linux Mint. I am using Resolve Studio on Linux Mint and did not have any problems whatsoever. It also depends on your hardware - you should avoid AMD graphic cards and use Nvidia instead because Resolve is using CUDA and that's only available on Nvidia cards. If you don't have Nvidia you will rely on OpenCL which is way slower than CUDA.

Blackmagic Dsign also has a list of minimum system requirements on their web site.

It's all a matter of a good balance between hardware and software.
Resolve Studio 18.6 | Linux Mint 21.3 'Virginia' | 32 GB | i7 | RTX2070 8 GB (535.161.07) | 2 TB SSD | 48 TB NAS
Lenovo Legion | Resolve Studio 18.6 | Linux Mint 21.3 'Virginia' | 16 GB | i5 | GTX1650 4 GB (535.161.07) | 1.25 TB SSD
Offline

kobayashi

  • Posts: 111
  • Joined: Mon May 27, 2019 4:27 pm
  • Real Name: Alessandro Zanoboni

Re: DaVinci Resolve on Linux - Install issues

PostSat Sep 26, 2020 12:16 pm

Hi,
pretty much what Dieter said

also, please do bear in mind that on Linux you have limitations on the supported codecs, especially audio codecs: you cannot import AAC and MP3 on both free and Studio, h26x export is available only on Studio with Nvidia GPUs.
Not a real problem since material can be easily transcoded to be ingested with ffmpeg and other free and open source tools easily available on Linux.
Offline

Fafaua

  • Posts: 6
  • Joined: Fri Sep 25, 2020 10:07 am
  • Location: Europe
  • Real Name: Flavia de Strasser

Re: DaVinci Resolve on Linux - Install issues

PostSun Sep 27, 2020 8:56 am

I will have an NVIDIA card, still building it... I guess that I will continue to use macbook for browsing and simple stuff and using the PC mainly for editing, though linux looks very beautiful to me. Now I find Centos a little intimidating and server oriented, so, since I see that there are Debian users, I will probably go there. Your experience with Mint is encouraging, thank you very much!
Offline

Dieter Scheel

  • Posts: 243
  • Joined: Tue Feb 14, 2017 11:15 am
  • Location: Germany

Re: DaVinci Resolve on Linux - Install issues

PostSun Sep 27, 2020 10:04 am

You're welcome :)
Have fun.
Resolve Studio 18.6 | Linux Mint 21.3 'Virginia' | 32 GB | i7 | RTX2070 8 GB (535.161.07) | 2 TB SSD | 48 TB NAS
Lenovo Legion | Resolve Studio 18.6 | Linux Mint 21.3 'Virginia' | 16 GB | i5 | GTX1650 4 GB (535.161.07) | 1.25 TB SSD
Offline

Andreas56

  • Posts: 5
  • Joined: Sat Apr 04, 2020 7:29 am
  • Real Name: Andreas Schrödinger

Re: DaVinci Resolve on Linux - Install issues

PostSun Oct 04, 2020 6:42 pm

Walter Sonius wrote:@Andreas56

You are sure Mesa OpenGL was also removed/setup functioning correctly when switching to/from AMDGPU Proprietary legacy OpenGL?


@Walter Sonius
Yes. I additionally tried a method recommended in the Arch Wiki to use specific drivers for a single application, so yeah, no Mesa for Resolve. Still the same error.
Davinci Resolve 17.1 on Windows 10 and Linux - AMD Radeon RX 570 8 GB - AMD Ryzen 5 3600 x6
Offline

Kris Limbach

  • Posts: 97
  • Joined: Sun Mar 05, 2017 9:07 am

Re: DaVinci Resolve on Linux - Install issues

PostMon Oct 05, 2020 12:46 pm

Hi All, I tried a few years ago and gave up, but now I really wanna try again ;) so : I can install davinci resolve well on my machine via the makeresolve .deb , version 16.2.1 , starting is fine, then it wont find CUDA and will be running with open GL , and when loading video files, no matter what file format: I can see the thumbnail for a bit, then it greys out and it wont play any more.. any suggestions?

attached the log file and here the clinfo;
Code: Select all
clinfo
Number of platforms                               1
  Platform Name                                   NVIDIA CUDA
  Platform Vendor                                 NVIDIA Corporation
  Platform Version                                OpenCL 1.2 CUDA 10.2.185
  Platform Profile                                FULL_PROFILE
  Platform Extensions                             cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_fp64 cl_khr_byte_addressable_store cl_khr_icd cl_khr_gl_sharing cl_nv_compiler_options cl_nv_device_attribute_query cl_nv_pragma_unroll cl_nv_copy_opts cl_nv_create_buffer cl_khr_int64_base_atomics cl_khr_int64_extended_atomics
  Platform Extensions function suffix             NV

  Platform Name                                   NVIDIA CUDA
Number of devices                                 1
  Device Name                                     GeForce RTX 2070 with Max-Q Design
  Device Vendor                                   NVIDIA Corporation
  Device Vendor ID                                0x10de
  Device Version                                  OpenCL 1.2 CUDA
  Driver Version                                  440.100
  Device OpenCL C Version                         OpenCL C 1.2
  Device Type                                     GPU
  Device Topology (NV)                            PCI-E, 01:00.0
  Device Profile                                  FULL_PROFILE
  Device Available                                Yes
  Compiler Available                              Yes
  Linker Available                                Yes
  Max compute units                               36
  Max clock frequency                             1125MHz
  Compute Capability (NV)                         7.5
  Device Partition                                (core)
    Max number of sub-devices                     1
    Supported partition types                     None
    Supported affinity domains                    (n/a)
  Max work item dimensions                        3
  Max work item sizes                             1024x1024x64
  Max work group size                             1024
  Preferred work group size multiple              32
  Warp size (NV)                                  32
  Preferred / native vector sizes                 
    char                                                 1 / 1       
    short                                                1 / 1       
    int                                                  1 / 1       
    long                                                 1 / 1       
    half                                                 0 / 0        (n/a)
    float                                                1 / 1       
    double                                               1 / 1        (cl_khr_fp64)
  Half-precision Floating-point support           (n/a)
  Single-precision Floating-point support         (core)
    Denormals                                     Yes
    Infinity and NANs                             Yes
    Round to nearest                              Yes
    Round to zero                                 Yes
    Round to infinity                             Yes
    IEEE754-2008 fused multiply-add               Yes
    Support is emulated in software               No
    Correctly-rounded divide and sqrt operations  Yes
  Double-precision Floating-point support         (cl_khr_fp64)
    Denormals                                     Yes
    Infinity and NANs                             Yes
    Round to nearest                              Yes
    Round to zero                                 Yes
    Round to infinity                             Yes
    IEEE754-2008 fused multiply-add               Yes
    Support is emulated in software               No
  Address bits                                    64, Little-Endian
  Global memory size                              8370061312 (7.795GiB)
  Error Correction support                        No
  Max memory allocation                           2092515328 (1.949GiB)
  Unified memory for Host and Device              No
  Integrated memory (NV)                          No
  Minimum alignment for any data type             128 bytes
  Alignment of base address                       4096 bits (512 bytes)
  Global Memory cache type                        Read/Write
  Global Memory cache size                        1179648 (1.125MiB)
  Global Memory cache line size                   128 bytes
  Image support                                   Yes
    Max number of samplers per kernel             32
    Max size for 1D images from buffer            268435456 pixels
    Max 1D or 2D image array size                 2048 images
    Max 2D image size                             32768x32768 pixels
    Max 3D image size                             16384x16384x16384 pixels
    Max number of read image args                 256
    Max number of write image args                32
  Local memory type                               Local
  Local memory size                               49152 (48KiB)
  Registers per block (NV)                        65536
  Max number of constant args                     9
  Max constant buffer size                        65536 (64KiB)
  Max size of kernel argument                     4352 (4.25KiB)
  Queue properties                               
    Out-of-order execution                        Yes
    Profiling                                     Yes
  Prefer user sync for interop                    No
  Profiling timer resolution                      1000ns
  Execution capabilities                         
    Run OpenCL kernels                            Yes
    Run native kernels                            No
    Kernel execution timeout (NV)                 Yes
  Concurrent copy and kernel execution (NV)       Yes
    Number of async copy engines                  3
  printf() buffer size                            1048576 (1024KiB)
  Built-in kernels                                (n/a)
  Device Extensions                               cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_fp64 cl_khr_byte_addressable_store cl_khr_icd cl_khr_gl_sharing cl_nv_compiler_options cl_nv_device_attribute_query cl_nv_pragma_unroll cl_nv_copy_opts cl_nv_create_buffer cl_khr_int64_base_atomics cl_khr_int64_extended_atomics

NULL platform behavior
  clGetPlatformInfo(NULL, CL_PLATFORM_NAME, ...)  NVIDIA CUDA
  clGetDeviceIDs(NULL, CL_DEVICE_TYPE_ALL, ...)   Success [NV]
  clCreateContext(NULL, ...) [default]            Success [NV]
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_DEFAULT)  No platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_CPU)  No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_GPU)  No platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_ACCELERATOR)  No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_CUSTOM)  Invalid device type for platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_ALL)  No platform

ICD loader properties
  ICD loader Name                                 OpenCL ICD Loader
  ICD loader Vendor                               OCL Icd free software
  ICD loader Version                              2.2.11
  ICD loader Profile                              OpenCL 2.1
Attachments
log_archive_20201005-143326.tgz
(96.92 KiB) Downloaded 768 times
Offline

Heep042

  • Posts: 1
  • Joined: Sat Oct 03, 2020 5:14 pm
  • Real Name: Aurimas Blažulionis

Re: DaVinci Resolve on Linux - Install issues

PostTue Oct 06, 2020 4:02 pm

I got Resolve to launch using Mesa OpenGL, and just the amdocl64 part from AMDGPU-PRO. Color grading seems to work, transitions work (including fusion ones). The issue was one OpenCL extension misbehaving (particularly, clGetGLContextInfoKHR), so I blacklisted it using LD_PRELOAD trick, and all the code for it can be found on my GitHub repo (h33p/resolve-amdocl-fix).

Alternatively, try this GDB script:
Code: Select all
set breakpoint pending on
b clGetGLContextInfoKHR
run
p $device_ptr = (unsigned long*)$rcx
finish
p *$device_ptr = 0
p $rax = -30
c
Offline

Johan Cramer

  • Posts: 245
  • Joined: Mon Aug 26, 2013 3:33 pm

Re: DaVinci Resolve on Linux - Install issues

PostTue Oct 06, 2020 6:18 pm

So it seems that Resolve (Studio) 16.2.7, when having been turned into a .deb archive with makeresolvedeb, no longer runs on Debian 10/stable with working CUDA because it requires a newer Nvidia driver.

Does anyone have experience with 16.2.7 under Debian testing (where newer Nvidia CUDA drivers are provided)?
Offline

Daniel Tufvesson

  • Posts: 274
  • Joined: Sun Sep 18, 2016 11:03 am
  • Location: Stockholm, Sweden

Re: DaVinci Resolve on Linux - Install issues

PostTue Oct 06, 2020 7:06 pm

Johan Cramer wrote:So it seems that Resolve (Studio) 16.2.7, when having been turned into a .deb archive with makeresolvedeb, no longer runs on Debian 10/stable with working CUDA because it requires a newer Nvidia driver.

Does anyone have experience with 16.2.7 under Debian testing (where newer Nvidia CUDA drivers are provided)?
Yes, I have the same experience. 16.2.7 no longer runs on Debian 10 since the NVIDIA driver is too old. It does however work very well under Debian bullseye/sid that comes with NVIDIA driver 450.66.
Shoot - BMCC | BMPCC | BMPCC4K | BMVA | GH5
Edit - Resolve Studio 18.1 | Debian Linux 12 | i7-3930K CPU | X79 MB | 32GB RAM | GTX1080 GPU | Speed Editor
Monitor - Decklink SDI, SDI Duo, SDI 4K, Intensity Pro
danieltufvesson.com/makeresolvedeb
Offline

ririri

  • Posts: 14
  • Joined: Wed Oct 14, 2020 10:17 pm
  • Real Name: Richard Suchard

Re: DaVinci Resolve on Linux - Install issues

PostWed Oct 14, 2020 11:01 pm

first of all thanks for all the helpful info that is posted here!
I've read through this thread (and a couple more) which helped me in getting a better idea of my problem but unfortately not really coming to a solution. I succesfully installed Resolve 16.2.7 on a Debian 10 machine (Intel CPU, Nvidia GPU) via makeresolvedeb. I had installed the adequate Nvidia 450.66 driver beforehand via buster backports and it seemd to work fine (Nvidia X Server Settings App works and the card works fine in Blender as well).
I do have the GPU settings set to discrete in BIOS and run the system solely on the nvidia card (Quadro T2000).

When I try to run Resolve, it crashes, what seems to be due to missing OpenCL drivers.
Also clinfo command in terminal returns with: "0" which seems to be the issue..?

part of the Resolve log:

[0x7f48b001e400] | Main | INFO | 2020-10-14 22:12:09,682 | There is no OpenCL platform
[0x7f48b001e400] | Main | INFO | 2020-10-14 22:12:09,715 | Only 1 display GPU found. Using OpenCL for processing.
[0x7f48b001e400] | Main | INFO | 2020-10-14 22:12:09,715 | Not GLmap capable. GPUs: 0 discrete, 0 integrated, 0 external. Auto mapping, OpenCL processing, main display not on external GPU.


Interstingly, it seems to be able to "connect" to my gpu at a different stage:
[0x7f48b001e400] | Fairlight | INFO | 2020-10-14 22:12:11,825 | 00.00.00.969(000): Running Fairlight (r001014-43fe498b)
[0x7f48b001e400] | UI.GLContext | INFO | 2020-10-14 22:12:11,905 | Creating shared OpenGL context for this thread (2 total).
[0x7f48b001e400] | UI.GLContext | INFO | 2020-10-14 22:12:11,909 | Initialized OpenGL 4.6 (requested 2.0) on device 'NVIDIA Corporation Quadro T2000/PCIe/SSE2'
All textures are loaded : 1.
[0x7f48b001e400] | Fusion | INFO | 2020-10-14 22:12:12,064 | Fusion Build: r067722-ef6f045d_004 (Sep 15 2020 11:32:26)
[0x7f48b001e400] | Fusion | INFO | 2020-10-14 22:12:12,064 | fusionsystem: = "/opt/resolve/libs/Fusion/libfusionsystem.so"
[0x7f48b001e400] | Fusion | INFO | 2020-10-14 22:12:12,068 | FusionLibs: = "/opt/resolve/libs/Fusion/"
[0x7f48b001e400] | Fusion | INFO | 2020-10-14 22:12:12,068 | UserData: = "/home/user/.local/share/DaVinciResolve/Fusion"
[0x7f48b001e400] | Fusion | INFO | 2020-10-14 22:12:12,068 | Profiles: = "UserData:Profiles/"


dpkg -l | grep opencl returns:

user@user-pc:~$ dpkg -l | grep opencl
ii ocl-icd-libopencl1:amd64 2.2.12-2 amd64 Generic OpenCL ICD Loader
ii ocl-icd-opencl-dev:amd64 2.2.12-2 amd64 OpenCL development files
ii opencl-c-headers 2.2~2019.01.17-g49f07d3-1 all OpenCL (Open Computing Language) C header files


BM RAW Speed Test works flawlessly in accessing CUDA (and also shows that my system, although surely no high end machine, would -theoretically- be quite prepared to work from a performance point of view :roll: )

So while the nvidia installer seemed to have installed fine via Debian backports, it does not seem to have installed the necessary openCL libraries?

I was tempted to install nvidia-libopencl1 via synaptic but since this would automatically remove lots of my CUDA libraries i did not dare to do so (as I honestly still do not really understand why I need the OpenCL Framework if Resolve is anyway using CUDA? missing knowledge here..).

I would be grateful for any support or ideas. Thanks again to Daniel Tufvesson and others for providing easier access for this software on open source platforms and sharing their skills and knowledge with the lesser linux and command-line-experienced individuals like me.
Offline

Daniel Tufvesson

  • Posts: 274
  • Joined: Sun Sep 18, 2016 11:03 am
  • Location: Stockholm, Sweden

Re: DaVinci Resolve on Linux - Install issues

PostThu Oct 15, 2020 2:56 pm

ririri wrote:first of all thanks for all the helpful info that is posted here!
I've read through this thread (and a couple more) which helped me in getting a better idea of my problem but unfortately not really coming to a solution. I succesfully installed Resolve 16.2.7 on a Debian 10 machine (Intel CPU, Nvidia GPU) via makeresolvedeb. I had installed the adequate Nvidia 450.66 driver beforehand via buster backports and it seemd to work fine (Nvidia X Server Settings App works and the card works fine in Blender as well).
I do have the GPU settings set to discrete in BIOS and run the system solely on the nvidia card (Quadro T2000).

When I try to run Resolve, it crashes, what seems to be due to missing OpenCL drivers.
Also clinfo command in terminal returns with: "0" which seems to be the issue..?

part of the Resolve log:

[0x7f48b001e400] | Main | INFO | 2020-10-14 22:12:09,682 | There is no OpenCL platform
[0x7f48b001e400] | Main | INFO | 2020-10-14 22:12:09,715 | Only 1 display GPU found. Using OpenCL for processing.
[0x7f48b001e400] | Main | INFO | 2020-10-14 22:12:09,715 | Not GLmap capable. GPUs: 0 discrete, 0 integrated, 0 external. Auto mapping, OpenCL processing, main display not on external GPU.


Interstingly, it seems to be able to "connect" to my gpu at a different stage:
[0x7f48b001e400] | Fairlight | INFO | 2020-10-14 22:12:11,825 | 00.00.00.969(000): Running Fairlight (r001014-43fe498b)
[0x7f48b001e400] | UI.GLContext | INFO | 2020-10-14 22:12:11,905 | Creating shared OpenGL context for this thread (2 total).
[0x7f48b001e400] | UI.GLContext | INFO | 2020-10-14 22:12:11,909 | Initialized OpenGL 4.6 (requested 2.0) on device 'NVIDIA Corporation Quadro T2000/PCIe/SSE2'
All textures are loaded : 1.
[0x7f48b001e400] | Fusion | INFO | 2020-10-14 22:12:12,064 | Fusion Build: r067722-ef6f045d_004 (Sep 15 2020 11:32:26)
[0x7f48b001e400] | Fusion | INFO | 2020-10-14 22:12:12,064 | fusionsystem: = "/opt/resolve/libs/Fusion/libfusionsystem.so"
[0x7f48b001e400] | Fusion | INFO | 2020-10-14 22:12:12,068 | FusionLibs: = "/opt/resolve/libs/Fusion/"
[0x7f48b001e400] | Fusion | INFO | 2020-10-14 22:12:12,068 | UserData: = "/home/user/.local/share/DaVinciResolve/Fusion"
[0x7f48b001e400] | Fusion | INFO | 2020-10-14 22:12:12,068 | Profiles: = "UserData:Profiles/"


dpkg -l | grep opencl returns:

user@user-pc:~$ dpkg -l | grep opencl
ii ocl-icd-libopencl1:amd64 2.2.12-2 amd64 Generic OpenCL ICD Loader
ii ocl-icd-opencl-dev:amd64 2.2.12-2 amd64 OpenCL development files
ii opencl-c-headers 2.2~2019.01.17-g49f07d3-1 all OpenCL (Open Computing Language) C header files


BM RAW Speed Test works flawlessly in accessing CUDA (and also shows that my system, although surely no high end machine, would -theoretically- be quite prepared to work from a performance point of view :roll: )

So while the nvidia installer seemed to have installed fine via Debian backports, it does not seem to have installed the necessary openCL libraries?

I was tempted to install nvidia-libopencl1 via synaptic but since this would automatically remove lots of my CUDA libraries i did not dare to do so (as I honestly still do not really understand why I need the OpenCL Framework if Resolve is anyway using CUDA? missing knowledge here..).

I would be grateful for any support or ideas. Thanks again to Daniel Tufvesson and others for providing easier access for this software on open source platforms and sharing their skills and knowledge with the lesser linux and command-line-experienced individuals like me.
Hi Richard, welcome to the forum!

If you hold down ctrl+, ("control" + "comma") when you start Resolve you should be able to reach the configuration menu. Look under "Memory and GPU" -> "GPU configuration". Can you see your GPU there? It looks like there is something wrong with the driver installation. In your case Resolve should be using CUDA and not even mention OpenCL in the log.

Screenshot_select-area_20201015164159.png
Screenshot_select-area_20201015164159.png (38 KiB) Viewed 95954 times


Which version of libcuda do you have installed? This is how it looks in Debian 11 (should be relatively close to the Debian 10 backport)
Code: Select all
$ dpkg -l | grep libcuda
ii  libcuda1:amd64           450.66-1          amd64        NVIDIA CUDA Driver Library
Shoot - BMCC | BMPCC | BMPCC4K | BMVA | GH5
Edit - Resolve Studio 18.1 | Debian Linux 12 | i7-3930K CPU | X79 MB | 32GB RAM | GTX1080 GPU | Speed Editor
Monitor - Decklink SDI, SDI Duo, SDI 4K, Intensity Pro
danieltufvesson.com/makeresolvedeb
Offline

ririri

  • Posts: 14
  • Joined: Wed Oct 14, 2020 10:17 pm
  • Real Name: Richard Suchard

Re: DaVinci Resolve on Linux - Install issues

PostThu Oct 15, 2020 3:27 pm

Thanks Daniel! I am able to reach the settings screen even without ctrl+ after Resolve let me know it was unable to find OpenCL. I can then also choose GPU Config: CUDA -> manual -> Quadro T2000. But shortly after clicking Save the program crashes. Alternatively I could choose a Storage Folder and crashes directly after that without even accessing the GPU config.

The log file does not seem to give any further hints, but maybe I am missing something:
https://paste.debian.net/1167311/

dpkg -l | grep libcuda returns:
$ dpkg -l | grep libcuda
ii libcuda1:amd64 450.66-1~bpo10+1 amd64 NVIDIA CUDA Driver Library
ii libcuda1:i386 450.66-1~bpo10+1 i386 NVIDIA CUDA Driver Library
ii libcudart10.1:amd64 10.1.243-6~bpo10+1 amd64 NVIDIA CUDA Runtime Library

could it be that that the 2 driver libraries amd64 and:i386 conflict while starting Resolve?
Offline

ririri

  • Posts: 14
  • Joined: Wed Oct 14, 2020 10:17 pm
  • Real Name: Richard Suchard

Re: DaVinci Resolve on Linux - Install issues

PostFri Oct 16, 2020 9:28 am

So I managed to get Resolve 16.2.7 working on Debian 10. I'm not sure if documenting my way of resolving the issue will be much help to others as I have the impression the issues might have been related to my specific setup (Debian 10 stable with a newer kernel due to specific hardware driver necessities) but here we go:

As mentioned, I had installed the 450.66 nvidia driver via backports stable. The installation went well but for some reason did not install any OpenCL ICD Profile (which appears to be needed by resolve, even though it's really crunching the numbers later with CUDA). It did install the nvidia cuda toolkit and using the GPU with Blender was working fine.
Trying to install the OpenCL ICD afterwards was not possible as it conflicted with some of the CUDA libraries (of the same 450.66 driver version) which I did not dare to remove.

I purged the whole nvidia drivers and reinstalled v 455.60 again via backports. This time, funny enough, the install left out even more libraries, not installing any OpenCL ICD but also not installing the CUDA toolkit. So I was running an xserver on my GPU but none of my programs were able to access it. But contrary to the previous situation I now could install the OpenCL icd (nvidia-openCL-icd) without any package conflicts. For people using synaptic: you can choose to install the newer version from backports via: Package -> Force Version. After doing this, Resolve started flawlessly.

I did some test renders and everything incl. GPU Scopes looks good so far. While I like to have a professional feature set, my NLE work is generally directed towards classic AB editing. So I am seldom in need of the more complex functionalities or very demanding grades, therefore can't tell you, if each and every function is working as good as it should.
If anybody wants me to test out something on the system I'd be happy to do it, just let me know (keep in mind at the moment I am not running the studio version).

Thanks to Daniel and others for sharing their thoughts and ideas on the issue!
Offline

dtbaker

  • Posts: 1
  • Joined: Wed Oct 21, 2020 6:09 am
  • Real Name: dtb aker

Re: DaVinci Resolve on Linux - Install issues

PostWed Oct 21, 2020 6:25 am

Can anyone please help me figure out what's going on here with the seg fault on Linux? I have gone through a linux re-install and 4 nvidia driver versions and still no dice. I've never been able to run davinci successfully :(

I get a completely black (or white, depending on nvidia driver) window appear the very first time running `/opt/resolve/bin/resolve`

This same thing happens every time I remove `~/.local/share/DaVinciResolve/` ^^^

I get the same blank window when running `/opt/resolve/Onboarding/DaVinci_Resolve_Welcome` manually, with a whole bunch of errors like: `qt.network.ssl: QSslSocket: cannot call unresolved function BLAH`

After I kill that initial welcome message, and try to run resolve again with `/opt/resolve/bin/resolve` I get a segfault like this:

Code: Select all
/opt/resolve/bin/resolve
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
16.2.7 (#010) Linux/Clang
Main thread starts: 20DFF640
log4cxx: setFile(./logs/rollinglog.txt,true) call failed.
log4cxx: IO Exception : status code = 2
[0x7f8a20dff640] | Undefined            | INFO  | 2020-10-21 16:18:08,174 | --------------------------------------------------------------------------------
log4cxx: No output stream or file set for the appender named [RollLogAppender].
[0x7f8a20dff640] | Undefined            | INFO  | 2020-10-21 16:18:08,174 | Loaded log config from /home/dtbaker/.local/share/DaVinciResolve/configs/log-conf.xml
[0x7f8a20dff640] | Undefined            | INFO  | 2020-10-21 16:18:08,174 | --------------------------------------------------------------------------------
Aborted (core dumped)


`clinfo` is:

Code: Select all
clinfo
Number of platforms                               2
  Platform Name                                   NVIDIA CUDA
  Platform Vendor                                 NVIDIA Corporation
  Platform Version                                OpenCL 1.2 CUDA 11.1.70
  Platform Profile                                FULL_PROFILE
  Platform Extensions                             cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_fp64 cl_khr_byte_addressable_store cl_khr_icd cl_khr_gl_sharing cl_nv_compiler_options cl_nv_device_attribute_query cl_nv_pragma_unroll cl_nv_copy_opts cl_nv_create_buffer cl_khr_int64_base_atomics cl_khr_int64_extended_atomics cl_khr_device_uuid
  Platform Extensions function suffix             NV

  Platform Name                                   Intel(R) OpenCL HD Graphics
  Platform Vendor                                 Intel(R) Corporation
  Platform Version                                OpenCL 2.1
  Platform Profile                                FULL_PROFILE
  Platform Extensions                             cl_khr_byte_addressable_store cl_khr_fp16 cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_icd cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_intel_subgroups cl_intel_required_subgroup_size cl_intel_subgroups_short cl_khr_spir cl_intel_accelerator cl_intel_driver_diagnostics cl_khr_priority_hints cl_khr_throttle_hints cl_khr_create_command_queue cl_intel_subgroups_char cl_intel_subgroups_long cl_khr_fp64 cl_khr_subgroups cl_khr_il_program cl_intel_spirv_device_side_avc_motion_estimation cl_intel_spirv_media_block_io cl_intel_spirv_subgroups cl_khr_spirv_no_integer_wrap_decoration cl_intel_unified_shared_memory_preview cl_khr_mipmap_image cl_khr_mipmap_image_writes cl_intel_planar_yuv cl_intel_packed_yuv cl_intel_motion_estimation cl_intel_device_side_avc_motion_estimation cl_intel_advanced_motion_estimation cl_khr_int64_base_atomics cl_khr_int64_extended_atomics cl_khr_image2d_from_buffer cl_khr_depth_images cl_intel_media_block_io cl_khr_3d_image_writes cl_intel_va_api_media_sharing
  Platform Host timer resolution                  1ns
  Platform Extensions function suffix             INTEL

  Platform Name                                   NVIDIA CUDA
Number of devices                                 1
  Device Name                                     GeForce GTX 1050
  Device Vendor                                   NVIDIA Corporation
  Device Vendor ID                                0x10de
  Device Version                                  OpenCL 1.2 CUDA
  Driver Version                                  455.23.04
  Device OpenCL C Version                         OpenCL C 1.2
  Device Type                                     GPU
  Device Topology (NV)                            PCI-E, 01:00.0
  Device Profile                                  FULL_PROFILE
  Device Available                                Yes
  Compiler Available                              Yes
  Linker Available                                Yes
  Max compute units                               5
  Max clock frequency                             1493MHz
  Compute Capability (NV)                         6.1
  Device Partition                                (core)
    Max number of sub-devices                     1
    Supported partition types                     None
    Supported affinity domains                    (n/a)
  Max work item dimensions                        3
  Max work item sizes                             1024x1024x64
  Max work group size                             1024
  Preferred work group size multiple              32
  Warp size (NV)                                  32
  Preferred / native vector sizes                 
    char                                                 1 / 1       
    short                                                1 / 1       
    int                                                  1 / 1       
    long                                                 1 / 1       
    half                                                 0 / 0        (n/a)
    float                                                1 / 1       
    double                                               1 / 1        (cl_khr_fp64)
  Half-precision Floating-point support           (n/a)
  Single-precision Floating-point support         (core)
    Denormals                                     Yes
    Infinity and NANs                             Yes
    Round to nearest                              Yes
    Round to zero                                 Yes
    Round to infinity                             Yes
    IEEE754-2008 fused multiply-add               Yes
    Support is emulated in software               No
    Correctly-rounded divide and sqrt operations  Yes
  Double-precision Floating-point support         (cl_khr_fp64)
    Denormals                                     Yes
    Infinity and NANs                             Yes
    Round to nearest                              Yes
    Round to zero                                 Yes
    Round to infinity                             Yes
    IEEE754-2008 fused multiply-add               Yes
    Support is emulated in software               No
  Address bits                                    64, Little-Endian
  Global memory size                              4238737408 (3.948GiB)
  Error Correction support                        No
  Max memory allocation                           1059684352 (1011MiB)
  Unified memory for Host and Device              No
  Integrated memory (NV)                          No
  Minimum alignment for any data type             128 bytes
  Alignment of base address                       4096 bits (512 bytes)
  Global Memory cache type                        Read/Write
  Global Memory cache size                        245760 (240KiB)
  Global Memory cache line size                   128 bytes
  Image support                                   Yes
    Max number of samplers per kernel             32
    Max size for 1D images from buffer            268435456 pixels
    Max 1D or 2D image array size                 2048 images
    Max 2D image size                             16384x32768 pixels
    Max 3D image size                             16384x16384x16384 pixels
    Max number of read image args                 256
    Max number of write image args                16
  Local memory type                               Local
  Local memory size                               49152 (48KiB)
  Registers per block (NV)                        65536
  Max number of constant args                     9
  Max constant buffer size                        65536 (64KiB)
  Max size of kernel argument                     4352 (4.25KiB)
  Queue properties                               
    Out-of-order execution                        Yes
    Profiling                                     Yes
  Prefer user sync for interop                    No
  Profiling timer resolution                      1000ns
  Execution capabilities                         
    Run OpenCL kernels                            Yes
    Run native kernels                            No
    Kernel execution timeout (NV)                 Yes
  Concurrent copy and kernel execution (NV)       Yes
    Number of async copy engines                  2
  printf() buffer size                            1048576 (1024KiB)
  Built-in kernels                                (n/a)
  Device Extensions                               cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_fp64 cl_khr_byte_addressable_store cl_khr_icd cl_khr_gl_sharing cl_nv_compiler_options cl_nv_device_attribute_query cl_nv_pragma_unroll cl_nv_copy_opts cl_nv_create_buffer cl_khr_int64_base_atomics cl_khr_int64_extended_atomics cl_khr_device_uuid

  Platform Name                                   Intel(R) OpenCL HD Graphics
Number of devices                                 1
  Device Name                                     Intel(R) Gen9 HD Graphics NEO
  Device Vendor                                   Intel(R) Corporation
  Device Vendor ID                                0x8086
  Device Version                                  OpenCL 2.1 NEO
  Driver Version                                  1.0.0
  Device OpenCL C Version                         OpenCL C 2.0
  Device Type                                     GPU
  Device Profile                                  FULL_PROFILE
  Device Available                                Yes
  Compiler Available                              Yes
  Linker Available                                Yes
  Max compute units                               24
  Max clock frequency                             1100MHz
  Device Partition                                (core)
    Max number of sub-devices                     0
    Supported partition types                     None, None
    Supported affinity domains                    (n/a)
  Max work item dimensions                        3
  Max work item sizes                             256x256x256
  Max work group size                             256
  Preferred work group size multiple              32
  Max sub-groups per work group                   32
  Sub-group sizes (Intel)                         8, 16, 32
  Preferred / native vector sizes                 
    char                                                16 / 16     
    short                                                8 / 8       
    int                                                  4 / 4       
    long                                                 1 / 1       
    half                                                 8 / 8        (cl_khr_fp16)
    float                                                1 / 1       
    double                                               1 / 1        (cl_khr_fp64)
  Half-precision Floating-point support           (cl_khr_fp16)
    Denormals                                     Yes
    Infinity and NANs                             Yes
    Round to nearest                              Yes
    Round to zero                                 Yes
    Round to infinity                             Yes
    IEEE754-2008 fused multiply-add               Yes
    Support is emulated in software               No
  Single-precision Floating-point support         (core)
    Denormals                                     Yes
    Infinity and NANs                             Yes
    Round to nearest                              Yes
    Round to zero                                 Yes
    Round to infinity                             Yes
    IEEE754-2008 fused multiply-add               Yes
    Support is emulated in software               No
    Correctly-rounded divide and sqrt operations  Yes
  Double-precision Floating-point support         (cl_khr_fp64)
    Denormals                                     Yes
    Infinity and NANs                             Yes
    Round to nearest                              Yes
    Round to zero                                 Yes
    Round to infinity                             Yes
    IEEE754-2008 fused multiply-add               Yes
    Support is emulated in software               No
  Address bits                                    64, Little-Endian
  Global memory size                              13306871808 (12.39GiB)
  Error Correction support                        No
  Max memory allocation                           4294959104 (4GiB)
  Unified memory for Host and Device              Yes
  Shared Virtual Memory (SVM) capabilities        (core)
    Coarse-grained buffer sharing                 Yes
    Fine-grained buffer sharing                   No
    Fine-grained system sharing                   No
    Atomics                                       No
  Minimum alignment for any data type             128 bytes
  Alignment of base address                       1024 bits (128 bytes)
  Preferred alignment for atomics                 
    SVM                                           64 bytes
    Global                                        64 bytes
    Local                                         64 bytes
  Max size for global variable                    65536 (64KiB)
  Preferred total size of global vars             4294959104 (4GiB)
  Global Memory cache type                        Read/Write
  Global Memory cache size                        524288 (512KiB)
  Global Memory cache line size                   64 bytes
  Image support                                   Yes
    Max number of samplers per kernel             16
    Max size for 1D images from buffer            268434944 pixels
    Max 1D or 2D image array size                 2048 images
    Base address alignment for 2D image buffers   4 bytes
    Pitch alignment for 2D image buffers          4 pixels
    Max 2D image size                             16384x16384 pixels
    Max planar YUV image size                     16384x16352 pixels
    Max 3D image size                             16384x16384x2048 pixels
    Max number of read image args                 128
    Max number of write image args                128
    Max number of read/write image args           128
  Max number of pipe args                         16
  Max active pipe reservations                    1
  Max pipe packet size                            1024
  Local memory type                               Local
  Local memory size                               65536 (64KiB)
  Max number of constant args                     8
  Max constant buffer size                        4294959104 (4GiB)
  Max size of kernel argument                     1024
  Queue properties (on host)                     
    Out-of-order execution                        Yes
    Profiling                                     Yes
  Queue properties (on device)                   
    Out-of-order execution                        Yes
    Profiling                                     Yes
    Preferred size                                131072 (128KiB)
    Max size                                      67108864 (64MiB)
  Max queues on device                            1
  Max events on device                            1024
  Prefer user sync for interop                    Yes
  Profiling timer resolution                      83ns
  Execution capabilities                         
    Run OpenCL kernels                            Yes
    Run native kernels                            No
    Sub-group independent forward progress        Yes
    IL version                                    SPIR-V_1.2
    SPIR versions                                 1.2
  printf() buffer size                            4194304 (4MiB)
  Built-in kernels                                block_motion_estimate_intel;block_advanced_motion_estimate_check_intel;block_advanced_motion_estimate_bidirectional_check_intel;
  Motion Estimation accelerator version (Intel)   2
    Device-side AVC Motion Estimation version     1
      Supports texture sampler use                Yes
      Supports preemption                         No
  Device Extensions                               cl_khr_byte_addressable_store cl_khr_fp16 cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_icd cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_intel_subgroups cl_intel_required_subgroup_size cl_intel_subgroups_short cl_khr_spir cl_intel_accelerator cl_intel_driver_diagnostics cl_khr_priority_hints cl_khr_throttle_hints cl_khr_create_command_queue cl_intel_subgroups_char cl_intel_subgroups_long cl_khr_fp64 cl_khr_subgroups cl_khr_il_program cl_intel_spirv_device_side_avc_motion_estimation cl_intel_spirv_media_block_io cl_intel_spirv_subgroups cl_khr_spirv_no_integer_wrap_decoration cl_intel_unified_shared_memory_preview cl_khr_mipmap_image cl_khr_mipmap_image_writes cl_intel_planar_yuv cl_intel_packed_yuv cl_intel_motion_estimation cl_intel_device_side_avc_motion_estimation cl_intel_advanced_motion_estimation cl_khr_int64_base_atomics cl_khr_int64_extended_atomics cl_khr_image2d_from_buffer cl_khr_depth_images cl_intel_media_block_io cl_khr_3d_image_writes cl_intel_va_api_media_sharing


NULL platform behavior
  clGetPlatformInfo(NULL, CL_PLATFORM_NAME, ...)  NVIDIA CUDA
  clGetDeviceIDs(NULL, CL_DEVICE_TYPE_ALL, ...)   Success [NV]
  clCreateContext(NULL, ...) [default]            Success [NV]
  clCreateContext(NULL, ...) [other]              Success [INTEL]
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_DEFAULT)  No platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_CPU)  No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_GPU)  No platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_ACCELERATOR)  No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_CUSTOM)  Invalid device type for platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_ALL)  No platform

ICD loader properties
  ICD loader Name                                 OpenCL ICD Loader
  ICD loader Vendor                               OCL Icd free software
  ICD loader Version                              2.2.11
  ICD loader Profile                              OpenCL 2.1


Code: Select all
$ glxinfo | grep vendor
server glx vendor string: NVIDIA Corporation
client glx vendor string: NVIDIA Corporation
OpenGL vendor string: NVIDIA Corporation


the `.local/share/DaVinciResolve/logs/ResolveDebug.txt` file is:

Code: Select all
[0x7f8a20dff640] | Main                 | INFO  | 2020-10-21 16:18:08,174 | Running DaVinci Resolve v16.2.7.010 (Linux/Clang)
[0x7f8a20dff640] | Main                 | INFO  | 2020-10-21 16:18:08,174 | Updating display GPU information...
munmap_chunk(): invalid pointer


==========[CRASH DUMP]==========
Please send this to support:

#TIME Wed Oct 21 16:18:08 2020 - Uptime 00:00:00 (hh:mm:ss)
#PROGRAM_NAME DaVinci Resolve v16.2.7.010 (Linux/Clang)

/opt/resolve/bin/resolve() [0x550d939]
/opt/resolve/bin/resolve() [0x550d12a]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x153c0) [0x7f8a319563c0]
/lib/x86_64-linux-gnu/libc.so.6(gsignal+0xcb) [0x7f8a2f23518b]
/lib/x86_64-linux-gnu/libc.so.6(abort+0x12b) [0x7f8a2f214859]
/lib/x86_64-linux-gnu/libc.so.6(+0x903ee) [0x7f8a2f27f3ee]
/lib/x86_64-linux-gnu/libc.so.6(+0x9847c) [0x7f8a2f28747c]
/lib/x86_64-linux-gnu/libc.so.6(+0x986cc) [0x7f8a2f2876cc]
/lib/x86_64-linux-gnu/libigc.so.1(+0x4915ec) [0x7f89f4c875ec]
/lib/x86_64-linux-gnu/libigc.so.1(+0x4f0ab1) [0x7f89f4ce6ab1]
/lib/x86_64-linux-gnu/libLLVM-10.so.1(_ZN4llvm13FPPassManager13runOnFunctionERNS_8FunctionE+0x466) [0x7f89f9cc7d76]
/lib/x86_64-linux-gnu/libLLVM-10.so.1(_ZN4llvm13FPPassManager11runOnModuleERNS_6ModuleE+0x33) [0x7f89f9cc7ff3]
/lib/x86_64-linux-gnu/libLLVM-10.so.1(_ZN4llvm6legacy15PassManagerImpl3runERNS_6ModuleE+0x3c0) [0x7f89f9cc84a0]
/lib/x86_64-linux-gnu/libigc.so.1(+0x2d8874) [0x7f89f4ace874]
/lib/x86_64-linux-gnu/libigc.so.1(+0x2abef9) [0x7f89f4aa1ef9]
/lib/x86_64-linux-gnu/libigc.so.1(+0x16515f) [0x7f89f495b15f]
/lib/x86_64-linux-gnu/libigc.so.1(+0x23cd09) [0x7f89f4a32d09]
/lib/x86_64-linux-gnu/libigc.so.1(+0x23f663) [0x7f89f4a35663]
/usr/lib/x86_64-linux-gnu/intel-opencl/libigdrcl.so(+0x269a6f) [0x7f8a172f3a6f]
/usr/lib/x86_64-linux-gnu/intel-opencl/libigdrcl.so(+0x2eba76) [0x7f8a17375a76]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x1247f) [0x7f8a3195347f]
/usr/lib/x86_64-linux-gnu/intel-opencl/libigdrcl.so(+0x2ebf96) [0x7f8a17375f96]
/usr/lib/x86_64-linux-gnu/intel-opencl/libigdrcl.so(+0x8ff43) [0x7f8a17119f43]
/usr/lib/x86_64-linux-gnu/intel-opencl/libigdrcl.so(+0x51483) [0x7f8a170db483]
/lib/x86_64-linux-gnu/libOpenCL.so.1(+0x4a66) [0x7f8a37a03a66]
/lib/x86_64-linux-gnu/libOpenCL.so.1(clGetPlatformIDs+0xc3) [0x7f8a37a040d3]
/opt/resolve/bin/resolve() [0x1fc0c63]
/opt/resolve/bin/resolve() [0x1fba89c]
/opt/resolve/bin/resolve() [0x1f86f2c]
/opt/resolve/bin/resolve() [0x1f8403e]
/opt/resolve/bin/resolve() [0x1f82a1f]
/opt/resolve/bin/resolve() [0x1f822c8]
/opt/resolve/bin/resolve() [0x1f97fa1]
/opt/resolve/bin/resolve() [0x1f7e0ad]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3) [0x7f8a2f2160b3]
/opt/resolve/bin/resolve() [0x1f7d30d]
Signal Number = 6

================================
[0x7f8a20dff640] | Main                 | INFO  | 2020-10-21 16:18:08,319 | Updating display GPU information...
[0x7f8a20dff640] | Main                 | INFO  | 2020-10-21 16:18:08,319 | Detecting Main Display properties
[0x7f8a20dff640] | Main                 | INFO  | 2020-10-21 16:18:08,325 | Process to detect main display has finished
[0x7f8a20dff640] | Main                 | INFO  | 2020-10-21 16:18:08,330 | Fallback process to detect main display has finished
[0x7f8a20dff640] | Main                 | INFO  | 2020-10-21 16:18:08,330 | GPU Name = 'NVIDIA GeForce GTX 1050', Main display = 0
[0x7f8a20dff640] | Main                 | INFO  | 2020-10-21 16:18:08,335 | 1 NVIDIA GPUs (excluding display GPU) found. Using CUDA for processing.
[0x7f8a20dff640] | Main                 | INFO  | 2020-10-21 16:18:08,335 | Not GLmap capable. GPUs: 1 discrete, 0 integrated, 0 external. Auto mapping, CUDA processing, main display not on external GPU.
[0x7f8a20dff640] | Main                 | INFO  | 2020-10-21 16:18:08,335 | Setting LsManager.3.NumGPUs = 1
[0x7f8a20dff640] | IO                   | INFO  | 2020-10-21 16:18:08,335 | RED InitializeSdk with library path at /opt/resolve/libs
[0x7f8a20dff640] | IO                   | INFO  | 2020-10-21 16:18:08,425 | R3DAPI 7.3.4-47A00 (20200818 L64S) R3DSDK 7.3.4-47A00 (20200818 L64D C3B1) RED CUDA 7.3.4-49818 (20200819) [/opt/resolve/libs/] init is successful
[0x7f8a20dff640] | Main                 | INFO  | 2020-10-21 16:18:08,425 | 0 RED rocket cards available
There are 1 GPUs in the system.
libDeckLinkAPI.so: cannot open shared object file: No such file or directory
[0x7f8a20dff640] | Main                 | INFO  | 2020-10-21 16:18:08,425 | Decklink model name: '', version: ''
[0x7f8a20dff640] | CrashReport          | ERROR | 2020-10-21 16:18:09,679 | Compress() : Failed to add file:/home/dtbaker/.local/share/DaVinciResolve/configs/UI.preset to archive.
[0x7f8a20dff640] | CrashReport          | ERROR | 2020-10-21 16:18:09,679 | Compress() : Failed to add file:/home/dtbaker/.local/share/DaVinciResolve/configs/config.user.xml to archive.
[0x7f8a20dff640] | CrashReport          | ERROR | 2020-10-21 16:18:09,679 | Compress() : Failed to add file:/home/dtbaker/.local/share/DaVinciResolve/Fusion/Profiles/Default/Fusion.prefs to archive.
QCoreApplication::arguments: Please instantiate the QApplication object first
ASSERT failure in QList<T>::operator[]: "index out of range", file /usr/local/Components/qt-5.4.1+dav_4/dev/linux/include/QtCore/qlist.h, line 486



there's a bunch of `No such file or directory` messages when running with strace like so:

Code: Select all
openat(AT_FDCWD, "/opt/resolve/bin/../libs/libDeckLinkAPI.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/opt/resolve/bin/../libs/Fusion/libDeckLinkAPI.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "tls/haswell/x86_64/libDeckLinkAPI.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "tls/haswell/libDeckLinkAPI.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "tls/x86_64/libDeckLinkAPI.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "tls/libDeckLinkAPI.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "haswell/x86_64/libDeckLinkAPI.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "haswell/libDeckLinkAPI.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "x86_64/libDeckLinkAPI.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "libDeckLinkAPI.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 32
fstat(32, {st_mode=S_IFREG|0644, st_size=130773, ...}) = 0
mmap(NULL, 130773, PROT_READ, MAP_PRIVATE, 32, 0) = 0x7fa722236000
close(32)                               = 0
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libDeckLinkAPI.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/x86_64-linux-gnu/libDeckLinkAPI.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/libDeckLinkAPI.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/libDeckLinkAPI.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
munmap(0x7fa722236000, 130773)          = 0
futex(0x19c21928, FUTEX_WAKE_PRIVATE, 2147483647) = 0
write(2, "There are 1 GPUs in the system.\n"..., 222) = 222
stat("/home/dtbaker/.local/share/DaVinciResolve/DolbyVision/license.bin", 0x7fff986832c8) = -1 ENOENT (No such file or directory)


Am I missing something like that DeckLink library?

Sorry for posting I've tried so many things and really have no idea what I'm missing, hopefully it's something simple.
Offline

ririri

  • Posts: 14
  • Joined: Wed Oct 14, 2020 10:17 pm
  • Real Name: Richard Suchard

Re: DaVinci Resolve on Linux - Install issues

PostSat Oct 24, 2020 12:08 pm

so, returing back with a little update.
I've upgraded to the studio version for the convience of directly importing the occasional h.264 file among other things.
The system is running smooth so far, but there are two issues I've come across and would be interested if this happened to anybody else using the studio version on Linux:

Issue Nr.1: I do not find any h.264 export options on the deliver page. this seems weird as I can import h.264 just fine now and, judging from da vincis codec pdf lists, was under the impression I should be able to also export to h.264 with the studio version on Linux, right?
Also, using the Quick Export Option, Resolve puts loads of dpx files (1 per frame) into specified the output folder instead of a h.264 file.
The ffmpeg codecs are for sure on my system but I suppose Resolve should be using its proprietary codecs anyway?

Issue Nr.2: I am unable to export files with an alpha channel. Alpha output is set and the node is connected. Nevermind Cineform or DNxHR, both with "Individual Clips" and "Export Alpha" selected, Resolve always renders out the file with a black background.

Anybody with any ideas on this?
Offline

Sulo Kokki

  • Posts: 234
  • Joined: Thu Sep 28, 2017 11:39 pm

Re: DaVinci Resolve on Linux - Install issues

PostMon Oct 26, 2020 1:08 pm

ririri wrote:I should be able to also export to h.264 with the studio version on Linux, right?

Can be done, with certain Nvidia GPUs (NVENC for encoding).

Your Quadro T2000 (laptop GPU?) is a bit skimpy for Resolve. You may also experience weird glitches like the alpha channel export, sorry to say.
Linux Mint 19.3 | DaVinci Resolve Studio 17.1 | 2700x 32gb Radeon VII | macOS Mojave
Offline

ririri

  • Posts: 14
  • Joined: Wed Oct 14, 2020 10:17 pm
  • Real Name: Richard Suchard

Re: DaVinci Resolve on Linux - Install issues

PostMon Oct 26, 2020 2:59 pm

Thanks Sulo for your input. I was afraid that it had to do with GPU compatibility but was unable to find an actual list of compatible cards. Still not sure if that's really the only reason as the T2000, while it surely is not a power house, does actually support NVENC de- and encoding. And I thought 4GB memory, while certainly not being a lot by today's standards, should suffice for encoding these formats.
but yeah, maybe it's really still just a compatibility issue.

Alpha export works now btw leaving this -so far- the only issue as everything else works quite smoothly (surprisingly even without using proxies or optimized media yet...)
Offline

Sulo Kokki

  • Posts: 234
  • Joined: Thu Sep 28, 2017 11:39 pm

Re: DaVinci Resolve on Linux - Install issues

PostMon Oct 26, 2020 3:37 pm

Sorry, forgot to add.

Here's Rohit from BMD.
Rohit Gupta wrote:The GPU also needs more than 3.5GB of VRAM to do HW accelerated encode... This is a Resolve imposed restriction. If we use up too much VRAM for h265 encoding, then you will have problems with Resolve processing.

Easy way out would be to export as DNx and use Handbrake for h264/5 encoding.
Linux Mint 19.3 | DaVinci Resolve Studio 17.1 | 2700x 32gb Radeon VII | macOS Mojave
Offline

ririri

  • Posts: 14
  • Joined: Wed Oct 14, 2020 10:17 pm
  • Real Name: Richard Suchard

Re: DaVinci Resolve on Linux - Install issues

PostMon Oct 26, 2020 5:48 pm

thanks for the heads up!
yes, i do usually use Handbrake or my very limited bash knowledge for ffmpeg transcoding and since I am not in a position where I have to transcode/deliver lots of material every day, this little extra step is not really a big issue.
and just to share it: apart from handbrake there's a also new open source ffmpeg gui frontend in development right now from rainbox laboratories called "DuME" which is currently in alpha still but is working fine on my machine for different transcoding tasks (but has no batch functionality yet).
Offline

ririri

  • Posts: 14
  • Joined: Wed Oct 14, 2020 10:17 pm
  • Real Name: Richard Suchard

Re: DaVinci Resolve on Linux - Install issues

PostMon Oct 26, 2020 6:42 pm

after a little more research I found the problem: the NVENC library (libnvidia-encode1) was not installed. It simply failed to install during regular driver setup (see issues above..). Installed it now manually and h264 and h265 options are now showing and, judging from a quick test, seem to be working well.
Offline

Johan Cramer

  • Posts: 245
  • Joined: Mon Aug 26, 2013 3:33 pm

Re: DaVinci Resolve on Linux - Install issues

PostTue Nov 03, 2020 11:55 am

I am having the same problems after upgrading from Debian 10 stable/Buster to Debian 11 testing/Bullseye: Resolve 16.2.7-1 (installed via makeresolvedeb) complains that there is no CUDA on the system and no longer works.

libnvidia-encode1 is installed, as is nvidia-cuda-toolkit, all from the Debian testing repository, with driver version 450.80.02, and the Nvidia kernel modules (via nvidia-kernel-dkms) have been successfully built and installed.

What can one do in such a situation?
Offline

Daniel Tufvesson

  • Posts: 274
  • Joined: Sun Sep 18, 2016 11:03 am
  • Location: Stockholm, Sweden

Re: DaVinci Resolve on Linux - Install issues

PostTue Nov 03, 2020 12:13 pm

Johan Cramer wrote:What can one do in such a situation?
450.80 was released to bullseye/testing just a day or two ago. I would expect there to be bugs or compatibility issues. Can you provide the Resolve logs?
Shoot - BMCC | BMPCC | BMPCC4K | BMVA | GH5
Edit - Resolve Studio 18.1 | Debian Linux 12 | i7-3930K CPU | X79 MB | 32GB RAM | GTX1080 GPU | Speed Editor
Monitor - Decklink SDI, SDI Duo, SDI 4K, Intensity Pro
danieltufvesson.com/makeresolvedeb
Offline

Johan Cramer

  • Posts: 245
  • Joined: Mon Aug 26, 2013 3:33 pm

Re: DaVinci Resolve on Linux - Install issues

PostTue Nov 03, 2020 12:46 pm

Daniel Tufvesson wrote:
Johan Cramer wrote:What can one do in such a situation?
450.80 was released to bullseye/testing just a day or two ago. I would expect there to be bugs or compatibility issues. Can you provide the Resolve logs?


Thanks so much for looking into this!

Here is the log:

Code: Select all
[0x7f5e721ab680] | Main                 | INFO  | 2020-11-03 13:44:20,606 | Running DaVinci Resolve Studio v16.2.7.010 (Linux/Clang)
[0x7f5e721ab680] | Main                 | INFO  | 2020-11-03 13:44:20,607 | Updating display GPU information...
Ignoring OpenCL error -1001: 'Unspecified Error', GPUPropertiesUtilUnix.cpp:339.
[0x7f5e721ab680] | Main                 | INFO  | 2020-11-03 13:44:20,720 | There is no OpenCL platform
[0x7f5e721ab680] | Main                 | INFO  | 2020-11-03 13:44:20,720 | Not GLmap capable. GPUs: 0 discrete, 0 integrated, 0 external. Auto mapping, CUDA processing, main display not on external GPU.
[0x7f5e721ab680] | Main                 | INFO  | 2020-11-03 13:44:20,720 | Setting LsManager.3.NumGPUs = 1
[0x7f5e721ab680] | IO                   | INFO  | 2020-11-03 13:44:20,720 | RED InitializeSdk with library path at /opt/resolve/libs
[0x7f5e721ab680] | IO                   | INFO  | 2020-11-03 13:44:20,842 | R3DAPI 7.3.4-47A00 (20200818 L64S) R3DSDK 7.3.4-47A00 (20200818 L64D C3B1) RED CUDA 7.3.4-49818 (20200819) [/opt/resolve/libs/] init is successful
[0x7f5e721ab680] | Main                 | INFO  | 2020-11-03 13:44:20,842 | 0 RED rocket cards available
There are 1 GPUs in the system.
libDeckLinkAPI.so: cannot open shared object file: No such file or directory
[0x7f5e721ab680] | Main                 | INFO  | 2020-11-03 13:44:20,843 | Decklink model name: '', version: ''
[0x7f5e721ab680] | DVIP                 | INFO  | 2020-11-03 13:44:20,843 | DVIP Version : 16.2.7, Revision r006780-946c5d99, Branch release/16.2.7 (Release)
[0x7f5e721ab680] | Main                 | INFO  | 2020-11-03 13:44:20,946 | Installed custom font: Open Sans
[0x7f5e721ab680] | Main                 | INFO  | 2020-11-03 13:44:20,946 | Installed custom font: Open Sans
[0x7f5e721ab680] | Main                 | INFO  | 2020-11-03 13:44:20,946 | Installed custom font: Open Sans
[0x7f5e721ab680] | Main                 | INFO  | 2020-11-03 13:44:20,952 | Finished loading Application style sheet
DHID 367308056
Local.Speed.Debug switched OFF - ''
[0x7f5e5b1cc700] | LeManager            | INFO  | 2020-11-03 13:44:21,940 | 521, 38
[0x7f5e5b9cd700] | Main                 | INFO  | 2020-11-03 13:44:21,940 | Started listener socket at port 15000
[0x7f5e721ab680] | BtCommon             | INFO  | 2020-11-03 13:44:22,615 | Memory config: reserved=18011M pinned=8000M log=0
[0x7f5e721ab680] | BtCommon             | INFO  | 2020-11-03 13:44:22,615 | Using default pooled memory manager
[0x7f5e5a9cb700] | BtCommon             | INFO  | 2020-11-03 13:44:22,615 | BtResourceManager Process Thread Started
[0x7f5e721ab680] | BtCommon             | INFO  | 2020-11-03 13:44:22,615 | Daemon DPDecoder is started 17711
[0x7f5e721ab680] | BtCommon             | INFO  | 2020-11-03 13:44:22,616 | Daemon DPDecoder is started 17712
[0x7f5e721ab680] | BtCommon             | INFO  | 2020-11-03 13:44:22,616 | Daemon DPDecoder is started 17713
[0x7f5e721ab680] | BtCommon             | INFO  | 2020-11-03 13:44:22,616 | Daemon DPDecoder is started 17714
[0x7f5e721ab680] | BtCommon             | INFO  | 2020-11-03 13:44:22,616 | Daemon DPDecoder is started 17715
[0x7f5e721ab680] | BtCommon             | INFO  | 2020-11-03 13:44:22,617 | Daemon DPDecoder is started 17716
[0x7f5e721ab680] | BtCommon             | INFO  | 2020-11-03 13:44:22,617 | Daemon DPDecoder is started 17717
[0x7f5e721ab680] | BtCommon             | INFO  | 2020-11-03 13:44:22,617 | Daemon DPDecoder is started 17718
[0x7f5e721ab680] | SyManager            | INFO  | 2020-11-03 13:44:22,624 | Total: 20, NumDtThreads: 8, NumComms: 0, NumSites: 1

[0x7f5e721ab680] | SyManager            | INFO  | 2020-11-03 13:44:22,624 | Lookaheads -> playback = 20, record = 20, stop = 2

Sy High Command Handler Thread ----- (140043190302464)
SY high priority cmd handler thread starts: 589C7700
Sy Low Command Handler Thread ----- (140043181909760)
SY low priority cmd handler thread starts: 581C6700
Sy Data Handler Thread ----- (140043173517056)
SY data handler thread starts: 579C5700
Gs High Command Handler Thread ----- (140043148338944)
GS high priority cmd handler thread starts: 561C2700
Gs Low Command Handler Thread ----- (140043139946240)
GS low priority cmd handler thread starts: 559C1700
Dp High Command Handler Thread ----- (140043123160832)
DP high priority cmd handler thread starts: 549BF700
Dp Low Command Handler Thread ----- (140043114768128)
DP low priority cmd handler thread starts: 541BE700
[0x7f5e551c0700] | GsManager            | INFO  | 2020-11-03 13:44:22,624 | Gs Processor Thread ----- (140043131553536)

Dt High Command Handler Thread ----- (140043106375424)
DT high priority cmd handler thhread starts: 539BD700
GS processor thread starts: 551C0700
Local.Speed.Verbose switched OFF - ''
Dt Low Command Handler Thread ----- (140043097982720)
DT low priority cmd handler thread starts: 531BC700
[0x7f5e569c3700] | SyManager            | ERROR | 2020-11-03 13:44:22,624 | Failed to connect to panel socket
[0x7f5e721ab680] | DtManager            | INFO  | 2020-11-03 13:44:22,624 | Using 8 generic IO threads
[0x7f5e529bb700] | DtManager            | INFO  | 2020-11-03 13:44:22,624 | Dt Data Handler Thread Started
DT data handler thread starts: 529BB700
[0x7f5e569c3700] | SyManager            | ERROR | 2020-11-03 13:44:22,624 | DRIVER: open /var/tmp/davinci_socket failed
[0x7f5e721ab680] | DtManager            | INFO  | 2020-11-03 13:44:22,624 | Total of 16 IO threads (including 8 generic and 8 Red decode threads)
[0x7f5e521ba700] | DtManager            | INFO  | 2020-11-03 13:44:22,624 | Dt Worker Thread Started
[0x7f5e519b9700] | DtManager            | INFO  | 2020-11-03 13:44:22,624 | Dt Worker Thread Started
[0x7f5e509b7700] | DtManager            | INFO  | 2020-11-03 13:44:22,624 | Dt Worker Thread Started
[0x7f5e511b8700] | DtManager            | INFO  | 2020-11-03 13:44:22,624 | Dt Worker Thread Started
[0x7f5e4e9b3700] | DtManager            | INFO  | 2020-11-03 13:44:22,624 | Dt Worker Thread Started
[0x7f5e4f9b5700] | DtManager            | INFO  | 2020-11-03 13:44:22,624 | Dt Worker Thread Started
[0x7f5e4f1b4700] | DtManager            | INFO  | 2020-11-03 13:44:22,624 | Dt Worker Thread Started
[0x7f5e501b6700] | DtManager            | INFO  | 2020-11-03 13:44:22,624 | Dt Worker Thread Started
[0x7f5e4c9af700] | DtManager            | INFO  | 2020-11-03 13:44:22,625 | Dt Worker Thread Started
[0x7f5e4d9b1700] | DtManager            | INFO  | 2020-11-03 13:44:22,625 | Dt Worker Thread Started
[0x7f5e4d1b0700] | DtManager            | INFO  | 2020-11-03 13:44:22,625 | Dt Worker Thread Started
[0x7f5e4e1b2700] | DtManager            | INFO  | 2020-11-03 13:44:22,625 | Dt Worker Thread Started
[0x7f5e4c1ae700] | DtManager            | INFO  | 2020-11-03 13:44:22,625 | Dt Worker Thread Started
[0x7f5e4a1aa700] | DtManager            | INFO  | 2020-11-03 13:44:22,625 | Dt Worker Thread Started
[0x7f5e4b1ac700] | DtManager            | INFO  | 2020-11-03 13:44:22,625 | Dt Worker Thread Started
Ls High Command Handler Thread ----- (140042930128640)
[0x7f5e4a9ab700] | DtManager            | INFO  | 2020-11-03 13:44:22,625 | Dt Worker Thread Started
Ls Low Command Handler Thread ----- (140042921735936)
LS low priority cmd handler thread starts: 489A7700
[0x7f5e4b9ad700] | DtManager            | INFO  | 2020-11-03 13:44:22,625 | Dt Worker Thread Started
Ls Data Handler Thread ----- (140042913343232)
Ls High Command Handler Thread ----- (140042904950528)
[0x7f5e499a9700] | DtManager            | INFO  | 2020-11-03 13:44:22,625 | Dt Worker Thread Started
LS data handler thread starts: 481A6700
Ls Data Handler Thread ----- (140042888165120)
Ls Low Command Handler Thread ----- (140042896557824)
LS low priority cmd handler thread starts: 471A4700
LS data handler thread starts: 469A3700
Ls Low Command Handler Thread ----- (140042854602496)
LS low priority cmd handler thread starts: 449A1700
Ls Data Handler Thread ----- (140042846209792)
Ls High Command Handler Thread ----- (140042875578112)
Mem Data Transmitter Thread ----- (140042837817088)
Mem data transmitter thread starts: 4399F700[0x7f5e721ab680] | DbCommon2            | INFO  | 2020-11-03 13:44:22,625 | Loading dblist file: /home/paragram/.local/share/DaVinciResolve/configs/.dblist

[0x7f5e441a0700] | IP                   | INFO  | 2020-11-03 13:44:22,625 | Using NVIDIA driver '450.80.02'
[0x7f5e441a0700] | GPUManager           | INFO  | 2020-11-03 13:44:22,625 | Let There Be CUDA Light!
[0x7f5e721ab680] | IO                   | INFO  | 2020-11-03 13:44:22,693 | Using DNxHR library v2.5.2.68r
[0x7f5e441a0700] | GPUManager           | ERROR | 2020-11-03 13:44:22,724 | Error querying CUDA device count (error 999: 'unknown error')
Urgent message: CRITICAL_PREF: DaVinci Resolve could not find any CUDA capable GPUs. Would you like to review and update your DaVinci Resolve Hardware Configuration? ||Please ensure that appropriate GPU and CUDA drivers are installed and your DaVinci Resolve hardware is configured appropriately.
[0x7f5e441a0700] | GPUManager           | ERROR | 2020-11-03 13:44:22,724 | CRITICAL_PREF: DaVinci Resolve could not find any CUDA capable GPUs. Would you like to review and update your DaVinci Resolve Hardware Configuration? ||Please ensure that appropriate GPU and CUDA drivers are installed and your DaVinci Resolve hardware is configured appropriately.
[0x7f5e441a0700] | IP                   | ERROR | 2020-11-03 13:44:22,725 | Failed to initialize CUDA boards
LS data handler thread starts: 441A0700
[0x7f5e721ab680] | IO                   | INFO  | 2020-11-03 13:44:22,800 | Kdu ctx(0), bundle(0), thds(2)
[0x7f5e721ab680] | IO                   | INFO  | 2020-11-03 13:44:22,800 | Kdu ctx(2), bundle(0), thds(2)
[0x7f5e721ab680] | IO                   | INFO  | 2020-11-03 13:44:22,800 | Kdu ctx(4), bundle(0), thds(2)
[0x7f5e721ab680] | IO                   | INFO  | 2020-11-03 13:44:22,800 | Kdu ctx(6), bundle(0), thds(2)
[0x7f5e721ab680] | IO                   | INFO  | 2020-11-03 13:44:22,800 | Kdu ctx(8), bundle(0), thds(1)
[0x7f5e721ab680] | IO                   | INFO  | 2020-11-03 13:44:22,801 | Kdu ctx(9), bundle(0), thds(1)
[0x7f5e721ab680] | IO                   | INFO  | 2020-11-03 13:44:22,801 | Kdu ctx(10), bundle(0), thds(1)
[0x7f5e721ab680] | IO                   | INFO  | 2020-11-03 13:44:22,801 | Kdu ctx(11), bundle(0), thds(1)

MidiInDummy: This class provides no functionality.


MidiOutDummy: This class provides no functionality.

[0x7f5e721ab680] | Fairlight            | INFO  | 2020-11-03 13:44:24,234 | 00.00.00.962(000): Running Fairlight (r001014-43fe498b)
[0x7f5e721ab680] | UI.GLContext         | INFO  | 2020-11-03 13:44:24,314 | Creating shared OpenGL context for this thread (2 total).
[0x7f5e721ab680] | UI.GLContext         | INFO  | 2020-11-03 13:44:24,322 | Initialized OpenGL 4.6 (requested 2.0) on device 'NVIDIA Corporation GeForce GTX 1080 Ti/PCIe/SSE2'
All textures are loaded : 1.
[0x7f5e721ab680] | Fusion               | INFO  | 2020-11-03 13:44:24,570 | Fusion Build: r067722-ef6f045d_004 (Sep 15 2020 11:26:34)
[0x7f5e721ab680] | Fusion               | INFO  | 2020-11-03 13:44:24,571 | fusionsystem: = "/opt/resolve/libs/Fusion/libfusionsystem.so"
[0x7f5e721ab680] | Fusion               | INFO  | 2020-11-03 13:44:24,575 | FusionLibs: = "/opt/resolve/libs/Fusion/"
[0x7f5e721ab680] | Fusion               | INFO  | 2020-11-03 13:44:24,575 | UserData:   = "/home/paragram/.local/share/DaVinciResolve/Fusion"
[0x7f5e721ab680] | Fusion               | INFO  | 2020-11-03 13:44:24,575 | Profiles:   = "UserData:Profiles/"
sh: 1: ldconfig: not found
sh: 1: ldconfig: not found
[0x7f5d8d511700] | UI.GLContext         | INFO  | 2020-11-03 13:44:24,718 | Creating shared OpenGL context for this thread (3 total).
[0x7f5d8d511700] | UI.GLIO              | ERROR | 2020-11-03 13:44:24,803 | Failed to create DVIP context.
[0x7f5e721ab680] | UI.GLIO              | ERROR | 2020-11-03 13:44:24,803 | Failed to initialize worker thread.
[0x7f5e721ab680] | Undefined            | ERROR | 2020-11-03 13:44:24,803 | Failed to initialize GPU Scopes, OpenGL Interop or GLIO is required.
[0x7f5e721ab680] | UI                   | ERROR | 2020-11-03 13:44:24,928 | Failed to find text 'Apple ProRes' in combo-box
[0x7f5e721ab680] | UI                   | WARN  | 2020-11-03 13:44:24,929 | Failed to find value '0' in combo-box
Invalid character # 62
libScannerAPI.so: cannot open shared object file: No such file or directory
[0x7f5e721ab680] | SyManager            | INFO  | 2020-11-03 13:44:25,165 | Started /opt/resolve/bin/DaVinciPanelDaemon with pid 17924
[0x7f5e721ab680] | DbCommon2            | INFO  | 2020-11-03 13:44:25,167 | Sm2SysIdEntry is not supported in disk database (xml) mode
SY panel handler thread starts: 569C3700
[0x7f5e569c3700] | SyManager            | INFO  | 2020-11-03 13:44:25,228 | Connected to panel socket at 40
[0x7f5e569c3700] | SyManager            | INFO  | 2020-11-03 13:44:25,228 | Connection to the panel server has been re-established
[0x7f5e569c3700] | ControlPanel         | WARN  | 2020-11-03 13:44:25,229 | The DaVinci Resolve Panels Setup application is not compatible with this version of Resolve. Please re-install Resolve with the DaVinci Resolve Panels Setup application option enabled in the installer.
Invalid character # 62
[0x7f5e721ab680] | UI                   | WARN  | 2020-11-03 13:44:25,731 | Failed to load media metadata preset list or the list is empty.
[0x7f5e721ab680] | UI                   | WARN  | 2020-11-03 13:44:25,764 | Failed to load media metadata preset list or the list is empty.
[0x7f5e721ab680] | UI.ActionManager     | WARN  | 2020-11-03 13:44:25,884 | Action [fairlightAutomationFollowsEdit] is not a global action
[0x7f5e721ab680] | UI                   | WARN  | 2020-11-03 13:44:26,283 | Failed to load media metadata preset list or the list is empty.
[0x7f5e721ab680] | UI                   | WARN  | 2020-11-03 13:44:26,286 | Failed to load media metadata preset list or the list is empty.
[0x7f5e721ab680] | UI                   | WARN  | 2020-11-03 13:44:26,389 | Failed to load media metadata preset list or the list is empty.
[0x7f5e721ab680] | UI                   | WARN  | 2020-11-03 13:44:26,392 | Failed to load media metadata preset list or the list is empty.
[0x7f5e721ab680] | UI                   | WARN  | 2020-11-03 13:44:28,838 | Failed to load media metadata preset list or the list is empty.
[0x7f5e721ab680] | UI                   | WARN  | 2020-11-03 13:44:28,841 | Failed to load media metadata preset list or the list is empty.
[0x7f5e721ab680] | UI                   | INFO  | 2020-11-03 13:44:28,986 | Not creating special GL widget for screen 0
[0x7f5e721ab680] | UI                   | WARN  | 2020-11-03 13:44:29,437 | Failed to find value '8192' in combo-box
[0x7f5e721ab680] | UI                   | WARN  | 2020-11-03 13:44:29,510 | Failed to find value '100' in combo-box
[0x7f5e721ab680] | UI.MenuBar           | WARN  | 2020-11-03 13:44:29,903 | Plugged In Action [fusion_menu1_triggered(bool)] is owned by [0x7f5d829f5c90]
[0x7f5e721ab680] | UI.MenuBar           | WARN  | 2020-11-03 13:44:29,903 | Plugged In Action [fusion_menu2_triggered()] is owned by [0x7f5d829f5c90]
[0x7f5e721ab680] | UI.MenuBar           | WARN  | 2020-11-03 13:44:29,903 | Plugged In Action [fusion_menu3_triggered()] is owned by [0x7f5d829f5c90]
[0x7f5e721ab680] | UI.MenuBar           | WARN  | 2020-11-03 13:44:29,903 | Plugged In Action [fusion_menu5_triggered()] is owned by [0x7f5d829f5c90]
[0x7f5e721ab680] | UI.MenuBar           | WARN  | 2020-11-03 13:44:29,903 | Plugged In Action [fusion_menu8_triggered()] is owned by [0x7f5d829f5c90]
[0x7f5e721ab680] | UI.MenuBar           | WARN  | 2020-11-03 13:44:29,903 | Plugged In Action [workspace_sub1_menu1_triggered()] is owned by [0x7f5d829f5c90]
****************** Flushing GPU Buffers
[0x7f5e721ab680] | IO                   | INFO  | 2020-11-03 13:44:30,026 | RED rocket decode has been disabled in the config file
[0x7f5e721ab680] | UI                   | WARN  | 2020-11-03 13:44:30,112 | Failed to find value '0' in combo-box
[0x7f5e721ab680] | UI                   | WARN  | 2020-11-03 13:44:30,112 | Failed to find value '0' in combo-box
[0x7f5e721ab680] | UI                   | WARN  | 2020-11-03 13:44:30,112 | Failed to find value '0' in combo-box
[0x7f5e721ab680] | UI                   | WARN  | 2020-11-03 13:44:30,112 | Failed to find value '0' in combo-box
[0x7f5e721ab680] | UI                   | WARN  | 2020-11-03 13:44:30,112 | Failed to find value '0' in combo-box
[0x7f5e721ab680] | UI                   | WARN  | 2020-11-03 13:44:30,112 | Failed to find value '0' in combo-box
Ignoring CUDA error 999: 'unknown error', CudaBoardManager.cpp:256.
Printing Stack Info
/opt/resolve/bin/resolve() [0x557b8c0]
/opt/resolve/bin/resolve() [0x58a9f22]
/opt/resolve/bin/resolve() [0x58a9fc6]
/opt/resolve/bin/resolve() [0x28b1cd9]
/opt/resolve/bin/resolve() [0x28b2861]
/opt/resolve/bin/resolve() [0x28481bd]
/opt/resolve/bin/resolve() [0x2844ea1]
/opt/resolve/bin/resolve() [0x283c6b1]
/opt/resolve/bin/resolve() [0x283ea44]
/opt/resolve/bin/resolve() [0x267b893]
/opt/resolve/bin/resolve() [0x267a1a7]
/opt/resolve/bin/resolve() [0x22137e3]
/opt/resolve/bin/resolve() [0x1fbb29e]
/opt/resolve/bin/resolve() [0x1fb9ac8]
/opt/resolve/bin/resolve() [0x1f8c312]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xea) [0x7f5e80a29cca]
/opt/resolve/bin/resolve() [0x1f8b00d]
[0x7f5d59bf1700] | UI                   | ERROR | 2020-11-03 13:44:34,395 | UiAutoUpdateController: Failed to get response from server (responseCode:2) (httpStatus:-1) (response:)
[0x7f5e5b1cc700] | LeManager            | INFO  | 2020-11-03 13:44:34,953 | 522, 101
[0x7f5e721ab680] | DbCommon2            | INFO  | 2020-11-03 13:44:34,969 | Sm2SysIdEntry is not supported in disk database (xml) mode
[0x7f5e721ab680] | Main                 | INFO  | 2020-11-03 13:44:35,851 | Starting terminate sequence by calling g_MainTerm

[0x7f5e721ab680] | Main                 | INFO  | 2020-11-03 13:44:35,851 | Closing components
[0x7f5e721ab680] | UI                   | INFO  | 2020-11-03 13:44:35,851 | Audio thread terminated.
[0x7f5e721ab680] | Main                 | INFO  | 2020-11-03 13:44:35,851 | g_MainTerm: BtStartupShutdownControl.Shutdown() - begin
Exit SY panel handler
Exit SY data handler
[0x7f5e581c6700] | SyManager            | INFO  | 2020-11-03 13:44:35,913 | Exit SY low priority cmd handler
[0x7f5e589c7700] | SyManager            | INFO  | 2020-11-03 13:44:35,913 | Exit SY high priority cmd handler
[0x7f5e721ab680] | Main                 | INFO  | 2020-11-03 13:44:35,929 | SvcManager: SyManager.StopThreads() - end
[0x7f5e551c0700] | GsManager            | INFO  | 2020-11-03 13:44:35,930 | Exit GS process handler
[0x7f5e721ab680] | Main                 | INFO  | 2020-11-03 13:44:35,931 | SvcManager: GsManager.StopThreads() - end
[0x7f5e721ab680] | Main                 | INFO  | 2020-11-03 13:44:35,931 | SvcManager: DpManager.StopThreads() - end
Exit GS low priority cmd handler
Exit GS high priority cmd handler
[0x7f5e549bf700] | DpManager            | INFO  | 2020-11-03 13:44:35,933 | Exit DP high priority cmd handler
[0x7f5e531bc700] | DtManager            | INFO  | 2020-11-03 13:44:35,933 | Exit DT low priority cmd handler
[0x7f5e541be700] | DpManager            | INFO  | 2020-11-03 13:44:35,933 | Exit DP low priority cmd handler
[0x7f5e539bd700] | DtManager            | INFO  | 2020-11-03 13:44:35,933 | Exit DT high priority cmd handler
[0x7f5e529bb700] | DtManager            | INFO  | 2020-11-03 13:44:35,948 | Exit DT data handler thread
[0x7f5e4a9ab700] | DtManager            | INFO  | 2020-11-03 13:44:35,957 | Exit DT worker thread
[0x7f5e4b9ad700] | DtManager            | INFO  | 2020-11-03 13:44:35,957 | Exit DT worker thread
[0x7f5e519b9700] | DtManager            | INFO  | 2020-11-03 13:44:35,957 | Exit DT worker thread
[0x7f5e4f9b5700] | DtManager            | INFO  | 2020-11-03 13:44:35,957 | Exit DT worker thread
[0x7f5e521ba700] | DtManager            | INFO  | 2020-11-03 13:44:35,957 | Exit DT worker thread
[0x7f5e499a9700] | DtManager            | INFO  | 2020-11-03 13:44:35,957 | Exit DT worker thread
[0x7f5e4e9b3700] | DtManager            | INFO  | 2020-11-03 13:44:35,957 | Exit DT worker thread
[0x7f5e509b7700] | DtManager            | INFO  | 2020-11-03 13:44:35,957 | Exit DT worker thread
[0x7f5e501b6700] | DtManager            | INFO  | 2020-11-03 13:44:35,957 | Exit DT worker thread
[0x7f5e4c9af700] | DtManager            | INFO  | 2020-11-03 13:44:35,957 | Exit DT worker thread
[0x7f5e4d9b1700] | DtManager            | INFO  | 2020-11-03 13:44:35,957 | Exit DT worker thread
[0x7f5e4d1b0700] | DtManager            | INFO  | 2020-11-03 13:44:35,957 | Exit DT worker thread
[0x7f5e4e1b2700] | DtManager            | INFO  | 2020-11-03 13:44:35,957 | Exit DT worker thread
[0x7f5e4c1ae700] | DtManager            | INFO  | 2020-11-03 13:44:35,957 | Exit DT worker thread
[0x7f5e4f1b4700] | DtManager            | INFO  | 2020-11-03 13:44:35,957 | Exit DT worker thread
[0x7f5e4b1ac700] | DtManager            | INFO  | 2020-11-03 13:44:35,957 | Exit DT worker thread
[0x7f5e4a1aa700] | DtManager            | INFO  | 2020-11-03 13:44:35,957 | Exit DT worker thread
[0x7f5e511b8700] | DtManager            | INFO  | 2020-11-03 13:44:35,957 | Exit DT worker thread
[0x7f5e721ab680] | Main                 | INFO  | 2020-11-03 13:44:35,977 | SvcManager: DtManager.StopThreads() - end
[0x7f5e481a6700] | LsManager            | INFO  | 2020-11-03 13:44:35,988 | Exit LS data handler
[0x7f5e489a7700] | LsManager            | INFO  | 2020-11-03 13:44:35,993 | Exit LS low priority cmd handler
[0x7f5e491a8700] | LsManager            | INFO  | 2020-11-03 13:44:35,993 | Exit LS high priority cmd handler
[0x7f5e721ab680] | Main                 | INFO  | 2020-11-03 13:44:36,003 | SvcManager: LsManager.StopThreads() - end
[0x7f5e469a3700] | LsManager            | INFO  | 2020-11-03 13:44:36,008 | Exit LS data handler
[0x7f5e479a5700] | LsManager            | INFO  | 2020-11-03 13:44:36,013 | Exit LS high priority cmd handler
[0x7f5e471a4700] | LsManager            | INFO  | 2020-11-03 13:44:36,013 | Exit LS low priority cmd handler
[0x7f5e721ab680] | Main                 | INFO  | 2020-11-03 13:44:36,030 | SvcManager: LsManager.StopThreads() - end
[0x7f5e45da2700] | LsManager            | INFO  | 2020-11-03 13:44:36,033 | Exit LS high priority cmd handler
[0x7f5e449a1700] | LsManager            | INFO  | 2020-11-03 13:44:36,033 | Exit LS low priority cmd handler
[0x7f5e441a0700] | LsManager            | INFO  | 2020-11-03 13:44:36,048 | Exit LS data handler
[0x7f5e721ab680] | Main                 | INFO  | 2020-11-03 13:44:36,056 | SvcManager: LsManager.StopThreads() - end
Exit memory data transmitter
[0x7f5e721ab680] | DpManager            | INFO  | 2020-11-03 13:44:36,057 | Stopping DpWfmWorker threads -- start
[0x7f5d86c72700] | DpManager            | INFO  | 2020-11-03 13:44:36,057 | DpWfmWorker thread exit
[0x7f5d8b679700] | DpManager            | INFO  | 2020-11-03 13:44:36,057 | DpWfmWorker thread exit
[0x7f5d87c74700] | DpManager            | INFO  | 2020-11-03 13:44:36,057 | DpWfmWorker thread exit
[0x7f5d87473700] | DpManager            | INFO  | 2020-11-03 13:44:36,057 | DpWfmWorker thread exit
[0x7f5e721ab680] | DpManager            | INFO  | 2020-11-03 13:44:36,061 | Stopping DpWfmWorker threads -- done
Delete service manager
Delete cmd transmitter/receiver
Delete data transmitter/receiver
Delete remote cmd receiver
Delete remote data receiver
[0x7f5e721ab680] | SyManager.RemoteGrading | INFO  | 2020-11-03 13:44:36,067 | Resetting RemoteGradingService updater...
Exit SiteManager
[0x7f5e721ab680] | IO                   | INFO  | 2020-11-03 13:44:36,068 | RED FinalizeSdk
[0x7f5e721ab680] | SyManager.Project    | INFO  | 2020-11-03 13:44:36,097 | Unlock project Untitled Project
[0x7f5e5a9cb700] | BtCommon             | INFO  | 2020-11-03 13:44:36,101 | Exit BtResourceManager Process Thread
Offline

Daniel Tufvesson

  • Posts: 274
  • Joined: Sun Sep 18, 2016 11:03 am
  • Location: Stockholm, Sweden

Re: DaVinci Resolve on Linux - Install issues

PostTue Nov 03, 2020 12:51 pm

Johan Cramer wrote:Thanks so much for looking into this!

Here is the log:
It looks like you do not have a working OpenCL. Even though you use CUDA you still need a working OpenCL setup. Do you have nvidia-opencl-icd installed?
Shoot - BMCC | BMPCC | BMPCC4K | BMVA | GH5
Edit - Resolve Studio 18.1 | Debian Linux 12 | i7-3930K CPU | X79 MB | 32GB RAM | GTX1080 GPU | Speed Editor
Monitor - Decklink SDI, SDI Duo, SDI 4K, Intensity Pro
danieltufvesson.com/makeresolvedeb
Offline

Johan Cramer

  • Posts: 245
  • Joined: Mon Aug 26, 2013 3:33 pm

Re: DaVinci Resolve on Linux - Install issues

PostTue Nov 03, 2020 12:57 pm

Daniel Tufvesson wrote:
Johan Cramer wrote:Thanks so much for looking into this!

Here is the log:
It looks like you do not have a working OpenCL. Even though you use CUDA you still need a working OpenCL setup. Do you have nvidia-opencl-icd installed?

Yes, these are the installed OpenCL packages:

Code: Select all
ii  nvidia-opencl-common                              450.80.02-1                       amd64        NVIDIA OpenCL driver - common files
ii  nvidia-opencl-dev:amd64                           10.2.89-5                         amd64        NVIDIA OpenCL development files
ii  nvidia-opencl-icd:amd64                           450.80.02-1                       amd64        NVIDIA OpenCL installable client driver (ICD)
ii  ocl-icd-libopencl1:amd64                          2.2.12-4                          amd64        Generic OpenCL ICD Loader
ii  ocl-icd-libopencl1:i386                           2.2.12-4                          i386         Generic OpenCL ICD Loader
ii  ocl-icd-opencl-dev:amd64                          2.2.12-4                          amd64        OpenCL development files
ii  opencl-c-headers                                  3.0~2020.05.12-g5cc337c-1         all          OpenCL (Open Computing Language) C header files
ii  opencl-clhpp-headers                              2.2.0~~2.0.11+git9-g0192662-1     all          C++ headers for OpenCL development
Offline

Daniel Tufvesson

  • Posts: 274
  • Joined: Sun Sep 18, 2016 11:03 am
  • Location: Stockholm, Sweden

Re: DaVinci Resolve on Linux - Install issues

PostTue Nov 03, 2020 3:15 pm

Johan Cramer wrote:Yes, these are the installed OpenCL packages:

Code: Select all
ii  nvidia-opencl-common                              450.80.02-1                       amd64        NVIDIA OpenCL driver - common files
ii  nvidia-opencl-dev:amd64                           10.2.89-5                         amd64        NVIDIA OpenCL development files
ii  nvidia-opencl-icd:amd64                           450.80.02-1                       amd64        NVIDIA OpenCL installable client driver (ICD)
ii  ocl-icd-libopencl1:amd64                          2.2.12-4                          amd64        Generic OpenCL ICD Loader
ii  ocl-icd-libopencl1:i386                           2.2.12-4                          i386         Generic OpenCL ICD Loader
ii  ocl-icd-opencl-dev:amd64                          2.2.12-4                          amd64        OpenCL development files
ii  opencl-c-headers                                  3.0~2020.05.12-g5cc337c-1         all          OpenCL (Open Computing Language) C header files
ii  opencl-clhpp-headers                              2.2.0~~2.0.11+git9-g0192662-1     all          C++ headers for OpenCL development
Hmm. No obvious problem there. Do you perhaps have multiple OpenCL ICD installed? This can be verified by looking in the directory /etc/OpenCL/vendors/. There should be one and only one *.icd file there. For NVIDIA it will be called nvidia.icd.

If that looks good then run "clinfo" and post the result here.
Shoot - BMCC | BMPCC | BMPCC4K | BMVA | GH5
Edit - Resolve Studio 18.1 | Debian Linux 12 | i7-3930K CPU | X79 MB | 32GB RAM | GTX1080 GPU | Speed Editor
Monitor - Decklink SDI, SDI Duo, SDI 4K, Intensity Pro
danieltufvesson.com/makeresolvedeb
Offline

Johan Cramer

  • Posts: 245
  • Joined: Mon Aug 26, 2013 3:33 pm

Re: DaVinci Resolve on Linux - Install issues

PostTue Nov 03, 2020 3:37 pm

Daniel Tufvesson wrote:Do you perhaps have multiple OpenCL ICD installed? This can be verified by looking in the directory /etc/OpenCL/vendors/. There should be one and only one *.icd file there. For NVIDIA it will be called nvidia.icd.

If that looks good then run "clinfo" and post the result here.


There is the contradiction:
/etc/OpenCL/vendors only includes nvidia.icd

...but clinfo gives "Number of platforms 0"

I also ran Darktable's OpenCL test (darktable-cltest) and it outputs that the runtime libOpenCL has been found, but that no platform is available and that OpenCL is not available on the system.

Thanks again for all your help!
Offline

Johan Cramer

  • Posts: 245
  • Joined: Mon Aug 26, 2013 3:33 pm

Re: DaVinci Resolve on Linux - Install issues

PostWed Nov 04, 2020 7:53 pm

Now I found the solution with help from the Debian User forum - and it's highly relevant to everyone running Resolve on Debian testing/Bullseye at this moment:

"The main nvidia module will work with kernel 5.9. However, the nvidia-uvm module will not. The upshot is that those that need CUDA and CUDA-based functions (like NVDEC/NVENC) should keep a 5.8 kernel handy until Nvidia releases a driver that works around the GPL symbol issue."

My workaround was to install Kernel 5.8 from the Debian Buster/stable backports repository - and voilà, CUDA, OpenCL and Resolve work again!
Offline

JamesMaynardGelinas

  • Posts: 33
  • Joined: Thu Nov 16, 2017 10:27 am

Re: DaVinci Resolve on Linux - Install issues

PostSat Nov 07, 2020 10:49 pm

Question on AMDGPU-Pro w/Ubuntu 20.04.1 and Resolve Studio. Noticing the GPU fan isn't spinning up during load, which forces an overheat system shutdown. But the fan spins on powerup and definitely blows. This is w/ an AMD TR1950x w/ VEGA FE card. Resolve itself works in this setup. Until you put the machine under load.
Offline

Walter Sonius

  • Posts: 105
  • Joined: Wed May 03, 2017 9:53 am

Re: DaVinci Resolve on Linux - Install issues

PostFri Nov 13, 2020 7:56 am

Davinci Resolve 17beta does start on ubuntu 20.04 with default mesa opengl, default amdgpu drivers plus amdgpu-pro opencl on a dated r390x. However as soon as opening a new project and filling the timeline with a 6k braw example clip it crashes.

Still have to test amdgpu-pro legacy opengl which was a requirment in the past.
Offline

marcokal

  • Posts: 58
  • Joined: Fri Jul 27, 2018 5:47 pm
  • Real Name: marco kleine-albers

Re: DaVinci Resolve on Linux - Install issues

PostFri Nov 13, 2020 9:09 am

Ok i run Davinci Resolve on manjaro sucessfully. I can start ist and work.
But if i install the studio version using the installer "DaVinci_Resolve_Studio_16.2.7_Linux.run" overwriting the normal version, i can NOT start it anymore!
It is stuck forever on CHECKING LICENSE. To confirm the dongle is NOT broken i used it on a windows machine and it works.
I am trying to debug this for 10 hours now, the whole day.

The crash log says:

Code: Select all
#TIME Thu Nov 12 21:01:08 2020 - Uptime 00:02:40 (hh:mm:ss)
#PROGRAM_NAME DaVinci Resolve Studio v16.2.7.010 (Linux/Clang)

./resolve() [0x557b519]
./resolve() [0x557ad0a]
/usr/lib/libpthread.so.0(+0x140f0) [0x7f7d054860f0]
/usr/lib/libc.so.6(__select+0x6b) [0x7f7d02f17b7b]
/opt/resolve/bin/../libs/libQt5Core.so.5(+0x24ca95) [0x7f7d1a372a95]
/opt/resolve/bin/../libs/libQt5Core.so.5(+0x9c7c0) [0x7f7d1a1c27c0]
/usr/lib/libpthread.so.0(+0x93e9) [0x7f7d0547b3e9]
/usr/lib/libc.so.6(clone+0x43) [0x7f7d02f20293]
Signal Number = 1


I have blacklisted the nouveau driver using a custom file in /etc/modprobe.d too
I have installed all nvidia drivers and cuda. As i said the normal "non studio" version works.
I get the loading screen and then CHECKING LICENSES will stay there forever.
license-check-forever.jpg
license-check-forever.jpg (206.84 KiB) Viewed 95340 times


Happy to try anything.


This is my ldd /opt/resolve/bin/resolve
Code: Select all
linux-vdso.so.1 (0x00007ffcddf52000)
        libc++.so.1 => /opt/resolve/bin/../libs/libc++.so.1 (0x00007f1a86ece000)
        libc++abi.so.1 => /opt/resolve/bin/../libs/libc++abi.so.1 (0x00007f1a86c9f000)
        libcudart.so.11.0 => /opt/resolve/bin/../libs/libcudart.so.11.0 (0x00007f1a86a21000)
        libcublas.so.11 => /opt/resolve/bin/../libs/libcublas.so.11 (0x00007f1a80bcf000)
        libnvrtc.so.11.0 => /opt/resolve/bin/../libs/libnvrtc.so.11.0 (0x00007f1a7f3e4000)
        libQt5Concurrent.so.5 => /opt/resolve/bin/../libs/libQt5Concurrent.so.5 (0x00007f1a7f3de000)
        libQt5Core.so.5 => /opt/resolve/bin/../libs/libQt5Core.so.5 (0x00007f1a7edfe000)
        libQt5Gui.so.5 => /opt/resolve/bin/../libs/libQt5Gui.so.5 (0x00007f1a7e884000)
        libQt5Multimedia.so.5 => /opt/resolve/bin/../libs/libQt5Multimedia.so.5 (0x00007f1a7e7a0000)
        libQt5Network.so.5 => /opt/resolve/bin/../libs/libQt5Network.so.5 (0x00007f1a7e64d000)
        libQt5OpenGL.so.5 => /opt/resolve/bin/../libs/libQt5OpenGL.so.5 (0x00007f1a7e5e8000)
        libQt5Sql.so.5 => /opt/resolve/bin/../libs/libQt5Sql.so.5 (0x00007f1a7e4a1000)
        libQt5Svg.so.5 => /opt/resolve/bin/../libs/libQt5Svg.so.5 (0x00007f1a7e448000)
        libQt5Widgets.so.5 => /opt/resolve/bin/../libs/libQt5Widgets.so.5 (0x00007f1a7ddca000)
        libQt5Xml.so.5 => /opt/resolve/bin/../libs/libQt5Xml.so.5 (0x00007f1a7dd81000)
        libQt5XmlPatterns.so.5 => /opt/resolve/bin/../libs/libQt5XmlPatterns.so.5 (0x00007f1a7d8ed000)
        libGLU.so.1 => /usr/lib/libGLU.so.1 (0x00007f1a7d83b000)
        libGL.so.1 => /usr/lib/libGL.so.1 (0x00007f1a7d7b5000)
        fusionscript.so => /opt/resolve/bin/../libs/Fusion/fusionscript.so (0x00007f1a7d175000)
        libluajit-5.1.so.2 => /opt/resolve/bin/../libs/libluajit-5.1.so.2 (0x00007f1a7cef6000)
        libtbbmalloc.so.2 => /opt/resolve/bin/../libs/libtbbmalloc.so.2 (0x00007f1a7ccb7000)
        libtbbmalloc_proxy.so.2 => /opt/resolve/bin/../libs/libtbbmalloc_proxy.so.2 (0x00007f1a7cab0000)
        libgpudetect.so => /opt/resolve/bin/../libs/libgpudetect.so (0x00007f1a7c852000)
        libXxf86vm.so.1 => /usr/lib/libXxf86vm.so.1 (0x00007f1a7c84b000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x00007f1a7c777000)
        libXext.so.6 => /usr/lib/libXext.so.6 (0x00007f1a7c762000)
        libSM.so.6 => /usr/lib/libSM.so.6 (0x00007f1a7c758000)
        libICE.so.6 => /usr/lib/libICE.so.6 (0x00007f1a7c739000)
        libX11.so.6 => /usr/lib/libX11.so.6 (0x00007f1a7c5f8000)
        libbz2.so.1 => /usr/lib/libbz2.so.1 (0x00007f1a7c5e5000)
        libxml2.so.2 => /usr/lib/libxml2.so.2 (0x00007f1a7c47f000)
        libm.so.6 => /usr/lib/libm.so.6 (0x00007f1a7c339000)
        libdl.so.2 => /usr/lib/libdl.so.2 (0x00007f1a7c333000)
        librt.so.1 => /usr/lib/librt.so.1 (0x00007f1a7c326000)
        libavformat.so.57 => /opt/resolve/bin/../libs/libavformat.so.57 (0x00007f1a7bf2c000)
        libavcodec.so.57 => /opt/resolve/bin/../libs/libavcodec.so.57 (0x00007f1a7a9c4000)
        libavutil.so.55 => /opt/resolve/bin/../libs/libavutil.so.55 (0x00007f1a7a751000)
        libMXF.so => /opt/resolve/bin/../libs/libMXF.so (0x00007f1a7a434000)
        libfraunhoferdcp.so => /opt/resolve/bin/../libs/libfraunhoferdcp.so (0x00007f1a7477f000)
        libSMDK-Linux-x64.so.4.17 => /opt/resolve/bin/../libs/libSMDK-Linux-x64.so.4.17 (0x00007f1a74441000)
        libmp4decMT.so => /opt/resolve/bin/../libs/libmp4decMT.so (0x00007f1a74111000)
        libmp4encMT.so => /opt/resolve/bin/../libs/libmp4encMT.so (0x00007f1a73ba5000)
        libsonyxavcenc.so => /opt/resolve/bin/../libs/libsonyxavcenc.so (0x00007f1a73938000)
        liblog4cxx.so.10 => /opt/resolve/bin/../libs/liblog4cxx.so.10 (0x00007f1a7341f000)
        libaprutil-1.so.0 => /opt/resolve/bin/../libs/libaprutil-1.so.0 (0x00007f1a731f5000)
        libapr-1.so.0 => /opt/resolve/bin/../libs/libapr-1.so.0 (0x00007f1a72fbd000)
        libopencv_calib3d.so.3.4 => /opt/resolve/bin/../libs/libopencv_calib3d.so.3.4 (0x00007f1a72bfd000)
        libopencv_core.so.3.4 => /opt/resolve/bin/../libs/libopencv_core.so.3.4 (0x00007f1a726ff000)
        libopencv_dnn.so.3.4 => /opt/resolve/bin/../libs/libopencv_dnn.so.3.4 (0x00007f1a7218c000)
        libopencv_features2d.so.3.4 => /opt/resolve/bin/../libs/libopencv_features2d.so.3.4 (0x00007f1a71ed9000)
        libopencv_flann.so.3.4 => /opt/resolve/bin/../libs/libopencv_flann.so.3.4 (0x00007f1a71c6d000)
        libopencv_highgui.so.3.4 => /opt/resolve/bin/../libs/libopencv_highgui.so.3.4 (0x00007f1a71a62000)
        libopencv_imgcodecs.so.3.4 => /opt/resolve/bin/../libs/libopencv_imgcodecs.so.3.4 (0x00007f1a71833000)
        libopencv_imgproc.so.3.4 => /opt/resolve/bin/../libs/libopencv_imgproc.so.3.4 (0x00007f1a71261000)
        libopencv_ml.so.3.4 => /opt/resolve/bin/../libs/libopencv_ml.so.3.4 (0x00007f1a70fa9000)
        libopencv_objdetect.so.3.4 => /opt/resolve/bin/../libs/libopencv_objdetect.so.3.4 (0x00007f1a70d5b000)
        libopencv_video.so.3.4 => /opt/resolve/bin/../libs/libopencv_video.so.3.4 (0x00007f1a70b0f000)
        libopencv_videoio.so.3.4 => /opt/resolve/bin/../libs/libopencv_videoio.so.3.4 (0x00007f1a708f4000)
        libcudnn.so.8 => /opt/resolve/bin/../libs/libcudnn.so.8 (0x00007f1a706cb000)
        libSonyRawDev.so.3 => /opt/resolve/bin/../libs/libSonyRawDev.so.3 (0x00007f1a70226000)
        libOpenCL.so.1 => /usr/lib/libOpenCL.so.1 (0x00007f1a70204000)
        libgvc.so.6 => /opt/resolve/bin/../libs/libgvc.so.6 (0x00007f1a6ff63000)
        libcgraph.so.6 => /opt/resolve/bin/../libs/libcgraph.so.6 (0x00007f1a6fd4d000)
        libcdt.so.5 => /opt/resolve/bin/../libs/libcdt.so.5 (0x00007f1a6fb46000)
        libxdot.so.4 => /opt/resolve/bin/../libs/libxdot.so.4 (0x00007f1a6f941000)
        libpathplan.so.4 => /opt/resolve/bin/../libs/libpathplan.so.4 (0x00007f1a6f739000)
        libDNxHR.so => /opt/resolve/bin/../libs/libDNxHR.so (0x00007f1a6ef96000)
        libDNxUncompressedSDK.so => /opt/resolve/bin/../libs/libDNxUncompressedSDK.so (0x00007f1a6ecba000)
        libimf.so => /opt/resolve/bin/../libs/libimf.so (0x00007f1a6e7ce000)
        libirc.so => /opt/resolve/bin/../libs/libirc.so (0x00007f1a6e574000)
        libsvml.so => /opt/resolve/bin/../libs/libsvml.so (0x00007f1a6d669000)
        libArriRawSDK.so.6 => /opt/resolve/bin/../libs/libArriRawSDK.so.6 (0x00007f1a6b592000)
        libcodexhdedecoder.so.2 => /opt/resolve/bin/../libs/libcodexhdedecoder.so.2 (0x00007f1a6b386000)
        libgvcodec.so => /opt/resolve/bin/../libs/libgvcodec.so (0x00007f1a6b15f000)
        libCrmSdk.so.2.5 => /opt/resolve/bin/../libs/libCrmSdk.so.2.5 (0x00007f1a6a3a8000)
        libid3-3.8.so.3 => /opt/resolve/bin/../libs/libid3-3.8.so.3 (0x00007f1a6a169000)
        libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007f1a6a147000)
        libssl.so.1.0.0 => /opt/resolve/bin/../libs/libssl.so.1.0.0 (0x00007f1a69ed1000)
        libcrypto.so.1.0.0 => /opt/resolve/bin/../libs/libcrypto.so.1.0.0 (0x00007f1a69a7c000)
        librsvg-2.so.2 => /usr/lib/librsvg-2.so.2 (0x00007f1a69281000)
        libBMDDavUI.so => /opt/resolve/bin/../libs/libBMDDavUI.so (0x00007f1a68fd0000)
        libQtSingleApplication.so => /opt/resolve/bin/../libs/libQtSingleApplication.so (0x00007f1a68dc1000)
        libCg.so => /opt/resolve/bin/../libs/libCg.so (0x00007f1a67e59000)
        libCgGL.so => /opt/resolve/bin/../libs/libCgGL.so (0x00007f1a67cd8000)
        libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00007f1a67cbe000)
        libc.so.6 => /usr/lib/libc.so.6 (0x00007f1a67af5000)
        /lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 (0x00007f1a871b7000)
        libcublasLt.so.11 => /opt/resolve/bin/../libs/libcublasLt.so.11 (0x00007f1a5c966000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007f1a5c787000)
        libGLdispatch.so.0 => /usr/lib/libGLdispatch.so.0 (0x00007f1a5c6d0000)
        libGLX.so.0 => /usr/lib/libGLX.so.0 (0x00007f1a5c69d000)
        libpng16.so.16 => /usr/lib/libpng16.so.16 (0x00007f1a5c664000)
        libz.so.1 => /usr/lib/libz.so.1 (0x00007f1a5c64a000)
        libharfbuzz.so.0 => /usr/lib/libharfbuzz.so.0 (0x00007f1a5c57b000)
        libuuid.so.1 => /usr/lib/libuuid.so.1 (0x00007f1a5c572000)
        libxcb.so.1 => /usr/lib/libxcb.so.1 (0x00007f1a5c548000)
        libicuuc.so.67 => /usr/lib/libicuuc.so.67 (0x00007f1a5c361000)
        liblzma.so.5 => /usr/lib/liblzma.so.5 (0x00007f1a5c337000)
        libltdl.so.7 => /usr/lib/libltdl.so.7 (0x00007f1a5c32b000)
        libasound.so.2 => /usr/lib/libasound.so.2 (0x00007f1a5c24c000)
        libexpat.so.1 => /usr/lib/libexpat.so.1 (0x00007f1a5c21d000)
        libcrypt.so.1 => /usr/lib/libcrypt.so.1 (0x00007f1a5c1e3000)
        libintlc.so.5 => /opt/resolve/bin/../libs/libintlc.so.5 (0x00007f1a5bf77000)
        libcudart.so.7.5 => /opt/resolve/bin/../libs/libcudart.so.7.5 (0x00007f1a5bd19000)
        libcairo-gobject.so.2 => /usr/lib/libcairo-gobject.so.2 (0x00007f1a5bd0b000)
        libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0 (0x00007f1a5bce6000)
        libgio-2.0.so.0 => /usr/lib/libgio-2.0.so.0 (0x00007f1a5bb2a000)
        libpangocairo-1.0.so.0 => /usr/lib/libpangocairo-1.0.so.0 (0x00007f1a5bb19000)
        libcairo.so.2 => /usr/lib/libcairo.so.2 (0x00007f1a5b9ed000)
        libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0x00007f1a5b99b000)
        libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0x00007f1a5b941000)
        libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x00007f1a5b80d000)
        libgraphite2.so.3 => /usr/lib/libgraphite2.so.3 (0x00007f1a5b7e8000)
        libXau.so.6 => /usr/lib/libXau.so.6 (0x00007f1a5b7e3000)
        libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00007f1a5b7db000)
        libicudata.so.67 => /usr/lib/libicudata.so.67 (0x00007f1a59cc2000)
        libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0x00007f1a59cbd000)
        libmount.so.1 => /usr/lib/libmount.so.1 (0x00007f1a59c5f000)
        libresolv.so.2 => /usr/lib/libresolv.so.2 (0x00007f1a59c45000)
        libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 (0x00007f1a59c2b000)
        libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x00007f1a59bde000)
        libpixman-1.so.0 => /usr/lib/libpixman-1.so.0 (0x00007f1a59b36000)
        libxcb-shm.so.0 => /usr/lib/libxcb-shm.so.0 (0x00007f1a59b31000)
        libxcb-render.so.0 => /usr/lib/libxcb-render.so.0 (0x00007f1a59b21000)
        libXrender.so.1 => /usr/lib/libXrender.so.1 (0x00007f1a59b14000)
        libfribidi.so.0 => /usr/lib/libfribidi.so.0 (0x00007f1a59af5000)
        libthai.so.0 => /usr/lib/libthai.so.0 (0x00007f1a59ae8000)
        libffi.so.7 => /usr/lib/libffi.so.7 (0x00007f1a59adc000)
        libpcre.so.1 => /usr/lib/libpcre.so.1 (0x00007f1a59a6a000)
        libblkid.so.1 => /usr/lib/libblkid.so.1 (0x00007f1a59a18000)
        libdatrie.so.1 => /usr/lib/libdatrie.so.1 (0x00007f1a59a0e000)


Ok the problem is not my OS or any drivers.
The soultion is ... there was an USB Hub connected to an USB Port. I removed it and it works. Holy...crap.
Logical because the normal non-studio was running.
Nvidia GTX 1070 TI
Ryzen 2700x
64 GB Ram
Davinci Studio (DONGLE)
Manjaro Linux
Offline

kenranosa

  • Posts: 2
  • Joined: Fri Nov 20, 2020 8:56 am
  • Real Name: Ken Ranosa

Re: DaVinci Resolve on Linux - Install issues

PostFri Nov 20, 2020 8:59 am

Screenshot from 2020-11-20 16-53-29.png
Screenshot from 2020-11-20 16-53-29.png (138.85 KiB) Viewed 95198 times


Anyone had this issue too? I cant move my window. I am on Ubuntu 18.04, GTX1080Ti and Resolve version 17.0B Build 9
Offline

rkedzior

  • Posts: 2
  • Joined: Sun Nov 22, 2020 1:15 pm
  • Real Name: Radosław Kędzior

Re: DaVinci Resolve on Linux - Install issues

PostSun Nov 22, 2020 2:02 pm

Hello,
I found in the history of this thread this message. I have probably very similar issue. I've checked the stack trace, and it's almost the same.
I face this issue during Resolve startup.

Fernando Martins wrote:Hi!

I'm also having crash "Davinci Resolve quit unexpectedly" on load this program.

My system configuration is:
Dual Xeon E6510
20GB Ram
Vídeo Geforce GTX-1060 Gigabyte
Storage 1: HD Sata 500 GB
Storage 2: HD Sata 1 TB
Storage 3: HD Sata 1 TB
Linux version 4.15.0-47-generic (buildd@lgw01-amd64-001) (gcc version 7.3.0 (Ubuntu 7.3.0-16ubuntu3))

Here the log created:
----------------------------------------------------------------------
#TIME Sat Apr 6 18:28:18 2019 - Uptime 00:00:19 (hh:mm:ss)
#PROGRAM_NAME DaVinci Resolve v15.3.1.003 (Linux/Clang)

/opt/resolve/bin/resolve() [0x468b239]
/opt/resolve/bin/resolve() [0x468a7bb]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x12890) [0x7efce25f5890]
/opt/resolve/libs/libFairlightPage.so(_ZN24UiMonitoringGraphicsView28UpdateAllScrollAreasGeometryEv+0x40) [0x7efc770564c0]
/opt/resolve/libs/libFairlightPage.so(_ZN24UiMonitoringGraphicsView11LayoutItemsEbi+0x10e) [0x7efc77054b8e]
/opt/resolve/libs/libFairlightPage.so(_ZN30UiMonitoringMeterBusSubscriber16BuildDisplayListEi+0x7f) [0x7efc77056fbf]
/opt/resolve/libs/libFairlightPage.so(_ZN31UiMonitoringMeterSubscriberBase21HandleBusFormatChangeEN2FL9ModuleIdsEiNS0_12ParameterIdsEiNS0_15TargetModifiersE+0x72) [0x7efc770604c2]
...


This issue was described one and half year ago. The difference between this issue and my:
[*] I'm trying to run Resolve on Centos 8 - above issue was related to Ubuntu
[*] I'm trying to run Resolve 17 (I also tried on 16.2.7.010 with similar stack trace) - above issue is related to Resolve 15

The discussion on this thread was focused on Ubuntu, I didn't find / missed the solution there.

My crash dump is:
#TIME Thu Nov 19 21:26:02 2020 - Uptime 00:00:06 (hh:mm:ss)
#PROGRAM_NAME DaVinci Resolve v17.0.0b.0007 (Linux/Clang)
#BMD_BUILD_UUID 3425bbf0-101b-434d-8fbc-0985de6f6f3b
#BMD_GIT_COMMIT 0674653c726c6b3b45527e211d44db730eff2d5c
#BMD_UTIL_VERSION 17.0.0b.0007
#OS Linux

/opt/resolve/bin/resolve() [0x47119a9]
/opt/resolve/bin/resolve() [0x4710c5a]
/lib64/libpthread.so.0(+0x12dd0) [0x7f22556fddd0]
/opt/resolve/libs/libFairlightPage.so(_ZN24UiMonitoringGraphicsView28UpdateAllScrollAreasGeometryEv+0x40) [0x7f21cdc6aa70]
/opt/resolve/libs/libFairlightPage.so(_ZN24UiMonitoringGraphicsView11LayoutItemsEbi+0x10e) [0x7f21cdc6921e]
/opt/resolve/libs/libFairlightPage.so(_ZN30UiMonitoringMeterBusSubscriber16BuildDisplayListEi+0x7f) [0x7f21cdc6b61f]
/opt/resolve/libs/libFairlightPage.so(_ZN31UiMonitoringMeterSubscriberBase21HandleBusFormatChangeEN2FL9ModuleIdsEiNS0_12ParameterIdsEiNS0_15TargetModifiersE+0x72) [0x7f21cdc77082]
/opt/resolve/libs/libFairlightPage.so(_ZN31UiMonitoringMeterSubscriberBase21HandleIntParamChangedEN2FL9ModuleIdsEiNS0_12ParameterIdsEiNS0_15TargetModifiersE+0x110) [0x7f21cdc76fb0]
/opt/resolve/libs/libFairlightPage.so(_ZN30UiMonitoringMeterBusSubscriber21HandleIntParamChangedEN2FL9ModuleIdsEiNS0_12ParameterIdsEiNS0_15TargetModifiersE+0x2f) [0x7f21cdc6bd9f]
/opt/resolve/libs/libFairlightPage.so(_ZN31UiMonitoringMeterSubscriberBase24StudioModelIntParChangedEN2FL9ModuleIdsEiNS0_12ParameterIdsEiNS0_15TargetModifiersE+0x14) [0x7f21cdc76cd4]
/opt/resolve/libs/libFairlightPage.so(_ZN26AsyncStudioModelSubscriber20OnAsyncIntSubscriberEN2FL9ModuleIdsEiNS0_12ParameterIdsEiNS0_15TargetModifiersE+0x18) [0x7f21cdf68a38]
/opt/resolve/libs/libFairlightPage.so(_ZN9QtPrivate11QSlotObjectIM26AsyncStudioModelSubscriberFvN2FL9ModuleIdsEiNS2_12ParameterIdsEiNS2_15TargetModifiersEENS_4ListIJS3_iS4_iS5_EEEvE4implEiPNS_15QSlotObjectBaseEP7QObjectPPvPb+0x8b) [0x7f21cdf68d7b]
/opt/resolve/bin/../libs/libQt5Core.so.5(_ZN11QMetaObject8activateEP7QObjectiiPPv+0x912) [0x7f2237d56f22]
/opt/resolve/libs/libFairlightPage.so(_ZN26AsyncStudioModelSubscriber18AsyncIntSubscriberEN2FL9ModuleIdsEiNS0_12ParameterIdsEiNS0_15TargetModifiersE+0x76) [0x7f21cdea3eb6]
/opt/resolve/libs/libFairlightPage.so(_ZThn16_N26AsyncStudioModelSubscriber13IntSubscriberEN2FL9ModuleIdsEiNS0_12ParameterIdsEiNS0_15TargetModifiersE+0x30) [0x7f21cdf68b40]
/opt/resolve/libs/libFairlightPage.so(_ZN11StudioModel21SubscribeIntParameterEN2FL9ModuleIdsEiNS0_12ParameterIdsENSt3__110shared_ptrINS0_21StudioModelSubscriberEEENS0_15TargetModifiersEb+0x485) [0x7f21cdf52805]
/opt/resolve/libs/libFairlightPage.so(_ZN25StudioModelSubscriberImpl24SubscribeStudioParameterEN2FL9ModuleIdsEiNS0_12ParameterIdsENS0_15TargetModifiersEb+0xd5) [0x7f21cdf68555]
/opt/resolve/libs/libFairlightPage.so(_ZN30UiMonitoringMeterBusSubscriber33SubscribeMeterParametersForModuleEN2FL9ModuleIdsEi+0x7a) [0x7f21cdc6bcda]
/opt/resolve/libs/libFairlightPage.so(_ZN31UiMonitoringMeterSubscriberBase10AddTargetsERK5QListI5QPairIN2FL9ModuleIdsEiEE+0xfd) [0x7f21cdc76b4d]
/opt/resolve/libs/libFairlightPage.so(_ZN15UiFLAudioMetersC1EP7QWidget+0x3bf) [0x7f21cdcc783f]
/opt/resolve/libs/libFairlightPage.so(_ZN17Ui_TimelineWidget7setupUiEP7QWidget+0x435) [0x7f21cdd1df95]
/opt/resolve/libs/libFairlightPage.so(_ZN16FLTimelineWidgetC1EP7QWidget+0x11c) [0x7f21cdd14b8c]
/opt/resolve/libs/libFairlightPage.so(_ZN20FLTimelineController8InitPageEP7QWidget+0x55) [0x7f21cdcfc305]
/opt/resolve/libs/libFairlightPage.so(_ZN22FLGlobalWidgetsHandler8InitPageEP7QWidget+0x115) [0x7f21cde4e4f5]
/opt/resolve/libs/libFairlightPage.so(_ZN14FLInterfaceImp8InitPageEPv+0x6b) [0x7f21cdcb3e3b]
/opt/resolve/bin/resolve() [0x2616553]
/opt/resolve/bin/resolve() [0x26099fb]
/opt/resolve/bin/resolve() [0x292186d]
/opt/resolve/bin/resolve() [0x2908847]
/opt/resolve/bin/resolve() [0x255b48a]
/opt/resolve/bin/resolve() [0x2559950]
/opt/resolve/bin/resolve() [0x25482d3]
/lib64/libc.so.6(__libc_start_main+0xf3) [0x7f22361386a3]
/opt/resolve/bin/resolve() [0x254739b]
Signal Number = 4


I uploaded my logs: https://drive.google.com/file/d/1Cdqs1h ... sp=sharing
One issue I know is the version of nvidia driver (I installed it with success). My version is: 390 when recommended one is 450. - Is it an issue in that case when crash happens during FairlightPage loading?

Any idea?

Best regards
Offline

didier.villevalois

  • Posts: 31
  • Joined: Fri Nov 13, 2020 12:54 pm
  • Real Name: Didier Villevalois

Re: DaVinci Resolve on Linux - Install issues

PostMon Nov 23, 2020 7:58 pm

FYI, my (quite positive) experience of DR 16.2.7 on Ubuntu 20.04.1 with AMDGPU-PRO 20.40: viewtopic.php?f=21&t=127060.
Resolve 16.2.7 – Fedora 33 – Wayland – Kernel 5.10.22-200.fc33 – opencl-amd-20.45.1188099-3.fc33
AMD Ryzen Threadripper 3960X – AMD Radeon RX 5700 – 64GB DDR4 3200 – Samsung 980 Pro 1TB
Offline

Dieter Scheel

  • Posts: 243
  • Joined: Tue Feb 14, 2017 11:15 am
  • Location: Germany

Re: DaVinci Resolve on Linux - Install issues

PostTue Nov 24, 2020 10:22 am

rkedzior wrote:Hello,
One issue I know is the version of nvidia driver (I installed it with success). My version is: 390 when recommended one is 450. - Is it an issue in that case when crash happens during FairlightPage loading?

Why do you use the ancient driver version?

Just install the latest and greatest driver 450.80.02 or higher (for instance from the graphic driver PPA) and be done with it. It is not only recommended - it is mandatory.

PS:

Would be nice if people could put lenghty logs into code tags - that would make the thread more read-friendly.
Resolve Studio 18.6 | Linux Mint 21.3 'Virginia' | 32 GB | i7 | RTX2070 8 GB (535.161.07) | 2 TB SSD | 48 TB NAS
Lenovo Legion | Resolve Studio 18.6 | Linux Mint 21.3 'Virginia' | 16 GB | i5 | GTX1650 4 GB (535.161.07) | 1.25 TB SSD
Offline

rkedzior

  • Posts: 2
  • Joined: Sun Nov 22, 2020 1:15 pm
  • Real Name: Radosław Kędzior

Re: DaVinci Resolve on Linux - Install issues

PostTue Nov 24, 2020 3:40 pm

Dieter Scheel wrote:
rkedzior wrote:Hello,
One issue I know is the version of nvidia driver (I installed it with success). My version is: 390 when recommended one is 450. - Is it an issue in that case when crash happens during FairlightPage loading?

Why do you use the ancient driver version?

Just install the latest and greatest driver 450.80.02 or higher (for instance from the graphic driver PPA) and be done with it. It is not only recommended - it is mandatory.

PS:

Would be nice if people could put lenghty logs into code tags - that would make the thread more read-friendly.


Hello,
I'm using DR on my laptop, but I want to move to stronger machine. So I've taken my old PC and I'm trying to install DR on Linux. If everything will be working fine I want to buy some hardware according to my needs and budget :). But I don't want to by new workstation as long as I'm sure I can install DR on Linux.

I tried to install 450 driver but during the installation I had a message that my card is not supported by 450 driver and I should install 390. It is strange because GeForce GT 730 is included in on the list of supported hardware by the 450 driver.
I'll try to install it once again. Maybe I missed sth.

(sorry for previous bad formatting)
Offline

Jeeggs

  • Posts: 3
  • Joined: Fri Nov 27, 2020 12:27 am
  • Real Name: Ric Lim

Re: DaVinci Resolve on Linux - Install issues

PostFri Nov 27, 2020 12:40 am

Heep042 wrote:I got Resolve to launch using Mesa OpenGL, and just the amdocl64 part from AMDGPU-PRO.


Just amdocl64? Would this work to install opencl only?
Code: Select all
amdgpu-pro-install --opencl=legacy,pal --headless --no-dkms


Then your code after?

Thanks
PreviousNext

Return to DaVinci Resolve

Who is online

Users browsing this forum: Bing [Bot], BloodMan, panos_mts, peeceful, stefan-franz, VMFXBV and 217 guests