(solved*) Unable to solve Davinci resolve- Unsupported GPU processing mode ERROR. With AMD graphics.

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.

Does davinci run for you in linux?

Yes
3
50%
No - different error
0
No votes
Never tried
2
33%
No- Same problem
1
17%
 
Total votes: 6

davinci reolve123
Level 1
Level 1
Posts: 14
Joined: Sun Nov 28, 2021 3:08 pm

Re: Unable to solve Davinci resolve- Unsupported GPU processing mode ERROR. With AMD graphics.

Post by davinci reolve123 »

Ok.
I reinstalled mint.

Code: Select all

inxi -Fxxxrz
System:
  Kernel: 5.4.0-91-generic x86_64 bits: 64 compiler: gcc v: 9.3.0
  Desktop: Cinnamon 5.0.7 tk: GTK 3.24.20 wm: muffin 5.0.2 vt: 7
  dm: LightDM 1.30.0 Distro: Linux Mint 20.2 Uma base: Ubuntu 20.04 focal
Machine:
  Type: Laptop System: Dell product: Inspiron 5570 v: N/A
  serial: <superuser required> Chassis: type: 10
  serial: <superuser required>
  Mobo: Dell model: 05T59R v: A00 serial: <superuser required> UEFI: Dell
  v: 1.2.3 date: 05/15/2019
Battery:
  ID-1: BAT0 charge: 20.0 Wh (92.2%) condition: 21.7/42.0 Wh (51.6%)
  volts: 12.2 min: 11.4 model: Samsung SDI DELL CYMGM86 type: Li-ion
  serial: <filter> status: Discharging
CPU:
  Info: Quad Core model: Intel Core i5-8250U bits: 64 type: MT MCP
  arch: Kaby Lake note: check rev: A cache: L1: 256 KiB L2: 1024 KiB
  L3: 6 MiB
  flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  bogomips: 28800
  Speed: 800 MHz min/max: 400/3400 MHz Core speeds (MHz): 1: 800 2: 800
  3: 800 4: 800 5: 800 6: 800 7: 800 8: 800
Graphics:
  Device-1: Intel UHD Graphics 620 vendor: Dell driver: i915 v: kernel
  bus-ID: 00:02.0 chip-ID: 8086:5917 class-ID: 0300
  Device-2: AMD Topaz XT [Radeon R7 M260/M265 / M340/M360 / M440/M445 /
  530/535 / 620/625 Mobile]
  vendor: Dell driver: amdgpu v: kernel bus-ID: 01:00.0 chip-ID: 1002:6900
  class-ID: 0380
  Device-3: Realtek Integrated Webcam type: USB driver: uvcvideo
  bus-ID: 1-5:4 chip-ID: 0bda:568a class-ID: 0e02 serial: <filter>
  Display: x11 server: X.Org 1.20.11 driver: loaded: amdgpu,ati,modesetting
  unloaded: fbdev,vesa resolution: 1920x1080~60Hz s-dpi: 96
  OpenGL: renderer: Mesa Intel UHD Graphics 620 (KBL GT2) v: 4.6 Mesa 21.0.3
  direct render: Yes
Audio:
  Device-1: Intel Sunrise Point-LP HD Audio vendor: Dell
  driver: snd_hda_intel v: kernel bus-ID: 00:1f.3 chip-ID: 8086:9d71
  class-ID: 0403
  Sound Server-1: ALSA v: k5.4.0-91-generic running: yes
  Sound Server-2: PulseAudio v: 13.99.1 running: yes
Network:
  Device-1: Realtek RTL810xE PCI Express Fast Ethernet vendor: Dell
  driver: r8169 v: kernel port: d000 bus-ID: 02:00.0 chip-ID: 10ec:8136
  class-ID: 0200
  IF: enp2s0 state: down mac: <filter>
  Device-2: Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter
  vendor: Dell driver: ath10k_pci v: kernel bus-ID: 03:00.0
  chip-ID: 168c:0042 class-ID: 0280
  IF: wlp3s0 state: down mac: <filter>
  IF-ID-1: usb0 state: unknown speed: N/A duplex: N/A mac: <filter>
Bluetooth:
  Device-1: vivo 1803 type: USB driver: rndis_host v: kernel bus-ID: 1-3:8
  chip-ID: 2d95:6ffa class-ID: 0a00 serial: <filter>
  Device-2: Qualcomm Atheros type: USB driver: btusb v: 0.8 bus-ID: 1-7:6
  chip-ID: 0cf3:e009 class-ID: e001
  Report: ID: hci0 rfk-id: 0 state: down bt-service: enabled,running
  rfk-block: hardware: no software: yes address: <filter>
RAID:
  Hardware-1: Intel 82801 Mobile SATA Controller [RAID mode] driver: ahci
  v: 3.0 port: f060 bus-ID: 00:17.0 chip-ID: 8086:282a rev: N/A
  class-ID: 0104
Drives:
  Local Storage: total: 223.58 GiB used: 27.53 GiB (12.3%)
  ID-1: /dev/sda vendor: Western Digital model: WDS240G2G0B-00EPW0
  size: 223.58 GiB speed: 6.0 Gb/s type: SSD serial: <filter> rev: 0000
  scheme: GPT
Partition:
  ID-1: / size: 218.57 GiB used: 27.52 GiB (12.6%) fs: ext4 dev: /dev/sda2
  ID-2: /boot/efi size: 511 MiB used: 5.2 MiB (1.0%) fs: vfat dev: /dev/sda1
Swap:
  ID-1: swap-1 type: file size: 2 GiB used: 4.8 MiB (0.2%) priority: -2
  file: /swapfile
Sensors:
  System Temperatures: cpu: 51.0 C pch: 47.0 C mobo: 39.0 C sodimm: SODIMM C
  gpu: amdgpu temp: 44.0 C
  Fan Speeds (RPM): cpu: 0
Repos:
  Packages: apt: 2147
  No active apt repos in: /etc/apt/sources.list
  Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list
  1: deb http://packages.linuxmint.com uma main upstream import backport #id:linuxmint_main
  2: deb http://archive.ubuntu.com/ubuntu focal main restricted universe multiverse
  3: deb http://archive.ubuntu.com/ubuntu focal-updates main restricted universe multiverse
  4: deb http://archive.ubuntu.com/ubuntu focal-backports main restricted universe multiverse
  5: deb http://security.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse
  6: deb http://archive.canonical.com/ubuntu/ focal partner
