- Posts: 5
- Joined: Sat Apr 04, 2020 7:29 am
- Real Name: Andreas Schrödinger
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