Package Details: opencl-amd 1:6.3.2-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: 132
Popularity: 0.21
First Submitted: 2016-12-01 03:45 (UTC)
Last Updated: 2025-01-29 20:12 (UTC)

Required by (128)

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.

luciddream commented on 2021-12-26 15:14 (UTC) (edited on 2025-01-29 20:13 (UTC) by luciddream)

Current release is for ROCm 6.3.2 opencl-amd package includes only OpenCL / HIP runtime. You also need to use opencl-amd-dev package for ROCm LLVM compiler, OpenCL and HIP SDK. Please relog / reboot after installing so your PATH gets updated

There are now official packages available: rocm-opencl-sdk for OpenCL and rocm-hip-sdk for HIP - You might have better luck with these packages depending on your GPU.

Latest Comments

« First ‹ Previous 1 .. 52 53 54 55 56 57 58 59 60 61 62 .. 79 Next › Last »

agapito commented on 2020-11-19 08:22 (UTC)

@kode54 I downloaded that scene for testing purposes, reinstalled 20.40 driver (I had a backup on my HDD) and GPU tile never finishes his work. My card is 4GB only so that's the reason probably, but Blender doesn't crash and GPU works fine on less complex scenes like fishy cat or racing car. With 20.45 every time i try to load a "gpu project" Blenders crashes.

kode54 commented on 2020-11-19 04:31 (UTC)

@agapito Interesting experience, considering I never could get anything newer than 19.50 to work with the complex Blender scene I used to use to verify everything is in order. Specifically, I'd be using the Junk Shop scene, which was the splash screen for 2.81, available from Blender's site full of demo files for all their splash screens. It rolls in at roughly a 400MB download, and probably needs an 8GB or larger card and almost as much system memory free as well.

I also know that the open source ROCm OpenCL driver never worked for me with Blender. Crash every time.

agapito commented on 2020-11-19 03:47 (UTC)

Blender crashes using a Polaris card. It was fine using 20.40 driver.

[ALSOFT] (EE) Failed to set real-time priority for thread: Operation not permitted (1) /run/user/1000/gvfs/ non-existent directory LLVM triggered Diagnostic Handler: Illegal instruction detected: VOP instruction violates constant bus restriction renamable $vgpr4 = V_CNDMASK_B32_e32 32768, killed $vgpr5, implicit killed $vcc, implicit $exec LLVM failed to compile shader radeonsi: can't compile a main shader part LLVM triggered Diagnostic Handler: Illegal instruction detected: VOP instruction violates constant bus restriction renamable $vgpr2 = V_CNDMASK_B32_e32 32768, killed $vgpr2, implicit killed $vcc, implicit $exec LLVM failed to compile shader radeonsi: can't compile a main shader part

sperg512 commented on 2020-11-19 02:20 (UTC)

It seems to install properly, I'll test some OpenCL stuff tomorrow night. Thank you very much, appreciate it!

luciddream commented on 2020-11-19 02:09 (UTC)

It works fine for me but I'm super tired and can't check if I've done anything wrong. I've uploaded the PKGBUILD here for now.

apaz commented on 2020-11-18 21:27 (UTC)

Judging by the OpenCL tests on Phoronix, it seems that ROCm now works on the RX 5700 XT as well. Performance is lower than RDNA2 but no problems are reported: https://www.phoronix.com/scan.php?page=article&item=amd-rx6800-opencl&num=1

luciddream commented on 2020-11-18 20:30 (UTC) (edited on 2020-11-18 20:32 (UTC) by luciddream)

Well Rocm isn't supposed to work with 5700 XT yet. But some people say it's working for them. I will take a better look in a couple of hours unless you manage to make it work first.

I've compiled a list with the new files and the deleted ones, if it helps anyone

NEW:

amdgpu-pro-rocr-opencl_20.45-1164792_amd64.deb comgr-amdgpu-pro_1.7.0-1164792_amd64.deb comgr-amdgpu-pro-dev_1.7.0-1164792_amd64.deb hip-rocr-amdgpu-pro_20.45-1164792_amd64.deb hsakmt-roct-amdgpu_1.0.9-1164792_amd64.deb hsakmt-roct-amdgpu-dev_1.0.9-1164792_amd64.deb hsa-runtime-rocr-amdgpu_1.2.0-1164792_amd64.deb hsa-runtime-rocr-amdgpu-dev_1.2.0-1164792_amd64.deb libllvm-amdgpu-pro-rocm_11.0-1164792_amd64.deb llvm-amdgpu-pro-rocm_11.0-1164792_amd64.deb llvm-amdgpu-pro-rocm-dev_11.0-1164792_amd64.deb opencl-rocr-amdgpu-pro_20.45-1164792_amd64.deb opencl-rocr-amdgpu-pro-dev_20.45-1164792_amd64.deb rocm-device-libs-amdgpu-pro_1.0.0-1164792_amd64.deb

DELETED:

opencl-amdgpu-pro_20.40-1147286_amd64.deb opencl-amdgpu-pro-comgr_20.40-1147286_amd64.deb opencl-amdgpu-pro-dev_20.40-1147286_amd64.deb opencl-amdgpu-pro-icd_20.40-1147286_amd64.deb hip-amdgpu-pro_20.40-1147286_amd64.deb

sperg512 commented on 2020-11-18 20:16 (UTC)

I think the ROC* binaries are for Vega 10 and up, so I think we could both verify them as, well, it's the oldest one supported by it(mine) and one of the newest ones (yours) so it should probably be enough to test. Other than that though, if they didn't work properly with RDNA2 there's probably be a bunch of posts on Reddit about it. So far, I have yet to see any, and in fact, I've only seen people saying that the ROCm support is nearly perfect.

I assumed you meant like testing if they work but if you meant something else then tell me

luciddream commented on 2020-11-18 20:05 (UTC)

Another issue is that if the rocm binaries are now included with the archive, maybe the opencl-amd package should also take that under consideration, and not only work with the old files. I guess only someone with a 6800XT could test it properly, but maybe there is a way to verify the rocm binaries with my 5700XT.

sperg512 commented on 2020-11-18 19:50 (UTC)

alright, I believe I found the correct files and changed them accordingly, but oddly when it installs, the package is almost 100 MiB smaller than before. It could be they just made the drivers take up considerably less space but i'm not sure. I'll check and compare file sizes to the 20.40 version and see if they actually add up properly. I'll also post my PKGBUILD so you can test it before I push the new one to master.