Info:
  Processes: 264 Uptime: 2h 19m wakeups: 1 Memory: 15.54 GiB
  used: 2.65 GiB (17.1%) Init: systemd v: 245 runlevel: 5 Compilers:
  gcc: 9.3.0 alt: 9 Shell: Bash v: 5.0.17 running-in: gnome-terminal
  inxi: 3.3.09

Then on a fresh mint after updates etc., i installed davinci resolve in this manner which apparently works for many people - https://www.linuxslaves.com/2021/01/ins ... linux.html

After installing linux my driver manager says - "you computer does not need any additional drivers" this way - https://ibb.co/FVN0Jcq Image
and no trim (maybe that has nothing to do here) - https://ibb.co/SsQwmDk Image

First, i ran the inxi update commands.
After that, the outputs are as below -

Code: Select all

$ glxinfo -B

Code: Select all

name of display: :0
display: :0  screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: Intel (0x8086)
    Device: Mesa Intel(R) UHD Graphics 620 (KBL GT2) (0x5917)
    Version: 21.0.3
    Accelerated: yes
    Video memory: 3072MB
    Unified memory: yes
    Preferred profile: core (0x1)
    Max core profile version: 4.6
    Max compat profile version: 4.6
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.2
OpenGL vendor string: Intel
OpenGL renderer string: Mesa Intel(R) UHD Graphics 620 (KBL GT2)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 21.0.3
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 4.6 (Compatibility Profile) Mesa 21.0.3
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile

OpenGL ES profile version string: OpenGL ES 3.2 Mesa 21.0.3
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

Then -

Code: Select all

$ inxi --version

Code: Select all

inxi 3.3.09-00 (2021-11-22)

Copyright (C) 2008-2021 Harald Hope aka h2
Forked from Infobash 3.02: 
Copyright (C) 2005-2007 Michiel de Boer aka locsmif. 
Using Perl version: 5.030000
Program Location: /usr/bin

Website: https://github.com/smxi/inxi or https://smxi.org/
IRC: irc.oftc.net channel: #smxi
Forums: https://techpatterns.com/forums/forum-33.html

