Please update! 17.40 is out! Also it have the blockchain compute fix! Read: https://support.amd.com/en-us/kb-articles/Pages/AMDGPU-PRO-Driver-for-Linux-Release-Notes.aspx
Enabling Large Page Support
The syntax of this module parameter is amdgpu.vm_fragment_size=X, where the actual fragment size is 4KB * 2^X. The default is X=4, which means 64KB. To get 2MB fragments, set X=9.
Edit /etc/default/grub as root and modify GRUB_CMDLINE_LINUX_DEFAULT in order to add "amdgpu.vm_fragment_size=9" (without the quotes). The line may look something like this after the change:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash amdgpu.vm_fragment_size=9"
Update grub and reboot as root:
update-grub;reboot
Search Criteria
Package Details: opencl-amd 1:6.4.0-1
Package Actions
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.60 |
First Submitted: | 2016-12-01 03:45 (UTC) |
Last Updated: | 2025-04-11 22:54 (UTC) |
Dependencies (7)
- gcc-libs (gcc-libs-gitAUR, gccrs-libs-gitAUR, gcc11-libsAUR, gcc-libs-snapshotAUR)
- libdrm (libdrm-gitAUR)
- numactl (numactl-gitAUR)
- ocl-icd (opencl-icd-loaderAUR, khronos-ocl-icd-gitAUR)
- wget (wget-gitAUR, wurlAUR) (make)
- clinfo (clinfo-gitAUR) (optional)
- opencl-amd-devAUR (optional)
Required by (132)
- adaptivecpp (requires hip-runtime-amd)
- adaptivecpp-git (requires hip-runtime-amd)
- aftershotpro3 (optional)
- agisoft-metashape (optional)
- agisoft-metashape-pro (optional)
- amf-amdgpu-pro (requires rocm-opencl-runtime) (optional)
- amf-amdgpu-pro-legacy (requires rocm-opencl-runtime) (optional)
- arrayfire-git (requires opencl-driver) (optional)
- atmi (requires hsa-rocr)
- atmi (requires comgr)
- bfgminer-git (requires opencl-driver) (optional)
- bforartists (requires hip-runtime-amd) (make)
- bforartists (requires hip-runtime-amd) (optional)
- blender-benchmark (requires rocm-hip-runtime) (optional)
- blender-benchmark-cli (requires rocm-hip-runtime) (optional)
- blender-bin (requires hip-runtime-amd) (optional)
- btop-git (requires rocm-smi-lib) (optional)
- btop-gpu-git (requires rocm-smi-lib) (optional)
- computecpp (requires opencl-driver)
- cpu-x-git (requires opencl-driver) (optional)
- crark (requires opencl-driver) (optional)
- cytoscape (requires opencl-driver) (optional)
- darknet-hankai-git (requires rocm-hip-runtime) (optional)
- darknet-hankai-git (requires rocm-opencl-runtime) (optional)
- davinci-resolve (requires opencl-driver)
- davinci-resolve-beta (requires opencl-driver)
- davinci-resolve-studio (requires opencl-driver)
- davinci-resolve-studio-beta (requires opencl-driver)
- dewobble (requires opencl-driver)
- foldingathome (requires opencl-driver) (optional)
- fusion-render-node (requires opencl-driver)
- fusion-studio (requires opencl-driver)
- ginkgo-hpc-cuda-git (requires hip-runtime-amd) (make)
- ginkgo-hpc-cuda-git (requires roctracer) (make)
- ginkgo-hpc-docs-git (requires hip-runtime-amd) (make)
- ginkgo-hpc-docs-git (requires roctracer) (make)
- ginkgo-hpc-git (requires hip-runtime-amd) (make)
- ginkgo-hpc-git (requires roctracer) (make)
- ginkgo-hpc-hip-git (requires hip-runtime-amd)
- ginkgo-hpc-hip-git (requires hip-runtime-amd) (make)
- ginkgo-hpc-hip-git (requires roctracer)
- ginkgo-hpc-hip-git (requires roctracer) (make)
- gyroflow (requires opencl-driver) (optional)
- gyroflow-bin (requires opencl-driver) (optional)
- gyroflow-dev-appimage (requires opencl-driver) (optional)
- gyroflow-git (requires opencl-driver) (optional)
- hipfort (requires hip-runtime-amd)
- hipfort (requires rocm-cmake) (make)
- hipsycl-rocm (requires hip-runtime-amd)
- hipsycl-rocm-git (requires hip-runtime-amd)
- intel-llvm-git (requires hip-runtime-amd)
- kristforge-bin (requires opencl-driver) (optional)
- kristforge-git (requires opencl-driver) (optional)
- lammps-ryzen-opencl
- lc0 (requires opencl-driver) (optional)
- leela-zero (requires opencl-driver)
- leela-zero-git (requires opencl-driver)
- llama.cpp-hip (requires hip-runtime-amd)
- llama.cpp-hip (requires rocm-hip-runtime) (make)
- llamafile (requires hip-runtime-amd) (optional)
- llamafile (requires rocminfo) (optional)
- llamafile-bin (requires hip-runtime-amd) (optional)
- llamafile-bin (requires rocminfo) (optional)
- llamafile-git (requires hip-runtime-amd) (optional)
- llamafile-git (requires rocminfo) (optional)
- local-ai-hipblas (requires rocm-hip-runtime)
- localai-git-rocm (requires rocm-hip-runtime)
- luxcorerender (requires opencl-driver) (optional)
- luxcorerender-bin (requires opencl-driver) (optional)
- luxcorerender-git (requires opencl-driver) (optional)
- luxmark (requires opencl-driver)
- mandelbulber2-opencl-git (requires opencl-driver)
- maya (requires opencl-driver) (optional)
- mfakto (requires opencl-driver)
- migraphx (requires rocm-cmake) (make)
- migraphx (requires hip)
- miopen-opencl (requires rocm-cmake) (make)
- miopengemm (requires rocm-cmake) (make)
- mivisionx (requires rocm-cmake) (make)
- mtsieve (requires opencl-driver)
- nano-vanity-git (requires rocm-opencl-runtime) (optional)
- ollama-rocm-git (requires rocm-smi-lib) (optional)
- ollama-rocm-git (requires hip-runtime-amd)
- ollama-rocm-git (requires hip-runtime-amd) (make)
- ollama-rocm-git (requires hsa-rocr)
- ollama-rocm-git (requires hsa-rocr) (make)
- ollama-rocm-git (requires comgr)
- opencl-amd-dev
- opencl-icd-loader (requires opencl-driver) (optional)
- opencl-legacy-amdgpu-pro (requires rocm-opencl-runtime) (optional)
- openmp-extras (requires hsa-rocr)
- python-gpuctypes (requires opencl-driver) (optional)
- python-gpuctypes (requires hip-runtime-amd) (optional)
- python-jax-rocm (requires rocm-hip-runtime)
- python-k2-git (requires hip) (optional)
- python-pyfai (requires opencl-driver)
- python-pytorch-cxx11abi (requires roctracer) (make)
- python-pytorch-cxx11abi-cuda (requires roctracer) (make)
- python-pytorch-cxx11abi-opt (requires roctracer) (make)
- python-pytorch-cxx11abi-opt-cuda (requires roctracer) (make)
- python-pytorch-cxx11abi-opt-rocm (requires roctracer)
- python-pytorch-cxx11abi-opt-rocm (requires roctracer) (make)
- python-pytorch-cxx11abi-rocm (requires roctracer)
- python-pytorch-cxx11abi-rocm (requires roctracer) (make)
- python-silx (requires opencl-driver) (optional)
- python-tensorflow-opt-rocm (requires roctracer) (make)
- python-tensorflow-rocm (requires roctracer) (make)
- rocblas-gfx1010-backend (requires rocm-cmake) (make)
- rocm-bandwidth-test (requires hsa-rocr)
- rocm-debug-agent (requires rocm-dbgapi)
- rocm-debug-agent (requires hip)
- rocm-validation-suite (requires rocm-smi-lib)
- rocsparse-gfx1010 (requires rocm-cmake) (make)
- rocsparse-gfx1010 (requires hip)
- rocwmma (requires rocm-cmake) (make)
- rocwmma (requires hip)
- sempiternum (optional)
- sempiternum-git (optional)
- slopecraft (requires rocm-opencl-runtime) (optional)
- srbminer-multi (optional)
- tensorflow-opt-rocm (requires roctracer) (make)
- tensorflow-rocm (requires roctracer) (make)
- ugene-git (requires opencl-driver)
- virtualgl-git (requires opencl-driver)
- vramfs-git (requires opencl-driver)
- xkblas (requires rocm-smi-lib)
- xmr-stak-opencl-amd
- zivid (requires opencl-driver)
- zluda (requires hip-runtime-amd)
- zluda (requires comgr)
- zluda-git (requires hip-runtime-amd)
- zluda-git (requires comgr)
Sources (38)
- https://repo.radeon.com/amdgpu/5.7.1/ubuntu/pool/proprietary/o/opencl-legacy-amdgpu-pro/opencl-legacy-amdgpu-pro-icd_23.20-1664987.22.04_amd64.deb
- https://repo.radeon.com/amdgpu/6.4/ubuntu/pool/main/libd/libdrm-amdgpu/libdrm-amdgpu-amdgpu1_2.4.124.60400-2147987.24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/a/amd-smi-lib/amd-smi-lib_25.3.0.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/c/comgr/comgr_3.0.0.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/h/hip-dev/hip-dev_6.4.43482.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/h/hip-doc/hip-doc_6.4.43482.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/h/hip-runtime-amd/hip-runtime-amd_6.4.43482.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/h/hip-samples/hip-samples_6.4.43482.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/h/hipcc/hipcc_1.1.1.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/h/hsa-amd-aqlprofile/hsa-amd-aqlprofile_1.0.0.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/h/hsa-rocr-dev/hsa-rocr-dev_1.15.0.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/h/hsa-rocr/hsa-rocr_1.15.0.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/o/openmp-extras-runtime/openmp-extras-runtime_18.63.0.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/r/rocdecode-dev/rocdecode-dev_0.10.0.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/r/rocdecode/rocdecode_0.10.0.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/r/rocjpeg-dev/rocjpeg-dev_0.8.0.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/r/rocjpeg/rocjpeg_0.8.0.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/r/rocm-cmake/rocm-cmake_0.14.0.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/r/rocm-core/rocm-core_6.4.0.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/r/rocm-dbgapi/rocm-dbgapi_0.77.2.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/r/rocm-debug-agent/rocm-debug-agent_2.0.4.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/r/rocm-dev/rocm-dev_6.4.0.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/r/rocm-device-libs/rocm-device-libs_1.0.0.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/r/rocm-gdb/rocm-gdb_15.2.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/r/rocm-hip-runtime/rocm-hip-runtime_6.4.0.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/r/rocm-language-runtime/rocm-language-runtime_6.4.0.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/r/rocm-opencl-dev/rocm-opencl-dev_2.0.0.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/r/rocm-opencl-runtime/rocm-opencl-runtime_6.4.0.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/r/rocm-opencl/rocm-opencl_2.0.0.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/r/rocm-smi-lib/rocm-smi-lib_7.5.0.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/r/rocm-utils/rocm-utils_6.4.0.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/r/rocminfo/rocminfo_1.0.0.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/r/rocprofiler-dev/rocprofiler-dev_2.0.60400.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/r/rocprofiler-plugins/rocprofiler-plugins_2.0.60400.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/r/rocprofiler-register/rocprofiler-register_0.4.0.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/r/rocprofiler/rocprofiler_2.0.60400.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/r/roctracer-dev/roctracer-dev_4.1.60400.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/r/roctracer/roctracer_4.1.60400.60400-47~24.04_amd64.deb
Latest Comments
« First ‹ Previous 1 .. 73 74 75 76 77 78 79 80 81 Next › Last »
1llum1n4t3d commented on 2017-11-02 23:34 (UTC) (edited on 2017-11-03 00:07 (UTC) by 1llum1n4t3d)
laichiaheng commented on 2017-10-31 18:15 (UTC)
==> Validating source files with sha256sums...
amdgpu-pro-17.30-465504.tar.xz ... FAILED
==> ERROR: One or more files did not pass the validity check!
==> ERROR: Makepkg was unable to build opencl-amd.
ywecur commented on 2017-10-23 21:36 (UTC)
I think there's a bug, but I'm not quite sure what the cause is. Neither ethminer nor Claymore will launch unless there's an active X session running. They will both say that no OpenCL devices were found.
darkbasic commented on 2017-10-21 13:23 (UTC)
GPU_FORCE_64BIT_PTR=1 was enough for me (HD7950)
difron commented on 2017-10-21 13:13 (UTC)
It works on SI if set
export GPU_FORCE_64BIT_PTR=1
export GPU_USE_SYNC_OBJECTS=1
export GPU_MAX_ALLOC_PERCENT=100
export GPU_SINGLE_ALLOC_PERCENT=100
export GPU_MAX_HEAP_SIZE=100
found here https://github.com/fireice-uk/xmr-stak-amd/issues/59
grmat commented on 2017-09-28 23:14 (UTC)
@darkbasic: I don't think so. SI was not initially planned for AMDGPU. You can try the AMD mainline kernel as suggested in the thread, but I'm not sure if it will work.
darkbasic commented on 2017-09-27 23:44 (UTC)
https://www.phoronix.com/forums/forum/linux-graphics-x-org-drivers/open-source-amd-linux/979848-amdgpu-pro-s-opencl-stack-crashes-the-whole-system-down-to-its-knees-on-si
Is it supposed to work on SI?
pouar commented on 2017-08-27 14:51 (UTC)
probably a dumb question, but I can't get OpenCL to work without root. I tried adding myself to the video group, but it's still not working.
cgx commented on 2017-08-14 15:24 (UTC)
New build 465504 available
https://www2.ati.com/drivers/linux/ubuntu/amdgpu-pro-17.30-465504.tar.xz
http://support.amd.com/en-us/kb-articles/Pages/AMDGPU-PRO-Driver-for-Linux-Release-Notes.aspx
ctouze commented on 2017-08-02 20:01 (UTC)
Works with libdrm 2.4.82-1
https://www.archlinux.org/packages/extra/x86_64/libdrm/download/
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.