Package Details: opencl-amd 1:6.4.0-1

Git Clone URL: https://aur.archlinux.org/opencl-amd.git (read-only, click to copy)
Package Base: opencl-amd
Description: ROCm components repackaged from AMD's Ubuntu releases (ROCr runtime, ROCm runtime, HIP runtime) - This package is intended to work along with the free amdgpu stack.
Upstream URL: http://www.amd.com
Keywords: amd amdgpu computing gpgpu opencl radeon
Licenses: custom:AMD
Conflicts: amd-smi-lib, comgr, hip, hip-dev, hip-doc, hip-runtime-amd, hip-samples, hipcc, hsa-amd-aqlprofile, hsa-rocr, hsa-rocr-dev, libdrm-amdgpu-amdgpu1, openmp-extras-runtime, rocdecode, rocdecode-dev, rocjpeg, rocjpeg-dev, rocm-cmake, rocm-core, rocm-dbgapi, rocm-debug-agent, rocm-device-libs, rocm-gdb, rocm-hip-runtime, rocm-language-runtime, rocm-ocl-icd, rocm-opencl, rocm-opencl-dev, rocm-opencl-icd-loader, rocm-opencl-runtime, rocm-smi-lib, rocm-utils, rocminfo, rocprofiler, rocprofiler-dev, rocprofiler-plugins, rocprofiler-register, roctracer, roctracer-dev
Provides: amd-smi-lib, comgr, hip, hip-dev, hip-doc, hip-runtime-amd, hip-samples, hipcc, hsa-amd-aqlprofile, hsa-rocr, hsa-rocr-dev, libdrm-amdgpu-amdgpu1, opencl-driver, openmp-extras-runtime, rocdecode, rocdecode-dev, rocjpeg, rocjpeg-dev, rocm-cmake, rocm-core, rocm-dbgapi, rocm-debug-agent, rocm-device-libs, rocm-gdb, rocm-hip-runtime, rocm-language-runtime, rocm-ocl-icd, rocm-opencl, rocm-opencl-dev, rocm-opencl-icd-loader, rocm-opencl-runtime, rocm-smi-lib, rocm-utils, rocminfo, rocprofiler, rocprofiler-dev, rocprofiler-plugins, rocprofiler-register, roctracer, roctracer-dev
Submitter: grmat
Maintainer: sperg512 (luciddream)
Last Packager: luciddream
Votes: 133
Popularity: 0.30
First Submitted: 2016-12-01 03:45 (UTC)
Last Updated: 2025-04-11 22:54 (UTC)

Required by (132)

Sources (38)

Pinned Comments

nho1ix commented on 2023-12-29 08:43 (UTC) (edited on 2024-02-10 07:13 (UTC) by nho1ix)

Note for anyone who has a Polaris GPU (Radeon RX 5xx) debugging issues with this package; Packages that use OpenCL like clinfo or davinci-resolve-studio will need you to downgrade opencl-amd to 1:5.7.1-1 as well as amdgpu-pro-oglp to 23.10_1620044-1 to avoid coredumps & segfaults.

DVR would not open unless these 2 packages were downgraded (along with their dependencies). Had to figure it out the hard way after hours using valgrind and rebooting over and over. Hopefully someone else will not have to pull their hair out trying to resolve their issue.

Latest Comments

« First ‹ Previous 1 .. 40 41 42 43 44 45 46 47 48 49 50 .. 81 Next › Last »

hpohl commented on 2021-04-02 09:56 (UTC) (edited on 2021-04-02 09:57 (UTC) by hpohl)

@lucciddream No problem, I'll stick to 20.40. Happy to test when a new version comes out :)

luciddream commented on 2021-04-02 09:53 (UTC)

@hpohl If 20.40 works for you but 20.50 doesn't, my guess is that ROCM might not be supporting 6700XT yet. But I would wait for more people to comment and verify that. AMD promised zero day support for ROCM and RDNA2, and that was my main motivation when I updated the package, but I'm not sure they have been able to keep that promise.

hpohl commented on 2021-04-02 09:40 (UTC)

Blender does not list my RX 6700 XT as an OpenCL device.

sperg512 commented on 2021-04-02 01:28 (UTC)

@ATrigger and @quimkaos can you read the pinned comment? Need some info from Polaris card users so yea

sperg512 commented on 2021-03-29 11:26 (UTC)

@hpohl geekbench5, Blender (with OCL turned on), LibreOffice (with OCL turned on)

hpohl commented on 2021-03-29 08:34 (UTC)

@sperg512 Do you have an example of a game or benchmark that uses OpenCL? Preferably free :)

hpohl commented on 2021-03-29 08:30 (UTC) (edited on 2021-03-29 08:32 (UTC) by hpohl)

I've just installed 20.40 and it works:

$ clinfo
  Platform Name                                   AMD Accelerated Parallel Processing