This program is free software; you can redistribute it and/or modify it under 
the terms of the GNU General Public License as published by the Free Software 
Foundation; either version 3 of the License, or (at your option) any later 
version. (https://www.gnu.org/licenses/gpl.html) 

Now, i try to open davinci with this screen - https://ibb.co/rGJ9nSw Image



Now, the last step should be
Your laptop has an Intel iGPU and an AMD GPU. While the ability to switch between Intel and Nvidia is set up to automatically work in Mint, you have to take some additional steps to get the AMD GPU set up as the primary graphics rendering device in Mint.
and
The AMD drivers available from their website have an OpenCL package and it is possible to install just it.
I am not able to follow these important steps, so maybe it will work after these steps are done,

Code: Select all

Graphics:
  Device-1: Intel UHD Graphics 620 vendor: Dell driver: i915 v: kernel
  bus-ID: 00:02.0
  Device-2: AMD Topaz XT [Radeon R7 M260/M265 / M340/M360 / M440/M445 /
  530/535 / 620/625 Mobile]
  vendor: Dell driver: amdgpu v: kernel bus-ID: 01:00.0
  Device-3: Realtek Integrated Webcam type: USB driver: uvcvideo
  bus-ID: 1-5:4
  Display: x11 server: X.Org 1.20.11 driver: loaded: amdgpu,ati,modesetting
  unloaded: fbdev,vesa resolution: 1920x1080~60Hz
  OpenGL: renderer: AMD ICELAND (DRM 3.35.0 5.4.0-91-generic LLVM 12.0.0)
  v: 4.6 Mesa 21.0.3 direct render: Yes



So, i see from the above code that my pc has AMD Topaz XT, Radeon R7. But, which one? It shows RAdeon R7 60/M265 / M340/M360 / M440/M445 /
530/535 / 620/625 Mobile. All these are there in the options of AMD website, which one to download? M260 or M265 or ....
The AMD website shows instructions here - https://www.amd.com/en/support/kb/faq/a ... requisites but after downloading the zip file, i am not able to follow further commands, amdgpu-install command not found...

Which file to download from amd site? Then do i just use 'extract here' then open terminal in the extacted folder then type ./amdgpu-install ?
User avatar
SMG
Level 25
Level 25
Posts: 31911
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Unable to solve Davinci resolve- Unsupported GPU processing mode ERROR. With AMD graphics.

Post by SMG »

davinci reolve123 wrote: Wed Dec 01, 2021 9:01 am Then on a fresh mint after updates etc., i installed davinci resolve in this manner which apparently works for many people - https://www.linuxslaves.com/2021/01/ins ... linux.html
I have seen multiple people reference using similar instructions. Thanks for letting us know which instructions you have used.
davinci reolve123 wrote: Wed Dec 01, 2021 9:01 amAfter installing linux my driver manager says - "you computer does not need any additional drivers" this way - https://ibb.co/FVN0Jcq Image
Driver manager is only for proprietary third-party drivers. Because AMD drivers are included in the kernel, there are never any AMD drivers listed in Driver Manager.
davinci reolve123 wrote: Wed Dec 01, 2021 9:01 amand no trim (maybe that has nothing to do here) - https://ibb.co/SsQwmDk
No, it does not have any relevance to this issue. If you have a question about it, you can search this forum or create a new topic with your questions on it.
davinci reolve123 wrote: Wed Dec 01, 2021 9:01 amNow, i try to open davinci with this screen - [Image
If you open it now (after you ran DRI_PRIME=1 which changed the renderer to AMD), are you able to select from the drop-down boxes?

Perhaps because you followed the instructions which installed libssl1.0.0 and ocl-icd-opencl-dev it may not be necessary to install the other packages. See if you get options in those drop-down boxes to set the options I mentioned earlier in this topic.
For GPU Processing Mode, you want to uncheck "Auto" and then select OpenCL from the drop-down.
For GPU selection, you want to uncheck "Auto" and then select your AMD card.
davinci reolve123 wrote: Wed Dec 01, 2021 9:01 amSo, i see from the above code that my pc has AMD Topaz XT, Radeon R7. But, which one? It shows RAdeon R7 60/M265 / M340/M360 / M440/M445 /
530/535 / 620/625 Mobile. All these are there in the options of AMD website, which one to download? M260 or M265 or ....
I suspect they all lead to the same driver version, but I will check and get back to you. I want to also review some of the posts from people on this forum who are running it to see if there was anything beyond the steps already listed that they might have done to get it working.

Let us know if you can see options in the drop-down boxes.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
User avatar
MikeNovember
Level 7
Level 7
Posts: 1856
Joined: Fri Feb 28, 2020 7:37 am
Location: Nice, Paris, France

Re: Unable to solve Davinci resolve- Unsupported GPU processing mode ERROR. With AMD graphics.

Post by MikeNovember »

Hi,

Some comments:

- On a system with two GPUs (Intel and AMD), it is normally necessary to select what GPU will be used. This is usually done in UEFI / BIOS. Since Intel has probably not any OpenCL capability, AMD GPU should be selected.

- It seems that OpenCL is not part of OpenSource AMD Drivers, and needs to be installed separately. See https://einsteinathome.org/fr/content/q ... lar-distro.

- Once done, OpenCL install on Linux Mint can be checked easily with clinfo command (if clinfo is not installed, install it with Synaptic). On my computer here is the (rather verbose) output:

Code: Select all

~$ clinfo
Number of platforms                               1
  Platform Name                                   NVIDIA CUDA
  Platform Vendor                                 NVIDIA Corporation
  Platform Version                                OpenCL 1.2 CUDA 9.1.84
  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
  Platform Extensions function suffix             NV

  Platform Name                                   NVIDIA CUDA
Number of devices                                 1
  Device Name                                     GeForce GTX 560M
  Device Vendor                                   NVIDIA Corporation
  Device Vendor ID                                0x10de
  Device Version                                  OpenCL 1.1 CUDA
  Driver Version                                  390.144
  Device OpenCL C Version                         OpenCL C 1.1 
  Device Type                                     GPU
  Device Topology (NV)                            PCI-E, 01:00.0
  Device Profile                                  FULL_PROFILE
  Device Available                                Yes
  Compiler Available                              Yes
  Max compute units                               4
  Max clock frequency                             1550MHz
  Compute Capability (NV)                         2.1
  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  No
  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                              3150839808 (2.934GiB)
  Error Correction support                        No
  Max memory allocation                           787709952 (751.2MiB)
  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                        65536 (64KiB)
  Global Memory cache line size                   128 bytes
  Image support                                   Yes
    Max number of samplers per kernel             16
    Max 2D image size                             16384x16384 pixels
    Max 3D image size                             2048x2048x2048 pixels
    Max number of read image args                 128
    Max number of write image args                8
  Local memory type                               Local
  Local memory size                               49152 (48KiB)
  Registers per block (NV)                        32768
  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
  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                  1
  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

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
Regards,

MN
Last edited by SMG on Wed Dec 01, 2021 1:09 pm, edited 1 time in total.
Reason: Replaced quote tags with code tags for the code output.
_____________________________
Linux Mint 21.3 Mate host with Ubuntu Pro enabled, VMware Workstation Player with Windows 10 Pro guest, ASUS G74SX (i7-2670QM, 16 GB RAM, GTX560M with 3GB RAM, 1TB SSD).
User avatar
SMG
Level 25
Level 25
Posts: 31911
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Unable to solve Davinci resolve- Unsupported GPU processing mode ERROR. With AMD graphics.

Post by SMG »

MikeNovember wrote: Wed Dec 01, 2021 12:40 pm Some comments:
I'm not sure to whom you are directing this information, but not only are you not providing new information for me, you are again posting incorrect information.
MikeNovember wrote: Wed Dec 01, 2021 12:40 pm- On a system with two GPUs (Intel and AMD), it is normally necessary to select what GPU will be used. This is usually done in UEFI / BIOS.
No, it is not usually done in the BIOS/UEFI on Intel/older AMD GPUs. In fact, it is almost never in the BIOS/UEFI.

Not only have I already explained to the OP how to make the AMD GPU the primary renderer, they have posted information indicating that has been done.
MikeNovember wrote: Wed Dec 01, 2021 12:40 pm- It seems that OpenCL is not part of OpenSource AMD Drivers, and needs to be installed separately.
Yes, I already posted that information earlier in this topic.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
davinci reolve123
Level 1
Level 1
Posts: 14
Joined: Sun Nov 28, 2021 3:08 pm

Re: Unable to solve Davinci resolve- Unsupported GPU processing mode ERROR. With AMD graphics.

Post by davinci reolve123 »

Thank you MN and SMG,
as of now

Code: Select all

 clinfo
Number of platforms                               0
https://einsteinathome.org/fr/content/q ... lar-distro This was helpful too but i am still not able to go past this step - https://amdgpu-install.readthedocs.io/e ... cript.html

I was able to do the commands of the prerequisites, but for some reason the amdgpu-install command does not run for me.

Code: Select all

adminpc@admincomputer:~$  amdgpu-install -h
amdgpu-install: command not found
I have done all the other steps, just not been able to do the amdgpu-install, which will install the opencl.
Presently , there is no drop down menu.
https://www.amd.com/en/support/kb/faq/a ... stallation
https://ibb.co/VLt15gq


Also, can someone tell me how to run davinci resolve with DRI_PRIME=1 from command line? I haven't tried that -

Code: Select all

adminpc@admincomputer:~$ DRI_PRIME=1 resolve
resolve: command not found
adminpc@admincomputer:~$ DRI_PRIME=1 davinci-resolve
davinci-resolve: command not found
adminpc@admincomputer:~$ DRI_PRIME=1 davinci_resolve
davinci_resolve: command not found
adminpc@admincomputer:~$ DRI_PRIME=1 davinci
davinci: command not found
adminpc@admincomputer:~$ DRI_PRIME=1 Davinci resolve
Davinci: command not found
adminpc@admincomputer:~$ ???
???: command not found
Thank you.
User avatar
MikeNovember
Level 7
Level 7
Posts: 1856
Joined: Fri Feb 28, 2020 7:37 am
Location: Nice, Paris, France

Re: Unable to solve Davinci resolve- Unsupported GPU processing mode ERROR. With AMD graphics.

Post by MikeNovember »

SMG wrote: Wed Dec 01, 2021 1:33 pm
MikeNovember wrote: Wed Dec 01, 2021 12:40 pm Some comments:
I'm not sure to whom you are directing this information, but not only are you not providing new information for me, you are again posting incorrect information.
Including clinfo?

MikeNovember wrote: Wed Dec 01, 2021 12:40 pm- On a system with two GPUs (Intel and AMD), it is normally necessary to select what GPU will be used. This is usually done in UEFI / BIOS.
No, it is not usually done in the BIOS/UEFI on Intel/older AMD GPUs. In fact, it is almost never in the BIOS/UEFI.

Not only have I already explained to the OP how to make the AMD GPU the primary renderer, they have posted information indicating that has been done.
It seems we are both wrong. AMD GPU renderer seems to be a kind of "coprocessor" to Intel UHD 620; all video is through Intel UHD 620. Dell calls UHD 620 "integrated" GPU and AMD 530 "dedicated". No way to select AMD 530 as a primary display.

MikeNovember wrote: Wed Dec 01, 2021 12:40 pm- It seems that OpenCL is not part of OpenSource AMD Drivers, and needs to be installed separately.
Yes, I already posted that information earlier in this topic.
Sorry, it seems we are both still wrong!

AMD Radeon 530 specs are here: https://www.amd.com/en/products/graphics/radeon-530. It is said to support OpenCL 2.0

However, AMD seems to not supply any Linux driver for this GPU, drivers are available for Windows only. AMD Drivers for Linux available on their website don't support AMD Radeon 530 see https://www.amd.com/en/support/kb/relea ... inux-21-30 for 21.30 version or https://www.amd.com/en/support/kb/relea ... inux-20-20 for 20.20 version.

So, since no proprietary OpenCL Linux driver is available for this GPU, unless some OpenSource one exists, I'm afraid it will not possible to use it with DaVinci Resolve under Linux.

According to some posts in forums, the package "mesa-opencl-icd" could bring a minimal support of OpenCL.

The output of "clinfo" on OP system would say if OpenCL has been installed or not on OP system during Mint install.

Regards,

MN

PS: since this GPU does have AMD provided drivers for Windows, it will be possible to use its OpenCL capability and then run DaVinci Resolve under Windows.
Last edited by MikeNovember on Wed Dec 01, 2021 2:59 pm, edited 1 time in total.
_____________________________
Linux Mint 21.3 Mate host with Ubuntu Pro enabled, VMware Workstation Player with Windows 10 Pro guest, ASUS G74SX (i7-2670QM, 16 GB RAM, GTX560M with 3GB RAM, 1TB SSD).
User avatar
SMG
Level 25
Level 25
Posts: 31911
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Unable to solve Davinci resolve- Unsupported GPU processing mode ERROR. With AMD graphics.

Post by SMG »

davinci reolve123 wrote: Wed Dec 01, 2021 2:43 pmhttps://einsteinathome.org/fr/content/q ... lar-distro This was helpful too but i am still not able to go past this step - https://amdgpu-install.readthedocs.io/e ... cript.html
That link is not the correct information for your GPU. You do not have an LM19 install. The drivers for Ubuntu 18.04 based products are different than the ones for Ubuntu 20.04 based products which is what you have installed.

Data from your earlier post indicates your computer has a Radeon 530.

Code: Select all

user@admincomputer:~$ sudo lspci -v -s 01:00.0
01:00.0 Display controller: Advanced Micro Devices, Inc. [AMD/ATI] Topaz XT [Radeon R7 M260/M265 / M340/M360 / M440/M445 / 530/535 / 620/625 Mobile] (rev c1)
	Subsystem: Dell Radeon 530
The AMD Radeon™ 530 Drivers & Support page indicates AMD only supported Windows for this GPU. No drivers were ever released for Linux-based distros.

The era of that driver is considered "legacy" to AMD, so support for it is not included in recent driver packages.

I am checking to see if there are other options or if you will have to use Windows.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
User avatar
SMG
Level 25
Level 25
Posts: 31911
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Unable to solve Davinci resolve- Unsupported GPU processing mode ERROR. With AMD graphics.

Post by SMG »

MikeNovember wrote: Wed Dec 01, 2021 2:48 pmIt seems we are both wrong. AMD GPU renderer seems to be a kind of "coprocessor" to Intel UHD 620; all video is through Intel UHD 620. Dell calls UHD 620 "integrated" GPU and AMD 530 "dedicated". No way to select AMD 530 as a primary display.
No, "we" are not both wrong. You do not understand how these graphics work.

I spend most of my time helping people on this forum with graphics issues so this is not new for me. Because this is not your topic I will not spend the time to hunt down links I have provided for others to explain how the graphics work.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
User avatar
MikeNovember
Level 7
Level 7
Posts: 1856
Joined: Fri Feb 28, 2020 7:37 am
Location: Nice, Paris, France

Re: Unable to solve Davinci resolve- Unsupported GPU processing mode ERROR. With AMD graphics.

Post by MikeNovember »

SMG wrote: Wed Dec 01, 2021 3:09 pm
MikeNovember wrote: Wed Dec 01, 2021 2:48 pmIt seems we are both wrong. AMD GPU renderer seems to be a kind of "coprocessor" to Intel UHD 620; all video is through Intel UHD 620. Dell calls UHD 620 "integrated" GPU and AMD 530 "dedicated". No way to select AMD 530 as a primary display.
No, "we" are not both wrong. You do not understand how these graphics work.

I spend most of my time helping people on this forum with graphics issues so this is not new for me. Because this is not your topic I will not spend the time to hunt down links I have provided for others to explain how the graphics work.
Hi,

Sorry, I disagree; AMD Radeon 530 GPU cannot be selected as a primary GPU; I have written it was possible, you have written "Not only have I already explained to the OP how to make the AMD GPU the primary renderer". This Radeon 530 has no video output, and all video data funnels through the Intel GPU on its way to the screen.

However it seems we agree about the fact there are no Linux AMD drivers for this card.

It seems that Intel UHD 620 has also some low peformance OpenCL capability. Since Intel does not provide drivers for Linux, once more there is no issue.

What about installing the package "mesa-opencl-icd"?

It is described as "This package contains the mesa implementation of the OpenCL (Open Compute Language) library, which is intended for use with an ICD loader. OpenCL provides a standardized interface for computational analysis on graphical processing units".

It seems it can offer a full OpenSource OpenCL install for AMD GPU, see explanation and full how to here: http://hansekbrand.se/code/OpenCLAgain.html
The article is written for Debian, might work on Mint / Ubuntu.

Maybe worth a trial, with clinfo test before and after.

Regards,

MN
_____________________________
Linux Mint 21.3 Mate host with Ubuntu Pro enabled, VMware Workstation Player with Windows 10 Pro guest, ASUS G74SX (i7-2670QM, 16 GB RAM, GTX560M with 3GB RAM, 1TB SSD).
User avatar
SMG
Level 25
Level 25
Posts: 31911
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Unable to solve Davinci resolve- Unsupported GPU processing mode ERROR. With AMD graphics.

Post by SMG »

MikeNovember wrote: Wed Dec 01, 2021 3:31 pmSorry, I disagree; AMD Radeon 530 GPU cannot be selected as a primary GPU; I have written it was possible, you have written "Not only have I already explained to the OP how to make the AMD GPU the primary renderer". This Radeon 530 has no video output, and all video data funnels through the Intel GPU on its way to the screen.
I repeat. I understand how these graphics work. One can set the Radeon as the primary render or the Intel as the primary renderer. The renderer is different from the display. The fact the Intel GPU displays the graphics does NOT mean it is the primary renderer of the graphics.
MikeNovember wrote: Wed Dec 01, 2021 3:31 pmHowever it seems we agree about the fact there are no Linux AMD drivers for this card, and that OpenCL cannot be installed for it.
Please do not speak for me. I have already said I will look into what is possible as will post again later.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
User avatar
SMG
Level 25
Level 25
Posts: 31911
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Unable to solve Davinci resolve- Unsupported GPU processing mode ERROR. With AMD graphics.

Post by SMG »

davinci reolve123 wrote: Sun Nov 28, 2021 4:09 pmI recently moved from windows to Linux and everything has been brilliant except my problems with Davinci resolve, which is very important for my work, it used to work well in Windows 10 for me.
I do not know which version of Davinci Resolve you were using or what AMD drivers you were using, but the information I found looks like even if we were able to trick the AMD installer and get only the AMD OpenCL part to install, it is possible it would only work until the next kernel update. It seems unlikely to be a one and done type of install because it could cause other problems.

Everything I read about Davinci Resolve indicates it is quite particular. If one is using AMD then one needs to be using the AMD OpenCL packages. To install those packages requires installing from the AMD website. Even beyond the fact that AMD only made Windows drivers available for your GPU, your GPU is of an era for which AMD no longer provides current drivers. Therefore we would have to try and install from packages that were never meant to work with your generation of GPU.

I did find directions for installing only the AMD OpenGL part for legacy GPUs which I think would work if we only installed those particular files. However, I also found people indicating the AMD installer does checks on the system for installing and it may not necessarily install. Or it does install and then ignores some of the parameters passed to it which could then end up causing issues. Unfortunately, that seems a quite likely possibility. One person installed it and on the very next kernel update was unable to reboot or shutdown their system because, apparently, the installer did more than it was told to do.

There were some people who were creative about getting the AMD tar file and then selectively installing only certain .deb files to get around the installer doing what it wanted to do. It might be okay, but my concern is the ability for longer term effects when updates come through. You would have a very non-standardized install which is always harder to maintain.

The other issue is the AMD driver packages are only set up to work for specific kernel versions. Your computer has an 8th-gen Intel CPU and based on a multitude of people who have posted on this forum with freeze issues which were cleared by updating to a newer kernel than the 5.4 LTS, I strongly encourage people to use newer kernels on those computers. (They are available in Update Manager.) I especially recommend doing that if one is running any type of CPU-intensive software which it sounds like you want to do.

Therefore, my recommendation is to go the dual-boot route. However, if you did want to see if you could get it to work, the first thing you should do is take a Timeshift snapshot. While you do not have to set up Timeshift to run automatically, I strongly recommend using it on a regular basis.

The last AMD driver package which came as a tar file is the Radeon™ Software for Linux® 21.30. You would want to download the "Radeon™ Software for Linux® version 21.30 for Ubuntu 20.04.3" version. That driver package will work with the 5.11 kernel.

The easiest instructions I found seem to be How to Install AMD OpenCL GPU Drivers on Ubuntu 21.04 for Miners | Oct 2021. Based on other info I found, I believe you will want to run sudo apt-get update before starting the instructions and you would stop before the UPDATE regarding Wattman overclocking. Note: That person does have an AMD GPU which is still supported.

Let us know if you have questions.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
User avatar
ShadowSkill
Level 1
Level 1
Posts: 22
Joined: Mon Nov 15, 2021 11:53 am

Re: Unable to solve Davinci resolve- Unsupported GPU processing mode ERROR. With AMD graphics.

Post by ShadowSkill »

I've been using Davinci Resolve in Mint for about a year (using nvidia gpu) without a hitch.
If you have trouble installing/running the package from davinci, try converting to .deb using the script by Daniel Tufvesson:
https://www.danieltufvesson.com/makeresolvedeb

There is some info about amd gpu too in there, maybe that's relevant to your issue.
User avatar
MikeNovember
Level 7
Level 7
Posts: 1856
Joined: Fri Feb 28, 2020 7:37 am
Location: Nice, Paris, France

Re: Unable to solve Davinci resolve- Unsupported GPU processing mode ERROR. With AMD graphics.

Post by MikeNovember »

Hi,

To the attention of davinci reolve123:

I have posted a link explaining how to install OpenCL for AMD GPUs without the need of an AMD OpenCL driver.

The link is here: http://hansekbrand.se/code/OpenCLAgain.html

The author explains how to install a full OpenSource solution for AMD GPUs. Here is the author's introduction:
This is a follow up to OpenCL on IntelHD on Debian. This time I'll show the installation necessary in order to use OpenCL on AMD hardware.

When I wrote up OpenCL on IntelHD on Debian, I read https://wiki.debian.org/ATIStream and got the impression that the non-free AMD drivers where necessary in order to get OpenCL working on AMD hardware in debian. But it turns out there is a fully FLOSS OpenCL stack, which is nice because the video drivers of the non-free stack did not work as well as the FLOSS video drivers for my card.
The installation is done by the command:

Code: Select all

sudo apt-get install ocl-icd-libopencl1 mesa-opencl-icd ocl-icd-opencl-dev
The three packages are available in Linux Mint 20.2, including their dependencies. Their installation will induce the one of extra packages.

It is probably worth a test: take a Timeshift snapshot; install them; reboot; test OpenCL presence with "clinfo" command; test DaVinci Resolve.

If something is wrong, boot from Linux Mint installation DVD or USB key and go back to former installation with Timeshift.

Regards,

MN
_____________________________
Linux Mint 21.3 Mate host with Ubuntu Pro enabled, VMware Workstation Player with Windows 10 Pro guest, ASUS G74SX (i7-2670QM, 16 GB RAM, GTX560M with 3GB RAM, 1TB SSD).
dave0808
Level 5
Level 5
Posts: 987
Joined: Sat May 16, 2015 1:02 pm

Re: Unable to solve Davinci resolve- Unsupported GPU processing mode ERROR. With AMD graphics.

Post by dave0808 »

MikeNovember wrote: Wed Dec 01, 2021 8:13 am
dave0808 wrote: Wed Dec 01, 2021 6:54 am
MikeNovember wrote: Mon Nov 29, 2021 3:36 pm - Linux Mint is not supported by DaVinci resolve (a good indication it cannot be done, for me).
No, all that indicates is that the developers / company don't have the time and/or resources and/or political will to test/run on other operating systems.
Hi,

= not supported?

In current English or American, some meanings of "to support" are: "to give encouragement and approval to someone or something because you want the person or thing to succeed", "to help someone emotionally or in a practical way".
Exactly. It doesn't mean that running this on Mint can't be done as you wrote previously, just that there won't be any official support for it from the developers.
davinci reolve123
Level 1
Level 1
Posts: 14
Joined: Sun Nov 28, 2021 3:08 pm

Re: Unable to solve Davinci resolve- Unsupported GPU processing mode ERROR. With AMD graphics.

Post by davinci reolve123 »

Bravo!
Finally works!
https://ibb.co/6W4P14k https://ibb.co/FsS9t5s
I was just about to restart my laptop and install godforsaken Windows 10,
https://ibb.co/FV6KWLw Image
i thought i'd give a try to all the new posts/solutions one by one in order.

So, the clinfo gave this result -

Code: Select all

 clinfo
Number of platforms                               0
Then next up was this solution, thanks to MN 8) -
It seems it can offer a full OpenSource OpenCL install for AMD GPU, see explanation and full how to here: http://hansekbrand.se/code/OpenCLAgain.html
The article is written for Debian, might work on Mint / Ubuntu.
SO, i gave it a try, there was only one small code there -
So, to get a free OpenCL stack for AMD hardware, I issued:

Code: Select all

sudo apt-get install ocl-icd-libopencl1 mesa-opencl-icd ocl-icd-opencl-dev
I got this result -

Code: Select all

~$ sudo apt-get install ocl-icd-libopencl1 mesa-opencl-icd ocl-icd-opencl-dev
[sudo] password for adminpc:         
Reading package lists... Done
Building dependency tree       
Reading state information... Done
ocl-icd-libopencl1 is already the newest version (2.2.11-1ubuntu1).
ocl-icd-opencl-dev is already the newest version (2.2.11-1ubuntu1).
The following additional packages will be installed:
  lib32gcc-s1 lib32stdc++6 libc6-i386 libclang-common-11-dev libclang-cpp12
  libclc-amdgcn libclc-dev libclc-r600
The following NEW packages will be installed:
  lib32gcc-s1 lib32stdc++6 libc6-i386 libclang-common-11-dev libclang-cpp12
  libclc-amdgcn libclc-dev libclc-r600 mesa-opencl-icd
0 upgraded, 9 newly installed, 0 to remove and 0 not upgraded.
Need to get 28.8 MB of archives.
After this operation, 209 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libc6-i386 amd64 2.31-0ubuntu9.2 [2,723 kB]
Get:2 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 lib32gcc-s1 amd64 10.3.0-1ubuntu1~20.04 [49.2 kB]
Get:3 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 lib32stdc++6 amd64 10.3.0-1ubuntu1~20.04 [525 kB]
Get:4 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libclang-common-11-dev amd64 1:11.0.0-2~ubuntu20.04.1 [4,853 kB]
Get:5 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 libclang-cpp12 amd64 1:12.0.0-3ubuntu1~20.04.4 [9,666 kB]
Get:6 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 libclc-dev all 0.2.0+git20190827-7~ubuntu0.20.04.1 [24.7 kB]
Get:7 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 libclc-r600 all 0.2.0+git20190827-7~ubuntu0.20.04.1 [1,665 kB]
Get:8 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 libclc-amdgcn all 0.2.0+git20190827-7~ubuntu0.20.04.1 [2,263 kB]
Get:9 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 mesa-opencl-icd amd64 21.0.3-0ubuntu0.3~20.04.5 [7,034 kB]
Fetched 28.8 MB in 20s (1,471 kB/s)                                            
Selecting previously unselected package libc6-i386.
(Reading database ... 327045 files and directories currently installed.)
Preparing to unpack .../0-libc6-i386_2.31-0ubuntu9.2_amd64.deb ...
Unpacking libc6-i386 (2.31-0ubuntu9.2) ...
Selecting previously unselected package lib32gcc-s1.
Preparing to unpack .../1-lib32gcc-s1_10.3.0-1ubuntu1~20.04_amd64.deb ...
Unpacking lib32gcc-s1 (10.3.0-1ubuntu1~20.04) ...
Selecting previously unselected package lib32stdc++6.
Preparing to unpack .../2-lib32stdc++6_10.3.0-1ubuntu1~20.04_amd64.deb ...
Unpacking lib32stdc++6 (10.3.0-1ubuntu1~20.04) ...
Selecting previously unselected package libclang-common-11-dev.
Preparing to unpack .../3-libclang-common-11-dev_1%3a11.0.0-2~ubuntu20.04.1_amd64.deb ...
Unpacking libclang-common-11-dev (1:11.0.0-2~ubuntu20.04.1) ...
Selecting previously unselected package libclang-cpp12.
Preparing to unpack .../4-libclang-cpp12_1%3a12.0.0-3ubuntu1~20.04.4_amd64.deb ...
Unpacking libclang-cpp12 (1:12.0.0-3ubuntu1~20.04.4) ...
Selecting previously unselected package libclc-dev.
Preparing to unpack .../5-libclc-dev_0.2.0+git20190827-7~ubuntu0.20.04.1_all.deb ...
Unpacking libclc-dev (0.2.0+git20190827-7~ubuntu0.20.04.1) ...
Selecting previously unselected package libclc-r600.
Preparing to unpack .../6-libclc-r600_0.2.0+git20190827-7~ubuntu0.20.04.1_all.deb ...
Unpacking libclc-r600 (0.2.0+git20190827-7~ubuntu0.20.04.1) ...
Selecting previously unselected package libclc-amdgcn.
Preparing to unpack .../7-libclc-amdgcn_0.2.0+git20190827-7~ubuntu0.20.04.1_all.deb ...
Unpacking libclc-amdgcn (0.2.0+git20190827-7~ubuntu0.20.04.1) ...
Selecting previously unselected package mesa-opencl-icd:amd64.
Preparing to unpack .../8-mesa-opencl-icd_21.0.3-0ubuntu0.3~20.04.5_amd64.deb ...
Unpacking mesa-opencl-icd:amd64 (21.0.3-0ubuntu0.3~20.04.5) ...
Setting up libclang-cpp12 (1:12.0.0-3ubuntu1~20.04.4) ...
Setting up libc6-i386 (2.31-0ubuntu9.2) ...
Setting up libclc-dev (0.2.0+git20190827-7~ubuntu0.20.04.1) ...
Setting up lib32gcc-s1 (10.3.0-1ubuntu1~20.04) ...
Setting up lib32stdc++6 (10.3.0-1ubuntu1~20.04) ...
Setting up libclang-common-11-dev (1:11.0.0-2~ubuntu20.04.1) ...
Setting up libclc-amdgcn (0.2.0+git20190827-7~ubuntu0.20.04.1) ...
Setting up libclc-r600 (0.2.0+git20190827-7~ubuntu0.20.04.1) ...
Setting up mesa-opencl-icd:amd64 (21.0.3-0ubuntu0.3~20.04.5) ...
Processing triggers for libc-bin (2.31-0ubuntu9.2) ...

Next, i tried clinfo again -

Code: Select all

~$ clinfo
Number of platforms                               1
  Platform Name                                   Clover
  Platform Vendor                                 Mesa
  Platform Version                                OpenCL 1.1 Mesa 21.0.3
  Platform Profile                                FULL_PROFILE
  Platform Extensions                             cl_khr_icd
  Platform Extensions function suffix             MESA

  Platform Name                                   Clover
Number of devices                                 1
  Device Name                                     AMD ICELAND (DRM 3.35.0, 5.4.0-91-generic, LLVM 12.0.0)
  Device Vendor                                   AMD
  Device Vendor ID                                0x1002
  Device Version                                  OpenCL 1.1 Mesa 21.0.3
  Driver Version                                  21.0.3
  Device OpenCL C Version                         OpenCL C 1.1 
  Device Type                                     GPU
  Device Profile                                  FULL_PROFILE
  Device Available                                Yes
  Compiler Available                              Yes
  Max compute units                               6
  Max clock frequency                             1024MHz
  Max work item dimensions                        3
  Max work item sizes                             256x256x256
  Max work group size                             256
=== CL_PROGRAM_BUILD_LOG ===
fatal error: cannot open file '/usr/local//usr/lib/clc/iceland-amdgcn-mesa-mesa3d.bc': No such file or directory
  Preferred work group size multiple              <getWGsizes:1200: create kernel : error -46>
  Preferred / native vector sizes                 
    char                                                16 / 16      
    short                                                8 / 8       
    int                                                  4 / 4       
    long                                                 2 / 2       
    half                                                 0 / 0        (n/a)
    float                                                4 / 4       
    double                                               2 / 2        (cl_khr_fp64)
  Half-precision Floating-point support           (n/a)
  Single-precision Floating-point support         (core)
    Denormals                                     No
    Infinity and NANs                             Yes
    Round to nearest                              Yes
    Round to zero                                 No
    Round to infinity                             No
    IEEE754-2008 fused multiply-add               No
    Support is emulated in software               No
    Correctly-rounded divide and sqrt operations  No
  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                              3221225472 (3GiB)
  Error Correction support                        No
  Max memory allocation                           1717986918 (1.6GiB)
  Unified memory for Host and Device              No
  Minimum alignment for any data type             128 bytes
  Alignment of base address                       32768 bits (4096 bytes)
  Global Memory cache type                        None
  Image support                                   No
  Local memory type                               Local
  Local memory size                               32768 (32KiB)
  Max number of constant args                     16
  Max constant buffer size                        67108864 (64MiB)
  Max size of kernel argument                     1024
  Queue properties                                
    Out-of-order execution                        No
    Profiling                                     Yes
  Profiling timer resolution                      0ns
  Execution capabilities                          
    Run OpenCL kernels                            Yes
    Run native kernels                            No
  Device Extensions                               cl_khr_byte_addressable_store 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_int64_base_atomics cl_khr_int64_extended_atomics cl_khr_fp64 cl_khr_extended_versioning

NULL platform behavior
  clGetPlatformInfo(NULL, CL_PLATFORM_NAME, ...)  Clover
  clGetDeviceIDs(NULL, CL_DEVICE_TYPE_ALL, ...)   Success [MESA]
  clCreateContext(NULL, ...) [default]            Success [MESA]
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_DEFAULT)  Success (1)
    Platform Name                                 Clover
    Device Name                                   AMD ICELAND (DRM 3.35.0, 5.4.0-91-generic, LLVM 12.0.0)
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_CPU)  No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_GPU)  Success (1)
    Platform Name                                 Clover
    Device Name                                   AMD ICELAND (DRM 3.35.0, 5.4.0-91-generic, LLVM 12.0.0)
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_ACCELERATOR)  No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_CUSTOM)  No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_ALL)  Success (1)
    Platform Name                                 Clover
    Device Name                                   AMD ICELAND (DRM 3.35.0, 5.4.0-91-generic, LLVM 12.0.0)

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

