Gentoo, RX 5700 and ROCm not working

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

Post Reply
micko
Posts: 1
Joined: Sun Mar 29, 2020 8:34 am

Gentoo, RX 5700 and ROCm not working

Post by micko »

I've tried to get GPU folding to work on Linux so I could go back to that on my desktop system. Now only Windows because with that the folding works... Anyways:

My system is Ryzen 3600 and Radeon RX 5700 with Gentoo Linux. Folding with CPU is working fine but with GPU I've got the following error

Code: Select all

14:06:05:WU01:FS01:Connecting to assign1.foldingathome.org:80
14:06:05:WU01:FS01:Assigned to work server 192.0.2.1
14:06:05:WU01:FS01:Requesting new work unit for slot 01: READY gpu:0:Navi 10 [Radeon RX 5600 OEM/5600 XT / 5700/5700 XT] from 192.0.2.1
14:06:05:WU01:FS01:Connecting to 192.0.2.1:8080
14:08:15:WARNING:WU01:FS01:WorkServer connection failed on port 8080 trying 80
14:08:15:WU01:FS01:Connecting to 192.0.2.1:80
14:10:27:ERROR:WU01:FS01:Exception: Failed to connect to 192.0.2.1:80: Connection timed out
It took me a while to realize this means there's something wrong with my GPU or driver. There was this clip in the beginning of the log file

Code: Select all

17:01:43:Enabled folding slot 01: READY gpu:0:Navi 10 [Radeon RX 5600 OEM/5600 XT / 5700/5700 XT]
17:01:43:ERROR:No compute devices matched GPU #0 {
17:01:43:ERROR:  "vendor": 4098,
17:01:43:ERROR:  "device": 29471,
17:01:43:ERROR:  "type": 1,
17:01:43:ERROR:  "species": 6,
17:01:43:ERROR:  "description": "Navi 10 [Radeon RX 5600 OEM/5600 XT / 5700/5700 XT]"
17:01:43:ERROR:}.  You may need to update your graphics drivers.
All the drivers were the newest I could find.

I managed to get it working by disabling ROCm drivers. I'm not sure how Gentoo manages the OpenCL implementation but at least files in /etc/OpenCL/vendors have something to do with this. I found no way to choose the vendor manually so for testing I renamed amdocl64.icd to something else.

Now FAH identified my GPU and downloaded a new core for it.

I've understood ROCm is somehow better (faster maybe?). Is it supposed to work? Does anyone have any ideas how to get it working?
ThWuensche
Posts: 79
Joined: Fri May 29, 2020 4:10 pm

Re: Gentoo, RX 5700 and ROCm not working

Post by ThWuensche »

ROCm is not supporting all AMD GPUs, but aimed at the professional compute accelerators. It supports GCN Radeon VII, as far as I know it does not support RDNA - at least officially. Might be wrong in that, but worth to check ROCm supported hardware list.
Post Reply