Having trouble with AMDGPU-PRO OpenCL on R9 290

Hi everyone, been struggling for a few days now trying to get AMDGPU-PRO OpenCL to work with my R9 290. Reason I want to use this one over mesa is PlaidML support.
I have installed these relevant packages:

  • opencl-amd

  • amdgpu-pro-libgl

removed the mesa-related OpenCL stuff but I get this error when running clinfo:

Number of platforms                               1
  Platform Name                                   AMD Accelerated Parallel Processing
  Platform Vendor                                 Advanced Micro Devices, Inc.
  Platform Version                                OpenCL 2.2 AMD-APP (3361.0)
  Platform Profile                                FULL_PROFILE
  Platform Extensions                             cl_khr_icd cl_amd_event_callback 
  Platform Extensions function suffix             AMD
  Platform Host timer resolution                  1ns

  Platform Name                                   AMD Accelerated Parallel Processing
Number of devices                                 0

NULL platform behavior
  clGetPlatformInfo(NULL, CL_PLATFORM_NAME, ...)  No platform
  clGetDeviceIDs(NULL, CL_DEVICE_TYPE_ALL, ...)   No platform
  clCreateContext(NULL, ...) [default]            No platform
  clCreateContext(NULL, ...) [other]              
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_DEFAULT)  No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_CPU)  No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_GPU)  No devices found in platform
  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)  No devices found in platform

Doesn’t detect my card (0 devices) and then chucks a bunch of issues at the end. Have searched and searched and searched on this, unfortunately most forum posts about it are outdated or didn’t get many replies or are for different video cards with slightly different errors.

I tried following along with a youtube video titled " How to get Davinci Resolve working on Linux with an AMD video card (R9 290 on Arch / Manjaro)" but it is around 2 years old at this point and some of the packages (namely the OpenCL ones for legacy AMD cards) seem to have been fused into the opencl-amd package and I can’t find them anymore.

Anyone have some insight on this? For reference the mesa OpenCL recognises fine but again, the stuff I want to use doesn’t support mesa’s OpenCL implementation.

Other relevant hardware:
CPU: i5-6500
Motherboard: MSI B150M PRO-VDH

Provide Information:

inxi --admin --verbosity=7 --filter --width:

System:
  Kernel: 5.15.12-1-MANJARO x86_64 bits: 64 compiler: gcc v: 11.1.0
    parameters: BOOT_IMAGE=/boot/vmlinuz-5.15-x86_64
    root=UUID=223e2118-bc77-4c9a-8469-7b85abbb6086 rw quiet
    cryptdevice=UUID=ca69da1e-b64e-445e-8a46-6a7e4b7b0c2e:luks-ca69da1e-b64e-445e-8a46-6a7e4b7b0c2e
    root=/dev/mapper/luks-ca69da1e-b64e-445e-8a46-6a7e4b7b0c2e splash
    apparmor=1 security=apparmor
    resume=/dev/mapper/luks-d0fe586c-d941-4ee7-8355-bc813a6c328b
    udev.log_priority=3
  Console: pty pts/3 DM: GDM 41.0 Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Desktop Mobo: MSI model: B150M PRO-VDH (MS-7982) v: 1.0
    serial: <superuser required> UEFI: American Megatrends v: 3.70
    date: 02/24/2016
Battery:
  Message: No system battery data found. Is one present?
Memory:
  RAM: total: 7.71 GiB used: 1.13 GiB (14.6%)
  RAM Report:
    permissions: Unable to run dmidecode. Root privileges required.
