Davinci Resolve - Mint 21 & AMD 5700 XT

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.
Locked
149113
Level 1
Level 1
Posts: 6
Joined: Sat Aug 13, 2022 12:18 pm

Davinci Resolve - Mint 21 & AMD 5700 XT

Post by 149113 »

Getting the GPU not configured error on boot. Have downloaded the latest AMD drivers from their site but no luck. Any help appreciated
Last edited by LockBot on Mon Feb 13, 2023 11:00 pm, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
SMG
Level 25
Level 25
Posts: 31988
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Davinci Resolve - Mint 21 & AMD 5700 XT

Post by SMG »

149113 wrote: Sat Aug 13, 2022 12:23 pm Getting the GPU not configured error on boot.
Welcome to the forum, 149113.

I am not familiar with that error. What exactly is the error and when is it showing? That sounds more like an error that DaVinci Resolve would give rather than one from Linux Mint.

Please give us information about your install by entering this command in a terminal:

Code: Select all

inxi -Fxxxrz
Click </> from the mini toolbar above the textbox where you type your reply and then place your cursor between the code tags and paste the results of the command between the code tags [code]Results[/code]. This will let us know how Mint sees your hardware.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
149113
Level 1
Level 1
Posts: 6
Joined: Sat Aug 13, 2022 12:18 pm

Re: Davinci Resolve - Mint 21 & AMD 5700 XT

Post by 149113 »

Here you go:

Code: Select all

administrator@Z590-Mint:~$ inxi -Fxxxrz
System:
  Kernel: 5.15.0-46-generic x86_64 bits: 64 compiler: gcc v: 11.2.0
    Desktop: Cinnamon 5.4.10 tk: GTK 3.24.33 wm: Mutter vt: 7
    dm: LightDM 1.30.0 Distro: Linux Mint 21 Vanessa base: Ubuntu 22.04 jammy
Machine:
  Type: Desktop System: ASUS product: N/A v: N/A serial: <superuser required>
  Mobo: ASUSTeK model: PRIME Z590-P WIFI v: Rev 1.xx
    serial: <superuser required> UEFI: American Megatrends v: 1601
    date: 05/07/2022
Battery:
  Device-1: hidpp_battery_0
    model: Logitech Marathon Mouse/Performance Plus M705 serial: <filter>
    charge: 55% (should be ignored) rechargeable: yes status: Discharging
  Device-2: hidpp_battery_1 model: Logitech Wireless Solar Keyboard K750
    serial: <filter> charge: 100% rechargeable: yes status: Full
