Installing Amd drivers under Ubuntu

Tom M
Tom M
Joined: 2 Feb 06
Posts: 5644
Credit: 7726857456
RAC: 2385711
Topic 222185

Hi,

I am the "proud" owner of several RX-560 video cards that I would like to run E@H home on as I understand they are more productive than my collection of NVIDIA cards.

Do you have a link to a "working" AMD driver file?

I have now had two different versions of the drivers fail during the install due to the OS image compile failing.

If I re-boot after it fails, the Ubuntu system will fail to boot.

I am not, yet, even trying to run both brands of cards to run E@H gpu tasks.  Just trying to get an AMD card to install and run.

Any help/advice you have would be appreciated!

Respectfully,

Tom M

 

 

 

 

 

 

 

A Proud member of the O.F.A.  (Old Farts Association).  Be well, do good work, and keep in touch.® (Garrison Keillor)

cecht
cecht
Joined: 7 Mar 18
Posts: 1432
Credit: 2468171927
RAC: 770246

The AMD driver stack that you

The AMD driver stack that you want is here:

https://www.amd.com/en/support/graphics/radeon-500-series/radeon-rx-500-series/radeon-rx-560

Download and extract it to create the directory: amdgpu-pro-20.10-1048554-ubuntu-18.04

From within that directory, you only need to install the OpenCL component. (AMD graphics drivers are included in current Linux distributions.) To install OpenCL and to fix your Ubuntu boot problem, check out my previous post on that subject. I'm not sure whether you still are having problems booting into your Desktop, but if so then those instructions should help. For installing OpenCL from the latest AMD install script, the command amdgpu-install works the same as amdgpu-pro-install that I used in my old post.

I hope this helps, otherwise just ask more questions.  Also maybe browse that entire linked discussion forum for related information and alternate approaches. There is also an active recent forum regarding AMD drivers for Ubuntu 20.04 here.

Best of luck with your RX-560s!

 

Ideas are not fixed, nor should they be; we live in model-dependent reality.

robl
robl
Joined: 2 Jan 13
Posts: 1709
Credit: 1454553658
RAC: 3649

Also if you click on the link

Also if you click on the link CECHT provided there are options for various Linux distros and within those distros are specific installation instructions.  just click on the "+" next to your distro.  You will see installation procedures.

Tom M
Tom M
Joined: 2 Feb 06
Posts: 5644
Credit: 7726857456
RAC: 2385711

cecht wrote:The AMD driver

cecht wrote:

The AMD driver stack that you want is here:

https://www.amd.com/en/support/graphics/radeon-500-series/radeon-rx-500-series/radeon-rx-560

Download and extract it to create the directory: amdgpu-pro-20.10-1048554-ubuntu-18.04

From within that directory, you only need to install the OpenCL component. (AMD graphics drivers are included in current Linux distributions.) To install OpenCL and to fix your Ubuntu boot problem, check out my previous post on that subject. I'm not sure whether you still are having problems booting into your Desktop, but if so then those instructions should help. For installing OpenCL from the latest AMD install script, the command amdgpu-install works the same as amdgpu-pro-install that I used in my old post.

I hope this helps, otherwise just ask more questions.  Also maybe browse that entire linked discussion forum for related information and alternate approaches. There is also an active recent forum regarding AMD drivers for Ubuntu 20.04 here.

Best of luck with your RX-560s!

 

I am confused.  If I run ./amdgpu-pro-install -y it installs "everything" and its brother.  Is there a specific script for just installing the "you only need to install the OpenCL component" ?  It is not particularly clear from the message you pointed to exactly what installs the "you only need to install the OpenCL component"?

I will re-install the OS again, download the archive again, get it unpacked again, and then try the referenced commands after I have run the amdgpu-pro-install but it really sounds a lot like a version of:

"First you start patting your head, then turn left, no turn right around all while rubbing your stomach and getting ready to dive into the swimming pool" kind of directions.

Oh, well I have wasted "several" hours on this attempt to install the Amd drivers.... what's a few more?  ;)

Tom M

 

 

A Proud member of the O.F.A.  (Old Farts Association).  Be well, do good work, and keep in touch.® (Garrison Keillor)

