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.53
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 .. 49 50 51 52 53 54 55 56 57 58 59 .. 81 Next › Last »

jiweigert commented on 2020-11-20 12:35 (UTC)

Hi,

with the change to last version of opencl-amd (20.45) Ryzen 5 3500U Vega 8 buildin AGPU (gfx902) is not supported anymore.

No device is found on the system anymore.

This is truly a regression as the driver worked so far good before.

What kind of options do I have now?

Kind regards

coxackie commented on 2020-11-20 12:00 (UTC)

@luciddream One more thing: output of clinfo --offline from 20.40 is here. Compare with the one of 20.45 here. I can see that 20.40 (in my system) supports the newer GPUs, but for some reason 20.45 shows no support...

coxackie commented on 2020-11-20 11:47 (UTC) (edited on 2020-11-20 11:48 (UTC) by coxackie)

@luciddream With ls /usr/lib/libamd* I get

/usr/lib/libamd_comgr.so        /usr/lib/libamdhip64.so.1          /usr/lib/libamdocl-orca64.so
/usr/lib/libamd_comgr.so.1      /usr/lib/libamdhip64.so.1.5.19245  /usr/lib/libamd.so
/usr/lib/libamd_comgr.so.1.7.0  /usr/lib/libamdocl12cl64.so        /usr/lib/libamd.so.2
/usr/lib/libamdhip64.so         /usr/lib/libamdocl64.so            /usr/lib/libamd.so.2.4.6

and ls /usr/lib/libtinfo* gives /usr/lib/libtinfo.so /usr/lib/libtinfo.so.6.

Anything unusual?

luciddream commented on 2020-11-20 11:37 (UTC) (edited on 2020-11-20 11:37 (UTC) by luciddream)

@coxackie can you try to list some libraries on your system

la /usr/lib/libamd* and la /usr/lib/libtinfo*?

Maybe you need to make a symlink to libtinfo.so for some reason.

cd /usr/lib/
sudo ln -s libtinfo.so libtinfo.so.5.9 

coxackie commented on 2020-11-20 11:21 (UTC) (edited on 2020-11-20 11:22 (UTC) by coxackie)

@luciddream - no idea where the extension comes from. But, as you can see from the output, opencl-mesa is not installed now (otherwise there would be 2 platforms). I did install opencl-amd with opencl-mesa uninstalled, but no difference.

EDIT: also, no ROCm here.

luciddream commented on 2020-11-20 11:16 (UTC) (edited on 2020-11-20 11:17 (UTC) by luciddream)

Also do you have another ROCm package installed that could be in conflict with opencl-amd? I see clinfo crashing is a known issue for ROCm [1] - [2]

luciddream commented on 2020-11-20 11:10 (UTC) (edited on 2020-11-20 11:11 (UTC) by luciddream)

@coxackie I'm not sure where you get that extension from. Can you try to remove opencl-mesa and then reinstall opencl-amd package - if you haven't tried that in that order? My platform does not have the offline extension.

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

coxackie commented on 2020-11-20 10:57 (UTC) (edited on 2020-11-20 11:02 (UTC) by coxackie)

@luciddream Thanks - I tried AMD's clinfo, but there was no illuminating info. I then checked the output of clinfo --offline (arch clinfo package - showing all potential supported devices), and I got this. Looking through the platforms, it appears that Navi is not supported? (Presumably I should see gfx1010 somewhere there? But nowhere to be found). This looks like the same issue that opencl-mesa has.

Of course, the AMD webpage does mention support. I have all requirements - llvm 11, kernel 5.9.9, mesa 20.2.2.

Could anyone else check the output of their clinfo --offline?

luciddream commented on 2020-11-20 10:48 (UTC) (edited on 2020-11-20 10:56 (UTC) by luciddream)

opencl-amd follows the AMDGPU-Pro upstream releases. If the latest version is not working for your system, you can download and install the 20.40 version. The link to the 20.40 PKGBUILD is here

From AMDGPU-Pro 20.45 release notes - Blender 2.90.1 users may experience page faults (details in dmesg log).

luciddream commented on 2020-11-20 10:18 (UTC) (edited on 2020-11-20 10:24 (UTC) by luciddream)

hey guys, we must be in different timezones because I'm usually sleeping when the batch of these emails arrive :D

Blender is not a good example to test the package, since it's a known bug of the driver. Of course it might work for some people but we are just packaging the drivers, we can't fix them. Maybe we can add a warning to the pinned comment @sperg512

@sperg512 about clinfo, both have similar output from what I can see, and both are open source. Arch upstream - AMD clinfo - I'm neutral on what to choose, but Arch one seems more active.

@apaz you can download it from here, then add it from Blender as a zip addon. I'm not sure if it worked with the previous AMDGPU-pro version, that's why I downloaded it. You will also have to configure it because the original configuration is fast but not so good. The manual is here

@coxackie can you also try the clinfo from AMD and see if it gives any meaningful errors? I've uploaded for you here