CPU:
  Info: model: Intel Core i5-6500 bits: 64 type: MCP arch: Skylake-S family: 6
    model-id: 0x5E (94) stepping: 3 microcode: 0xEA
  Topology: cpus: 1x cores: 4 smt: <unsupported> cache: L1: 256 KiB
    desc: d-4x32 KiB; i-4x32 KiB L2: 1024 KiB desc: 4x256 KiB L3: 6 MiB
    desc: 1x6 MiB
  Speed (MHz): avg: 3483 high: 3492 min/max: 800/3600 scaling:
    driver: intel_pstate governor: powersave cores: 1: 3466 2: 3492 3: 3487
    4: 3488 bogomips: 25610
  Flags: 3dnowprefetch abm acpi adx aes aperfmperf apic arat arch_perfmon
    art avx avx2 bmi1 bmi2 bts clflush clflushopt cmov constant_tsc cpuid
    cpuid_fault cx16 cx8 de ds_cpl dtes64 dtherm dts ept ept_ad erms est f16c
    flexpriority flush_l1d fma fpu fsgsbase fxsr ht hwp hwp_act_window hwp_epp
    hwp_notify ibpb ibrs ida intel_pt invpcid invpcid_single lahf_lm lm mca
    mce md_clear mmx monitor movbe mpx msr mtrr nonstop_tsc nopl nx pae pat
    pbe pcid pclmulqdq pdcm pdpe1gb pebs pge pln pni popcnt pse pse36 pti pts
    rdrand rdseed rdtscp rep_good sdbg sep smap smep smx ss ssbd sse sse2
    sse4_1 sse4_2 ssse3 stibp syscall tm tm2 tpr_shadow tsc tsc_adjust
    tsc_deadline_timer vme vmx vnmi vpid x2apic xgetbv1 xsave xsavec xsaveopt
    xsaves xtopology xtpr
  Vulnerabilities:
  Type: itlb_multihit status: KVM: VMX disabled
  Type: l1tf
    mitigation: PTE Inversion; VMX: conditional cache flushes, SMT disabled
  Type: mds mitigation: Clear CPU buffers; SMT disabled
  Type: meltdown mitigation: PTI
  Type: spec_store_bypass
    mitigation: Speculative Store Bypass disabled via prctl and seccomp
  Type: spectre_v1
    mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2 mitigation: Full generic retpoline, IBPB: conditional,
    IBRS_FW, STIBP: disabled, RSB filling
  Type: srbds mitigation: Microcode
  Type: tsx_async_abort mitigation: TSX disabled
Graphics:
  Device-1: AMD Hawaii PRO [Radeon R9 290/390] vendor: Micro-Star MSI
    driver: amdgpu v: kernel alternate: radeon bus-ID: 01:00.0
    chip-ID: 1002:67b1 class-ID: 0300
  Display: server: X.org 1.21.1.2 compositor: gnome-shell driver:
    loaded: amdgpu note: n/a (using device driver) - try sudo/root tty: 92x26
  Message: Unable to show advanced data. Required tool glxinfo missing.
Audio:
  Device-1: Intel 100 Series/C230 Series Family HD Audio
    vendor: Micro-Star MSI driver: snd_hda_intel v: kernel bus-ID: 00:1f.3
    chip-ID: 8086:a170 class-ID: 0403
  Device-2: AMD Hawaii HDMI Audio [Radeon R9 290/290X / 390/390X]
    vendor: Micro-Star MSI driver: snd_hda_intel v: kernel bus-ID: 01:00.1
    chip-ID: 1002:aac8 class-ID: 0403
  Sound Server-1: ALSA v: k5.15.12-1-MANJARO running: yes
  Sound Server-2: JACK v: 1.9.19 running: no
  Sound Server-3: PulseAudio v: 15.0 running: yes
  Sound Server-4: PipeWire v: 0.3.42 running: no
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: Micro-Star MSI driver: r8169 v: kernel port: d000 bus-ID: 02:00.0
    chip-ID: 10ec:8168 class-ID: 0200
  IF: enp2s0 state: down mac: <filter>
  Device-2: Realtek RTL8812AE 802.11ac PCIe Wireless Network Adapter
    driver: rtl8821ae v: kernel port: c000 bus-ID: 03:00.0 chip-ID: 10ec:8812
    class-ID: 0280
  IF: wlp3s0 state: up mac: <filter>
  IP v4: <filter> type: noprefixroute scope: global broadcast: <filter>
  IP v6: <filter> type: noprefixroute scope: link
  WAN IP: <filter>
Bluetooth:
  Message: No bluetooth data found.
Logical:
  Message: No logical block device data found.
  Device-1: luks-ca69da1e-b64e-445e-8a46-6a7e4b7b0c2e maj-min: 254:0
    type: LUKS dm: dm-0 size: 214.47 GiB
  Components:
  p-1: sda2 maj-min: 8:2 size: 214.47 GiB
  Device-2: luks-d0fe586c-d941-4ee7-8355-bc813a6c328b maj-min: 254:1
    type: LUKS dm: dm-1 size: 8.8 GiB
  Components:
  p-1: sda3 maj-min: 8:3 size: 8.8 GiB
RAID:
  Message: No RAID data found.
