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.67
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 .. 54 55 56 57 58 59 60 61 62 63 64 .. 81 Next › Last »

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.

luciddream commented on 2020-11-18 19:43 (UTC)

I'm experimenting with the new drivers on my PC, I will post the PKGBUILD somewhere if I manage to make it work - although my time is limited tonight.

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

The download is now completely different doesn't work with just changing the versions. It seems many files had their name changed, with things like "rocr", without any "pal". The driver installation page also seems to have not been updated. I don't know how to install this properly (don't have a Debian system to see what files it uses) so does anyone know what I actually need to do? I think it could be that the "rocr" drivers are the same as pal but I've got no clue.

Link is https://drivers.amd.com/drivers/linux/amdgpu-pro-20.45-1164792-ubuntu-20.04.tar.xz

sperg512 commented on 2020-11-14 02:02 (UTC) (edited on 2020-11-19 02:30 (UTC) by sperg512)

Correction because my IQ is negative: it's only reporting the Vega as an APU, not a GPU, because of the dedicated Picasso GPUs that I believe were in the most recent Vega chipsets. It's seeing the Vega as part of the CPU, not as it's own GPU unlike with Intel's integrated graphics. I wonder why it doesn't report the dGPU tho, because Picasso for me uses the amdgpu drivers... I don't know. AMD drivers are weird.

Edit as of 20.45: it now properly reports it, in my case as AMD Radeon(TM) Vega 10 Graphics, confirming this was indeed an issue with AMD's blobs. OpenCL shit still works perfectly too.

sperg512 commented on 2020-09-29 15:09 (UTC)

OpenCL code works perfectly and I didn't actually have any issues with it. So I think it's just the driver isn't properly reporting the Vega as a GPU.

sperg512 commented on 2020-09-25 15:54 (UTC)

I mean, I've written lots of code on my phone, mostly python and some bash, but I'm not even gonna try writing C++ or C lol. But yeah, once I'm home (in 4 or 5 hours from now), I'll test it out and post my results here.

I will say, that I won't be able to write any super advanced opencl, but it should be good enough to test...