For the first time clinfo gave a result, so i excitedly opened davinci, and boom it works well enough at the last moment saving the hassle of dual boot and windows tracking software.



Thanks @smg too for guiding and replying, kept the discussions open. Didnt know the problem with AMD radeon 530, how did you come to know that i had radeon 530?
I saw later that SMG had posted another detailed reply for AMD drivers,
The easiest instructions I found seem to be How to Install AMD OpenCL GPU Drivers on Ubuntu 21.04 for Miners | Oct 2021. Based on other info I found, I believe you will want to run sudo apt-get update before starting the instructions and you would stop before the UPDATE regarding Wattman overclocking. Note: That person does have an AMD GPU which is still supported.
i could have given that a try too, but since davinci is working, i won't like to risk doing something more now. But, if it's useful i can check what it is.



However, i am yet to test the performance of davinci, and whether it has crashes or render problems in linux is yet to be known to me.
Also, i don't exactly know what happened with the last command, i got opencl now.and now i am running the davinci now on AMD radeon card?
It says 3gb?
Here is the GPU settings screen now with the dropdown option of opencl (earlier there was no dropdown option) -
https://ibb.co/xhrr2YT Image



https://ibb.co/P4VJSnF (As i was told,i see that there is no window options like minimise and close, but that's no problem at all)


