You are not logged in.

#1 2025-07-04 13:48:13

rupeshforu3
Member
Registered: 2023-01-06
Posts: 116

rocm opencl runtime package is quite large.

Hi I Rupesh from India and I have brought a new system with AMD Ryzen zen3 5500GT and Asus prime b450 motherboard. I have installed and using Arch Linux along with other Linux Operating Systems from the past two years.

Everything is working fine except rocm opencl runtime package is quite large.

I have installed Linux Operating Systems like Fedora Debian along with rocm opencl runtime packages.

In those distributions for example in Fedora 42 the rocm-opencl package download size is just 150 mb and installation size is just 250 mb.

In Arch Linux rocm-opencl-runtime package download size is 4.2 GB and installation size is 5.4 GB.

Actually the above mentioned package is a meta package which includes other packages like compgr, hip etc ,. which I don't need.

The main purpose of installation of rocm opencl runtime package is I need the file libOpenCL.so which I need to use at ffmpeg compile time.

Kindly try to provide a package with name rocm-opencl which has minimal files including libOpenCL.so.

Regards,
Rupesh.

Offline

#2 2025-07-04 17:04:37

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 24,525

Re: rocm opencl runtime package is quite large.

On what exactly are you basing your calculations on? Which actual packages get installed? The plain package download size of rocm-opencl-runtime is nowhere near that number. And from a quick check over the deps *just* rocm-opencl-runtime should not pull in rocm-llvm which is the big one you want to avoid (not on an Arch for proper dependency resolution tooling so I might have missed something).

Other than that if this is really just about having an opencl provider for compilation purposes, opencl-headers will suffice.

Other options that could have actual use are opencl-mesa or opencl-amd from the AUR.

Generally speaking, Arch does not make a habit of splitting packages off so. bigger package sizes are generally to be expected.

Offline

#3 2025-07-04 18:22:01

cryptearth
Member
Registered: 2024-02-03
Posts: 1,532

Re: rocm opencl runtime package is quite large.

can confirm that installing the runtime also pulls in the big llm - although: asid from 5gb of download: what's the matter? storage and fast internet is cheap in india - you should have plenty

Offline

#4 2025-07-04 20:30:39

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 13,906

Re: rocm opencl runtime package is quite large.

rocm-llvm is pulled in by comgr .

Rocm requires things that are not in upstream llvm. Fedora made changes to their systemwide llvm to accomodate rocm needs.
archlinux devs prefer to deviate as little as possible from upstream and therefore uses the rocm-llvm custom fork maintained by rocm devs.



ADDED

The main purpose of installation of rocm opencl runtime package is I need the file libOpenCL.so which I need to use at ffmpeg compile time.

Install ocl-icd which provides usr/lib/libOpenCL.so

Last edited by Lone_Wolf (2025-07-04 20:35:34)


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Online

#5 2025-07-05 16:04:35

rupeshforu3
Member
Registered: 2023-01-06
Posts: 116

Re: rocm opencl runtime package is quite large.

Please examine the following

[build2@Rupesh ~]$ pacman -Qs rocm
local/hsa-rocr 6.4.1-1
    HSA Runtime API and runtime for ROCm
local/rocm-core 6.4.1-1
    AMD ROCm core package (version files)
local/rocm-device-libs 6.4.1-1
    AMD specific device-side language runtime libraries
local/rocm-llvm 6.4.1-1
    Radeon Open Compute - LLVM toolchain (llvm, clang, lld)
local/rocm-opencl-runtime 6.4.1-1
    OpenCL implementation for AMD
[build2@Rupesh ~]$
[build2@Rupesh ~]$ sudo pacman -Rcs rocm-opencl-runtime
checking dependencies...
:: cpu-x optionally requires opencl-driver: packaged OpenCL driver
:: ocl-icd optionally requires opencl-driver: packaged opencl driver
:: openmp optionally requires hsa-rocr: offloading to AMD GPUs

Packages (6) comgr-6.4.1-1  hsa-rocr-6.4.1-1  opencl-headers-2:2024.10.24-1  rocm-device-libs-6.4.1-1
             rocm-llvm-6.4.1-1  rocm-opencl-runtime-6.4.1-1

Total Removed Size:  5339.75 MiB

:: Do you want to remove these packages? [Y/n]

I dont need comgr,  hsa-rocr, rocm-llvm.