Drives:
  Local Storage: total: 223.57 GiB used: 9.97 GiB (4.5%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/sda maj-min: 8:0 vendor: Crucial model: CT240BX500SSD1
    size: 223.57 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
    type: SSD serial: <filter> rev: 054 scheme: GPT
  Message: No optical or floppy data found.
Partition:
  ID-1: / raw-size: 214.47 GiB size: 210.05 GiB (97.94%) used: 9.97 GiB (4.7%)
    fs: ext4 dev: /dev/dm-0 maj-min: 254:0
    mapped: luks-ca69da1e-b64e-445e-8a46-6a7e4b7b0c2e label: N/A
    uuid: 223e2118-bc77-4c9a-8469-7b85abbb6086
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 440 KiB (0.1%) fs: vfat dev: /dev/sda1 maj-min: 8:1 label: NO_LABEL
    uuid: 3AF7-98D2
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default)
  ID-1: swap-1 type: partition size: 8.8 GiB used: 0 KiB (0.0%) priority: -2
    dev: /dev/dm-1 maj-min: 254:1
    mapped: luks-d0fe586c-d941-4ee7-8355-bc813a6c328b label: swap
    uuid: 9c9d96cc-981c-4979-981b-85760aa3c644
Unmounted:
  Message: No unmounted partitions found.
USB:
  Hub-1: 1-0:1 info: Hi-speed hub with single TT ports: 12 rev: 2.0
    speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  Device-1: 1-5:2 info: Corsair Gaming M65 Pro RGB Mouse type: Mouse,HID
    driver: hid-generic,usbhid interfaces: 2 rev: 2.0 speed: 12 Mb/s
    power: 300mA chip-ID: 1b1c:1b2e class-ID: 0300 serial: <filter>
  Device-2: 1-6:3 info: Logitech Keyboard K120 type: Keyboard,HID
    driver: hid-generic,usbhid interfaces: 2 rev: 1.1 speed: 1.5 Mb/s
    power: 90mA chip-ID: 046d:c31c class-ID: 0300
  Hub-2: 2-0:1 info: Super-speed hub ports: 6 rev: 3.0 speed: 5 Gb/s
    chip-ID: 1d6b:0003 class-ID: 0900
Sensors:
  System Temperatures: cpu: 29.8 C pch: 31.5 C mobo: 27.8 C gpu: amdgpu
    temp: 36.0 C
  Fan Speeds (RPM): N/A gpu: amdgpu fan: 918
Info:
  Processes: 285 Uptime: 4h 19m wakeups: 1 Init: systemd v: 250
  tool: systemctl Compilers: gcc: 11.1.0 Packages: pacman: 1162 lib: 305
  flatpak: 0 Shell: Zsh v: 5.8 running-in: pty pts/3 (SSH) inxi: 3.3.11

sudo dmesg | grep amdgpu:

