[opencl-clover-mesa-1:23.1.6-4] clinfo not showing card's name correctly (OLAND instead of Radeon R5 430 OEM)
System information
Output from inxi -GSC -xx
:
System:
Host: T5810 Kernel: 6.1.49-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
Console: pty pts/4 DM: SDDM Distro: Manjaro Linux base: Arch Linux
CPU:
Info: 14-core model: Intel Xeon E5-2680 v4 bits: 64 type: MT MCP arch: Broadwell rev: 1 cache:
L1: 896 KiB L2: 3.5 MiB L3: 35 MiB
Speed (MHz): avg: 1306 high: 3300 min/max: 1200/3300 cores: 1: 3300 2: 1200 3: 1197 4: 2100
5: 1200 6: 1200 7: 1200 8: 1200 9: 1200 10: 1198 11: 1200 12: 1200 13: 1200 14: 1200 15: 1200
16: 1200 17: 1200 18: 1200 19: 1200 20: 1200 21: 1200 22: 1200 23: 1200 24: 1200 25: 1200
26: 1200 27: 1200 28: 1200 bogomips: 134127
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
Device-1: AMD Oland [Radeon HD 8570 / R5 430 OEM R7 240/340 Radeon 520 OEM] vendor: Dell
driver: radeon v: kernel arch: GCN-1 pcie: speed: 8 GT/s lanes: 8 ports: active: none off: DP-1
empty: DVI-I-1 bus-ID: 02:00.0 chip-ID: 1002:6611 temp: 36.0 C
Device-2: AMD Lexa PRO [Radeon 540/540X/550/550X / RX 540X/550/550X] vendor: Dell
driver: amdgpu v: kernel arch: GCN-4 pcie: speed: 2.5 GT/s lanes: 8 ports: active: none
empty: DP-2,DP-3,DP-4 bus-ID: 03:00.0 chip-ID: 1002:699f temp: 34.0 C
Display: server: X.org v: 1.21.1.8 with: Xwayland v: 23.2.0 compositor: kwin_x11 driver: X:
loaded: amdgpu,radeon unloaded: modesetting alternate: fbdev,vesa dri: radeonsi gpu: radeon
tty: 216x62
Monitor-1: DP-1 model: Samsung SyncMaster res: 1920x1200 dpi: 94 diag: 611mm (24.1")
API: OpenGL Message: GL data unavailable in console. Try -G --display
Description
Hi everyone,
one of my machines has two Radeon cards - 'R5 430 OEM' (DELL) & 'Radeon RX 550' and 'opencl-clover-mesa 1:23.1.6-4' installed. The result from 'clinfo' shows correctly that there are two platforms, 'Clover' & 'rusticl', where under 'Clover' there are two devices and under 'rusticl' there are none. But instead the name of the 'R5 430 OEM' it shows just "OLAND" and inside the braces there is no information for the GPU series:
Device Name OLAND (, LLVM 15.0.7, DRM 2.50, 6.1.49-1-MANJARO)
While the second card is listed correctly with its name and the GPU series:
Device Name AMD Radeon RX 550 / 550 Series (polaris12, LLVM 15.0.7, DRM 3.49, 6.1.49-1-MANJARO)
The same result is received calling the 'clGetDeviceInfo' inside the code.
Additional info:
opencl-clover-mesa 1:23.1.6-4 - built from the repo at https://gitlab.archlinux.org/archlinux/packaging/packages/mesa/-/tree/main
clinfo
:
Number of platforms 2
Platform Name Clover
Platform Vendor Mesa
Platform Version OpenCL 1.1 Mesa 23.1.6-arch1.4
Platform Profile FULL_PROFILE
Platform Extensions cl_khr_icd
Platform Extensions function suffix MESA
Platform Name rusticl
Platform Vendor Mesa/X.org
Platform Version OpenCL 3.0
Platform Profile FULL_PROFILE
Platform Extensions cl_khr_icd cl_khr_il_program
Platform Extensions with Version cl_khr_icd 0x400000 (1.0.0)
cl_khr_il_program 0x400000 (1.0.0)
Platform Numeric Version 0xc00000 (3.0.0)
Platform Extensions function suffix MESA
Platform Host timer resolution 0ns
Platform Name Clover
Number of devices 2
Device Name OLAND (, LLVM 15.0.7, DRM 2.50, 6.1.49-1-MANJARO)
Device Vendor AMD
Device Vendor ID 0x1002
Device Version OpenCL 1.1 Mesa 23.1.6-arch1.4
Device Numeric Version 0x401000 (1.1.0)
Driver Version 23.1.6-arch1.4
Device OpenCL C Version OpenCL C 1.1
Device Type GPU
Device Profile FULL_PROFILE
Device Available Yes
Compiler Available Yes
Max compute units 6
Max clock frequency 780MHz
Max work item dimensions 3
Max work item sizes 256x256x256
Max work group size 256
Preferred work group size multiple (kernel) 64
Preferred / native vector sizes
char 16 / 16
short 8 / 8
int 4 / 4
long 2 / 2
half 0 / 0 (n/a)
float 4 / 4
double 2 / 2 (cl_khr_fp64)
Half-precision Floating-point support (n/a)
Single-precision Floating-point support (core)
Denormals No
Infinity and NANs Yes
Round to nearest Yes
Round to zero No
Round to infinity No
IEEE754-2008 fused multiply-add No
Support is emulated in software No
Correctly-rounded divide and sqrt operations No
Double-precision Floating-point support (cl_khr_fp64)
Denormals Yes
Infinity and NANs Yes
Round to nearest Yes
Round to zero Yes
Round to infinity Yes
IEEE754-2008 fused multiply-add Yes
Support is emulated in software No
Address bits 64, Little-Endian
Global memory size 2147483648 (2GiB)
Error Correction support No
Max memory allocation 536870912 (512MiB)
Unified memory for Host and Device No
Minimum alignment for any data type 128 bytes
Alignment of base address 32768 bits (4096 bytes)
Global Memory cache type None
Image support No
Local memory type Local
Local memory size 32768 (32KiB)
Max number of constant args 16
Max constant buffer size 67108864 (64MiB)
Max size of kernel argument 1024
Queue properties
Out-of-order execution No
Profiling Yes
Profiling timer resolution 0ns
Execution capabilities
Run OpenCL kernels Yes
Run native kernels No
ILs with version SPIR-V 0x400000 (1.0.0)
Built-in kernels with version (n/a)
Device Extensions cl_khr_byte_addressable_store cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_int64_base_atomics cl_khr_int64_extended_atomics cl_khr_fp64 cl_khr_extended_versioning
Device Extensions with Version cl_khr_byte_addressable_store 0x400000 (1.0.0)
cl_khr_global_int32_base_atomics 0x400000 (1.0.0)
cl_khr_global_int32_extended_atomics 0x400000 (1.0.0)
cl_khr_local_int32_base_atomics 0x400000 (1.0.0)
cl_khr_local_int32_extended_atomics 0x400000 (1.0.0)
cl_khr_int64_base_atomics 0x400000 (1.0.0)
cl_khr_int64_extended_atomics 0x400000 (1.0.0)
cl_khr_fp64 0x400000 (1.0.0)
cl_khr_extended_versioning 0x400000 (1.0.0)
Device Name AMD Radeon RX 550 / 550 Series (polaris12, LLVM 15.0.7, DRM 3.49, 6.1.49-1-MANJARO)
Device Vendor AMD
Device Vendor ID 0x1002
Device Version OpenCL 1.1 Mesa 23.1.6-arch1.4
Device Numeric Version 0x401000 (1.1.0)
Driver Version 23.1.6-arch1.4
Device OpenCL C Version OpenCL C 1.1
Device Type GPU
Device Profile FULL_PROFILE
Device Available Yes
Compiler Available Yes
Max compute units 8
Max clock frequency 1219MHz
Max work item dimensions 3
Max work item sizes 256x256x256
Max work group size 256
Preferred work group size multiple (kernel) 64
Preferred / native vector sizes
char 16 / 16
short 8 / 8
int 4 / 4
long 2 / 2
half 0 / 0 (n/a)
float 4 / 4
double 2 / 2 (cl_khr_fp64)
Half-precision Floating-point support (n/a)
Single-precision Floating-point support (core)
Denormals No
Infinity and NANs Yes
Round to nearest Yes
Round to zero No
Round to infinity No
IEEE754-2008 fused multiply-add No
Support is emulated in software No
Correctly-rounded divide and sqrt operations No
Double-precision Floating-point support (cl_khr_fp64)
Denormals Yes
Infinity and NANs Yes
Round to nearest Yes
Round to zero Yes
Round to infinity Yes
IEEE754-2008 fused multiply-add Yes
Support is emulated in software No
Address bits 64, Little-Endian
Global memory size 4294967296 (4GiB)
Error Correction support No
Max memory allocation 1073741824 (1024MiB)
Unified memory for Host and Device No
Minimum alignment for any data type 128 bytes
Alignment of base address 32768 bits (4096 bytes)
Global Memory cache type None
Image support No
Local memory type Local
Local memory size 65536 (64KiB)
Max number of constant args 16
Max constant buffer size 67108864 (64MiB)
Max size of kernel argument 1024
Queue properties
Out-of-order execution No
Profiling Yes
Profiling timer resolution 0ns
Execution capabilities
Run OpenCL kernels Yes
Run native kernels No
ILs with version SPIR-V 0x400000 (1.0.0)
Built-in kernels with version (n/a)
Device Extensions cl_khr_byte_addressable_store cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_int64_base_atomics cl_khr_int64_extended_atomics cl_khr_fp64 cl_khr_extended_versioning
Device Extensions with Version cl_khr_byte_addressable_store 0x400000 (1.0.0)
cl_khr_global_int32_base_atomics 0x400000 (1.0.0)
cl_khr_global_int32_extended_atomics 0x400000 (1.0.0)
cl_khr_local_int32_base_atomics 0x400000 (1.0.0)
cl_khr_local_int32_extended_atomics 0x400000 (1.0.0)
cl_khr_int64_base_atomics 0x400000 (1.0.0)
cl_khr_int64_extended_atomics 0x400000 (1.0.0)
cl_khr_fp64 0x400000 (1.0.0)
cl_khr_extended_versioning 0x400000 (1.0.0)
Platform Name rusticl
Number of devices 0
NULL platform behavior
clGetPlatformInfo(NULL, CL_PLATFORM_NAME, ...) Clover
clGetDeviceIDs(NULL, CL_DEVICE_TYPE_ALL, ...) Success [MESA]
clCreateContext(NULL, ...) [default] Success [MESA]
clCreateContext(NULL, ...) [other]
clCreateContextFromType(NULL, CL_DEVICE_TYPE_DEFAULT) Success (1)
Platform Name Clover
Device Name OLAND (, LLVM 15.0.7, DRM 2.50, 6.1.49-1-MANJARO)
clCreateContextFromType(NULL, CL_DEVICE_TYPE_CPU) No devices found in platform
clCreateContextFromType(NULL, CL_DEVICE_TYPE_GPU) Success (2)
Platform Name Clover
Device Name OLAND (, LLVM 15.0.7, DRM 2.50, 6.1.49-1-MANJARO)
Device Name AMD Radeon RX 550 / 550 Series (polaris12, LLVM 15.0.7, DRM 3.49, 6.1.49-1-MANJARO)
clCreateContextFromType(NULL, CL_DEVICE_TYPE_ACCELERATOR) No devices found in platform
clCreateContextFromType(NULL, CL_DEVICE_TYPE_CUSTOM) No devices found in platform
clCreateContextFromType(NULL, CL_DEVICE_TYPE_ALL) Success (2)
Platform Name Clover
Device Name OLAND (, LLVM 15.0.7, DRM 2.50, 6.1.49-1-MANJARO)
Device Name AMD Radeon RX 550 / 550 Series (polaris12, LLVM 15.0.7, DRM 3.49, 6.1.49-1-MANJARO)
ICD loader properties
ICD loader Name OpenCL ICD Loader
ICD loader Vendor OCL Icd free software
ICD loader Version 2.3.2
ICD loader Profile OpenCL 3.0
lshw -c display
:
*-display
description: VGA compatible controller
product: Oland [Radeon HD 8570 / R5 430 OEM / R7 240/340 / Radeon 520 OEM]
vendor: Advanced Micro Devices, Inc. [AMD/ATI]
physical id: 0
bus info: pci@0000:02:00.0
logical name: /dev/fb0
version: 87
width: 64 bits
clock: 33MHz
capabilities: pm pciexpress msi vga_controller bus_master cap_list rom fb
configuration: depth=32 driver=radeon latency=0 mode=1920x1200 resolution=1920,1200 visual=truecolor xres=1920 yres=1200
resources: iomemory:33f0-33ef irq:42 memory:33fe0000000-33fefffffff memory:f7d00000-f7d3ffff ioport:e000(size=256) memory:f7d40000-f7d5ffff
*-display
description: VGA compatible controller
product: Lexa PRO [Radeon 540/540X/550/550X / RX 540X/550/550X]
vendor: Advanced Micro Devices, Inc. [AMD/ATI]
physical id: 0
bus info: pci@0000:03:00.0
version: c7
width: 64 bits
clock: 33MHz
capabilities: pm pciexpress msi vga_controller bus_master cap_list rom
configuration: driver=amdgpu latency=0
resources: iomemory:3010-300f iomemory:3000-2fff irq:43 memory:30100000000-301ffffffff memory:30080000000-300801fffff ioport:d000(size=256) memory:f7c00000-f7c3ffff memory:f7c40000-f7c5ffff
Thanks!