TBar
TBar
Joined: 3 Apr 20
Posts: 24
Credit: 891961726
RAC: 0

Hey Tom,I've installed the

Hey Tom,

I've installed the AMD driver 19.50 in Ubuntu 18.04 a number of times for my 570 using;

./amdgpu-pro-install --opencl=legacy

Never had any trouble, everything just worked. I'd suggest a clean install though, just to be sure :-)

You can find the instructions in the folders doc folder named install-script.html

Oh, I've never been able to install both the AMD & nVidia driver in the same system since Ubuntu 16.04. It always would end in a non-booting system. So, definitely a new OS install if you've trying installing both on your current system.

Tom M
Tom M
Joined: 2 Feb 06
Posts: 5644
Credit: 7726857456
RAC: 2385711

TBar wrote:Hey Tom,   I've

TBar wrote:

Hey Tom,

 

I've installed the AMD driver 19.50 in Ubuntu 18.04 a number of times for my 570 using;

./amdgpu-pro-install --opencl=legacy

Never had any trouble, everything just worked. I'd suggest a clean install though, just to be sure :-)

You can find the instructions in the folders doc folder named install-script.html

And that turned out to be the command line I was looking for.

Boinc just reported that I had an Amd video card with OCL installed :)

I want to thank everyone.  Now I will take the next step in shooting myself in the foot but trying to install the Nvidia drivers without OCL and see what happens :)

Tom M

 

 

 

 

 

 

A Proud member of the O.F.A.  (Old Farts Association).  Be well, do good work, and keep in touch.® (Garrison Keillor)

Tom M
Tom M
Joined: 2 Feb 06
Posts: 5644
Credit: 7726857456
RAC: 2385711

Ah, thank you.  It was that

Ah, thank you.  It was that command line in the middle that I should have used instead of the original install command line...

A Proud member of the O.F.A.  (Old Farts Association).  Be well, do good work, and keep in touch.® (Garrison Keillor)

Tom M
Tom M
Joined: 2 Feb 06
Posts: 5644
Credit: 7726857456
RAC: 2385711

I don't know if I want to

I don't know if I want to laugh or cry?

I just installed the Nvidia drivers 440 but did NOT install the Nvidia specific OCL from the command line.

Reboot machine and BINGO I have two Nvidia cards crunching on E@H and one Amd card.  All three are reporting they have OCL....

Tom M

A Proud member of the O.F.A.  (Old Farts Association).  Be well, do good work, and keep in touch.® (Garrison Keillor)

TBar
TBar
Joined: 3 Apr 20
Posts: 24
Credit: 891961726
RAC: 0

Hmmmm, that's extremely

Hmmmm, that's extremely interesting. Seems they also validated. I'd love to get my 570 working on the machine with 9 NVs. "440 but did NOT install the Nvidia specific OCL from the command line" So that means you installed the AMD driver first, and then used the driver from the NV PPA? I'll have to try that, I've always used the driver from nVidia or the repository.

cecht
cecht
Joined: 7 Mar 18
Posts: 1432
Credit: 2468171927
RAC: 770246

Tom M wrote:Ah, thank you. 

Tom M wrote:
Ah, thank you.  It was that command line in the middle that I should have used instead of the original install command line...

So, to avoid installing all the unnecessary stuff, you ran this, right?:

~$ ./amdgpu-install --opencl=legacy --headless

The headless option is the key.  I apologize for not making it clear in my post.

 

Ideas are not fixed, nor should they be; we live in model-dependent reality.

Tom M
Tom M
Joined: 2 Feb 06
Posts: 5644
Credit: 7726857456
RAC: 2385711

Now that I have a working Amd

Now that I have a working Amd 460 card I will see if I can "scale up" today.

If I am reading things right, you can run 2 or even 3 gpu tasks per card with no slowdowns in the wallclock time?

---edit---

I am missing some syntax.  I want my app_config.xml code to only refer to the AMD gpus not the NVIDIA gpus.

---edit---

In Nvidia there is a gui utility that lets me look at various things the card is reporting is there an equivalent for Amd in Ubuntu/Linux?

Tom M

 

 

 

A Proud member of the O.F.A.  (Old Farts Association).  Be well, do good work, and keep in touch.® (Garrison Keillor)

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.