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

Gentoo, RX 5700 and ROCm not working

Postby micko » Thu Oct 15, 2020 4:28 pm

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
14:06:05:WU01:FS01:Assigned to work server
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
14:06:05:WU01:FS01:Connecting to
14:08:15:WARNING:WU01:FS01:WorkServer connection failed on port 8080 trying 80
14:08:15:WU01:FS01:Connecting to
14:10:27:ERROR:WU01:FS01:Exception: Failed to connect to 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?
Posts: 1
Joined: Sun Mar 29, 2020 9:34 am

Re: Gentoo, RX 5700 and ROCm not working

Postby ThWuensche » Fri Oct 16, 2020 9:14 pm

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.
Posts: 75
Joined: Fri May 29, 2020 5:10 pm

Return to Problems with AMD/ATI drivers

Who is online

Users browsing this forum: No registered users and 1 guest