[    1.097572] [drm] amdgpu kernel modesetting enabled.
[    1.097730] amdgpu: CRAT table not found
[    1.097733] amdgpu: Virtual CRAT table created for CPU
[    1.097744] amdgpu: Topology: Add CPU node
[    1.097872] fb0: switching to amdgpu from EFI VGA
[    1.098003] amdgpu 0000:01:00.0: vgaarb: deactivate vga console
[    1.098219] amdgpu 0000:01:00.0: amdgpu: Trusted Memory Zone (TMZ) feature not supported
[    1.098296] amdgpu 0000:01:00.0: amdgpu: Fetched VBIOS from VFCT
[    1.098297] amdgpu: ATOM BIOS: 113-C6790100-X02
[    1.098353] amdgpu 0000:01:00.0: amdgpu: VRAM: 4096M 0x000000F400000000 - 0x000000F4FFFFFFFF (4096M used)
[    1.098355] amdgpu 0000:01:00.0: amdgpu: GART: 1024M 0x000000FF00000000 - 0x000000FF3FFFFFFF
[    1.098395] [drm] amdgpu: 4096M of VRAM memory ready
[    1.098396] [drm] amdgpu: 4096M of GTT memory ready.
[    1.100126] amdgpu: hwmgr_sw_init smu backed is ci_smu
[    1.371901] kfd kfd: amdgpu: Allocated 3969056 bytes on gart
[    1.371974] amdgpu: SW scheduler is used
[    1.372000] amdgpu: SRAT table not found
[    1.372001] amdgpu: Virtual CRAT table created for GPU
[    1.372079] amdgpu: Topology: Add dGPU node [0x67b1:0x1002]
[    1.372082] kfd kfd: amdgpu: added device 1002:67b1
[    1.372092] amdgpu 0000:01:00.0: amdgpu: SE 4, SH per SE 1, CU per SH 11, active_cu_number 40
[    1.374412] fbcon: amdgpudrmfb (fb0) is primary device
[    1.374414] amdgpu 0000:01:00.0: [drm] fb0: amdgpudrmfb frame buffer device
[    1.402578] amdgpu 0000:01:00.0: amdgpu: Using BOCO for runtime pm
[    1.403172] [drm] Initialized amdgpu 3.42.0 20150101 for 0000:01:00.0 on minor 0
[   11.747181] snd_hda_intel 0000:01:00.1: bound 0000:01:00.0 (ops amdgpu_dm_audio_component_bind_ops [amdgpu])
[   43.047742]  aesni_intel crypto_simd cryptd xhci_pci amdgpu gpu_sched radeon drm_ttm_helper ttm
[   43.047751] Workqueue: kfd_process_wq kfd_process_wq_release [amdgpu]
[   43.048019]  amdgpu_bo_unref+0x1a/0x30 [amdgpu aba45ce1a84e0a3027b0830ac051fab8fe0fe1bc]
[   43.048183]  amdgpu_gem_object_free+0x30/0x50 [amdgpu aba45ce1a84e0a3027b0830ac051fab8fe0fe1bc]
[   43.048345]  amdgpu_amdkfd_gpuvm_free_memory_of_gpu+0x364/0x3d0 [amdgpu aba45ce1a84e0a3027b0830ac051fab8fe0fe1bc]
[   43.048545]  kfd_process_device_free_bos+0x9f/0xf0 [amdgpu aba45ce1a84e0a3027b0830ac051fab8fe0fe1bc]
[   43.048737]  kfd_process_wq_release+0x20d/0x2e0 [amdgpu aba45ce1a84e0a3027b0830ac051fab8fe0fe1bc]
[ 1259.292243] amdgpu: VI should always have 2 performance levels
[ 1260.642024] amdgpu 0000:01:00.0: amdgpu: SRBM_SOFT_RESET=0x00100040
[ 1260.870580] amdgpu: SW scheduler is used

sudo dmesg | grep kfd:

[    1.371901] kfd kfd: amdgpu: Allocated 3969056 bytes on gart
[    1.372082] kfd kfd: amdgpu: added device 1002:67b1
[   43.047751] Workqueue: kfd_process_wq kfd_process_wq_release [amdgpu]
[   43.048345]  amdgpu_amdkfd_gpuvm_free_memory_of_gpu+0x364/0x3d0 [amdgpu aba45ce1a84e0a3027b0830ac051fab8fe0fe1bc]
[   43.048545]  kfd_process_device_free_bos+0x9f/0xf0 [amdgpu aba45ce1a84e0a3027b0830ac051fab8fe0fe1bc]
[   43.048737]  kfd_process_wq_release+0x20d/0x2e0 [amdgpu aba45ce1a84e0a3027b0830ac051fab8fe0fe1bc]

Did you read the first pinned comment on the AUR page?

ETA: Adding AUR and open-cl tags.

Cheers for letting me know about that, now it seems clinfo is working ok and detecting it but I still can’t see my GPU in plaidml-setup. I’ll do a bit more fiddling and see what I can do.

Ok so I don’t think it’s plaidml’s fault, doesn’t look like OpenCL is working anyway even though clinfo now shows everything correctly. DaVinci resolve for example doesn’t work properly when I have the R9 290 selected as the GPU to use with OpenCL, and running something like clpeak gives me a clcreatecommandqueue (-6) error and freezes.
New clinfo output:

Number of platforms                               2
  Platform Name                                   AMD Accelerated Parallel Processing
  Platform Vendor                                 Advanced Micro Devices, Inc.
  Platform Version                                OpenCL 2.2 AMD-APP (3361.0)
  Platform Profile                                FULL_PROFILE
  Platform Extensions                             cl_khr_icd cl_amd_event_callback 
  Platform Extensions function suffix             AMD
  Platform Host timer resolution                  1ns

  Platform Name                                   Portable Computing Language
  Platform Vendor                                 The pocl project
  Platform Version                                OpenCL 2.0 pocl 1.8  Linux, Release, RELOC, LLVM 13.0.0, SLEEF, DISTRO, POCL_DEBUG
  Platform Profile                                FULL_PROFILE
  Platform Extensions                             cl_khr_icd cl_pocl_content_size
  Platform Extensions function suffix             POCL

  Platform Name                                   AMD Accelerated Parallel Processing
