HOWTO: Folding AMD GPU (RX 5700) on Ubuntu 20.04

It seems that a lot of GPU problems revolve around specific versions of drivers. Though AMD has their own support structure, you can often learn from information reported by others who fold.

Moderators: Site Moderators, FAHC Science Team

HOWTO: Folding AMD GPU (RX 5700) on Ubuntu 20.04

Postby duffeaap » Thu May 07, 2020 8:53 pm

I've been trying to figure this out for weeks on Ubuntu 19.10 prior to the release of Ubuntu 20.04 without any success after following all the instructions I could find.
I was hoping that AMD would release a new driver with the OpenCL drivers for Ubuntu 20.04, but unfortunately this did not happen yet.

So after another attempt I now have it running.

This worked for me:

1. Download AMD Driver for your card from the AMD Support site
2. Extract with tar zvf
3. Edit
Code: Select all
/etc/os-release
and replace VERSION_ID with 18.04

4. Run:
Code: Select all
amdgpu-pro-install --opencl=legacy,pal --headless --no-dkms

5. Edit
Code: Select all
/etc/os-release
and replace VERSION_ID with 20.04 again

6. I had to run FAHClient as root by editing
Code: Select all
/etc/init.d/FAHClient
You might be able to run it with the default fahclient user by adding the fahclient user to the render group

7. Reboot
8. Then I had an issue with Bad State Detected
9. Reboot

Now my GPU is folding!
duffeaap
 
Posts: 1
Joined: Thu May 07, 2020 8:06 pm

Re: HOWTO: Folding AMD GPU (RX 5700) on Ubuntu 20.04

Postby ableeker » Thu May 21, 2020 11:50 am

This used to work for me with 19.10. However, I'm now running 20.04. This way I can install amdgpu-pro OpenCL, but when I restart the computer, it writes colored noise to the boot screen, and hangs. I've tried it a number of times, but it hangs every time. I can go to terminal mode with ctrl+alt+f4, and remove amdgpu-pro. After that it boots normally again.

The OS check seems to be for amdgpu-pro-pin, which is a 'Meta package to pin a specific amdgpu driver version'. Do we need it?
ableeker
 
Posts: 10
Joined: Sun Jul 06, 2008 12:17 pm

Re: HOWTO: Folding AMD GPU (RX 5700) on Ubuntu 20.04

Postby ableeker » Sun May 24, 2020 12:35 pm

For me amdgpu-pro isn't working on Ubuntu 20.04 with an RX Vega 64. But because I only need OpenCL, I'm running ROCm 3.3, wich is folding successfully on the GPU. I think ROCm OpenCl works on the 5700, but I haven't tested this myself.
ableeker
 
Posts: 10
Joined: Sun Jul 06, 2008 12:17 pm

Re: HOWTO: Folding AMD GPU (RX 5700) on Ubuntu 20.04

Postby bruce » Thu Jul 23, 2020 7:18 pm

... and how do we convince AMD that they need to solve the problem?
bruce
 
Posts: 20019
Joined: Thu Nov 29, 2007 11:13 pm
Location: So. Cal.


Return to Problems with AMD/ATI drivers

Who is online

Users browsing this forum: No registered users and 1 guest

cron