HOWTO: How I got my R9 290 folding on Linux

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

Re: HOWTO: How I got my R9 290 folding on Linux

Postby Frogging101 » Wed Apr 01, 2020 10:42 pm

Ksenio wrote:I tried following this, but I have still not made it work. I am running RX550 and Mint 19.3 . I have installed orca, but I am still getting this error
16:05:49:ERROR:WU00:FS01:Failed to start core: OpenCL device matching slot 1 not found, try setting 'opencl-index' manually

Any ideas what I could explore more? I am really determined to make it work :)


Could you post your log?
Frogging101
 
Posts: 66
Joined: Wed Mar 25, 2020 3:39 am
Location: Canada

Re: HOWTO: How I got my R9 290 folding on Linux

Postby ccgllc » Sun Apr 05, 2020 6:48 pm

Have an R9 270X but the only drivers I'm seeing on the AMD site are for Ubuntu 14. Going to try using the 290's driver and see if that helps.

Nope - that is causing X to hang.
ccgllc
 
Posts: 20
Joined: Sun Apr 05, 2020 6:09 am

Re: HOWTO: How I got my R9 290 folding on Linux

Postby Frogging101 » Sun Apr 05, 2020 7:45 pm

ccgllc wrote:Have an R9 270X but the only drivers I'm seeing on the AMD site are for Ubuntu 14. Going to try using the 290's driver and see if that helps.

Nope - that is causing X to hang.


That's a GCN 1.0 (1st gen) card. I don't know what the story is with those. I believe they are not as well supported on Linux as GCN 1.1 (2nd gen) and later.

https://en.wikipedia.org/wiki/Radeon_Rx_200_series#Chipset_table
Frogging101
 
Posts: 66
Joined: Wed Mar 25, 2020 3:39 am
Location: Canada

Re: How I got my R9 290 folding on Linux

Postby 4n0n » Sat May 02, 2020 9:57 pm

bruce wrote:I suggest you make the same report at https://github.com/FoldingAtHome/fah-issues/issues. Someday the Developers will have time to examine those issues and fix most of them ... including things like your "This is a bug in FAH" mentioned above.


Done here: https://github.com/FoldingAtHome/fah-issues/issues/1418
4n0n
 
Posts: 17
Joined: Thu Apr 09, 2020 6:12 pm

Re: HOWTO: How I got my R9 290 folding on Linux

Postby Joe_H » Sat May 02, 2020 10:45 pm

As mentioned by Frogging101, the R9 270/270X are based on the older GCN1 architecture from AMD. AMD has been removing OpenCL support from the newer drivers for the older tech, so you might have to go back a version or two earlier on the drivers than mentioned in this topic for the 290/290X
Image

iMac 2.8 i7 12 GB smp8, Mac Pro 2.8 quad 12 GB smp6
MacBook Pro 2.9 i7 8 GB smp3
Joe_H
Site Admin
 
Posts: 6435
Joined: Tue Apr 21, 2009 5:41 pm
Location: W. MA

Re: HOWTO: How I got my R9 290 folding on Linux

Postby astrorob » Tue Jun 16, 2020 8:48 pm

i guess it should be noted that adding the 'fahclient' user to the group 'video' is necessary for the client to find OpenCL devices.

i think OP alluded to this as a prior solution and is maybe well-known, but up until today i was running a linux box with only an nvidia GPU (which uses cuda i guess) and i didn't have to worry about OpenCL.

this thread helped me get the RX5500 going. for my part i used the 20.20 drivers and used amdgpu-pro-install --headless --opencl=pal. the first time around i didn't use --headless and it seems the presense of the AMD video drivers borked my X server. maybe there is some further configuration to do to force X to start on the nvidia card (or any card)

also i had installed mesa-opencl-icd and it seems that the RX5500 is listed under the Clover platform and the AMD Accelerated parallel processing platform. maybe this is a mistake.

somehow setting opencl-index and cuda-index to 0 on both slots was necessary to get them both running. at -1 for some reason the clients could not find the GPUs.
Image
astrorob
 
Posts: 34
Joined: Sun Mar 15, 2020 8:59 pm

Re: HOWTO: How I got my R9 290 folding on Linux

Postby JimF » Sun Jun 21, 2020 7:02 pm

Frogging101 wrote:TL;DR For the users: To work around this, I created a systemd unit to start FAHClient instead of the init.d script. This works by using the systemd unit's "User" option to change users instead of having FAHClient do it.

It worked!
I have an RX 570 on Ubuntu 18.04.4, and it just wouldn't work with the latest drivers (amdgpu-pro-20.20), though it did with a previous version (except for the core 22 problems).

I installed the drivers with the standard AMD procedure: "./amdgpu-install --opencl=pal,legacy -y"
That installs both the PAL and legacy drivers, for when I upgrade.

I only had to set "open-cl index" = 0 (That is true for both Nvidia and AMD on Ubuntu, and has been for years.)

I also ran "sudo adduser fahclient video", though that may be unnecessary with this procedure.

Thanks!
JimF
 
Posts: 503
Joined: Thu Jan 21, 2010 3:03 pm

Previous

Return to Problems with AMD/ATI drivers

Who is online

Users browsing this forum: No registered users and 1 guest

cron