Number of devices                                 1
  Device Name                                     gfx701
  Device Vendor                                   Advanced Micro Devices, Inc.
  Device Vendor ID                                0x1002
  Device Version                                  OpenCL 1.2 
  Driver Version                                  3361.0 (HSA1.1,LC)
  Device OpenCL C Version                         OpenCL C 2.0 
  Device Type                                     GPU
  Device Board Name (AMD)                         AMD Radeon R9 200 Series
  Device PCI-e ID (AMD)                           0x67b1
  Device Topology (AMD)                           PCI-E, 0000:01:00.0
  Device Profile                                  FULL_PROFILE
  Device Available                                Yes
  Compiler Available                              Yes
  Linker Available                                Yes
  Max compute units                               40
  SIMD per compute unit (AMD)                     4
  SIMD width (AMD)                                16
  SIMD instruction width (AMD)                    1
  Max clock frequency                             977MHz
  Graphics IP (AMD)                               7.0
  Device Partition                                (core)
    Max number of sub-devices                     40
    Supported partition types                     None
    Supported affinity domains                    (n/a)
  Max work item dimensions                        3
  Max work item sizes                             1024x1024x1024
  Max work group size                             256
  Preferred work group size (AMD)                 256
  Max work group size (AMD)                       1024
  Preferred work group size multiple (kernel)     <getWGsizes:1504: create kernel : error -6>
  Wavefront width (AMD)                           64
  Preferred / native vector sizes                 
    char                                                 4 / 4       
    short                                                2 / 2       
    int                                                  1 / 1       
    long                                                 1 / 1       
    half                                                 1 / 1        (cl_khr_fp16)
    float                                                1 / 1       
    double                                               1 / 1        (cl_khr_fp64)
  Half-precision Floating-point support           (cl_khr_fp16)
    Denormals                                     No
    Infinity and NANs                             No
    Round to nearest                              No
    Round to zero                                 No
    Round to infinity                             No
    IEEE754-2008 fused multiply-add               No
    Support is emulated in software               No
  Single-precision Floating-point support         (core)
    Denormals                                     No
    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
    Correctly-rounded divide and sqrt operations  Yes
  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)
  Global free memory (AMD)                        4194304 (4GiB) 4194304 (4GiB)
  Global memory channels (AMD)                    16
  Global memory banks per channel (AMD)           4
  Global memory bank width (AMD)                  256 bytes
  Error Correction support                        No
  Max memory allocation                           3650722200 (3.4GiB)
  Unified memory for Host and Device              No
  Minimum alignment for any data type             128 bytes
  Alignment of base address                       1024 bits (128 bytes)
  Global Memory cache type                        Read/Write
  Global Memory cache size                        16384 (16KiB)
  Global Memory cache line size                   64 bytes
  Image support                                   Yes
    Max number of samplers per kernel             26545
    Max size for 1D images from buffer            134217728 pixels
    Max 1D or 2D image array size                 8192 images
    Base address alignment for 2D image buffers   256 bytes
    Pitch alignment for 2D image buffers          256 pixels
    Max 2D image size                             16384x16384 pixels
    Max 3D image size                             16384x16384x8192 pixels
    Max number of read image args                 128
    Max number of write image args                8
  Local memory type                               Local
  Local memory size                               65536 (64KiB)
  Local memory size per CU (AMD)                  65536 (64KiB)
  Local memory banks (AMD)                        32
  Max number of constant args                     8
  Max constant buffer size                        3650722200 (3.4GiB)
  Preferred constant buffer size (AMD)            16384 (16KiB)
  Max size of kernel argument                     1024
  Queue properties                                
    Out-of-order execution                        No
    Profiling                                     Yes
  Prefer user sync for interop                    Yes
  Number of P2P devices (AMD)                     0
  Profiling timer resolution                      1ns
  Profiling timer offset since Epoch (AMD)        0ns (Thu Jan  1 10:00:00 1970)
  Execution capabilities                          
    Run OpenCL kernels                            Yes
    Run native kernels                            No
    Thread trace supported (AMD)                  No
    Number of async queues (AMD)                  8
    Max real-time compute queues (AMD)            8
    Max real-time compute units (AMD)             40
  printf() buffer size                            4194304 (4MiB)
  Built-in kernels                                (n/a)
  Device Extensions                               cl_khr_fp64 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_3d_image_writes cl_khr_byte_addressable_store cl_khr_fp16 cl_khr_gl_sharing cl_amd_device_attribute_query cl_amd_media_ops cl_amd_media_ops2 cl_khr_image2d_from_buffer cl_khr_subgroups cl_khr_depth_images cl_amd_copy_buffer_p2p cl_amd_assembly_program 

  Platform Name                                   Portable Computing Language