Number of devices                                 1
  Device Name                                     gfx1031
  Device Vendor                                   Advanced Micro Devices, Inc.
  Device Vendor ID                                0x1002
  Device Version                                  OpenCL 2.0 AMD-APP (3180.7)
  Driver Version                                  3180.7 (PAL,LC)
  Device OpenCL C Version                         OpenCL C 2.0
  Device Type                                     GPU
  Device Board Name (AMD)                         Unknown AMD GPU
  Device PCI-e ID (AMD)                           0x73df
  Device Topology (AMD)                           PCI-E, 0000:0b:00.0
  Device Profile                                  FULL_PROFILE
...

$ ldd -v /usr/bin/clinfo
linux-vdso.so.1 (0x00007ffdb07aa000)
libOpenCL.so.1 => /opt/cuda/lib64/libOpenCL.so.1 (0x00007f3c5cfdf000)
libdl.so.2 => /usr/lib/libdl.so.2 (0x00007f3c5cfd8000)
libc.so.6 => /usr/lib/libc.so.6 (0x00007f3c5ce0b000)
libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007f3c5cdea000)
/lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 (0x00007f3c5d21e000)

Version information:
/usr/bin/clinfo:
    libdl.so.2 (GLIBC_2.2.5) => /usr/lib/libdl.so.2
    libOpenCL.so.1 (OPENCL_1.0) => /opt/cuda/lib64/libOpenCL.so.1
    libc.so.6 (GLIBC_2.3) => /usr/lib/libc.so.6
    libc.so.6 (GLIBC_2.7) => /usr/lib/libc.so.6
    libc.so.6 (GLIBC_2.14) => /usr/lib/libc.so.6
    libc.so.6 (GLIBC_2.4) => /usr/lib/libc.so.6
    libc.so.6 (GLIBC_2.2.5) => /usr/lib/libc.so.6
    libc.so.6 (GLIBC_2.3.4) => /usr/lib/libc.so.6
/opt/cuda/lib64/libOpenCL.so.1:
    libdl.so.2 (GLIBC_2.2.5) => /usr/lib/libdl.so.2
    libpthread.so.0 (GLIBC_2.2.5) => /usr/lib/libpthread.so.0
    libc.so.6 (GLIBC_2.2.5) => /usr/lib/libc.so.6
/usr/lib/libdl.so.2:
    ld-linux-x86-64.so.2 (GLIBC_PRIVATE) => /usr/lib64/ld-linux-x86-64.so.2
    libc.so.6 (GLIBC_PRIVATE) => /usr/lib/libc.so.6
    libc.so.6 (GLIBC_2.4) => /usr/lib/libc.so.6
    libc.so.6 (GLIBC_2.2.5) => /usr/lib/libc.so.6
/usr/lib/libc.so.6:
    ld-linux-x86-64.so.2 (GLIBC_2.2.5) => /usr/lib64/ld-linux-x86-64.so.2
    ld-linux-x86-64.so.2 (GLIBC_2.3) => /usr/lib64/ld-linux-x86-64.so.2
    ld-linux-x86-64.so.2 (GLIBC_PRIVATE) => /usr/lib64/ld-linux-x86-64.so.2
/usr/lib/libpthread.so.0:
    ld-linux-x86-64.so.2 (GLIBC_2.2.5) => /usr/lib64/ld-linux-x86-64.so.2
    ld-linux-x86-64.so.2 (GLIBC_PRIVATE) => /usr/lib64/ld-linux-x86-64.so.2
    libc.so.6 (GLIBC_2.14) => /usr/lib/libc.so.6
    libc.so.6 (GLIBC_2.32) => /usr/lib/libc.so.6
    libc.so.6 (GLIBC_2.3.2) => /usr/lib/libc.so.6
    libc.so.6 (GLIBC_2.4) => /usr/lib/libc.so.6
    libc.so.6 (GLIBC_2.2.5) => /usr/lib/libc.so.6
    libc.so.6 (GLIBC_PRIVATE) => /usr/lib/libc.so.6

Also when I upgraded from 20.40 to 20.50:

Packages (1) opencl-amd-20.50.1234664-5

Total Installed Size:  243.56 MiB
Net Upgrade Size:      -73.44 MiB

And now with clinfo 20.50 (1234664):

$ ldd -v /usr/bin/clinfo
linux-vdso.so.1 (0x00007fff379ae000)
libOpenCL.so.1 => /opt/cuda/lib64/libOpenCL.so.1 (0x00007f62fb4ab000)
libdl.so.2 => /usr/lib/libdl.so.2 (0x00007f62fb4a4000)
libc.so.6 => /usr/lib/libc.so.6 (0x00007f62fb2d7000)
libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007f62fb2b6000)
/lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 (0x00007f62fb6ea000)