Last edited by rupeshforu3 (2025-07-05 16:07:15)

Offline

#6 2025-07-06 07:54:42

cryptearth
Member
Registered: 2024-02-03
Posts: 1,532

Re: rocm opencl runtime package is quite large.

including the AUR by usign an AUR helper there're two useful options for amd rocm opencl runtime:
extra/rocm-opencl-runtime - OpenCL implementation for AMD
aur/opencl-amd - 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.
total install "cost":

[main@main ~]$ LC_ALL=C yay -S extra/rocm-opencl-runtime
Sync Explicit (1): rocm-opencl-runtime-6.4.1-1
[sudo] password for main: 
resolving dependencies...
looking for conflicting packages...

Packages (7) comgr-6.4.1-1  hsa-rocr-6.4.1-1  opencl-headers-2:2024.10.24-1  rocm-core-6.4.1-1  rocm-device-libs-6.4.1-1  rocm-llvm-6.4.1-1  rocm-opencl-runtime-6.4.1-1

Total Download Size:   1121.63 MiB
Total Installed Size:  5339.79 MiB

:: Proceed with installation? [Y/n] n
 -> error installing repo packages
[main@main ~]$
[main@main ~]$ LC_ALL=C yay -S aur/opencl-amd
AUR Explicit (1): opencl-amd-1:6.4.1-1
:: (1/1) Downloaded PKGBUILD: opencl-amd
  1 opencl-amd                       (Build Files Exist)
==> Packages to cleanBuild?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> 
  1 opencl-amd                       (Build Files Exist)