CPU:
  Info: 8-core model: 11th Gen Intel Core i7-11700K bits: 64 type: MT MCP
    smt: enabled arch: Rocket Lake rev: 1 cache: L1: 640 KiB L2: 4 MiB
    L3: 16 MiB
  Speed (MHz): avg: 800 high: 801 min/max: 800/4900:5000 cores: 1: 801
    2: 800 3: 800 4: 801 5: 801 6: 800 7: 800 8: 801 9: 801 10: 800 11: 800
    12: 800 13: 801 14: 800 15: 800 16: 801 bogomips: 115200
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: AMD Navi 10 [Radeon RX 5600 OEM/5600 XT / 5700/5700 XT]
    vendor: Gigabyte driver: amdgpu v: kernel pcie: speed: 16 GT/s lanes: 16
    ports: active: DP-2,DP-3 empty: DP-1,HDMI-A-1 bus-ID: 03:00.0
    chip-ID: 1002:731f class-ID: 0300
  Display: x11 server: X.Org v: 1.21.1.3 driver: X: loaded: amdgpu,ati
    unloaded: fbdev,modesetting,radeon,vesa gpu: amdgpu display-ID: :0
    screens: 1
  Screen-1: 0 s-res: 7680x2160 s-dpi: 96 s-size: 2032x571mm (80.0x22.5")
    s-diag: 2111mm (83.1")
  Monitor-1: DisplayPort-1 mapped: DP-2 pos: primary,left
    model: Gigabyte AORUS FO48U serial: <filter> res: 3840x2160 dpi: 140
    size: 697x392mm (27.4x15.4") diag: 800mm (31.5") modes: max: 3840x2160
    min: 640x480
  Monitor-2: DisplayPort-2 mapped: DP-3 pos: right model: Dell U4320Q
    serial: <filter> res: 3840x2160 hz: 60 dpi: 104
    size: 941x529mm (37.0x20.8") diag: 1080mm (42.5") modes: max: 3840x2160
    min: 720x400
  OpenGL: renderer: AMD Radeon RX 5700 XT (navi10 LLVM 13.0.1 DRM 3.42
  5.15.0-46-generic)
    v: 4.6 Mesa 22.0.5 direct render: Yes
Audio:
  Device-1: Intel Tiger Lake-H HD Audio vendor: ASUSTeK driver: snd_hda_intel
    v: kernel bus-ID: 00:1f.3 chip-ID: 8086:43c8 class-ID: 0403
  Device-2: AMD Navi 10 HDMI Audio driver: snd_hda_intel v: kernel pcie:
    speed: 16 GT/s lanes: 16 bus-ID: 03:00.1 chip-ID: 1002:ab38 class-ID: 0403
  Device-3: Sennheiser GSX 1000 Main Audio type: USB
    driver: hid-generic,snd-usb-audio,usbhid bus-ID: 1-4.2:8 chip-ID: 1395:00a0
    class-ID: 0300 serial: <filter>
  Sound Server-1: ALSA v: k5.15.0-46-generic running: yes
  Sound Server-2: PulseAudio v: 15.99.1 running: yes
  Sound Server-3: PipeWire v: 0.3.48 running: yes
Network:
  Device-1: Intel Tiger Lake PCH CNVi WiFi driver: iwlwifi v: kernel
    bus-ID: 00:14.3 chip-ID: 8086:43f0 class-ID: 0280
  IF: wlo1 state: down mac: <filter>
  Device-2: Aquantia AQC107 NBase-T/IEEE 802.3bz Ethernet [AQtion]
    vendor: ASUSTeK driver: atlantic v: kernel pcie: speed: 8 GT/s lanes: 1
    port: N/A bus-ID: 08:00.0 chip-ID: 1d6a:07b1 class-ID: 0200
  IF: enp8s0 state: up speed: 10000 Mbps duplex: full mac: <filter>
  Device-3: Realtek RTL8125 2.5GbE vendor: ASUSTeK driver: r8169 v: kernel
    pcie: speed: 5 GT/s lanes: 1 port: 3000 bus-ID: 09:00.0 chip-ID: 10ec:8125
    class-ID: 0200
  IF: enp9s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Bluetooth:
  Device-1: Intel AX201 Bluetooth type: USB driver: btusb v: 0.8
    bus-ID: 1-14:10 chip-ID: 8087:0026 class-ID: e001
  Report: hciconfig ID: hci0 rfk-id: 0 state: up address: <filter>
    bt-v: 3.0 lmp-v: 5.2 sub-v: 237e hci-v: 5.2 rev: 237e
Drives:
  Local Storage: total: 62.81 TiB used: 413.26 GiB (0.6%)
  ID-1: /dev/nvme0n1 vendor: Samsung model: SSD 980 PRO 2TB size: 1.82 TiB
    speed: 63.2 Gb/s lanes: 4 type: SSD serial: <filter> rev: 5B2QGXA7
    temp: 32.9 C scheme: GPT
  ID-2: /dev/nvme1n1 model: PCIe SSD size: 953.87 GiB speed: 15.8 Gb/s
    lanes: 2 type: SSD serial: <filter> rev: E8FM12.0 temp: 37.9 C scheme: GPT
  ID-3: /dev/nvme2n1 vendor: HP model: SSD EX920 1TB size: 953.87 GiB
    speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter> rev: SVN163
    temp: 31.9 C scheme: GPT
  ID-4: /dev/sda vendor: Seagate model: ST16000NM001G-2KK103
    size: 14.55 TiB speed: <unknown> type: HDD rpm: 7200 serial: <filter>
    rev: SN04 scheme: GPT
  ID-5: /dev/sdb vendor: Seagate model: ST5000LM000-2AN170 size: 4.55 TiB
    speed: <unknown> type: HDD rpm: 5526 serial: <filter> rev: 0001 scheme: GPT
  ID-6: /dev/sdc vendor: Seagate model: ST5000LM000-2AN170 size: 4.55 TiB
    speed: <unknown> type: HDD rpm: 5526 serial: <filter> rev: 0001 scheme: GPT
  ID-7: /dev/sdd vendor: Seagate model: ST5000LM000-2AN170 size: 4.55 TiB
    speed: <unknown> type: HDD rpm: 5526 serial: <filter> rev: 0001 scheme: GPT
  ID-8: /dev/sde vendor: Seagate model: ST5000LM000-2U8170 size: 4.55 TiB
    speed: <unknown> type: HDD rpm: 5400 serial: <filter> rev: 0001 scheme: GPT
  ID-9: /dev/sdf vendor: Seagate model: ST5000LM000-2AN170 size: 4.55 TiB
    speed: <unknown> type: HDD rpm: 5526 serial: <filter> rev: 0001 scheme: GPT
  ID-10: /dev/sdg vendor: Seagate model: ST8000AS0002-1NA17Z size: 7.28 TiB
    speed: <unknown> type: HDD rpm: 5980 serial: <filter> rev: AR17 scheme: GPT
  ID-11: /dev/sdh vendor: Seagate model: ST16000NM001G-2KK103
    size: 14.55 TiB speed: <unknown> type: HDD rpm: 7200 serial: <filter>
    rev: SN04 scheme: GPT
Partition:
  ID-1: / size: 937.33 GiB used: 23.92 GiB (2.6%) fs: ext4
    dev: /dev/nvme1n1p2
  ID-2: /boot/efi size: 511 MiB used: 8.2 MiB (1.6%) fs: vfat
    dev: /dev/nvme1n1p1
Swap:
  ID-1: swap-1 type: file size: 2 GiB used: 0 KiB (0.0%) priority: -2
    file: /swapfile
Sensors:
  System Temperatures: cpu: 27.8 C mobo: N/A gpu: amdgpu temp: 54.0 C
    mem: 60.0 C
  Fan Speeds (RPM): cpu: 1079 gpu: amdgpu fan: 997
Repos:
  Packages: apt: 2069
  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 vanessa main upstream import backport
    2: deb http://archive.ubuntu.com/ubuntu jammy main restricted universe multiverse
    3: deb http://archive.ubuntu.com/ubuntu jammy-updates main restricted universe multiverse
    4: deb http://archive.ubuntu.com/ubuntu jammy-backports main restricted universe multiverse
    5: deb http://security.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse
Info:
  Processes: 383 Uptime: 29m wakeups: 17 Memory: 62.64 GiB
  used: 3.6 GiB (5.7%) Init: systemd v: 249 runlevel: 5 Compilers:
  gcc: 11.2.0 alt: 11 Shell: Bash v: 5.1.16 running-in: gnome-terminal
  inxi: 3.3.13
Screenshot from 2022-08-13 16-32-45.png
Screenshot from 2022-08-13 16-32-26.png
User avatar
SMG
Level 25
Level 25
Posts: 31988
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Davinci Resolve - Mint 21 & AMD 5700 XT

Post by SMG »

Graphics driver and renderer are loaded.

Graphics:
Device-1: AMD Navi 10 [Radeon RX 5600 OEM/5600 XT / 5700/5700 XT]
vendor: Gigabyte driver: amdgpu v: kernel pcie: speed: 16 GT/s lanes: 16
ports: active: DP-2,DP-3 empty: DP-1,HDMI-A-1 bus-ID: 03:00.0
chip-ID: 1002:731f class-ID: 0300
Display: x11 server: X.Org v: 1.21.1.3 driver: X: loaded: amdgpu,ati
unloaded: fbdev,modesetting,radeon,vesa gpu: amdgpu display-ID: :0
screens: 1
OpenGL: renderer: AMD Radeon RX 5700 XT (navi10 LLVM 13.0.1 DRM 3.42
5.15.0-46-generic)
v: 4.6 Mesa 22.0.5 direct render: Yes

I'll move your topic to the Software & Applications section of the forum because the screenshots you posted are specifically related to DaVinci Resolve. What version did you install? DaVinci has very specific requirements. I'll go back through my notes once I know what version you installed.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
149113
Level 1
Level 1
Posts: 6
Joined: Sat Aug 13, 2022 12:18 pm

Re: Davinci Resolve - Mint 21 & AMD 5700 XT

Post by 149113 »

A little more background information on the build. This is a triple boot system with MacOS 12.5, Window 10 and Mint 21. Each OS on it's own NVME drive separate EFI folders but using Opencore to boot all of them. No issues at all there. Davinci Resolve works fine on both OSX and Windows so I know this video card is support natively in Davinci. I am trying out Resolve on Mint and this was the error I am getting. I think I have the latest AMD drivers installed and all the supporting libraries are configured as well. Version 18 or Resolve and the AMD 5700 XT is a supported card for sure
Last edited by SMG on Sat Aug 13, 2022 6:04 pm, edited 1 time in total.
Reason: Removed quote (which was a repeat of a prior post) to make response easier to see.
User avatar
SMG
Level 25
Level 25
Posts: 31988
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Davinci Resolve - Mint 21 & AMD 5700 XT

Post by SMG »

149113 wrote: Sat Aug 13, 2022 5:38 pmI think I have the latest AMD drivers installed and all the supporting libraries are configured as well. Version 18 or Resolve and the AMD 5700 XT is a supported card for sure
Unless something has changed very recently, AMD does not ship the OpenCL or Vulcan packages as part of the driver which is automatically included in the Linux kernel. I do not know if that will change in the future, but it seems, for now, these are only included is what was previously known as the AMD "pro" drivers. AMD is no longer calling those packages the "pro" drivers, but they are separate packages which must be obtained from their website.

OpenCL packages are not required by most applications, but they are required for DaVinci Resolve and some other "high-performance" applications. Here is the AMD Linux Drivers webpage with the "Radeon™ Software for Linux® installer version 22.20 for Ubuntu 22.04 and 22.04.01" (the second option under Ubuntu x86 64-Bit). Make sure to grab the right Ubuntu-based version.

How AMD has been handling this has been an evolving situation over the past six months or so. That means any feedback you give will be helpful for others, but I have not received any feedback recently so my ability to give you a heads up is a bit limited. I recommend taking a Timeshift snapshot before you start. That makes it easier to roll back to your previous state if you have any issues. I don't see a lot of changes in the directions they have provided, so I don't think you will run into issues, but make sure you install the OpenCL part of the package when you run the installer command.

Once you get the OpenCL packages installed, it's my understanding you will need to make a few settings changes on the DaVinci Memory and GPU screenshot you posted:
  • For GPU Processing Mode, you want to uncheck "Auto" and then select OpenCL from the drop-down.
  • For GPU selection, you may need to uncheck "Auto" and then select your AMD card. (The last person I helped had dual graphics, Intel & AMD. You do not so you may not need to do that, but make sure the AMD card does show on that screen. Right now, it is not.)
  • Save your changes. (You may then need to restart DaVinci Resolve for the changes to activate.)
If you have any questions or concerns, just let us know.

If you do a search on this forum for "Davinci" you will find a number of other topics where people discuss the issues they have had with the software (file extensions, differences between paid and free, etc.). It's my understanding that not everything works exactly the same way on Linux-based distros as it does for other operating system. However, I suspect that is an evolving situation so thing may be better than they have been in the past.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
149113
Level 1
Level 1
Posts: 6
Joined: Sat Aug 13, 2022 12:18 pm

Re: Davinci Resolve - Mint 21 & AMD 5700 XT

Post by 149113 »

Thank you for the very comprehensive reply, very much appreciated.

So I followed the link and installed the second package which is amdgpu-install_22.20.50200-1_all.deb. The file was dated 7/14/22. I got message stating that this was already installed previously but I went ahead and installed again.

Then I started Davinci again and the drop down for the GPU selection does not contain anything. I would expect to see OpenCL in there but it's just blank indicating that Davinci doesn't think OpenCL is present. Is there some trick to installing OpenCL separately as a way around this?
Screenshot from 2022-08-13 19-35-34.png
Attachments
Screenshot from 2022-08-13 19-28-48.png
Last edited by SMG on Sat Aug 13, 2022 8:46 pm, edited 1 time in total.
Reason: Removed quote which was a duplicate of the prior post.
User avatar
SMG
Level 25
Level 25
Posts: 31988
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Davinci Resolve - Mint 21 & AMD 5700 XT

Post by SMG »

149113 wrote: Sat Aug 13, 2022 7:33 pmSo I followed the link and installed the second package which is amdgpu-install_22.20.50200-1_all.deb. The file was dated 7/14/22. I got message stating that this was already installed previously but I went ahead and installed again.Screenshot from 2022-08-13 19-28-48.png
Did you run the amdgpu installer after you installed the package? Or did it prompt you to do that?

As I mentioned, they have been making changes to how things are done, but I believe one still has to specify to install OpenCL when installing. Linked from the page with the driver are the Radeon™ Software for Linux® Installation.

If you click on the Using the amdgpu-install Script on the Instructions page and go down the page to "Specifying an OpenCL Implementation' they still mention it as being an optional component. You have newer hardware so you would use the --opencl=rocr when you run the installer from the command line (or you could install both the old and the new).

If you just ran the installer by double-clicking it or something similar, my guess is it will only use the normal defaults and not install the optional OpenCL part.

I'm not sure how clear those instructions are. AMD has been changing their webpages and the links and here is one I had saved in the past when the download was handled differently. I have the below link starting at the part where it explains how to run the script.
Radeon™ Software for Linux® Installation: Using the amdgpu-install Script
This link has the directions all on one page and may be easier to understand. You need to put the --opencl=rocr on the same line similar to the below:

Code: Select all

$ ./amdgpu-pro-install -y --opencl=pal,legacy
I do not have an AMD GPU to test this, so just keep asking if you have questions or something does not look correct.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
149113
Level 1
Level 1
Posts: 6
Joined: Sat Aug 13, 2022 12:18 pm

Re: Davinci Resolve - Mint 21 & AMD 5700 XT

Post by 149113 »

The files on the AMD site are .deb files, not .tar files as all the doc seems to indicate they should be. So when you click on them they just launch and install via the GUI. Is there a way to just get the tar files that contain the install script?
Last edited by SMG on Sat Aug 13, 2022 8:46 pm, edited 1 time in total.
Reason: Removed quote which was a duplicate of the prior post.
User avatar
SMG
Level 25
Level 25
Posts: 31988
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Davinci Resolve - Mint 21 & AMD 5700 XT

Post by SMG »

149113 wrote: Sat Aug 13, 2022 8:41 pm So when you click on them they just launch and install via the GUI.
Could you provide a screenshot of this GUI?
Image
A woman typing on a laptop with LM20.3 Cinnamon.
User avatar
SMG
Level 25
Level 25
Posts: 31988
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Davinci Resolve - Mint 21 & AMD 5700 XT

Post by SMG »

When others have installed from the AMD website, I usually see repos in their inxi output. I don't see those in yours.

Looking at the AMD Prerequisites, they mention downloading the installer package and then installing the installer package.
Installing “amdgpu-install” will add the installer and AMD related repositories to your system. The repositories will be accessible to the system package manager, which is in turn used by the installer.
Then the next page is "Using the amdgpu-install Script".

Maybe the GUI you referenced is just installing the installer package?
Image
A woman typing on a laptop with LM20.3 Cinnamon.
149113
Level 1
Level 1
Posts: 6
Joined: Sat Aug 13, 2022 12:18 pm

Re: Davinci Resolve - Mint 21 & AMD 5700 XT

Post by 149113 »

After reading a lot it looks like OpenCL on this version of linux just didn't work. But I found this and it works

https://www.reddit.com/r/Ubuntu/comment ... t/ifaadua/

sudo apt-get install -y mesa-opencl-icd

Davinci now starts with no errors. Have no idea if there is a downside to this but I will monitor performance and see... somewhat related, is there a benchmarking equivalent in Mint like a Geekbench see how the CPU and GPU are performing. Would be interested to see how it compares to the OSX and Windows installs

Thanks again!
User avatar
SMG
Level 25
Level 25
Posts: 31988
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Davinci Resolve - Mint 21 & AMD 5700 XT

Post by SMG »

149113 wrote: Sat Aug 13, 2022 9:27 pmDavinci now starts with no errors. Have no idea if there is a downside to this but I will monitor performance and see
Thanks for the feedback. I believe that is an alternative package set for OpenCL (ie. not from AMD). If you took a Timeshift snapshot before starting (or before installing that version), it will be easy enough to undo if you do run into issues. There are not a lot of programs which use OpenCL so I doubt you would run into a conflict.
149113 wrote: Sat Aug 13, 2022 9:27 pmis there a benchmarking equivalent in Mint like a Geekbench see how the CPU and GPU are performing. Would be interested to see how it compares to the OSX and Windows installs
I do not normally handle those types of questions so I do not know. I know there are tools you can install to monitor performance, but have no idea if there is something for comparisons.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
Locked

Return to “Software & Applications”