Thank you! Linux mint survives.
davinci reolve123
Level 1
Level 1
Posts: 14
Joined: Sun Nov 28, 2021 3:08 pm

Re: Unable to solve Davinci resolve- Unsupported GPU processing mode ERROR. With AMD graphics.

Post by davinci reolve123 »

ShadowSkill wrote: Thu Dec 02, 2021 1:05 am I've been using Davinci Resolve in Mint for about a year (using nvidia gpu) without a hitch.
If you have trouble installing/running the package from davinci, try converting to .deb using the script by Daniel Tufvesson:
https://www.danieltufvesson.com/makeresolvedeb

There is some info about amd gpu too in there, maybe that's relevant to your issue.
In reply to shadowskill.
Thanks for trying to help, but you can see that i already tried that installation and still had the problem with AMD. The others have explained what it was, something to do with the older legacy Radeon 530 drivers and opencl in Linux added to that lack of DAvinci support in Linux. But now it stands solved.

I would like to know from shadowskill, how davinci is running in linux since you have it for one year? Are there crashes or problems in speed of render? Is there an issue with .mp4 files or other export options? Thank you.
I do not know which version of Davinci Resolve you were using
I have the latest Davinci 17 from Davinci website, installed when i started this thread. DR 17.4.2 linux zip

https://sw.blackmagicdesign.com/DaVinci ... 1638456093