==> Diffs to show?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> 
==> Making package: opencl-amd 1:6.4.1-1 (Sun Jul  6 09:50:12 2025)
==> Retrieving sources...
  -> Downloading libdrm-amdgpu-amdgpu1_2.4.124.60401-2164967.24.04_amd64.deb...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 21460  100 21460    0     0  76925      0 --:--:-- --:--:-- --:--:-- 76917
  -> Downloading rocm-core_6.4.1.60401-83~24.04_amd64.deb...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 14148  100 14148    0     0   194k      0 --:--:-- --:--:-- --:--:--  194k
  -> Downloading comgr_3.0.0.60401-83~24.04_amd64.deb...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 55.1M  100 55.1M    0     0  47.7M      0  0:00:01  0:00:01 --:--:-- 47.8M
  -> Downloading hipcc_1.1.1.60401-83~24.04_amd64.deb...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  221k  100  221k    0     0  2959k      0 --:--:-- --:--:-- --:--:-- 2987k
  -> Downloading hip-dev_6.4.43483.60401-83~24.04_amd64.deb...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  320k  100  320k    0     0  3115k      0 --:--:-- --:--:-- --:--:-- 3138k
  -> Downloading hip-doc_6.4.43483.60401-83~24.04_amd64.deb...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 95994  100 95994    0     0  1088k      0 --:--:-- --:--:-- --:--:-- 1090k
  -> Downloading hip-samples_6.4.43483.60401-83~24.04_amd64.deb...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 52080  100 52080    0     0   961k      0 --:--:-- --:--:-- --:--:--  978k
  -> Downloading hsa-rocr_1.15.0.60401-83~24.04_amd64.deb...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 1380k  100 1380k    0     0  13.7M      0 --:--:-- --:--:-- --:--:-- 13.7M
  -> Downloading hsa-rocr-dev_1.15.0.60401-83~24.04_amd64.deb...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  132k  100  132k    0     0  2058k      0 --:--:-- --:--:-- --:--:-- 2067k
  -> Downloading rocminfo_1.0.0.60401-83~24.04_amd64.deb...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 28190  100 28190    0     0   541k      0 --:--:-- --:--:-- --:--:--  550k
  -> Downloading hip-runtime-amd_6.4.43483.60401-83~24.04_amd64.deb...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 11.6M  100 11.6M    0     0  39.8M      0 --:--:-- --:--:-- --:--:-- 39.7M
  -> Downloading rocm-device-libs_1.0.0.60401-83~24.04_amd64.deb...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  701k  100  701k    0     0  6723k      0 --:--:-- --:--:-- --:--:-- 6748k
  -> Downloading rocm-language-runtime_6.4.1.60401-83~24.04_amd64.deb...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   836  100   836    0     0  17689      0 --:--:-- --:--:-- --:--:-- 17787
  -> Downloading rocm-hip-runtime_6.4.1.60401-83~24.04_amd64.deb...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  2106  100  2106    0     0  48270      0 --:--:-- --:--:-- --:--:-- 48976
  -> Downloading rocdecode_0.10.0.60401-83~24.04_amd64.deb...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  189k  100  189k    0     0  2516k      0 --:--:-- --:--:-- --:--:-- 2530k
  -> Downloading rocdecode-dev_0.10.0.60401-83~24.04_amd64.deb...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 87.7M  100 87.7M    0     0  41.1M      0  0:00:02  0:00:02 --:--:-- 41.1M
  -> Downloading rocjpeg_0.8.0.60401-83~24.04_amd64.deb...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  182k  100  182k    0     0  2673k      0 --:--:-- --:--:-- --:--:-- 2683k
  -> Downloading rocjpeg-dev_0.8.0.60401-83~24.04_amd64.deb...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 4282k  100 4282k    0     0  24.5M      0 --:--:-- --:--:-- --:--:-- 24.6M
  -> Downloading rocm-opencl_2.0.0.60401-83~24.04_amd64.deb...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  547k  100  547k    0     0  6753k      0 --:--:-- --:--:-- --:--:-- 6753k
  -> Downloading rocm-opencl-dev_2.0.0.60401-83~24.04_amd64.deb...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  118k  100  118k    0     0  1993k      0 --:--:-- --:--:-- --:--:-- 2008k
  -> Downloading rocm-opencl-runtime_6.4.1.60401-83~24.04_amd64.deb...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  2080  100  2080    0     0  22756      0 --:--:-- --:--:-- --:--:-- 22857
  -> Downloading openmp-extras-runtime_18.63.0.60401-83~24.04_amd64.deb...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 75.1M  100 75.1M    0     0  34.3M      0  0:00:02  0:00:02 --:--:-- 34.3M
  -> Downloading rocm-smi-lib_7.5.0.60401-83~24.04_amd64.deb...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 1106k  100 1106k    0     0   9.9M      0 --:--:-- --:--:-- --:--:-- 10.0M
  -> Downloading amd-smi-lib_25.4.2.60401-83~24.04_amd64.deb...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 1574k  100 1574k    0     0  12.4M      0 --:--:-- --:--:-- --:--:-- 12.5M
  -> Downloading rocm-cmake_0.14.0.60401-83~24.04_amd64.deb...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 24834  100 24834    0     0   222k      0 --:--:-- --:--:-- --:--:--  224k
  -> Downloading rocm-dbgapi_0.77.2.60401-83~24.04_amd64.deb...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 1860k  100 1860k    0     0  11.3M      0 --:--:-- --:--:-- --:--:-- 11.3M
  -> Downloading rocm-debug-agent_2.0.4.60401-83~24.04_amd64.deb...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 62502  100 62502    0     0   843k      0 --:--:-- --:--:-- --:--:--  847k
  -> Downloading rocm-gdb_15.2.60401-83~24.04_amd64.deb...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 85.7M  100 85.7M    0     0  34.7M      0  0:00:02  0:00:02 --:--:-- 34.8M
  -> Downloading rocm-utils_6.4.1.60401-83~24.04_amd64.deb...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   812  100   812    0     0  20924      0 --:--:-- --:--:-- --:--:-- 21368
  -> Downloading rocprofiler_2.0.60401.60401-83~24.04_amd64.deb...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  960k  100  960k    0     0  8227k      0 --:--:-- --:--:-- --:--:-- 8282k
  -> Downloading rocprofiler-dev_2.0.60401.60401-83~24.04_amd64.deb...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 22652  100 22652    0     0   531k      0 --:--:-- --:--:-- --:--:--  539k
  -> Downloading rocprofiler-plugins_2.0.60401.60401-83~24.04_amd64.deb...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 1062k  100 1062k    0     0  5878k      0 --:--:-- --:--:-- --:--:-- 5869k
  -> Downloading rocprofiler-register_0.4.0.60401-83~24.04_amd64.deb...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  228k  100  228k    0     0  3230k      0 --:--:-- --:--:-- --:--:-- 3258k
  -> Downloading roctracer_4.1.60401.60401-83~24.04_amd64.deb...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  511k  100  511k    0     0  4773k      0 --:--:-- --:--:-- --:--:-- 4779k
  -> Downloading roctracer-dev_4.1.60401.60401-83~24.04_amd64.deb...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  503k  100  503k    0     0  5800k      0 --:--:-- --:--:-- --:--:-- 5852k
  -> Downloading rocm-dev_6.4.1.60401-83~24.04_amd64.deb...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  2548  100  2548    0     0  60163      0 --:--:-- --:--:-- --:--:-- 60666
  -> Downloading hsa-amd-aqlprofile_1.0.0.60401-83~24.04_amd64.deb...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  506k  100  506k    0     0  5085k      0 --:--:-- --:--:-- --:--:-- 5119k
  -> Downloading opencl-legacy-amdgpu-pro-icd_23.20-1664987.22.04_amd64.deb...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 21.7M  100 21.7M    0     0  29.1M      0 --:--:-- --:--:-- --:--:-- 29.1M
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with sha256sums...
    libdrm-amdgpu-amdgpu1_2.4.124.60401-2164967.24.04_amd64.deb ... Passed
    rocm-core_6.4.1.60401-83~24.04_amd64.deb ... Passed
    comgr_3.0.0.60401-83~24.04_amd64.deb ... Passed
    hipcc_1.1.1.60401-83~24.04_amd64.deb ... Passed
    hip-dev_6.4.43483.60401-83~24.04_amd64.deb ... Passed
    hip-doc_6.4.43483.60401-83~24.04_amd64.deb ... Passed
    hip-samples_6.4.43483.60401-83~24.04_amd64.deb ... Passed
    hsa-rocr_1.15.0.60401-83~24.04_amd64.deb ... Passed
    hsa-rocr-dev_1.15.0.60401-83~24.04_amd64.deb ... Passed
    rocminfo_1.0.0.60401-83~24.04_amd64.deb ... Passed
    hip-runtime-amd_6.4.43483.60401-83~24.04_amd64.deb ... Passed
    rocm-device-libs_1.0.0.60401-83~24.04_amd64.deb ... Passed
    rocm-language-runtime_6.4.1.60401-83~24.04_amd64.deb ... Passed
    rocm-hip-runtime_6.4.1.60401-83~24.04_amd64.deb ... Passed
    rocdecode_0.10.0.60401-83~24.04_amd64.deb ... Passed
    rocdecode-dev_0.10.0.60401-83~24.04_amd64.deb ... Passed
    rocjpeg_0.8.0.60401-83~24.04_amd64.deb ... Passed
    rocjpeg-dev_0.8.0.60401-83~24.04_amd64.deb ... Passed
    rocm-opencl_2.0.0.60401-83~24.04_amd64.deb ... Passed
    rocm-opencl-dev_2.0.0.60401-83~24.04_amd64.deb ... Passed
    rocm-opencl-runtime_6.4.1.60401-83~24.04_amd64.deb ... Passed
    openmp-extras-runtime_18.63.0.60401-83~24.04_amd64.deb ... Passed
    rocm-smi-lib_7.5.0.60401-83~24.04_amd64.deb ... Passed
    amd-smi-lib_25.4.2.60401-83~24.04_amd64.deb ... Passed
    rocm-cmake_0.14.0.60401-83~24.04_amd64.deb ... Passed
    rocm-dbgapi_0.77.2.60401-83~24.04_amd64.deb ... Passed
    rocm-debug-agent_2.0.4.60401-83~24.04_amd64.deb ... Passed
    rocm-gdb_15.2.60401-83~24.04_amd64.deb ... Passed
    rocm-utils_6.4.1.60401-83~24.04_amd64.deb ... Passed
    rocprofiler_2.0.60401.60401-83~24.04_amd64.deb ... Passed
    rocprofiler-dev_2.0.60401.60401-83~24.04_amd64.deb ... Passed
    rocprofiler-plugins_2.0.60401.60401-83~24.04_amd64.deb ... Passed
    rocprofiler-register_0.4.0.60401-83~24.04_amd64.deb ... Passed
    roctracer_4.1.60401.60401-83~24.04_amd64.deb ... Passed
    roctracer-dev_4.1.60401.60401-83~24.04_amd64.deb ... Passed
    rocm-dev_6.4.1.60401-83~24.04_amd64.deb ... Passed
    hsa-amd-aqlprofile_1.0.0.60401-83~24.04_amd64.deb ... Passed
    opencl-legacy-amdgpu-pro-icd_23.20-1664987.22.04_amd64.deb ... Passed
