Newbie: Help w/Linux Mint AMD GPU Driver Install RX 5700 XT

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

rdolesh

  • Posts: 5
  • Joined: Thu May 07, 2020 9:01 pm
  • Real Name: Richard Dolesh

Newbie: Help w/Linux Mint AMD GPU Driver Install RX 5700 XT

PostFri Feb 26, 2021 12:46 am

Hi Everyone,
I have read quite a bit on this forum, and now not sure what to do!

I am new to Linux. And since the video card shortage, I am attempting to make my RX 5700 XT work on a new AMD system. (I'll put specs in signature) Has anyone learned anything that will help this thread?
I have Linux Mint 20.1 installed. And the basic
Code: Select all
sudo apt install libssl1.1 ocl-icd-opencl-dev fakeroot xorriso

And did the script 'Make Resolvedeb'
I now have Resolve Studio 17.0b9 opening fine, but prompts me to configure a graphics card. And even after installing the AMDgpu driver ( amdgpu-pro-20.45-1188099-ubuntu-20.04 ) Also, Studio does not show my RX 5700 XT in 'GPU Configuration' after doing the recommended install approach for Linux:
Code: Select all
./amdgpu-pro-install -y --opencl=pal,legacy

However, attempting to avoid bloat, after extracting the AMDgpu driver, I did DELETE all the 'xxxxi386.deb' files as they were the 32bit as I Iearned, but did that break the driver?
QUESTION: I have read on this forum that you should remove the included Linux drivers first, THEN install the Amdgpu driver / command below. AND I have read to just install (without removing). So any comments would be greatly appreciated! Thanks.

And here is what my system gave after running the Amdgpu install command:
Code: Select all
richie@lamd8:~/Downloads/amdgpu-pro-20.45-1188099-ubuntu-20.04$ ./amdgpu-pro-install -y --opencl=pal,legacy
[sudo] password for richie:     
deb [ trusted=yes ] file:/var/opt/amdgpu-pro-local/ ./
Get:1 file:/var/opt/amdgpu-pro-local ./ InRelease
Ign:1 file:/var/opt/amdgpu-pro-local ./ InRelease
Get:2 file:/var/opt/amdgpu-pro-local ./ Release [816 B]
Get:2 file:/var/opt/amdgpu-pro-local ./ Release [816 B]
Get:3 file:/var/opt/amdgpu-pro-local ./ Release.gpg
Ign:3 file:/var/opt/amdgpu-pro-local ./ Release.gpg
Get:4 file:/var/opt/amdgpu-pro-local ./ Packages [114 kB]
Get:5 http://security.ubuntu.com/ubuntu focal-security InRelease [109 kB]
Hit:6 http://archive.ubuntu.com/ubuntu focal InRelease                                                                                                   
Hit:7 http://archive.canonical.com/ubuntu focal InRelease                                                                                               
Get:8 http://archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]             
Ign:9 http://packages.linuxmint.com ulyssa InRelease                     
Get:10 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages [521 kB]
Hit:11 http://packages.linuxmint.com ulyssa Release                                     
Get:13 http://security.ubuntu.com/ubuntu focal-security/main i386 Packages [195 kB]     
Get:14 http://security.ubuntu.com/ubuntu focal-security/main Translation-en [112 kB]     
Get:15 http://security.ubuntu.com/ubuntu focal-security/main amd64 DEP-11 Metadata [24.3 kB]   
Get:16 http://security.ubuntu.com/ubuntu focal-security/main amd64 c-n-f Metadata [7,068 B]           
Get:17 http://security.ubuntu.com/ubuntu focal-security/universe amd64 Packages [542 kB]             
Get:18 http://security.ubuntu.com/ubuntu focal-security/universe i386 Packages [427 kB]           
Get:19 http://security.ubuntu.com/ubuntu focal-security/universe Translation-en [77.9 kB]
Get:20 http://security.ubuntu.com/ubuntu focal-security/universe amd64 DEP-11 Metadata [58.1 kB]
Get:21 http://security.ubuntu.com/ubuntu focal-security/universe amd64 c-n-f Metadata [10.4 kB]
Get:22 http://archive.ubuntu.com/ubuntu focal-backports InRelease [101 kB]           
Get:23 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [840 kB]
Get:24 http://archive.ubuntu.com/ubuntu focal-updates/main i386 Packages [433 kB]
Get:25 http://archive.ubuntu.com/ubuntu focal-updates/main Translation-en [201 kB]
Get:26 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 DEP-11 Metadata [264 kB]
Get:27 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 c-n-f Metadata [12.7 kB]
Get:28 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [746 kB]
Get:29 http://archive.ubuntu.com/ubuntu focal-updates/universe i386 Packages [555 kB]
Get:30 http://archive.ubuntu.com/ubuntu focal-updates/universe Translation-en [155 kB]
Get:31 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 DEP-11 Metadata [302 kB]
Get:32 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 c-n-f Metadata [16.2 kB]
Get:33 http://archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 Packages [21.6 kB]
Get:34 http://archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 DEP-11 Metadata [2,468 B]
Get:35 http://archive.ubuntu.com/ubuntu focal-backports/universe amd64 DEP-11 Metadata [1,768 B]
Fetched 5,850 kB in 2s (2,722 kB/s)                                     
Reading package lists... Done
WARNING: PAL OpenCL has been dropped in favour of ROCr.\nROCr OpenCL will be installed instead of PAL OpenCL.\nPlease advise that this option is deprecated and will be removed in \nfuture releases. Please use '--opencl=rocr' instead.
Software: Linux MINT 20.1 (Mate / 64bit) DaVinci Resolve Studio 17.0b9
Hardware:
Motherboard: X570 AORUS ELITE
CPU: AMD Ryzen 7 3700X
Video Card: AMD Radeon RX 5700 XT
Drives: OS-Nvme / Scratch-Nvme / Media: Crucial SSD
Offline

rdolesh

  • Posts: 5
  • Joined: Thu May 07, 2020 9:01 pm
  • Real Name: Richard Dolesh

Re: Newbie: Help w/Linux Mint AMD GPU Driver Install RX 5700

PostWed Mar 17, 2021 12:53 am

Hello Everyone, Even though I did not get a response, I want to share what I learned in the 3 weeks time, that might help someone, as I have benefited from many other's efforts, I want to help grow Linux.

I now have DaVinci Resolve Studio 17 (beta9) running great on Linux Mint 20.1 and with DR Speed Editor using Nvidia GTX 1080 and getting Hardware Acceleration for H.264/5 (critical as ALL my content is in that format!) Horray! Thanks to Daniel Tufvesson’s make it deb, I did it with 'no' hacks, Just a few lines of code. You can search “Install Davinci Resolve 17 in Ubuntu, Linux Mint” by ‘Tiwo Satriatama’ on youtube or many other places for the commands/steps

A key point I want focus on is: it would have been easy to just use windows 10, but the reason I persisted in trying to make Linux work is FREEDOM! from relentless forced everything, etc (I have to be careful to stay on topic) I know there is a well documented 'Painless install of DR on CentOS' but as I read, CentOS is not suited for a beginner—but Linux MINT is, so that’s why I chose it.

AMD vs Nvidia in LINUX
Despite the high price of even used video cards, and despite that I just purchased an new AMD RX 5700 XT for my build, even IF I did install the AMD driver correctly, since I was on Linux I learned that Resolve would not support hardware acceleration for H.26x even with a ‘Studio’ license! (Amd is supported fine on PC/Mac) So that is why I still purchased a Nvidia GTX 1080 as I learned that although AMD cards may represent a great 'value' cost / vs performace, Nvidia drivers are better supported in Linux. That's a big time/frustration saver--especially for a Linux newbie! In fact Mint saw my Nvidia card with no problem and gave me 4 driver options to select from—in the graphical ‘driver manager’ interface (easy to select)

Final, 'Huge' point: Linux Mint blew me away! Way easier/friendlier than I ever imagined! I thought Linux would be like typing green characters in a vintage computer from the 70's, boy was I wrong! Mint 20.1 ( I chose MATE) was actually easier to install than windows 10--all thing considered. For example, Linux Mint immediately 'found' and identified my printers. For the average even a bit advanced PC user, You just have to be patient and learn the new ‘mindset’ over a little time, like a week or two will make it enjoyable, watch a number of Linux tutorials, learn the file structure, then you won’t get frustrated and give up as I almost did! Also, it’s super easy to set up a ‘Timeshift’ to completely restore your os if you totally mess things up. Hope this helps someone!
Software: Linux MINT 20.1 (Mate / 64bit) DaVinci Resolve Studio 17.0b9
Hardware:
Motherboard: X570 AORUS ELITE
CPU: AMD Ryzen 7 3700X
Video Card: AMD Radeon RX 5700 XT
Drives: OS-Nvme / Scratch-Nvme / Media: Crucial SSD
Offline

smunaut

  • Posts: 524
  • Joined: Sat Jan 30, 2021 6:15 pm
  • Real Name: Sylvain Munaut

Re: Newbie: Help w/Linux Mint AMD GPU Driver Install RX 5700

PostWed Mar 17, 2021 8:59 am

Glad you got it working.

I try to keep my eyes out for linux install issues since I went through quite a bit of trouble to get it working on my machine, but looks like I missed your thread ...

You're right that for DVR, NVidia is just better supported ... the AMD driver situation on linux has good and bad : If you only need OpenGL and video encode/decode, then it's pretty good with just the default installed open source driver with perf in games and such even better than the AMD ones.

_However_ when it comes to compute ( OpenCL ) and especially when you need to combine it with OpenGL ( so called CL/GL interop extension ), then you need to mess with the AMD closed source driver and things become a whole lot less good, needs quite a bit of work to get it running.

And from having both AMD and Nvidia cards, I'm pretty sure more effort on BMD's part was put in to optimize CUDA than for OpenCL.
Resolve Studio - Ryzen 5800X3D - AMD RX6600 / NVidia RTX 4070 (switching between the 2) - Linux
Offline

rdolesh

  • Posts: 5
  • Joined: Thu May 07, 2020 9:01 pm
  • Real Name: Richard Dolesh

Re: Newbie: Help w/Linux Mint AMD GPU Driver Install RX 5700

PostSat Mar 27, 2021 2:22 am

Hello Sylvain, Thank you for your comments! I really appreciate them!

While I was very happy to get DR running on Linux. It was so profound to be 'out of windows forced everything' that I started to realize other things.
And the more I thought about it, I realized that the 'problem' I had with mp4 AAC / AC3 audio was caused by the same corporate mindset that I want to escape by leaving windows. So I may likely bid farwell to DaVinci Resolve.

And further, In this stage of my career, I don't even 'need' such sophisticated editing application. Sure DR is polished and powerful, but the best open source editors are to my surprise, just becoming powerful enough to be on par with something like Adobe CS6. Which is more than adequate for 'meaningful' content that that doesn't need to be polished to the level of a Hollywood post house. I'm excited to see what will come.

And again,
All the best to you! Thanks again for your input/comments.

Richard
Software: Linux MINT 20.1 (Mate / 64bit) DaVinci Resolve Studio 17.0b9
Hardware:
Motherboard: X570 AORUS ELITE
CPU: AMD Ryzen 7 3700X
Video Card: AMD Radeon RX 5700 XT
Drives: OS-Nvme / Scratch-Nvme / Media: Crucial SSD

Return to DaVinci Resolve

Who is online

Users browsing this forum: DerDudeMitDemHut, Google [Bot] and 312 guests