Number of devices                                 1
  Device Name                                     pthread-Intel(R) Core(TM) i5-6500 CPU @ 3.20GHz
  Device Vendor                                   GenuineIntel
  Device Vendor ID                                0x8086
  Device Version                                  OpenCL 1.2 pocl HSTR: pthread-x86_64-pc-linux-gnu-skylake
  Driver Version                                  1.8
  Device OpenCL C Version                         OpenCL C 1.2 pocl
  Device Type                                     CPU
  Device Profile                                  FULL_PROFILE
  Device Available                                Yes
  Compiler Available                              Yes
  Linker Available                                Yes
  Max compute units                               4
  Max clock frequency                             3600MHz
  Device Partition                                (core)
    Max number of sub-devices                     4
    Supported partition types                     equally, by counts
    Supported affinity domains                    (n/a)
  Max work item dimensions                        3
  Max work item sizes                             4096x4096x4096
  Max work group size                             4096
  Preferred work group size multiple (kernel)     8
  Preferred / native vector sizes                 
    char                                                16 / 16      
    short                                               16 / 16      
    int                                                  8 / 8       
    long                                                 4 / 4       
    half                                                 0 / 0        (n/a)
    float                                                8 / 8       
    double                                               4 / 4        (cl_khr_fp64)
  Half-precision Floating-point support           (n/a)
  Single-precision Floating-point support         (core)
    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
    Correctly-rounded divide and sqrt operations  Yes
  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                              6136258560 (5.715GiB)
  Error Correction support                        No
  Max memory allocation                           2147483648 (2GiB)
  Unified memory for Host and Device              Yes
  Minimum alignment for any data type             128 bytes
  Alignment of base address                       1024 bits (128 bytes)
  Global Memory cache type                        Read/Write
  Global Memory cache size                        6291456 (6MiB)
  Global Memory cache line size                   64 bytes
  Image support                                   Yes
    Max number of samplers per kernel             16
    Max size for 1D images from buffer            134217728 pixels
    Max 1D or 2D image array size                 2048 images
    Max 2D image size                             8192x8192 pixels
    Max 3D image size                             2048x2048x2048 pixels
    Max number of read image args                 128
    Max number of write image args                128
  Local memory type                               Global
  Local memory size                               262144 (256KiB)
  Max number of constant args                     8
  Max constant buffer size                        262144 (256KiB)
  Max size of kernel argument                     1024
  Queue properties                                
    Out-of-order execution                        Yes
    Profiling                                     Yes
  Prefer user sync for interop                    Yes
  Profiling timer resolution                      1ns
  Execution capabilities                          
    Run OpenCL kernels                            Yes
    Run native kernels                            Yes
  printf() buffer size                            16777216 (16MiB)
  Built-in kernels                                (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_3d_image_writes cl_khr_fp64 cl_khr_int64_base_atomics cl_khr_int64_extended_atomics cl_khr_fp64


NULL platform behavior
  clGetPlatformInfo(NULL, CL_PLATFORM_NAME, ...)  No platform
  clGetDeviceIDs(NULL, CL_DEVICE_TYPE_ALL, ...)   No platform
  clCreateContext(NULL, ...) [default]            No platform
  clCreateContext(NULL, ...) [other]              Success [AMD]
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_DEFAULT)  Success (1)
    Platform Name                                 AMD Accelerated Parallel Processing
    Device Name                                   gfx701
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_CPU)  No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_GPU)  Success (1)
    Platform Name                                 AMD Accelerated Parallel Processing
    Device Name                                   gfx701
  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 (1)
    Platform Name                                 AMD Accelerated Parallel Processing
    Device Name

Also worth noting that clinfo freezes after this and I can’t kill it with CTRL+C or kill -9 (becomes a state D process).

I think I’ve seen on the AUR page that there is >1 person having issues with this card.

You’d be better off requesting assistance on the aur page. @luciddream (maintainer) is pretty responsive.