:: (1/1) Parsing SRCINFO: opencl-amd
==> Making package: opencl-amd 1:6.4.1-1 (Sun Jul  6 09:50:26 2025)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found libdrm-amdgpu-amdgpu1_2.4.124.60401-2164967.24.04_amd64.deb
  -> Found rocm-core_6.4.1.60401-83~24.04_amd64.deb
  -> Found comgr_3.0.0.60401-83~24.04_amd64.deb
  -> Found hipcc_1.1.1.60401-83~24.04_amd64.deb
  -> Found hip-dev_6.4.43483.60401-83~24.04_amd64.deb
  -> Found hip-doc_6.4.43483.60401-83~24.04_amd64.deb
  -> Found hip-samples_6.4.43483.60401-83~24.04_amd64.deb
  -> Found hsa-rocr_1.15.0.60401-83~24.04_amd64.deb
  -> Found hsa-rocr-dev_1.15.0.60401-83~24.04_amd64.deb
  -> Found rocminfo_1.0.0.60401-83~24.04_amd64.deb
  -> Found hip-runtime-amd_6.4.43483.60401-83~24.04_amd64.deb
  -> Found rocm-device-libs_1.0.0.60401-83~24.04_amd64.deb
  -> Found rocm-language-runtime_6.4.1.60401-83~24.04_amd64.deb
  -> Found rocm-hip-runtime_6.4.1.60401-83~24.04_amd64.deb
  -> Found rocdecode_0.10.0.60401-83~24.04_amd64.deb
  -> Found rocdecode-dev_0.10.0.60401-83~24.04_amd64.deb
  -> Found rocjpeg_0.8.0.60401-83~24.04_amd64.deb
  -> Found rocjpeg-dev_0.8.0.60401-83~24.04_amd64.deb
  -> Found rocm-opencl_2.0.0.60401-83~24.04_amd64.deb
  -> Found rocm-opencl-dev_2.0.0.60401-83~24.04_amd64.deb
  -> Found rocm-opencl-runtime_6.4.1.60401-83~24.04_amd64.deb
  -> Found openmp-extras-runtime_18.63.0.60401-83~24.04_amd64.deb
  -> Found rocm-smi-lib_7.5.0.60401-83~24.04_amd64.deb
  -> Found amd-smi-lib_25.4.2.60401-83~24.04_amd64.deb
  -> Found rocm-cmake_0.14.0.60401-83~24.04_amd64.deb
  -> Found rocm-dbgapi_0.77.2.60401-83~24.04_amd64.deb
  -> Found rocm-debug-agent_2.0.4.60401-83~24.04_amd64.deb
  -> Found rocm-gdb_15.2.60401-83~24.04_amd64.deb
  -> Found rocm-utils_6.4.1.60401-83~24.04_amd64.deb
  -> Found rocprofiler_2.0.60401.60401-83~24.04_amd64.deb
  -> Found rocprofiler-dev_2.0.60401.60401-83~24.04_amd64.deb
  -> Found rocprofiler-plugins_2.0.60401.60401-83~24.04_amd64.deb
  -> Found rocprofiler-register_0.4.0.60401-83~24.04_amd64.deb
  -> Found roctracer_4.1.60401.60401-83~24.04_amd64.deb
  -> Found roctracer-dev_4.1.60401.60401-83~24.04_amd64.deb
  -> Found rocm-dev_6.4.1.60401-83~24.04_amd64.deb
  -> Found hsa-amd-aqlprofile_1.0.0.60401-83~24.04_amd64.deb
  -> Found opencl-legacy-amdgpu-pro-icd_23.20-1664987.22.04_amd64.deb
