AMD RX 480 in Ubuntu 18.04LTS: fails to chooch
Posted: Mon May 18, 2020 9:59 pm
Yo,
I've been at this for about a month now, trying to get my F@H client on my Ubuntu machine to use the RX 480 in addition to the CPU. I've got the client set up as a service in systemd as described on this forum (topic 33353) and when I check the groups of the system service I get:
So I think all permissions are set up properly. So I dig through the log.txt, and my first sight of GPU problems is right up top:
OK so F@H doesn't recognise the GPU, even though it finds a vendor, device, species, and description of the hardware... Then advises to update graphics drivers... I use this PC for gaming as well, and have a bunch of mesa drivers installed for that - all that appears to be working fine, and I regularly run sudo apt upgrade to get the latest libraries. Cross checing GPUs.txt I see the following entry for my RX 480 (line 531):
So F@H should know how to deal with the RX 480 that it has identified? So I check FAHClient --lspci to see which PCI devices the client is actually seeing, which along with a bunch of intel devices shows these two:
Which correlate with the GPU (1:0:0 = 01:00.0) and HDMI audio devices (1:0:1 = 01:00.01), listed when I run sudo lspci -v:
So to me, it seems like it locates the card, identifies it correctly, then claims not to know wtf it is... But being the trooper that it is, it attemps to run jobs on the card anyway, only to fail out:
I've tried in the past setting the opencl-index manually (I think I've tried -1, 0, and 1), but with no change - happy to repeat if this is required.. Finally, when I run clinfo I get a boat load of device information, so the opencl libraries appear to be present working correctly...
This is the point where I chose to create a help post, as I'm all out of google-fu... CPU slot is happily chewing away on jobs, but GPU just stuck.
Machine is running Ubuntu 18.04 LTS, RX 480, i7-4770, and any more info I'll be happy to provide!
I've been at this for about a month now, trying to get my F@H client on my Ubuntu machine to use the RX 480 in addition to the CPU. I've got the client set up as a service in systemd as described on this forum (topic 33353) and when I check the groups of the system service I get:
Code: Select all
$ pidof FAHClient
2104 2100
$ sudo cat /proc/2104/status | grep 'Groups:'
Groups: 65534
Code: Select all
21:08:48:Enabled folding slot 00: READY cpu:7
21:08:48:Enabled folding slot 01: READY gpu:0:Ellesmere XT [Radeon RX 470/480/570/580/590]
^[[91m21:08:48:ERROR:No compute devices matched GPU #0 {^[[0m
^[[91m21:08:48:ERROR: "vendor": 4098,^[[0m
^[[91m21:08:48:ERROR: "device": 26591,^[[0m
^[[91m21:08:48:ERROR: "type": 1,^[[0m
^[[91m21:08:48:ERROR: "species": 5,^[[0m
^[[91m21:08:48:ERROR: "description": "Ellesmere XT [Radeon RX 470/480/570/580/590]"^[[0m
^[[91m21:08:48:ERROR:}. You may need to update your graphics drivers.^[[0m
OK so F@H doesn't recognise the GPU, even though it finds a vendor, device, species, and description of the hardware... Then advises to update graphics drivers... I use this PC for gaming as well, and have a bunch of mesa drivers installed for that - all that appears to be working fine, and I regularly run sudo apt upgrade to get the latest libraries. Cross checing GPUs.txt I see the following entry for my RX 480 (line 531):
Code: Select all
0x1002:0x67df:1:5:Ellesmere XT [Radeon RX 470/480/570/580/590]
Code: Select all
0x1002:0x67df:1:0:0:Advanced Micro Devices, Inc. [AMD/ATI]:
0x1002:0xaaf0:1:0:1:Advanced Micro Devices, Inc. [AMD/ATI]:
Code: Select all
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon RX 470/480/570/570X/580/580X] (rev c7) (prog-if 00 [VGA controller])
Subsystem: Tul Corporation / PowerColor Radeon RX 480
Flags: bus master, fast devsel, latency 0, IRQ 31
Memory at e0000000 (64-bit, prefetchable) [size=256M]
Memory at f0000000 (64-bit, prefetchable) [size=2M]
I/O ports at e000 [size=256]
Memory at f7e00000 (32-bit, non-prefetchable) [size=256K]
Expansion ROM at 000c0000 [disabled] [size=128K]
Capabilities: [48] Vendor Specific Information: Len=08 <?>
Capabilities: [50] Power Management version 3
Capabilities: [58] Express Legacy Endpoint, MSI 00
Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
Capabilities: [150] Advanced Error Reporting
Capabilities: [200] #15
Capabilities: [270] #19
Capabilities: [2b0] Address Translation Service (ATS)
Capabilities: [2c0] Page Request Interface (PRI)
Capabilities: [2d0] Process Address Space ID (PASID)
Capabilities: [320] Latency Tolerance Reporting
Capabilities: [328] Alternative Routing-ID Interpretation (ARI)
Capabilities: [370] L1 PM Substates
Kernel driver in use: amdgpu
Kernel modules: amdgpu
01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon RX 580]
Subsystem: Tul Corporation / PowerColor Ellesmere [Radeon RX 580]
Flags: bus master, fast devsel, latency 0, IRQ 34
Memory at f7e60000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [48] Vendor Specific Information: Len=08 <?>
Capabilities: [50] Power Management version 3
Capabilities: [58] Express Legacy Endpoint, MSI 00
Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
Capabilities: [150] Advanced Error Reporting
Capabilities: [328] Alternative Routing-ID Interpretation (ARI)
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
Code: Select all
21:24:02:WU02:FS01:Received Unit: id:02 state:DOWNLOAD error:NO_ERROR project:11761 run:0 clone:7597 gen:63 core:0x22 unit:0x0000007680fccb0a5e700196dd34ffa8
21:24:02:WU02:FS01:Starting
21:24:02:ERROR:WU02:FS01:Failed to start core: OpenCL device matching slot 1 not found, make sure the OpenCL driver is installed or try setting 'opencl-index' manually
This is the point where I chose to create a help post, as I'm all out of google-fu... CPU slot is happily chewing away on jobs, but GPU just stuck.
Machine is running Ubuntu 18.04 LTS, RX 480, i7-4770, and any more info I'll be happy to provide!