Cheers.
User avatar
MikeNovember
Level 7
Level 7
Posts: 1856
Joined: Fri Feb 28, 2020 7:37 am
Location: Nice, Paris, France

Re: Unable to solve Davinci resolve- Unsupported GPU processing mode ERROR. With AMD graphics.

Post by MikeNovember »

Hi,
Didnt know the problem with AMD radeon 530, how did you come to know that i had radeon 530?
Your inxi output shows you have a Dell Inspiron 5570. It is equipped, according to Dell, with an Intel UHD 620 "integrated" GPU and with an AMD Radeon 530 "dedicated" one.
If you want to see your AMD Radeon 530 in your system report, you should first update your inxi (to correct a bug):

Code: Select all

sudo inxi -U
then after update, your system report should now show you have two GPUs, Intel UDH 620 and AMD Radeon 530.

Also, i don't exactly know what happened with the last command, i got opencl now.
You now run OpenCL using an OpenSource solution: instead of using AMD OpenCL drivers (that do not exist for your card) you run Mesa OpenCL ones, a kind of generic OpenCL driver for AMD GPUs.

and now i am running the davinci now on AMD radeon card?
It says 3gb?
"AMD ICELAND (DRM 3.35.0, 5.4.0-91-generic, LLVM 12.0.0)" is the way your device is named in clinfo output. DaVinci Resolve just uses this name. And, according to Dell, the RAM associated to AMD Radeon 530 is up to 4GB: so, 3GB is not contradictory.