==> Validating source files with sha256sums...
    libdrm-amdgpu-amdgpu1_2.4.124.60401-2164967.24.04_amd64.deb ... Passed
    rocm-core_6.4.1.60401-83~24.04_amd64.deb ... Passed
    comgr_3.0.0.60401-83~24.04_amd64.deb ... Passed
    hipcc_1.1.1.60401-83~24.04_amd64.deb ... Passed
    hip-dev_6.4.43483.60401-83~24.04_amd64.deb ... Passed
    hip-doc_6.4.43483.60401-83~24.04_amd64.deb ... Passed
    hip-samples_6.4.43483.60401-83~24.04_amd64.deb ... Passed
    hsa-rocr_1.15.0.60401-83~24.04_amd64.deb ... Passed
    hsa-rocr-dev_1.15.0.60401-83~24.04_amd64.deb ... Passed
    rocminfo_1.0.0.60401-83~24.04_amd64.deb ... Passed
    hip-runtime-amd_6.4.43483.60401-83~24.04_amd64.deb ... Passed
    rocm-device-libs_1.0.0.60401-83~24.04_amd64.deb ... Passed
    rocm-language-runtime_6.4.1.60401-83~24.04_amd64.deb ... Passed
    rocm-hip-runtime_6.4.1.60401-83~24.04_amd64.deb ... Passed
    rocdecode_0.10.0.60401-83~24.04_amd64.deb ... Passed
    rocdecode-dev_0.10.0.60401-83~24.04_amd64.deb ... Passed
    rocjpeg_0.8.0.60401-83~24.04_amd64.deb ... Passed
    rocjpeg-dev_0.8.0.60401-83~24.04_amd64.deb ... Passed
    rocm-opencl_2.0.0.60401-83~24.04_amd64.deb ... Passed
    rocm-opencl-dev_2.0.0.60401-83~24.04_amd64.deb ... Passed
    rocm-opencl-runtime_6.4.1.60401-83~24.04_amd64.deb ... Passed
    openmp-extras-runtime_18.63.0.60401-83~24.04_amd64.deb ... Passed
    rocm-smi-lib_7.5.0.60401-83~24.04_amd64.deb ... Passed
    amd-smi-lib_25.4.2.60401-83~24.04_amd64.deb ... Passed
    rocm-cmake_0.14.0.60401-83~24.04_amd64.deb ... Passed
    rocm-dbgapi_0.77.2.60401-83~24.04_amd64.deb ... Passed
    rocm-debug-agent_2.0.4.60401-83~24.04_amd64.deb ... Passed
    rocm-gdb_15.2.60401-83~24.04_amd64.deb ... Passed
    rocm-utils_6.4.1.60401-83~24.04_amd64.deb ... Passed
    rocprofiler_2.0.60401.60401-83~24.04_amd64.deb ... Passed
    rocprofiler-dev_2.0.60401.60401-83~24.04_amd64.deb ... Passed
    rocprofiler-plugins_2.0.60401.60401-83~24.04_amd64.deb ... Passed
    rocprofiler-register_0.4.0.60401-83~24.04_amd64.deb ... Passed
    roctracer_4.1.60401.60401-83~24.04_amd64.deb ... Passed
    roctracer-dev_4.1.60401.60401-83~24.04_amd64.deb ... Passed
    rocm-dev_6.4.1.60401-83~24.04_amd64.deb ... Passed
    hsa-amd-aqlprofile_1.0.0.60401-83~24.04_amd64.deb ... Passed
    opencl-legacy-amdgpu-pro-icd_23.20-1664987.22.04_amd64.deb ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Extracting libdrm-amdgpu-amdgpu1_2.4.124.60401-2164967.24.04_amd64.deb with bsdtar
  -> Extracting rocm-core_6.4.1.60401-83~24.04_amd64.deb with bsdtar
  -> Extracting comgr_3.0.0.60401-83~24.04_amd64.deb with bsdtar
  -> Extracting hipcc_1.1.1.60401-83~24.04_amd64.deb with bsdtar
  -> Extracting hip-dev_6.4.43483.60401-83~24.04_amd64.deb with bsdtar
  -> Extracting hip-doc_6.4.43483.60401-83~24.04_amd64.deb with bsdtar
  -> Extracting hip-samples_6.4.43483.60401-83~24.04_amd64.deb with bsdtar
  -> Extracting hsa-rocr_1.15.0.60401-83~24.04_amd64.deb with bsdtar
  -> Extracting hsa-rocr-dev_1.15.0.60401-83~24.04_amd64.deb with bsdtar
  -> Extracting rocminfo_1.0.0.60401-83~24.04_amd64.deb with bsdtar
  -> Extracting hip-runtime-amd_6.4.43483.60401-83~24.04_amd64.deb with bsdtar
  -> Extracting rocm-device-libs_1.0.0.60401-83~24.04_amd64.deb with bsdtar
  -> Extracting rocm-language-runtime_6.4.1.60401-83~24.04_amd64.deb with bsdtar
  -> Extracting rocm-hip-runtime_6.4.1.60401-83~24.04_amd64.deb with bsdtar
  -> Extracting rocdecode_0.10.0.60401-83~24.04_amd64.deb with bsdtar
  -> Extracting rocdecode-dev_0.10.0.60401-83~24.04_amd64.deb with bsdtar
  -> Extracting rocjpeg_0.8.0.60401-83~24.04_amd64.deb with bsdtar
  -> Extracting rocjpeg-dev_0.8.0.60401-83~24.04_amd64.deb with bsdtar
  -> Extracting rocm-opencl_2.0.0.60401-83~24.04_amd64.deb with bsdtar
  -> Extracting rocm-opencl-dev_2.0.0.60401-83~24.04_amd64.deb with bsdtar
  -> Extracting rocm-opencl-runtime_6.4.1.60401-83~24.04_amd64.deb with bsdtar
  -> Extracting openmp-extras-runtime_18.63.0.60401-83~24.04_amd64.deb with bsdtar
  -> Extracting rocm-smi-lib_7.5.0.60401-83~24.04_amd64.deb with bsdtar
  -> Extracting amd-smi-lib_25.4.2.60401-83~24.04_amd64.deb with bsdtar
  -> Extracting rocm-cmake_0.14.0.60401-83~24.04_amd64.deb with bsdtar
  -> Extracting rocm-dbgapi_0.77.2.60401-83~24.04_amd64.deb with bsdtar
  -> Extracting rocm-debug-agent_2.0.4.60401-83~24.04_amd64.deb with bsdtar
  -> Extracting rocm-gdb_15.2.60401-83~24.04_amd64.deb with bsdtar
  -> Extracting rocm-utils_6.4.1.60401-83~24.04_amd64.deb with bsdtar
  -> Extracting rocprofiler_2.0.60401.60401-83~24.04_amd64.deb with bsdtar
  -> Extracting rocprofiler-dev_2.0.60401.60401-83~24.04_amd64.deb with bsdtar
  -> Extracting rocprofiler-plugins_2.0.60401.60401-83~24.04_amd64.deb with bsdtar
  -> Extracting rocprofiler-register_0.4.0.60401-83~24.04_amd64.deb with bsdtar
  -> Extracting roctracer_4.1.60401.60401-83~24.04_amd64.deb with bsdtar
  -> Extracting roctracer-dev_4.1.60401.60401-83~24.04_amd64.deb with bsdtar
  -> Extracting rocm-dev_6.4.1.60401-83~24.04_amd64.deb with bsdtar
  -> Extracting hsa-amd-aqlprofile_1.0.0.60401-83~24.04_amd64.deb with bsdtar
  -> Extracting opencl-legacy-amdgpu-pro-icd_23.20-1664987.22.04_amd64.deb with bsdtar