Version information:
/usr/bin/clinfo:
    libdl.so.2 (GLIBC_2.2.5) => /usr/lib/libdl.so.2
    libOpenCL.so.1 (OPENCL_1.0) => /opt/cuda/lib64/libOpenCL.so.1
    libc.so.6 (GLIBC_2.3) => /usr/lib/libc.so.6
    libc.so.6 (GLIBC_2.7) => /usr/lib/libc.so.6
    libc.so.6 (GLIBC_2.14) => /usr/lib/libc.so.6
    libc.so.6 (GLIBC_2.4) => /usr/lib/libc.so.6
    libc.so.6 (GLIBC_2.2.5) => /usr/lib/libc.so.6
    libc.so.6 (GLIBC_2.3.4) => /usr/lib/libc.so.6
/opt/cuda/lib64/libOpenCL.so.1:
    libdl.so.2 (GLIBC_2.2.5) => /usr/lib/libdl.so.2
    libpthread.so.0 (GLIBC_2.2.5) => /usr/lib/libpthread.so.0
    libc.so.6 (GLIBC_2.2.5) => /usr/lib/libc.so.6
/usr/lib/libdl.so.2:
    ld-linux-x86-64.so.2 (GLIBC_PRIVATE) => /usr/lib64/ld-linux-x86-64.so.2
    libc.so.6 (GLIBC_PRIVATE) => /usr/lib/libc.so.6
    libc.so.6 (GLIBC_2.4) => /usr/lib/libc.so.6
    libc.so.6 (GLIBC_2.2.5) => /usr/lib/libc.so.6
/usr/lib/libc.so.6:
    ld-linux-x86-64.so.2 (GLIBC_2.2.5) => /usr/lib64/ld-linux-x86-64.so.2
    ld-linux-x86-64.so.2 (GLIBC_2.3) => /usr/lib64/ld-linux-x86-64.so.2
    ld-linux-x86-64.so.2 (GLIBC_PRIVATE) => /usr/lib64/ld-linux-x86-64.so.2
/usr/lib/libpthread.so.0:
    ld-linux-x86-64.so.2 (GLIBC_2.2.5) => /usr/lib64/ld-linux-x86-64.so.2
    ld-linux-x86-64.so.2 (GLIBC_PRIVATE) => /usr/lib64/ld-linux-x86-64.so.2
    libc.so.6 (GLIBC_2.14) => /usr/lib/libc.so.6
    libc.so.6 (GLIBC_2.32) => /usr/lib/libc.so.6
    libc.so.6 (GLIBC_2.3.2) => /usr/lib/libc.so.6
    libc.so.6 (GLIBC_2.4) => /usr/lib/libc.so.6
    libc.so.6 (GLIBC_2.2.5) => /usr/lib/libc.so.6
    libc.so.6 (GLIBC_PRIVATE) => /usr/lib/libc.so.6

luciddream commented on 2021-03-28 22:52 (UTC)

@hpohl run ldd -v /usr/bin/clinfo and paste the output, maybe some library is missing for 6700 XT.

sperg512 commented on 2021-03-28 22:14 (UTC)

@hpohl that's interesting. Do apps/games that use OpenCL crash without DRI_PRIME=1? If so, then get one to crash and attach a crash log of that game and the most recent (or any relevant) dmesg lines.

hpohl commented on 2021-03-28 12:52 (UTC) (edited on 2021-03-28 13:00 (UTC) by hpohl)

My RX 6700 XT is not detected by clinfo (with our without --ofline):

Number of platforms                               1
  Platform Name                                   AMD Accelerated Parallel Processing
  Platform Vendor                                 Advanced Micro Devices, Inc.
  Platform Version                                OpenCL 2.0 AMD-APP (3188.4)
  Platform Profile                                FULL_PROFILE
  Platform Extensions                             cl_khr_icd cl_amd_event_callback
  Platform Extensions function suffix             AMD

  Platform Name                                   AMD Accelerated Parallel Processing
Number of devices                                 0

NULL platform behavior
  clGetPlatformInfo(NULL, CL_PLATFORM_NAME, ...)  AMD Accelerated Parallel Processing
  clGetDeviceIDs(NULL, CL_DEVICE_TYPE_ALL, ...)   No devices found in platform [AMD Accelerated Parallel Processing?]
  clCreateContext(NULL, ...) [default]            No devices found in platform
  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

ICD loader properties
  ICD loader Name                                 OpenCL ICD Loader
  ICD loader Vendor                               OCL Icd free software
  ICD loader Version                              2.2.14
  ICD loader Profile                              OpenCL 3.0

Also there is a new build (1234664) available, but it did not change anything. And so did downgrading to 20.45.

Running games with DRI_PRIME=1 works just fine.

0b:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Navi 22 (rev c1)

Could not find anything relevant in dmesg.

Tell me if you need any more info :)