cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

flos
Journeyman III

Q: How can i get OpenCL on Ubuntu 16.04.2 to see the GPU RX550 as the second platform/adapter

Ubuntu 16.04 64bit

Motherboard : ASROCK AM1B-ITX, BIOS P1.60 04/29/2015

APU : AMD Athlon(tm) 5350 APU with Radeon(tm) R3 (family: 0x16, model: 0x0, stepping: 0x1)

Video Adapter : ASUS RX550

Primairy Video to PCI

Display connected and working on RX550

Installed : amdgpu-pro-17.10-450821 Drivers

clinfo only reports the APU

Q: How can i get OpenCL to see the GPU RX550 as the second platform/adapter

uname -a

Linux am1b 4.4.0-83-generic #106-Ubuntu SMP Mon Jun 26 17:54:43 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

lspci

00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 16h Processor Root Complex

00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 16h Processor Function 0

00:02.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 16h Processor Functions 5:1

00:02.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 16h Processor Functions 5:1

00:02.3 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 16h Processor Functions 5:1

00:02.4 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 16h Processor Functions 5:1

00:10.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB XHCI Controller (rev 01)

00:11.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 40)

00:12.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB OHCI Controller (rev 39)

00:12.2 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB EHCI Controller (rev 39)

00:13.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB OHCI Controller (rev 39)

00:13.2 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB EHCI Controller (rev 39)

00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 3a)

00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 11)

00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 16h Processor Function 0

00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 16h Processor Function 1

00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 16h Processor Function 2

00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 16h Processor Function 3

00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 16h Processor Function 4

00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 16h Processor Function 5

01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Device 699f (rev c7)

01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Device aae0

02:00.0 SATA controller: ASMedia Technology Inc. ASM1062 Serial ATA Controller (rev 02)

03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 11)

04:00.0 USB controller: ASMedia Technology Inc. ASM1042A USB 3.0 Host Controller

7 Replies
dipak
Staff
Staff

Re: Q: How can i get OpenCL on Ubuntu 16.04.2 to see the GPU RX550 as the second platform/adapter

Hi,

Your problem might be related to the same issue reported here: No OpenCL support for: Ubuntu 16.04.2, RX550 (only this single graphics card), AMD driver 17.10, (64...

If so, it looks like a driver side issue. I've already reported the same (including your problem too) to the concerned team. Once I get any update, I'll share with you.

Regards,

0 Likes
dipak
Staff
Staff

Re: Q: How can i get OpenCL on Ubuntu 16.04.2 to see the GPU RX550 as the second platform/adapter

Hi,

As I've been updated, it seems that OpenCL is working fine on Rx 550 with the latest internal build. Will update more once get the final confirmation. Btw, did you check with latest AMDGPU Pro 17.30?

Regards,

0 Likes
taswyn
Adept I

Re: Q: How can i get OpenCL on Ubuntu 16.04.2 to see the GPU RX550 as the second platform/adapter

As of AMDGPU-PRO 17.30-465504, the RX 550's OpenCL implementation is still broken.

Building/installing the drivers gives no errors: other than OpenCL the card seems to work fine.

dmesg shows no issues other than a set of powerplay "Can't find requested voltage id" messages.

clinfo (using the one installed into /opt by the drivers) shows 0 platforms. Using earlier driver versions (16.x) shows the AMD CL platform but 0 devices.

lspci looks fine, the card shows up.

This is true on both Ubuntu 16.04.2 (4.4.x kernel) and 16.04.3 (4.10 HWE kernel). I can try testing in Ubuntu 17, but I believe the issue is isolated to the drivers.

Since I initially messaged this info directly to dipak, I've also been able to obtain an RX580: in the same system, with the same drivers (and the RX550 still connected) it works fine. So the issue is definitely isolated to the RX550's OpenCL implementation in the drivers.

clinfo with the RX580 installed correctly reports the RX580, but does not see the RX550 (only shows 1 device, the RX580).

dipak
Staff
Staff

Re: Q: How can i get OpenCL on Ubuntu 16.04.2 to see the GPU RX550 as the second platform/adapter

Hi Kaitlyn,

Thanks for the above update. I've already passed these information to the appropriate team.

Regards,

0 Likes
dipak
Staff
Staff

Re: Q: How can i get OpenCL on Ubuntu 16.04.2 to see the GPU RX550 as the second platform/adapter

Hi,

As I've been informed, OpenCL is not supported on Lexa cards (e.g. RX 550) with the latest AMDGPU PRO. Already concerned team is in process to update the release note accordingly.

P.S. Though OpenCL is not supported, RX 550 is compatible with the base driver, hence there is no issue with the installation.

Regards,

0 Likes
taswyn
Adept I

Re: Q: How can i get OpenCL on Ubuntu 16.04.2 to see the GPU RX550 as the second platform/adapter

AMD advertises OpenCL support on these cards as a feature (see Radeon™ RX 550 | High Performance Graphics Card | AMD 😞

Supported Technologies

Radeon™ Software

AMD LiquidVR™ Technology

4th Gen GCN Architecture

Radeon™ Chill

Radeon™ ReLive

DirectX® 12 Technology | AMD

Radeon FreeSync™ Technology

AMD Eyefinity Technology (Gaming)

AMD App Acceleration

AMD Enduro™ Technology

Frame Rate Target Control

3rd Gen 14nm Process Technology

OpenCL 2.0

OpenGL 4.5

AMD PowerTune Technology

TressFX Hair

TrueAudio Next

Unified Video Decoder (UVD)

Video Code Engine (VCE)

Virtual Super Resolution

The Vulkan® API | AMD

Ubuntu is a "supported OS" by AMD's own marketing:

OS Support

Windows 7 - 32-Bit Edition

Windows 7 - 64-Bit Edition

Windows 10 - 64-Bit Edition

Linux x86_64

Ubuntu x86 64-Bit

I've installed the latest 17.40 compute optimized drivers and the RX550 is still not working for anything that requires OpenCL. This really feels like getting cheated for months when the features and OS support are both prominently listed, and it's difficult to understand why this wasn't fixed in the latest driver release, since it's very clearly a bug as they work fine for OpenCL in Windows. The fact that the drivers install without any visible errors isn't really relevant when the card doesn't work as promised because the drivers are effectively broken in an essential way.

dipak
Staff
Staff

Re: Q: How can i get OpenCL on Ubuntu 16.04.2 to see the GPU RX550 as the second platform/adapter

FYI: This beta driver introduces initial OpenCL support for RX 550: AMDGPU-Pro Beta Driver for Linux®  Release Notes