==> Sources are ready.
==> Making package: opencl-amd 1:6.4.1-1 (Sun Jul  6 09:50:29 2025)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Entering fakeroot environment...
==> Starting package()...
==> Tidying install...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Removing static library files...
  -> Stripping unneeded symbols from binaries and libraries...
  -> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "opencl-amd"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: opencl-amd 1:6.4.1-1 (Sun Jul  6 09:51:31 2025)
==> Cleaning up...
loading packages...
resolving dependencies...
looking for conflicting packages...

Packages (1) opencl-amd-1:6.4.1-1

Total Installed Size:  581.46 MiB

:: Proceed with installation? [Y/n] n
 -> error installing: [/home/main/.cache/yay/opencl-amd/opencl-amd-1:6.4.1-1-x86_64.pkg.tar.zst] - exit status 1
[main@main ~]$

Offline

#7 2025-07-06 13:35:25

rupeshforu3
Member
Registered: 2023-01-06
Posts: 116

Re: rocm opencl runtime package is quite large.

Thanks for your suggestions and the issue has been resolved.

opencl-amd installed rocm into /opt/rocm.

How to know libopencl is being used from /opt/rocm.

Ubuntu Linux has a package called "amdgpu dkms" but there's no such package in Arch Linux. Can I ignore it.

I think that opencl-amd is not official and so I am expecting it from pacman repository.

Offline

Board footer

Powered by FluxBB