(As i was told,i see that there is no window options like minimise and close, but that's no problem at all)
There is a potential answer, from here https://www.reddit.com/r/blackmagicdesi ... utton_and/
“If your keyboard has 'windows' key, also known as 'Super' in Ubuntu, you can minimize, maximize, left-restore or right-restore using the key combinations: Ctrl + Super + Up arrow = Maximize or Restore (toggles) Ctrl + Super + Down arrow = Restore then Minimize. Ctrl + Super + Left arrow = Restore to left.”
Since your Dell was made for Windows, the Windows key is probably there, and you may try this trick; without windows key on your laptop, you can still add an external keyboard with this key.

Happy for you, you finally arrives to run your favorite app! Just use DaVinci Resolve and see if it works like you want.

Regards,

MN

PS: You are a lucky man! on the Blackmagic forum, https://forum.blackmagicdesign.com/view ... 21&t=56878, there are 40 pages of messages from people having installation problems with DaVinci Resolve on Linux; if you found some problems when using it, you might find a solution there.
_____________________________
Linux Mint 21.3 Mate host with Ubuntu Pro enabled, VMware Workstation Player with Windows 10 Pro guest, ASUS G74SX (i7-2670QM, 16 GB RAM, GTX560M with 3GB RAM, 1TB SSD).
User avatar
Jo-con-Ël
Level 11
Level 11
Posts: 3587
Joined: Sun Jun 20, 2021 12:41 pm
Location: donde habita el olvido

Re: Unable to solve Davinci resolve- Unsupported GPU processing mode ERROR. With AMD graphics.

Post by Jo-con-Ël »

davinci reolve123 wrote: Thu Dec 02, 2021 7:32 am how did you come to know that i had radeon 530?
That info was provided by yourself (see lspci codes result on your second post), even when nobody told you to do that :D
Arrieritos semos y en el camino nos encontraremos.
User avatar
SMG
Level 25
Level 25
Posts: 31911
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Unable to solve Davinci resolve- Unsupported GPU processing mode ERROR. With AMD graphics.

Post by SMG »

davinci reolve123 wrote: Thu Dec 02, 2021 7:32 am Bravo!
Finally works!
Please do run some tests and let us know if it is really working.

The reason I did not recommend using the open source OpenCL was because of indications it does not work well with AMD drivers and your clinfo output does show that problem.

Code: Select all

=== CL_PROGRAM_BUILD_LOG ===
fatal error: cannot open file '/usr/local//usr/lib/clc/iceland-amdgcn-mesa-mesa3d.bc': No such file or directory
  Preferred work group size multiple              <getWGsizes:1200: create kernel : error -46>
However, I do not know specifically how Davinci Resolve uses that functionality, so it may or may not affect the tasks you want to do. You will have to test and see.
davinci reolve123 wrote: Thu Dec 02, 2021 7:32 amThanks @smg too for guiding and replying, kept the discussions open. Didnt know the problem with AMD radeon 530, how did you come to know that i had radeon 530?
As Jo-con-Ël has already noted, that info was in the lspci data you put in your second post in this topic.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
User avatar
ShadowSkill
Level 1
Level 1
Posts: 22
Joined: Mon Nov 15, 2021 11:53 am

Re: Unable to solve Davinci resolve- Unsupported GPU processing mode ERROR. With AMD graphics.

Post by ShadowSkill »

davinci reolve123 wrote: Thu Dec 02, 2021 7:43 am I would like to know from shadowskill, how davinci is running in linux since you have it for one year? Are there crashes or problems in speed of render? Is there an issue with .mp4 files or other export options? Thank you.
I don't think I have any problems with crashes/rendering speed. Maybe sometimes in Fairlight, after creating new project, if I open EQ/Dynamics window, sometimes it's blank, so I had to restart DR. ( I don't know if Windows/Mac versions also has this bug but DR 16 doesn't have this bug, only DR 17).

The other is that the free version doesn't support h264 in Linux, so I have to convert mp4 files to mov before using, render the output to mov, and convert the output back to mp4 (created some ffmpeg scripts for the conversions).

Besides those 2 issues, it's been smooth sailing for me.
Oh, and I always convert the package to .deb when upgrading (using the link in my prev post).
Last edited by ShadowSkill on Thu Dec 02, 2021 12:37 pm, edited 1 time in total.
Locked

Return to “Software & Applications”